/* ============================================================
   GLOBAL.CSS — Chellah Tukuta Photography
   Fonts: System font stack (body) + Georgia (headings/display)
   Palette: #ffffff  #ffc800  #d9e2e9  #fffbfc  #0c1d32
   ============================================================ */


/* ── TOKENS ── */
:root {
  --gold:        #ffc800;
  --gold-hover:  #e6b400;
  --gold-pale:   #fff8e1;
  --navy:        #0c1d32;
  --navy-mid:    #1a3150;
  --sky:         #d9e2e9;
  --sky-light:   #edf2f6;
  --cream:       #fffbfc;
  --white:       #ffffff;
  --grey-1:      #f5f6f8;
  --grey-2:      #e8eaed;
  --grey-3:      #b0bac5;
  --text-body:   #2c3e50;
  --text-muted:  #6b7a8d;
  --text-light:  #9aaab8;
  --border:      #e4e8ec;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --shadow-xs:   0 1px 4px rgba(12,29,50,0.06);
  --shadow-sm:   0 2px 12px rgba(12,29,50,0.08);
  --shadow-md:   0 6px 28px rgba(12,29,50,0.12);
  --shadow-lg:   0 16px 48px rgba(12,29,50,0.16);
  --nav-h:       68px;
  --max-w:       1280px;
  --font-body:   -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, 'Times New Roman', Times, serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-body); line-height: 1.6; min-height: 100vh; }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--grey-1); }
::-webkit-scrollbar-thumb { background: var(--grey-3); border-radius: 3px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 2.5rem; gap: 2rem;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-logo { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.nav-logo-mark {
  width: 36px; height: 36px; background: #fff;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo-img { width: 32px; height: 32px; object-fit: contain; }
.nav-logo-text { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--navy); line-height: 1.15; }
.nav-logo-text span {
  display: block; font-size: 0.58rem; font-family: var(--font-body);
  font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted);
}
.nav-center { flex: 1; display: flex; justify-content: center; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a {
  padding: 0.44rem 0.85rem; font-size: 0.84rem; font-weight: 500;
  color: var(--text-muted); border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); background: var(--grey-1); }
.nav-links a.active { color: var(--navy); font-weight: 600; background: var(--grey-1); }
.nav-right { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 42px;
  height: 42px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.hamburger:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}

/* Three lines inside hamburger */
.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  position: absolute;
}
.hamburger span:nth-child(1) { transform: translateY(-5px); }
.hamburger span:nth-child(2) { transform: translateY(0); }
.hamburger span:nth-child(3) { transform: translateY(5px); width: 12px; }

/* Animate to X when open */
.hamburger.open span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(0) rotate(-45deg); width: 18px; }

/* ── MOBILE OVERLAY BACKDROP ── */
.drawer-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 940;
  background: rgba(12,29,50,0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.drawer-backdrop.open { opacity: 1; }

/* ── MOBILE DRAWER — slides in from right ── */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 950;
  width: min(320px, 85vw);
  background: var(--white);
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(12,29,50,0.18);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

/* Drawer header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  flex-shrink: 0;
}
.drawer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.drawer-logo-mark {
  width: 32px; height: 32px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem; color: var(--navy);
}
.drawer-logo-img { width: 28px; height: 28px; object-fit: contain; }
.drawer-logo-text {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600; color: var(--navy);
  line-height: 1.2;
}
.drawer-logo-sub {
  font-size: 0.55rem; font-family: var(--font-body);
  font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); display: block;
}

/* Close button */
.drawer-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
  transition: all 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.drawer-close:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Drawer navigation links */
.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  flex: 1;
}
.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
  text-decoration: none;
}
.mobile-drawer a::after {
  content: '›';
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: transform 0.18s, color 0.18s;
}
.mobile-drawer a:hover {
  background: var(--grey-1);
  color: var(--navy);
  padding-left: 1.9rem;
}
.mobile-drawer a:hover::after { color: var(--gold); transform: translateX(3px); }
.mobile-drawer a.active {
  color: var(--navy);
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding-left: calc(1.5rem - 3px);
}
.mobile-drawer a.active::after { color: var(--gold); }

