/* ═══════════════════════════════════════════
   Coffee Girls — Classic & Elegant
   Palette: Plum (#5B2C6F) + Amber (#C8960C)
   Fonts: Cormorant Garamond + Karla
   ═══════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --plum:        #5B2C6F;
  --plum-deep:   #3D1D4A;
  --plum-light:  #7D408F;
  --plum-pale:   #F3E8F7;
  --amber:       #C8960C;
  --amber-light: #E8B84B;
  --amber-pale:  #FDF6E3;
  --cream:       #FDF9F3;
  --cream-dark:  #F5EDE0;
  --charcoal:    #2A2228;
  --text:        #3D2E36;
  --text-light:  #7A6570;
  --white:       #FFFFFF;
  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'Karla', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm:   0 1px 3px rgba(91,44,111,.08);
  --shadow-md:   0 4px 16px rgba(91,44,111,.10);
  --shadow-lg:   0 8px 32px rgba(91,44,111,.12);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

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

/* ─── TYPOGRAPHY ─── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-eyebrow--light { color: var(--amber-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--plum-deep);
  margin-bottom: 24px;
}
.section-title--light { color: var(--cream); }

.section-header--center { text-align: center; max-width: 680px; margin: 0 auto 64px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(200,150,12,.3);
}
.btn--primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,150,12,.4);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn--full { width: 100%; }

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253,249,243,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,44,111,.08);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--plum-deep);
}
.logo--light { color: var(--cream); }
.logo-mark { color: var(--amber); }

/* ─── NAV ─── */
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-link {
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover { color: var(--plum); background: var(--plum-pale); }
.nav-link--cta {
  background: var(--plum);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
}
.nav-link--cta:hover { background: var(--plum-light); }

/* ─── MOBILE NAV TOGGLE ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--plum-deep);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(61,29,74,.82) 0%,
    rgba(91,44,111,.70) 50%,
    rgba(42,34,40,.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  animation: float 2.4s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── SECTIONS ─── */
.section { padding: 100px 0; }
.section--dark {
  background: var(--plum-deep);
  position: relative;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(125,64,143,.3) 0%, transparent 70%);
  pointer-events: none;
}
.section--light { background: var(--cream-dark); }

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--amber);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .2;
}
.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(91,44,111,.12);
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--plum);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: .8rem;
  color: var(--text-light);
  letter-spacing: .02em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(91,44,111,.15);
}

/* ─── OFFERINGS ─── */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.offering-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  transition: var(--transition);
}
.offering-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.offering-icon {
  color: var(--amber-light);
  margin-bottom: 20px;
}
.offering-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}
.offering-card p {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
}

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item--tall { grid-row: span 2; }
.gi-1 { grid-column: 1 / 6; grid-row: span 2; }
.gi-2 { grid-column: 6 / 9; }
.gi-3 { grid-column: 9 / 13; }
.gi-4 { grid-column: 6 / 9; }
.gi-5 { grid-column: 1 / 6; grid-row: span 2; }

/* ─── VISIT ─── */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.visit-info p { color: var(--text-light); margin-bottom: 16px; }
.visit-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  list-style: none;
}
.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.visit-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-pale);
  border-radius: var(--radius-sm);
  color: var(--plum);
}
.visit-detail strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--plum-deep);
  margin-bottom: 4px;
}
.visit-detail p { margin: 0; font-size: .9rem; }
.visit-detail a {
  color: var(--plum);
  transition: color .2s;
}
.visit-detail a:hover { color: var(--amber); }

/* ─── FORM ─── */
.visit-form-wrap {
  position: relative;
}
.visit-form-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(91,44,111,.06);
}
.visit-form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--plum-deep);
  margin-bottom: 8px;
}
.visit-form-sub {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid rgba(91,44,111,.12);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--plum);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(91,44,111,.1);
}
.form-input::placeholder { color: var(--text-light); opacity: .6; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L2 4h8z' fill='%235B2C6F'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: #2E7D32;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.6);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--amber-light); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .9rem;
}
.footer-contact a {
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-contact a:hover { color: var(--amber-light); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .gi-1, .gi-5 { grid-row: span 1; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gi-1, .gi-2, .gi-3, .gi-4, .gi-5 {
    grid-column: auto;
    grid-row: span 1;
  }
  .gi-1, .gi-2 { grid-column: span 1; }
  .gi-3, .gi-4, .gi-5 { grid-column: span 1; }
  .gallery-item img { height: 280px; }
  .gi-1 img, .gi-5 img { height: 360px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 32px 32px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right .35s cubic-bezier(.4,0,.2,1);
  }
  .nav-list.open { right: 0; }
  .nav-link { padding: 12px 16px; font-size: 1rem; }
  .nav-link--cta { text-align: center; margin-top: 8px; }

  .hero-content { padding: 100px 20px 60px; }
  .hero-headline { font-size: clamp(1.6rem, 6vw, 2.4rem); }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap img { height: 400px; }
  .about-image-accent { display: none; }
  .about-stats { flex-wrap: wrap; gap: 16px; }

  .offerings-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 260px; }
  .gi-1 img, .gi-5 img { height: 260px; }

  .visit-grid { grid-template-columns: 1fr; gap: 48px; }
  .visit-form-inner { padding: 32px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .container { padding: 0 16px; }
}

/* ─── MOBILE NAV OVERLAY ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,34,40,.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }
