/* ============================================
   Chocolate Market — Styles
   Classic & Elegant | Forest Green + Off-White
   ============================================ */

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

:root {
  --forest: #3D4F3D;
  --forest-deep: #2A362A;
  --forest-light: #556B55;
  --gold: #C8A96E;
  --gold-light: #D4BA85;
  --gold-dark: #B09455;
  --cream: #FAF6F0;
  --cream-dark: #F0EAD8;
  --warm-white: #FFFDF9;
  --charcoal: #2C2C2C;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #6B6B6B;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(61, 79, 61, 0.08);
  --shadow-md: 0 4px 20px rgba(61, 79, 61, 0.12);
  --shadow-lg: 0 8px 40px rgba(61, 79, 61, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--forest-deep);
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--forest);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--forest);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 9999;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 246, 240, 0.6);
}

.btn-outline-light:hover {
  background: rgba(250, 246, 240, 0.15);
  border-color: var(--cream);
  color: var(--cream);
}

.btn-full {
  width: 100%;
}

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 20px;
  color: var(--forest-deep);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 79, 61, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest-deep);
}

.logo-text {
  font-family: 'Lora', serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.logo-icon {
  flex-shrink: 0;
}

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

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-mid);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--forest);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav .btn-gold {
  padding: 10px 24px;
  font-size: 0.8125rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #1a2e1a 0%,
    #2d4a2d 20%,
    #3D4F3D 40%,
    #4a6741 55%,
    #556B55 70%,
    #2A362A 85%,
    #1A261A 100%
  );
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/7447275/pexels-photo-7447275.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  opacity: 0.2;
  filter: saturate(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 46, 26, 0.88) 0%,
    rgba(61, 79, 61, 0.82) 50%,
    rgba(42, 54, 42, 0.90) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(250, 246, 240, 0.8);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust span {
  font-size: 0.8125rem;
  color: rgba(250, 246, 240, 0.6);
  letter-spacing: 0.05em;
}

.trust-dot {
  color: var(--gold) !important;
  opacity: 0.6;
}

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

.about {
  background: var(--warm-white);
}

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

.about-images {
  position: relative;
  height: 600px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 50%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--warm-white);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-label {
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-mid);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(61, 79, 61, 0.12);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Collections ---------- */
.collections {
  background: var(--cream);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.collection-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

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

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

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

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

.collection-body h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  color: var(--forest-deep);
}

.collection-body p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.collection-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collection-highlights li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}

.collection-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- Signature ---------- */
.signature {
  background: var(--forest-deep);
  color: var(--cream);
  overflow: hidden;
}

.signature .section-label {
  color: var(--gold);
}

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

.signature .lead {
  color: rgba(250, 246, 240, 0.75);
}

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

.signature-content p {
  color: rgba(250, 246, 240, 0.75);
  margin-bottom: 16px;
}

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

.sig-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sig-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.sig-feature h4 {
  font-size: 1.125rem;
  color: var(--cream);
  margin-bottom: 4px;
}

.sig-feature p {
  font-size: 0.9375rem;
  color: rgba(250, 246, 240, 0.6);
  margin-bottom: 0;
  line-height: 1.6;
}

.signature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 600px;
  box-shadow: var(--shadow-lg);
}

.signature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Visit ---------- */
.visit {
  background: var(--warm-white);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.visit-info .section-label {
  margin-bottom: 16px;
}

.visit-info p {
  color: var(--text-mid);
  margin-bottom: 16px;
}

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

.visit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.visit-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-item strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.0625rem;
  color: var(--forest-deep);
  margin-bottom: 4px;
}

.visit-item p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  margin-bottom: 2px;
  line-height: 1.6;
}

.phone-link, .footer-phone {
  color: var(--gold-dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(200, 169, 110, 0.4);
  text-underline-offset: 3px;
}

.phone-link:hover, .footer-phone:hover {
  color: var(--forest);
  text-decoration-color: var(--forest);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--cream);
}

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

.contact-text .section-label {
  margin-bottom: 16px;
}

.contact-text p {
  color: var(--text-mid);
  margin-bottom: 32px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid var(--forest);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-phone:hover {
  background: var(--forest);
  color: var(--cream);
}

.contact-icon {
  flex-shrink: 0;
}

/* ---------- Form ---------- */
.contact-form {
  background: var(--warm-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  padding: 12px 16px;
  border: 1.5px solid rgba(61, 79, 61, 0.2);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--forest-deep);
  margin: 16px 0 8px;
}

.form-success p {
  color: var(--text-mid);
  font-size: 0.9375rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 64px 0 0;
}

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

.footer-brand p {
  color: rgba(250, 246, 240, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

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

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(250, 246, 240, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-contact p,
.footer-hours p {
  font-size: 0.9375rem;
  color: rgba(250, 246, 240, 0.65);
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(250, 246, 240, 0.4);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    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; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .signature-split,
  .visit-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images {
    height: 450px;
    max-width: 500px;
    margin: 0 auto;
  }

  .signature-image {
    height: 450px;
    order: -1;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    box-shadow: var(--shadow-lg);
    padding: 100px 32px 40px;
    transition: right var(--transition);
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .main-nav a {
    font-size: 1.0625rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
  }

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .contact-form {
    padding: 28px;
  }

  .about-stats {
    gap: 24px;
  }

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

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .about-images {
    height: 350px;
  }

  .signature-image {
    height: 300px;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }
}