/* Drawer CTA button */
.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--cream);
  flex-shrink: 0;
}
.mobile-book-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-size: 0.9rem !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm);
  text-align: center;
  letter-spacing: 0.02em;
  border-bottom: none !important;
  transition: background 0.2s, transform 0.2s !important;
  margin-top: 0 !important;
}
.mobile-book-btn:hover {
  background: var(--gold-hover) !important;
  transform: translateY(-1px);
  padding-left: 1.5rem !important;
}
.mobile-book-btn::after { display: none !important; }
.nav-spacer { height: var(--nav-h); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: none; cursor: pointer; font-family: var(--font-body);
  font-weight: 500; border-radius: var(--radius-sm);
  transition: all 0.22s; text-decoration: none;
}
.btn-sm  { padding: 0.42rem 0.95rem; font-size: 0.8rem; }
.btn-md  { padding: 0.62rem 1.35rem; font-size: 0.87rem; }
.btn-lg  { padding: 0.82rem 1.9rem; font-size: 0.94rem; }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 600; }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,200,0,0.32); }
.btn-navy { background: var(--navy); color: var(--white); font-weight: 600; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--grey-1); }
.btn-white { background: var(--white); color: var(--navy); font-weight: 600; }
.btn-white:hover { background: var(--gold); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1.5px solid transparent; }
.btn-ghost:hover { color: var(--navy); border-color: var(--border); }

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: var(--white); padding: 4.5rem 2.5rem 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; }
.footer-logo-mark {
  width: 32px; height: 32px; background: #fff;
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy);
}
.footer-logo-img { width: 28px; height: 28px; object-fit: contain; }
.footer-logo-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--white); }
.footer-tagline { font-size: 0.83rem; color: rgba(255,255,255,0.42); line-height: 1.75; font-weight: 300; max-width: 300px; }
.footer-socials { display: flex; gap: 0.55rem; margin-top: 1.4rem; }
.footer-social-link {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.45); transition: all 0.22s;
}
.footer-social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col-links a { font-size: 0.84rem; color: rgba(255,255,255,0.45); font-weight: 300; transition: color 0.2s; }
.footer-col-links a:hover { color: var(--white); }
.footer-awards { display: flex; flex-direction: column; gap: 0.5rem; }
.award-item { font-size: 0.78rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 0.45rem; }
.award-item::before { content:''; width:4px; height:4px; border-radius:50%; background:var(--gold); flex-shrink:0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; font-size: 0.76rem; color: rgba(255,255,255,0.25); }

/* ── UTILITIES ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 6.5rem 0; }
.eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.55rem; display: block; }
.heading-xl { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; line-height: 1.13; color: var(--navy); }
.heading-lg { font-family: var(--font-display); font-size: clamp(1.5rem,2.8vw,2.2rem); font-weight: 600; line-height: 1.2; color: var(--navy); }
.heading-md { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--border); width: 100%; }
.tag { display: inline-block; padding: 0.22rem 0.65rem; border-radius: 20px; font-size: 0.72rem; font-weight: 500; background: var(--grey-1); color: var(--text-muted); border: 1px solid var(--border); }
.tag-gold { background: var(--gold-pale); color: var(--navy); border-color: rgba(255,200,0,0.25); }
.tag-navy { background: var(--navy); color: var(--white); border-color: transparent; }
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }


/* ── SAFE AREA (notch phones) ── */
@supports (padding: env(safe-area-inset-left)) {
  .navbar {
    padding-left: max(2.5rem, env(safe-area-inset-left));
    padding-right: max(2.5rem, env(safe-area-inset-right));
  }
  .site-footer {
    padding-left: max(2.5rem, env(safe-area-inset-left));
    padding-right: max(2.5rem, env(safe-area-inset-right));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
  .container {
    padding-left: max(2.5rem, env(safe-area-inset-left));
    padding-right: max(2.5rem, env(safe-area-inset-right));
  }
}

/* ── TOUCH IMPROVEMENTS ── */
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }
img { height: auto; }
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── FOCUS VISIBLE ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── RESPONSIVE ── */

/* Large tablet */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .heading-xl  { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .heading-xl  { font-size: clamp(1.6rem, 4vw, 2.4rem); }
  .heading-lg  { font-size: clamp(1.3rem, 3.5vw, 1.9rem); }
}

/* Mobile — show hamburger, hide desktop nav */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Navbar */
  .navbar        { padding: 0 1rem; gap: 0; }
  .nav-center    { display: none; }
  .nav-right .btn.btn-gold { display: none; }
  .hamburger     { display: flex; }
  .mobile-drawer { display: flex; }
  .drawer-backdrop { display: block; pointer-events: none; }

  /* Layout */
  .container    { padding: 0 1.25rem; }
  .section      { padding: 3rem 0; }
  .section-sm   { padding: 2rem 0; }
  .section-lg   { padding: 3.5rem 0; }

  /* Typography */
  .heading-xl   { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .heading-lg   { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .heading-md   { font-size: 1.1rem; }
  .eyebrow      { font-size: 0.68rem; }

  /* Buttons */
  .btn-lg       { padding: 0.75rem 1.6rem; font-size: 0.9rem; }
  .btn-md       { padding: 0.58rem 1.2rem; font-size: 0.84rem; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
  .site-footer  { padding: 3rem 1.25rem 1.5rem; }
  .footer-tagline { max-width: 100%; }
}

/* Small mobile */
@media (max-width: 480px) {
  :root { --nav-h: 56px; }
  .navbar     { padding: 0 0.9rem; }
  .container  { padding: 0 1rem; }
  .heading-xl { font-size: clamp(1.4rem, 7vw, 2rem); }
  .btn-lg     { padding: 0.7rem 1.4rem; font-size: 0.88rem; }

  /* Drawer takes nearly full width on tiny phones */
  .mobile-drawer { width: 92vw; }
}
