/* Main CSS for Soap & Candle Making Studio */

/* Import Bootstrap 5 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');

/* Root Variables - Color Palette */
:root {
  --primary-cream: #F5F0E8;
  --primary-sage: #9CAF88;
  --primary-terracotta: #C47E5A;
  --primary-warm-brown: #8B4B3B;
  --primary-soft-gold: #D4AF37;
  
  /* Light/Dark Shades */
  --light-cream: #FEFCF7;
  --dark-sage: #7A8A6B;
  --light-terracotta: #D69A7A;
  --dark-brown: #6B3429;
  --light-gold: #E6C956;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-sage), var(--primary-terracotta));
  --gradient-warm: linear-gradient(135deg, var(--primary-terracotta), var(--primary-warm-brown));
  --gradient-soft: linear-gradient(135deg, var(--primary-cream), var(--light-cream));
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-warm-brown);
  background-color: var(--light-cream);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header & Navigation */
.navbar {
  background: var(--gradient-soft);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-warm-brown) !important;
}

.navbar-nav .nav-link {
  color: var(--dark-sage) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-terracotta) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--light-cream);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--primary-cream);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: var(--font-size-lg);
  color: var(--light-cream);
  margin-bottom: 2rem;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-warm-brown);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--dark-sage);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: var(--font-size-base);
  color: var(--primary-warm-brown);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: var(--primary-cream);
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-sage);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: var(--light-cream);
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 1.5rem;
}

.service-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-warm-brown);
  margin-bottom: 0.5rem;
}

.service-desc {
  color: var(--dark-sage);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-terracotta);
}

/* Price Plan Section */
.priceplan-section {
  background: var(--gradient-soft);
}

.price-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  text-align: center;
}

.price-card.featured {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.05);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-terracotta);
  margin: 1rem 0;
}

.price-card.featured .price-amount {
  color: white;
}

/* Team Section */
.team-section {
  background: var(--primary-cream);
}

.team-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-warm-brown);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--dark-sage);
}

/* Reviews/Testimonials */
.reviews-section {
  background: var(--light-cream);
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--primary-warm-brown);
}

.review-author {
  font-weight: 600;
  color: var(--primary-terracotta);
}

/* Gallery Section */
.gallery-section {
  background: var(--primary-cream);
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
  background: var(--light-cream);
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
  background: var(--primary-sage);
  color: white;
  padding: 1rem;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 1rem;
  color: var(--primary-warm-brown);
}

/* Contact Form */
.contact-section {
  background: var(--gradient-primary);
  color: white;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--primary-cream);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(156, 175, 136, 0.25);
}

.btn-submit {
  background: var(--gradient-warm);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  background: var(--primary-warm-brown);
  color: var(--primary-cream);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-soft-gold);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--primary-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-soft-gold);
}

.footer-bottom {
  border-top: 1px solid var(--dark-brown);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

/* Utility Classes */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-warm {
  background: var(--gradient-warm);
}

.text-primary-sage {
  color: var(--primary-sage);
}

.text-primary-terracotta {
  color: var(--primary-terracotta);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Swiper Overrides */
.swiper-pagination-bullet-active {
  background: var(--primary-terracotta);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-sage);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} 