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

body {
  font-family: 'Lato', sans-serif;
  background: #faf9f7;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #333;
}

nav {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 400;
  transition: color 0.3s;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
  color: #b8965f;
}

.nav-btn {
  border: 1px solid #b8965f;
  padding: 10px 20px;
  color: #b8965f;
}

.nav-btn:hover {
  background: #b8965f;
  color: white;
}

/* Transparent header for home page */
body .logo {
  color: white;
}

body .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

body .nav-link:hover,
body .nav-link.active {
  color: white;
}

body .nav-btn {
  border-color: rgba(255, 255, 255, 0.8);
  color: rgba(255, 255, 255, 0.9);
}

body .nav-btn:hover {
  background: white;
  color: #333;
  border-color: white;
}

/* White header for other pages */
body.white-header header {
  background: white;
  position: sticky;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body.white-header .logo {
  color: #333;
}

body.white-header .nav-link {
  color: #666;
}

body.white-header .nav-link:hover,
body.white-header .nav-link.active {
  color: #b8965f;
}

body.white-header .nav-btn {
  border-color: #b8965f;
  color: #b8965f;
}

body.white-header .nav-btn:hover {
  background: #b8965f;
  color: white;
  border-color: #b8965f;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 200px 20px 200px;
  background: url('https://images.unsplash.com/photo-1595425970377-c9703cf48b6d?q=80&w=2072&auto=format&fit=crop') no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 15px;
  font-weight: 300;
}

.hero-title {
  font-size: 72px;
  margin-bottom: 30px;
  line-height: 1.2;
  color: white;
  font-weight: 600;
}

.hero-description {
  font-size: 17px;
  color: rgba(255,255,255,0.95);
  max-width: 650px;
  margin: 0 auto 45px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-scroll {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
  margin-top: 100px;
  font-weight: 300;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-transform: uppercase;
}

.btn-primary {
  background: white;
  color: #333;
  border: 1px solid #ddd;
}

.btn-primary:hover {
  background: #b8965f;
  color: white;
  border-color: #b8965f;
}

.btn-secondary {
  background: transparent;
  color: #333;
  border: 1px solid #333;
  margin-top: 15px;
}

.btn-secondary:hover {
  background: #333;
  color: white;
}

.btn-dark {
  background: #3a3a3a;
  color: white;
  width: 100%;
  padding: 18px;
  font-size: 13px;
}

.btn-dark:hover {
  background: #000;
}

.btn-light {
  background: white;
  color: #333;
  padding: 18px 50px;
}

.btn-light:hover {
  background: #b8965f;
  color: white;
}

.btn-full {
  width: 100%;
}

/* Collection Section */
.collection {
  padding: 120px 60px;
  background: white;
}

.section-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: #666;
  max-width: 650px;
  margin: 0 auto 80px;
  font-size: 16px;
  line-height: 1.8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  text-align: center;
}

.product-image {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  margin-bottom: 25px;
  transition: transform 0.3s;
}

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

.product-romantic {
  background: url('https://images.unsplash.com/photo-1541643600914-78b084683601?q=80&w=1000&auto=format&fit=crop') center center;
  background-size: cover;
}

.product-bold {
  background: url('https://images.unsplash.com/photo-1594035910387-fea47794261f?q=80&w=1887&auto=format&fit=crop') center center;
  background-size: cover;
}

.product-free {
  background: url('https://images.unsplash.com/photo-1592945403244-b3fbafd7f539?q=80&w=1000&auto=format&fit=crop') center center;
  background-size: cover;
}

.product-minimalist {
  background: linear-gradient(135deg, #e8e8e8 0%, #f9f9f9 100%);
}

.product-name {
  font-size: 28px;
  margin-bottom: 10px;
}

.product-tagline {
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.product-price {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  background: #3a3a3a;
  color: white;
  text-align: center;
  padding: 100px 40px;
}

.star-icon {
  font-size: 40px;
  color: #b8965f;
  margin-bottom: 25px;
}

.cta-title {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-description {
  font-size: 16px;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Quiz Page */
.quiz {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px 100px;
  min-height: 70vh;
}

.quiz-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #999;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: #e0e0e0;
  margin-bottom: 60px;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #b8965f;
  width: 20%;
  transition: width 0.4s ease;
}

.question {
  display: none;
  animation: fadeIn 0.5s;
}

.question.active {
  display: block;
}

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

.question-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.3;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.option-btn {
  padding: 25px 30px;
  background: white;
  border: 1px solid #ddd;
  color: #555;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
  font-family: 'Lato', sans-serif;
}

.option-btn:hover {
  border-color: #b8965f;
  color: #b8965f;
  transform: translateX(5px);
}

.option-btn.selected {
  background: #b8965f;
  color: white;
  border-color: #b8965f;
}

.quiz-navigation {
  margin-top: 40px;
  text-align: left;
}

.nav-back {
  background: transparent;
  border: none;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.3s;
}

.nav-back:hover {
  color: #333;
}

/* Product Detail Page */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px;
  min-height: 80vh;
}

.product-image-large {
  background-size: cover;
  background-position: center;
  min-height: 600px;
}

.product-image-large.product-romantic {
  background-image: url('https://images.unsplash.com/photo-1541643600914-78b084683601?q=80&w=1000&auto=format&fit=crop');
}

.product-image-large.product-bold {
  background-image: url('https://images.unsplash.com/photo-1594035910387-fea47794261f?q=80&w=1887&auto=format&fit=crop');
}

.product-image-large.product-free {
  background-image: url('https://images.unsplash.com/photo-1592945403244-b3fbafd7f539?q=80&w=1000&auto=format&fit=crop');
}

.product-image-large.product-minimalist {
  background-color: #e8e8e8;
}

.product-info {
  padding: 40px 0;
}

.product-category {
  font-size: 11px;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 10px;
}

.product-detail-title {
  font-size: 56px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.product-detail-tagline {
  font-size: 18px;
  color: #666;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-detail-price {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
}

.product-divider {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  margin: 30px 0;
}

.product-description {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
}

.notes-section {
  margin-bottom: 40px;
}

.note-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.note-icon {
  font-size: 20px;
  color: #b8965f;
}

.note-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 5px;
}

.note-value {
  font-size: 15px;
  color: #333;
}

.product-note {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 20px;
  font-style: italic;
}

/* Product Art Section */
.product-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 60px;
}

.product-art-image {
  background: url('https://images.unsplash.com/photo-1594035910387-fea47794261f?q=80&w=1887&auto=format&fit=crop') center center;
  background-size: cover;
  min-height: 500px;
}

.product-art-content {
  padding: 40px 0;
}

.art-title {
  font-size: 48px;
  margin-bottom: 20px;
}

.art-divider {
  width: 60px;
  height: 2px;
  background: #b8965f;
  margin: 30px 0;
}

.art-description {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 50px;
}

.art-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.feature-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 60px;
  max-width: 550px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #333;
}

.modal-title {
  font-size: 36px;
  margin-bottom: 15px;
}

.modal-subtitle {
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

#modalScent {
  color: #b8965f;
  font-weight: 600;
}

.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 8px;
  margin-top: 20px;
}

.form-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #b8965f;
}

form button[type="submit"] {
  margin-top: 30px;
}

/* Footer */
footer {
  background: #2c2c2c;
  color: #ccc;
  padding: 60px 60px 30px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: #999;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: #b8965f;
  color: #b8965f;
}

.footer-section h4 {
  font-size: 13px;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
}

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

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

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #b8965f;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #777;
}

.footer-legal {
  display: flex;
  gap: 25px;
}

.footer-legal a {
  color: #777;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #b8965f;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 20px 30px;
    flex-direction: column;
    gap: 20px;
  }

  nav {
    gap: 20px;
  }

  .hero-title {
    font-size: 42px;
  }

  .collection {
    padding: 60px 30px;
  }

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

  .product-detail,
  .product-art {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px;
  }

  .question-title {
    font-size: 32px;
  }

  .modal-content {
    padding: 40px 30px;
  }

  .art-features {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 30px;
  }

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

  footer {
    padding: 40px 30px 20px;
  }
}
