/* ============================================
   Yummy Villa — Styles
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2B;
  --burgundy-deeper: #3D141C;
  --blush: #F5E6D0;
  --blush-light: #FDF6EE;
  --blush-mid: #EDD4BC;
  --cream: #FFFAF5;
  --text-dark: #2A1418;
  --text-body: #4A2530;
  --text-muted: #7A5060;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: 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;
}

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

/* ============================================
   Typography
   ============================================ */

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

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background-color: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}

.btn-light:hover {
  background-color: var(--blush);
  border-color: var(--blush);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(253, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(42, 20, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  background-color: var(--burgundy);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition);
}

.main-nav a:hover {
  color: var(--burgundy);
  background-color: rgba(123, 45, 59, 0.08);
}

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

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--cream);
  align-items: center;
  justify-content: center;
}

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

.nav-overlay ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-overlay-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color var(--transition);
}

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

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 20, 28, 0.88) 0%,
    rgba(123, 45, 59, 0.82) 50%,
    rgba(92, 31, 43, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush-mid);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--blush);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: rgba(245, 230, 208, 0.85);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ============================================
   Marquee
   ============================================ */

.marquee {
  background-color: var(--burgundy);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 32px;
  align-items: center;
  animation: marquee-scroll 20s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blush);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.marquee-dot {
  color: rgba(245, 230, 208, 0.4);
  font-size: 0.6rem;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   About
   ============================================ */

.about {
  padding: 120px 0;
  background-color: var(--cream);
}

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

.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 64px rgba(42, 20, 24, 0.12);
}

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

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Products
   ============================================ */

.products {
  padding: 120px 0;
  background-color: var(--blush-light);
}

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

.section-header .section-headline {
  margin-bottom: 16px;
}

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

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(42, 20, 24, 0.06);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(42, 20, 24, 0.12);
}

.product-card-image {
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

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

.product-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.product-card-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   Visit
   ============================================ */

.visit {
  padding: 120px 0;
  background-color: var(--burgundy);
  color: var(--white);
}

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

.visit .section-eyebrow {
  color: var(--blush-mid);
}

.visit .section-headline {
  color: var(--white);
}

.visit-details {
  font-style: normal;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.visit-details p {
  font-size: 1.1rem;
  color: rgba(245, 230, 208, 0.9);
  line-height: 1.6;
}

.visit-details strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.visit-phone {
  color: var(--blush);
  text-decoration: underline;
  text-decoration-color: rgba(245, 230, 208, 0.3);
  text-underline-offset: 4px;
  transition: all var(--transition);
}

.visit-phone:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

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

.visit-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.visit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 7/5;
}

/* ============================================
   Contact
   ============================================ */

.contact {
  padding: 120px 0;
  background-color: var(--cream);
}

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

.contact-info p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 32px;
}

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

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

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail a {
  color: var(--burgundy);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--burgundy-dark);
}

.contact-detail span {
  color: var(--text-body);
  line-height: 1.6;
}

/* Form */
.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(42, 20, 24, 0.06);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--blush-light);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.1);
}

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

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px 20px;
  background-color: rgba(123, 45, 59, 0.08);
  color: var(--burgundy);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

.form-success.visible {
  display: block;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background-color: var(--burgundy-deeper);
  color: var(--blush);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 230, 208, 0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .logo-mark {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(245, 230, 208, 0.6);
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(245, 230, 208, 0.7);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245, 230, 208, 0.4);
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s 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) {
  .about-grid,
  .visit-layout,
  .contact-layout {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 140px 24px 100px;
    min-height: 100svh;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .about-image {
    max-width: 100%;
    aspect-ratio: 4/3;
  }

  .about-image img {
    aspect-ratio: unset;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .visit-image {
    order: -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 20px;
  }
}

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

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

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

  .visit-cta {
    flex-direction: column;
  }

  .visit-cta .btn {
    width: 100%;
    text-align: center;
  }
}
