@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  /* Color Palette - Botanical & Premium */
  --color-primary: #264d3d;    /* Deep Forest */
  --color-secondary: #5d7b6e;  /* Sage */
  --color-accent: #d8b5be;     /* Blossom Pink */
  --color-cream: #f6f3ee;      /* Cream */
  --color-beige: #ede8df;      /* Soft Sand */
  --color-text: #2d2d2d;       /* Charcoal */
  --color-muted: #66716b;      /* Slate Green */
  --color-white: #ffffff;
  
  /* Shadows & Radius */
  --shadow-sm: 0 4px 12px rgba(40, 50, 44, 0.05);
  --shadow-md: 0 8px 24px rgba(40, 50, 44, 0.08);
  --shadow-lg: 0 16px 48px rgba(40, 50, 44, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* --- Layout Components --- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.bg-beige { background-color: var(--color-beige); }
.bg-cream { background-color: var(--color-cream); }

/* --- Navigation --- */

.header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-medium);
  display: flex;
  align-items: center;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  height: 70px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 24px;
  letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
  }
  
  .menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
  }

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

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 24px;
    box-shadow: var(--shadow-md);
    gap: 24px;
    text-align: center;
    border-bottom: 2px solid var(--color-accent);
  }

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-fast);
}

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

/* --- Hero Section --- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

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

.hero-text h1 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s forwards 0.2s;
}

.hero-text .subtitle {
  font-size: 24px;
  font-style: italic;
  color: var(--color-secondary);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s forwards 0.4s;
}

.hero-text p {
  font-size: 20px;
  color: var(--color-muted);
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s forwards 0.6s;
}

.hero-image {
  position: relative;
  height: 80vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(1.05);
  animation: scaleIn 1.2s forwards 0.2s;
}

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

/* --- Section Title --- */

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

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 14px;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  height: 1px;
  width: 40px;
  background: var(--color-accent);
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
}

/* --- Product Cards --- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-medium);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  cursor: pointer;
}

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

.product-img {
  height: 350px;
  overflow: hidden;
  position: relative;
}

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

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

.product-info {
  padding: 32px;
  text-align: center;
}

.product-info h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.product-info p {
  color: var(--color-muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.view-more {
  display: inline-block;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.product-card:hover .view-more {
  color: var(--color-primary);
  transform: translateX(5px);
}

/* --- Channels Section --- */

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

.channel-card {
  padding: 48px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(70, 97, 83, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  transition: var(--transition-medium);
}

.channel-card:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.channel-icon {
  font-size: 40px;
  margin-bottom: 24px;
}

.channel-card h3 {
  margin-bottom: 16px;
  font-size: 28px;
}

.channel-card p {
  margin-bottom: 24px;
  color: #4a5a51;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.pill {
  padding: 10px 20px;
  background: var(--color-beige);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  border: 1px solid rgba(0,0,0,0.05);
  display: inline-block;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pill:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pill-primary {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 32px;
  border: none;
}

.pill-primary:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* --- About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-muted);
}

.about-feature {
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.about-feature h3 {
  margin-bottom: 16px;
  font-size: 28px;
}

.about-feature p {
  color: var(--color-muted);
}

/* --- Footer --- */

.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-branch h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-branch p {
  opacity: 0.8;
  max-width: 300px;
}

.footer-col h4 {
  margin-bottom: 24px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.footer-contact p {
  margin-bottom: 12px;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  text-align: center;
  font-size: 14px;
  opacity: 0.6;
}

/* --- Animations --- */

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Responsive --- */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin: 0 auto 40px;
  }
  .hero-image {
    height: 50vh;
  }
  .channels-container {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    height: 60px;
  }
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .section {
    padding: 60px 0;
  }
  .hero-text h1 {
    font-size: 40px;
  }
  .channels-container {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}
/* --- Product Detail Page --- */

.detail-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(to bottom, var(--color-beige), var(--color-cream));
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-weight: 600;
  color: var(--color-secondary);
}

.back-btn:hover {
  color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  padding: 60px 0;
}

.gallery-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  aspect-ratio: 4/5;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.gallery-caption {
  height: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-white);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
}
