/* ============================================
   JILL'S UNIQUE BOUTIQUE — STYLESHEET
   Forest Green + Off-White | Confident Corporate
   ============================================ */

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

:root {
  --green-900: #1a3a25;
  --green-800: #2D5A3D;
  --green-700: #3d7a52;
  --green-600: #4a9462;
  --green-500: #5ba872;
  --green-400: #7bc494;
  --green-100: #d4ecd9;
  --green-50:  #eaf5ec;

  --cream:      #F5F2EB;
  --cream-light:#FAF8F4;
  --cream-dark: #E8E3D8;
  --white:      #FFFFFF;
  --black:      #1A1A1A;
  --gray-900:   #212121;
  --gray-700:   #4A4A4A;
  --gray-500:   #737373;
  --gray-300:   #D1D5DB;
  --gray-100:   #F3F4F6;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background-color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(245, 242, 235, 0.97);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--green-800);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.logo--white .logo-mark {
  background: var(--green-500);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-900);
  line-height: 1.2;
  white-space: nowrap;
}

.logo--white .logo-text {
  color: var(--cream);
}

.logo-text em {
  font-style: italic;
  color: var(--green-700);
  font-weight: 500;
}

.logo--white .logo-text em {
  color: var(--green-400);
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--green-800);
  background: var(--green-50);
}

.nav-link--cta {
  background: var(--green-800);
  color: var(--cream) !important;
  margin-left: 8px;
}

.nav-link--cta:hover {
  background: var(--green-700);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--green-800);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--green-50);
}

/* --- HERO --- */
.hero {
  position: relative;
  padding-top: 76px;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 50%, var(--green-50) 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: radial-gradient(circle at 25% 25%, var(--green-800) 1px, transparent 1px),
                    radial-gradient(circle at 75% 75%, var(--green-800) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
  flex: 1;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(45, 90, 61, 0.06);
}

.hero-card--image {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  display: inline-block;
  background: var(--green-800);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-900);
  margin-bottom: 20px;
}

.hero-headline .accent {
  color: var(--green-700);
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-800);
  color: var(--cream);
  border-color: var(--green-800);
}

.btn--primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
}

.btn--ghost:hover {
  background: var(--green-800);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* Stats */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45, 90, 61, 0.06);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- SECTION COMMON --- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* --- ABOUT --- */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--green-800);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.12;
}

.about-content .section-title {
  margin-top: 8px;
}

.lead {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--green-900);
}

.value-item svg {
  color: var(--green-700);
  flex-shrink: 0;
}

/* --- COLLECTIONS --- */
.collections {
  padding: 100px 0;
  background: var(--cream);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.collection-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 90, 61, 0.05);
  transition: var(--transition);
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.collection-card-img {
  overflow: hidden;
  height: 220px;
}

.collection-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-card-img img {
  transform: scale(1.06);
}

.collection-card-body {
  padding: 28px;
}

.collection-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 10px;
}

.collection-card-body p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- WHY US --- */
.why-us {
  padding: 100px 0;
  background: var(--green-900);
  color: var(--cream);
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-content .section-tag {
  background: rgba(123, 196, 148, 0.15);
  color: var(--green-400);
}

.why-content .section-title {
  color: var(--cream);
}

.why-content .lead {
  color: rgba(245, 242, 235, 0.7);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.why-feature {
  display: flex;
  gap: 20px;
}

.why-feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(123, 196, 148, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-400);
}

.why-feature h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}

.why-feature p {
  font-size: 0.9rem;
  color: rgba(245, 242, 235, 0.6);
  line-height: 1.65;
}

.why-image-stack {
  position: relative;
}

.why-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-img--top {
  height: 380px;
}

.why-img--bottom {
  position: absolute;
  bottom: -40px;
  left: -30px;
  width: 70%;
  height: 240px;
  border: 4px solid var(--green-900);
}

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- VISIT --- */
.visit {
  padding: 100px 0;
  background: var(--cream-light);
}

.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.visit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 90, 61, 0.05);
  transition: var(--transition);
}

.visit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.visit-card-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  margin-bottom: 14px;
}

.visit-card h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.visit-card p {
  font-size: 0.95rem;
  color: var(--gray-900);
  line-height: 1.6;
}

.visit-card a {
  color: var(--green-700);
  font-weight: 500;
  transition: var(--transition);
}

.visit-card a:hover {
  color: var(--green-900);
}

/* --- CONTACT --- */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-map {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 220px;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 1px solid rgba(45, 90, 61, 0.06);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 14px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  color: var(--green-700);
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-900);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--green-900);
  color: var(--cream);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  color: rgba(245, 242, 235, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-400);
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(245, 242, 235, 0.65);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cream);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(245, 242, 235, 0.65);
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-contact a {
  color: rgba(245, 242, 235, 0.65);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 242, 235, 0.1);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(245, 242, 235, 0.45);
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--green-800);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-700);
  transform: translateY(-2px);
}

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 32px;
  }

  .about-grid,
  .why-grid,
  .visit-inner,
  .contact-grid {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-list {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(45, 90, 61, 0.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-link--cta {
    margin-left: 0;
    text-align: center;
    margin-top: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-card {
    padding: 32px;
  }

  .hero-card--image {
    order: -1;
    max-height: 320px;
  }

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

  .about-grid,
  .why-grid,
  .visit-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-img--bottom {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 20px;
  }

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

  .visit-details {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-card {
    padding: 24px;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

  .contact-form-wrap {
    padding: 28px;
  }
}
