/* StoryBook Dreams - Main CSS */
@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');

/* Color Palette Variables */
:root {
  --primary-deep-purple: #4A1A5C;
  --primary-warm-gold: #D4AF37;
  --primary-soft-teal: #5D9B9B;
  --primary-dusty-rose: #D4A5A5;
  --primary-cream-beige: #F5F1E8;
  
  /* Light Shades */
  --light-purple: #8B5A96;
  --light-gold: #E6C85A;
  --light-teal: #8DB8B8;
  --light-rose: #E6BFBF;
  --light-cream: #FAF7F0;
  
  /* Dark Shades */
  --dark-purple: #2A0F33;
  --dark-gold: #B8941C;
  --dark-teal: #3A6363;
  --dark-rose: #B08686;
  --dark-cream: #E8E0D1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-deep-purple) 0%, var(--primary-soft-teal) 100%);
  --gradient-secondary: linear-gradient(45deg, var(--primary-warm-gold) 0%, var(--primary-dusty-rose) 100%);
  --gradient-accent: linear-gradient(90deg, var(--light-purple) 0%, var(--light-gold) 50%, var(--light-teal) 100%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  overflow-x: hidden !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-purple);
  background: var(--primary-cream-beige);
  font-size: 1rem;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-deep-purple);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-deep-purple);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-purple);
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark-purple);
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  color: var(--dark-purple);
  margin-bottom: 1rem;
}

/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(74, 26, 92, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: var(--primary-deep-purple);
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: var(--primary-cream-beige);
  color: var(--primary-deep-purple);
  transform: translateY(-2px);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: var(--gradient-primary);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-top: 100px !important;
  color: white;
}

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  top: 20%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Styling */
section {
  padding: 5rem 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--light-cream);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-soft-teal);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(74, 26, 92, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-warm-gold);
  box-shadow: 0 20px 40px rgba(74, 26, 92, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-warm-gold);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-deep-purple);
  margin-top: 1rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-soft-teal);
  margin-bottom: 1rem;
}

/* Price Plans */
.price-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.price-card.featured {
  border: 3px solid var(--primary-warm-gold);
  transform: scale(1.05);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -40px;
  background: var(--primary-warm-gold);
  color: white;
  padding: 5px 50px;
  transform: rotate(45deg);
  font-weight: 600;
  font-size: 0.8rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-deep-purple);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--dark-purple);
}

.price-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-soft-teal);
  margin-right: 0.5rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-warm-gold);
  margin-bottom: 1rem;
}

.team-role {
  color: var(--primary-soft-teal);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Reviews/Testimonials */
.swiper {
  padding: 2rem 0;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark-purple);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-deep-purple);
}

.testimonial-rating {
  color: var(--primary-warm-gold);
  margin-bottom: 1rem;
}

/* Case Studies */
.case-studies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.case-study-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-study-image {
  height: 200px;
  background: var(--gradient-secondary);
  position: relative;
}

.case-study-content {
  padding: 2rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--primary-warm-gold);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-warm-gold);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
  margin-left: 55%;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-warm-gold);
  transform: translateX(-50%);
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--primary-warm-gold);
}

/* Career Section */
.career-positions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.career-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-soft-teal);
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Core Info */
.core-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.core-info-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.core-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.core-info-icon {
  font-size: 3rem;
  color: var(--primary-dusty-rose);
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 3rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-control {
  border: 2px solid var(--light-cream);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-soft-teal);
  box-shadow: 0 0 0 0.2rem rgba(93, 155, 155, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 25px;
  padding: 1rem 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(74, 26, 92, 0.3);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
  background: var(--gradient-accent);
  position: relative;
}

.blog-content {
  padding: 2rem;
}

.blog-link {
  color: var(--primary-soft-teal);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--dark-teal);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  background: var(--light-cream);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-deep-purple);
  margin: 0;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-cream-beige);
}

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  float: right;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--dark-purple);
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 200px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
footer {
  background: var(--primary-deep-purple);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-warm-gold);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--light-cream);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: var(--primary-warm-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 2rem 0;
  color: white;
  font-size: 1.5rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
}

/* Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(74, 26, 92, 0.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-soft-teal);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-teal);
}