/* Glow & Blossom Design System - Premium Soy Candles Theme */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Brand Colors */
  --background: #f8e8e4; /* primary-light */
  --foreground: #5c4033; /* primary-dark */

  --card: #ffffff;
  --card-foreground: #5c4033;

  --primary: #5c4033; /* primary-dark */
  --primary-foreground: #f8e8e4; /* text-light */

  --secondary: #e7d7d3; /* primary-medium */
  --secondary-foreground: #5c4033;

  --muted: #e7d7d3;
  --muted-foreground: #70574f; /* primary-medium-dark */

  --accent: #8b4545; /* accent-color */
  --accent-foreground: #f8e8e4;

  --border: #d4c3bf;
  --input: #d4c3bf;

  /* Candle Brand Specific */
  --warm-light: #f8e8e4;
  --warm-medium: #e7d7d3;
  --warm-dark: #5c4033;
  --accent-warm: #8b4545;
  --accent-deep: #6b3232;

  /* Shadows */
  --shadow-soft: 0 4px 6px -1px rgba(92, 64, 51, 0.1);
  --shadow-warm: 0 10px 15px -3px rgba(92, 64, 51, 0.1);
  --shadow-glow: 0 0 40px rgba(139, 69, 69, 0.15);

  /* Animation */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  color: var(--primary-foreground);
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-foreground);
}

.logo img {
  height: 70px;
  width: 70px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-foreground);
  letter-spacing: 0.5px;
}

.logo-caption {
  font-size: 0.75rem;
  color: var(--primary-foreground);
  opacity: 0.7;
  font-style: italic;
  font-weight: 400;
  margin-top: 2px;
  font-family: "Georgia", serif;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-foreground);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-foreground);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-foreground);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--warm-light) 0%,
    var(--warm-medium) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/hero-candles.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--accent-foreground);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.cta-button:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
}

/* Sections */
.section {
  padding: 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Products Carousel */
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-warm);
}

.carousel-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
}

.carousel-slide {
  width: 100%;
  flex-shrink: 0;
}

.slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  align-items: center;
}

.slide-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.slide-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.slide-image:hover img {
  transform: scale(1.05);
}

.slide-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.slide-collection {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(139, 69, 69, 0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  width: fit-content;
}

.slide-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.slide-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.slide-button {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  text-decoration: none;
}

.slide-button:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.carousel-nav:hover {
  background: white;
  box-shadow: var(--shadow-warm);
}

.carousel-nav.prev {
  left: 1rem;
}

.carousel-nav.next {
  right: 1rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

.carousel-dot:hover {
  background: var(--accent);
  opacity: 0.7;
}

/* Fragrances Grid */
.fragrances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.fragrance-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.fragrance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-warm);
}

.fragrance-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fragrance-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 1rem 0;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-warm);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.product-info p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 1rem 0;
}

.price-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.price-card:hover,
.price-card.popular {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-warm);
}

.price-card.popular {
  position: relative;
}

.price-card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.price-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.price-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

.price-button {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.price-button.primary {
  background: var(--accent);
  color: var(--accent-foreground);
}

.price-button.secondary {
  background: white;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.price-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
}

/* Aboutus Grid */
.about-grid {
  text-align: left;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-warm);
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent);
  min-width: 50px;
}

.feature-text {
  font-weight: 500;
  color: var(--primary);
}

/* Contact Container */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Contact Info */
.contact-info {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem;
  border-radius: 20px;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.contact-info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-foreground);
}

.contact-info-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  background: var(--accent);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--primary-foreground);
}

.contact-text p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.4;
}

.contact-text a {
  color: var(--primary-foreground);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.contact-text a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--border);
}

.contact-form {
  width: 100%;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

/* Ensure intl-tel-input container matches other fields */
.iti {
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
}

/* Contact wrapper alignment */
.contact-container {
  display: flex;
  gap: 3rem; /* spacing between left and right */
  align-items: flex-start; /* align top edges */
  flex-wrap: wrap; /* so on narrow screens, they stack */
}

.contact-info {
  background-color: var(
    --background
  ); /* or a specific light color like #f8e8e4 */
  flex: 1 1 300px; /* grow/shrink, min 300px */
  max-width: 400px; /* optional, control left column width */
}

.contact-form-wrapper {
  flex: 2 1 600px; /* grow/shrink, min 600px */
  max-width: 700px; /* optional, max width for form */
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--primary-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-foreground);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--primary-foreground);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-foreground);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--primary);
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .slide-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .carousel-nav {
    display: none;
  }

  .section {
    padding: 2rem 1rem;
  }

  .fragrances-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    position: static;
    padding: 2rem;
  }

  .contact-form-wrapper {
    padding: 2rem;
    margin: 0 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Background variations */
.bg-gradient-hero {
  background: linear-gradient(
    135deg,
    var(--warm-light) 0%,
    var(--warm-medium) 100%
  );
}

.bg-gradient-warm {
  background: linear-gradient(
    135deg,
    var(--warm-medium) 0%,
    var(--warm-light) 100%
  );
}
