/* ============================================
   CELINE BAKERY SUPPLIES — STYLESHEET
   Classic & Elegant | Deep Navy + Warm Gold
   ============================================ */

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

:root {
  --navy-950: #070e1f;
  --navy-900: #0a1628;
  --navy-800: #0f1d3a;
  --navy-700: #162a52;
  --navy-600: #1e3a6e;
  --navy-500: #264a82;
  --gold-500: #c9a84c;
  --gold-400: #d4b75e;
  --gold-300: #dfc670;
  --gold-200: #e8d89a;
  --cream-50: #faf8f4;
  --cream-100: #f5f0e8;
  --cream-200: #ebe3d4;
  --warm-gray-100: #f7f5f2;
  --warm-gray-200: #ebe7e0;
  --warm-gray-300: #d4cec4;
  --warm-gray-400: #a89f93;
  --warm-gray-500: #7a7168;
  --warm-gray-600: #5c554d;
  --warm-gray-700: #3d3832;
  --warm-gray-800: #2a2520;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 16px 48px rgba(10, 22, 40, 0.16);
}

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

body {
  font-family: var(--font-sans);
  color: var(--warm-gray-700);
  background-color: var(--cream-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-800);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 24px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--warm-gray-500);
  max-width: 600px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}

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

.btn--outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn--outline-dark:hover {
  background: var(--navy-800);
  color: #ffffff;
  transform: translateY(-2px);
}

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--gold-400);
}

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

.nav-link--cta {
  padding: 8px 20px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 4px;
  color: var(--gold-400);
  transition: all var(--transition);
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #ffffff;
}

.nav-toggle-icon,
.nav-toggle-close {
  transition: opacity var(--transition), transform var(--transition);
}

.nav-toggle-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  opacity: 1;
  transform: rotate(0);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy-900);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

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

.nav-overlay-link {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.nav-overlay-link:hover {
  color: var(--gold-400);
}

.nav-overlay-link--cta {
  margin-top: 16px;
  padding: 12px 32px;
  border: 1px solid var(--gold-500);
  border-radius: 4px;
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: 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(
    to bottom,
    rgba(7, 14, 31, 0.72) 0%,
    rgba(10, 22, 40, 0.80) 50%,
    rgba(7, 14, 31, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- About ---------- */
.about {
  padding: 120px 0;
  background: var(--cream-50);
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--gold-500);
  border-radius: 4px;
  z-index: -1;
}

.about-content {
  padding: 16px 0;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--warm-gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--warm-gray-500);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--warm-gray-200);
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1;
}

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

/* ---------- Products ---------- */
.products {
  padding: 120px 0;
  background: var(--warm-gray-100);
}

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

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

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

.product-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

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

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-card-body {
  padding: 28px 24px;
}

.product-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 10px;
}

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

/* ---------- Services ---------- */
.services {
  padding: 120px 0;
  background: var(--cream-50);
}

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

.services-content {
  order: 1;
}

.services-image {
  order: 2;
}

.services-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 4px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  border-radius: 50%;
  color: var(--gold-400);
}

.service-item h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 4px;
}

.service-item p {
  font-size: 0.9375rem;
  color: var(--warm-gray-500);
  line-height: 1.6;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 120px 0;
  background: var(--navy-800);
}

.testimonials .section-eyebrow {
  color: var(--gold-400);
}

.testimonials .section-title {
  color: #ffffff;
}

.testimonials .section-header {
  margin-bottom: 64px;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 36px 28px;
  transition: background var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-500);
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--gold-400);
  letter-spacing: 0.04em;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7, 14, 31, 0.90) 0%,
    rgba(10, 22, 40, 0.82) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact {
  padding: 120px 0;
  background: var(--cream-50);
}

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

.contact-intro {
  font-size: 1.05rem;
  color: var(--warm-gray-500);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  border-radius: 50%;
  color: var(--gold-400);
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray-400);
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--navy-800);
  line-height: 1.6;
  font-weight: 500;
}

.contact-detail-value a {
  color: var(--navy-800);
  transition: color var(--transition);
}

.contact-detail-value a:hover {
  color: var(--gold-500);
}

/* Form */
.contact-form-wrap {
  background: #ffffff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray-600);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--warm-gray-800);
  background: var(--warm-gray-100);
  border: 1.5px solid var(--warm-gray-200);
  border-radius: 4px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
  background: #ffffff;
}

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

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

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  color: var(--navy-800);
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-success svg {
  flex-shrink: 0;
  color: var(--gold-500);
}

/* ---------- Map ---------- */
.map-section {
  height: 350px;
  background: var(--warm-gray-200);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-mark {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-contact p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

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

.footer-hours {
  margin-top: 12px;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.35) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-400);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

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

  .services-image {
    order: 1;
  }

  .services-content {
    order: 2;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }

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

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

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    height: 44px;
  }

  .hero-headline {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

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

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

  .testimonial-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .about-image-accent {
    display: none;
  }

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

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

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

  .about-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

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

  .nav-inner {
    padding: 0 16px;
  }

  .about,
  .products,
  .services,
  .testimonials,
  .contact {
    padding: 80px 0;
  }

  .cta-banner {
    padding: 64px 0;
  }
}
