:root {
  --midnight-charcoal: #1a1a1a;
  --warm-champagne-gold: #d4af37;
  --soft-ivory: #f5f5f0;
  --deep-bronze: #8b4513;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--midnight-charcoal);
  color: var(--soft-ivory);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--warm-champagne-gold);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--warm-champagne-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--soft-ivory);
}

header {
  background-color: var(--midnight-charcoal);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--deep-bronze);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--warm-champagne-gold);
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul li a {
  color: var(--soft-ivory);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--warm-champagne-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--warm-champagne-gold);
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--midnight-charcoal);
  border-top: 1px solid var(--deep-bronze);
  flex-direction: column;
  padding: 1rem 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu ul li a {
  display: block;
  padding: 0.5rem 0;
  color: var(--soft-ivory);
}

section {
  margin: 2rem 0;
  padding: 2rem;
}

.hero {
  margin-top: 0;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 3rem;
  color: var(--warm-champagne-gold);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  color: var(--soft-ivory);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--warm-champagne-gold);
  color: var(--midnight-charcoal);
}

.btn-primary:hover {
  background-color: var(--deep-bronze);
  color: var(--soft-ivory);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
  }
}

.btn-outline {
  background-color: transparent;
  color: var(--warm-champagne-gold);
  border: 2px solid var(--warm-champagne-gold);
}

.btn-outline:hover {
  background-color: var(--warm-champagne-gold);
  color: var(--midnight-charcoal);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background-color: rgba(139, 69, 19, 0.1);
  border: 1px solid var(--deep-bronze);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.hero-image {
  animation: kenBurns 20s ease-in-out infinite;
}

@keyframes kenBurns {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--warm-champagne-gold);
  font-weight: 500;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(245, 245, 240, 0.1);
  border: 1px solid var(--deep-bronze);
  color: var(--soft-ivory);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--warm-champagne-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

form textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

footer {
  background-color: rgba(26, 26, 26, 0.95);
  border-top: 1px solid var(--deep-bronze);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--warm-champagne-gold);
}

.footer-column p,
.footer-column address {
  color: var(--soft-ivory);
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--soft-ivory);
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--warm-champagne-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--deep-bronze);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: var(--soft-ivory);
  margin-bottom: 0.5rem;
}

.privacy-links {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.privacy-links a {
  color: var(--warm-champagne-gold);
  font-size: 0.9rem;
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 26, 26, 0.98);
  border-top: 2px solid var(--warm-champagne-gold);
  padding: 2rem;
  z-index: 10000;
  display: none;
}

.privacy-popup.active {
  display: block;
}

.popup-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.popup-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.policy-page,
.terms-page,
.return-page,
.cookies-page {
  padding-left: 1rem;
  padding-right: 1rem;
}

.policy-page section,
.terms-page section,
.return-page section,
.cookies-page section {
  max-width: 900px;
  margin: 2rem auto;
}

.policy-page ul,
.terms-page ul,
.return-page ul,
.cookies-page ul,
.policy-page ol,
.terms-page ol,
.return-page ol,
.cookies-page ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.policy-page li,
.terms-page li,
.return-page li,
.cookies-page li {
  margin-bottom: 0.5rem;
  color: var(--soft-ivory);
}

@media (max-width: 768px) {
  html {
    hyphens: auto;
  }

  body {
    hyphens: auto;
  }

  .logo {
    font-size: 1rem;
  }

  nav ul {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  header {
    padding: 1rem;
  }

  section {
    padding: 1rem;
  }

  .hero {
    min-height: 60vh;
  }
}
