:root {
  --background: hsl(60, 30%, 98%);
  --foreground: hsl(20, 14%, 4%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(20, 14%, 4%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(20, 14%, 4%);
  --primary: hsl(158, 64%, 24%);
  --primary-foreground: hsl(60, 30%, 96%);
  --secondary: hsl(60, 30%, 96%);
  --secondary-foreground: hsl(20, 14%, 4%);
  --muted: hsl(60, 15%, 90%);
  --muted-foreground: hsl(20, 14%, 40%);
  --accent: hsl(38, 92%, 50%);
  --accent-foreground: hsl(20, 14%, 4%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(60, 30%, 96%);
  --border: hsl(20, 14%, 85%);
  --input: hsl(20, 14%, 85%);
  --ring: hsl(158, 64%, 24%);
  --radius: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.fixed-header:hover {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--foreground);
  transition: transform 0.3s ease;
}

.logo a:hover {
  transform: scale(1.02);
}

.logo img {
  width: 60px;
  height: 40px;
  object-fit: contain;
  margin-right: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero {
  background: linear-gradient(135deg, 
    var(--primary), 
    hsl(158, 64%, 32%),
    hsl(158, 64%, 28%)
  );
  color: white;
  text-align: center;
  padding: 10rem 2rem 8rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.5); opacity: 0.8; }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--accent), hsl(38, 92%, 45%));
  transform: rotate(45deg);
  margin: 0 auto 2rem;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-20px) rotate(45deg); }
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), hsl(38, 92%, 45%));
  color: var(--accent-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

.heritage,
.featured-collection,
.contact {
  padding: 6rem 2rem;
  text-align: center;
}

.heritage {
  background-color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.heritage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 0% 0%, rgba(var(--primary), 0.05) 0%, transparent 50%);
}

.heritage h2,
.featured-collection h2,
.contact h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.heritage p,
.featured-collection p,
.contact p {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--muted-foreground);
  font-size: 1.1rem;
}

.features,
.product-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  padding: 0 1rem;
}

.feature-card,
.product-card,
.contact-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover,
.product-card:hover,
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), hsl(158, 64%, 32%));
  margin: 0 auto 1.5rem;
  transform: rotate(45deg);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-card {
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.25rem);
  margin-bottom: 1.5rem;
  transition: transform 0.6s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-info h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.product-info p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.view-details {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.product-card:hover .view-details {
  gap: 0.75rem;
}

.contact-card {
  text-align: left;
}

.contact-card svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.contact-card:hover svg {
  transform: scale(1.1);
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

footer {
  background-color: var(--muted);
  color: var(--muted-foreground);
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border),
    transparent
  );
}

footer nav {
  margin-top: 1.5rem;
}

footer nav a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

footer nav a:hover {
  color: var(--accent);
}

/* Product Page Styles */
.product-page {
  padding: 8rem 2rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #FEFFED;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 3rem;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.back-link:hover {
  transform: translateX(-4px);
}

.back-link svg {
  margin-right: 0.75rem;
}

.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.main-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.main-image:hover img {
  transform: scale(1.03);
}

.zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zoom-icon:hover {
  background-color: white;
  transform: scale(1.1);
}

.thumbnail-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-bottom: 1rem;
}

.thumbnail {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.25rem);
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-info h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.product-features {
  margin: 3rem 0;
}

.product-features h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.product-features ul {
  list-style-type: none;
}

.product-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.product-features li::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  margin-right: 1rem;
  transform: rotate(45deg);
  border-radius: 2px;
}

.product-price {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2rem 0;
  color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product-details {
    gap: 4rem;
  }
  
  .product-info h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .heritage h2,
  .featured-collection h2,
  .contact h2 {
    font-size: 2.5rem;
  }

  .product-details {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: relative;
    top: 0;
  }

  .features,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .thumbnail-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 8rem 1rem 6rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .heritage,
  .featured-collection,
  .contact {
    padding: 4rem 1rem;
  }

  
}