/* ================================
   IDEAL BOOKSELLERS AND STATIONERS
   ================================ */

:root {
  --navy: #0B2C66;
  --navy-deep: #071D45;
  --gold: #C89B3C;
  --gold-light: #E7C97A;
  --bg: #FFFFFF;
  --bg-light: #F8F9FC;
  --text: #333333;
  --text-soft: #5B6472;
  --border: #E4E7EE;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;

  --container: 1160px;
  --radius: 14px;
  --shadow: 0 12px 30px -14px rgba(11, 44, 102, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--text); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.6em;
}
.eyebrow.center { text-align: center; }
h2.center { text-align: center; margin-bottom: 0.7em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); }

.btn-whatsapp {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-whatsapp:hover {
  background: #fff;
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 1.6em;
  
}

/* ---------- Header ---------- */
/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}

.header-inner {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 16px;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-left: 128px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 24px;
}
.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { width: 100%; }

.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ---- Tablet: shrink logo + nav so nothing overflows before hamburger kicks in ---- */
@media (max-width: 1024px) {
  .brand-logo { width: 80px; height: 80px; }
  .brand-text { margin-left: 90px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.88rem; }
}
/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.55);
  z-index: 1;
}
.hero-inner,
.hero-rule {
  position: relative;
  z-index: 2;
}
.hero-inner { max-width: 760px; }

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-bottom: 0.4em;
  color: #fff;
}

.hero .eyebrow { color: var(--gold-light); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

.hero-rule {
  margin-top: 60px;
  width: 100%;
  line-height: 0;
}
.hero-rule svg { width: 100%; height: 32px; display: block; }
.rule-line { stroke: var(--border); stroke-width: 2; }
.rule-dot { fill: var(--gold); }

/* ---------- About ---------- */
.about { padding: 100px 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.4em 0 0;
  display: grid;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}
.tick {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.about-mark {
  background: var(--navy);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.mark-year {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.mark-label {
  margin-top: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
}

/* ---------- Products ---------- */
.products { padding: 100px 0; background: var(--bg-light); }

.card-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tag-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tag-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.tag-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.tag-card h3 { font-size: 1.08rem; margin-bottom: 0.35em; }
.tag-card p { font-size: 0.92rem; color: var(--text-soft); margin: 0; }
/* ---------- Why Choose Us ---------- */
.why { padding: 90px 0; }

.why-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius);
  background: var(--bg-light);
  border: 1px solid var(--border);
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.why-card p { font-size: 0.9rem; color: var(--text-soft); margin: 0; }

/* ---------- Contact ---------- */
.contact {
  padding: 90px 0;
  background: var(--navy);
  color: #fff;
}
.contact h2, .contact .eyebrow { color: #fff; }
.contact .eyebrow { color: var(--gold-light); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-list {
  margin: 1.6em 0 0;
  display: grid;
  gap: 18px;
}
.contact-list dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.contact-list dd {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}
.contact-list a:hover { color: var(--gold-light); }

.contact .btn-whatsapp {
  color: #fff;
  border-color: var(--gold-light);
}
.contact .btn-whatsapp:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
}
.contact .btn-primary { background: var(--gold); }
.contact .btn-primary:hover { background: var(--gold-light); color: var(--navy-deep); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
/* ================================
   FOOTER — Zevar Gallery
   ================================ */
.footer {
  background:#ECEFF3;
  color: #E8E2D6;
  padding: 70px 0 0;
  font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}
.logo-badge {
  width: 66px;
  height: 66px;
  object-fit: contain;
}
.footer-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color:#ECEFF3;
  letter-spacing: 0.04em;
}
.footer-brand span { color: #d39000; }

.footer-about {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #0B2C66;
  max-width: 320px;
  margin: 0;
}

.footer h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.02rem;
  color: #C9A24B;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  color: #0B2C66;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.footer-link:hover {
  color: #C9A24B;
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: #0B2C66;
  line-height: 1.5;
  margin-bottom: 20px;
}

.social-row {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #C9A24B;
  color: #C9A24B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.social-icon:hover {
  background: #C9A24B;
  color:#ECEFF3;
}

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid #0B2C66;
  padding: 22px 24px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color:#0B2C66;
}
.footer-bottom p { margin: 0; 
  color: #0B2C66;
} 
.footer-bottom-links a {
  color: #C9A24B;
  text-decoration: none;
}
.footer-bottom-links a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-mark { max-width: 220px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 70px; padding-top: 14px; padding-bottom: 14px; }
  .brand-logo { width: 60px; height: 60px; }
  .brand-text { margin-left: 70px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    flex-direction: column;
    padding: 10px 24px 20px;
    gap: 14px;
    transition: max-height 0.25s ease, visibility 0.25s ease;
  }
  .nav-toggle:checked ~ .site-nav {
    max-height: 320px;
    visibility: visible;
  }

  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    cursor: pointer;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
  }

  .hero { padding: 70px 0 50px; }
  .about, .products, .why, .contact { padding: 60px 0; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .brand-logo { width: 52px; height: 52px; }
  .brand-text { margin-left: 62px; }
}
