/* Kids Adventure Maps Store - Main CSS */

/* Import Bootstrap 5 and External Libraries */
@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 Variables - 5 Primary Colors + Light/Dark Shades */
:root {
  --primary-color: #2E7D32;
  --primary-light: #4CAF50;
  --primary-dark: #1B5E20;
  
  --secondary-color: #FF6B35;
  --secondary-light: #FF8A65;
  --secondary-dark: #E64A19;
  
  --accent-color: #FFD54F;
  --accent-light: #FFF176;
  --accent-dark: #FFB300;
  
  --nature-color: #8BC34A;
  --nature-light: #AED581;
  --nature-dark: #689F38;
  
  --adventure-color: #795548;
  --adventure-light: #A1887F;
  --adventure-dark: #5D4037;
  
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --gray: #EEEEEE;
  --dark-gray: #757575;
  --text-dark: #212121;
  
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--nature-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-adventure: linear-gradient(135deg, var(--adventure-color), var(--primary-dark));
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Respect prefers-reduced-motion */
@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(--text-dark);
  background-color: var(--white);
}

/* Conservative Typography */
h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

h5 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Header Navigation */
.navbar {
  background: var(--gradient-primary) !important;
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  color: var(--white);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Breadcrumbs */
.breadcrumb-container {
  background: var(--light-gray);
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray);
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  margin: 0 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: var(--gradient-adventure);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::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 .container {
  position: relative;
  z-index: 2;
}

#hero .text-white h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero .text-white p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-image {
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

/* About Section */
#about {
  background: var(--light-gray);
}

.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Services Section */
#services {
  background: var(--white);
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card .card-body {
  overflow-x: hidden !important;
  padding: 1.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.service-features li i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Features Section Specific */
#features {
  background: var(--gradient-primary);
  color: var(--white);
}

#features .section-title h2 {
  color: var(--white);
}

#features .section-title h2::after {
  background: var(--gradient-secondary);
}

#features .feature-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
}

#features .feature-item i {
  color: var(--accent-color);
}

#features .feature-item h4 {
  color: var(--white);
}

#features .feature-item p {
  color: rgba(255,255,255,0.9);
}

/* Price Plan Section */
#priceplan {
  background: var(--light-gray);
}

.price-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.price-card.featured {
  border: 3px solid var(--secondary-color);
  transform: scale(1.05);
}

.price-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.875rem;
  font-weight: 600;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray);
  color: var(--dark-gray);
}

.btn-price {
  background: var(--gradient-secondary);
  border: none;
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-price:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  color: var(--white);
}

/* Team Section */
#team {
  background: var(--white);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.team-member:hover .team-photo {
  transform: scale(1.1);
  border-color: var(--secondary-color);
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--dark-gray);
  font-style: italic;
}

/* Reviews Section */
#reviews {
  background: var(--light-gray);
}

.review-slider {
  padding: 2rem 0;
  overflow: hidden;
  position: relative;
}

.review-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.review-slider .swiper-slide {
  display: flex;
  align-items: stretch;
  height: auto;
}

.review-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0 1rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
}

.stars {
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

/* Swiper navigation and pagination styles */
.review-slider .swiper-button-next,
.review-slider .swiper-button-prev {
  color: var(--primary-color);
  background: var(--white);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-slider .swiper-button-next:after,
.review-slider .swiper-button-prev:after {
  font-size: 18px;
  font-weight: 600;
}

.review-slider .swiper-pagination-bullet {
  background: var(--primary-color);
  width: 12px;
  height: 12px;
  opacity: 0.3;
}

.review-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
}

/* Case Studies Section */
#casestudy {
  background: var(--white);
}

.case-item {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.case-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.case-item h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Process Section */
#process {
  background: var(--gradient-adventure);
  color: var(--white);
}

#process .section-title h2 {
  color: var(--white);
}

.process-step {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.process-step p {
  color: rgba(255,255,255,0.9);
}

/* Timeline Section */
#timeline {
  background: var(--light-gray);
}

.timeline-item {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Career Section */
#career {
  background: var(--white);
}

.career-item {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.career-item:hover {
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.career-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.career-role {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Core Info Section */
#coreinfo {
  background: var(--gradient-primary);
  color: var(--white);
}

#coreinfo .section-title h2 {
  color: var(--white);
}

.info-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.info-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.info-item h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.info-item p {
  color: rgba(255,255,255,0.9);
}

/* Blog Section */
#Blog {
  background: var(--white);
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .card-body {
  overflow-x: hidden !important;
  padding: 1.5rem;
}

.blog-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  color: var(--secondary-dark);
  text-decoration: underline;
}

/* FAQ Section */
#faq {
  background: var(--light-gray);
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  cursor: pointer;
  margin: 0;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-question:hover {
  background: var(--primary-dark);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1.5rem;
  display: none;
  color: var(--dark-gray);
  line-height: 1.6;
}

.faq-answer.active {
  display: block;
}

/* Gallery Section */
#gallery {
  background: var(--white);
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(46, 125, 50, 0.7);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Contact Section */
#contacts {
  background: var(--light-gray);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--gray);
  border-radius: 8px;
  padding: 0.75rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
  outline: none;
}

.form-control.is-invalid {
  border-color: var(--secondary-dark);
}

.btn-submit {
  background: var(--gradient-secondary);
  border: none;
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  color: var(--white);
}

.contact-info {
  padding: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  width: 30px;
}

.contact-item p {
  margin: 0;
  color: var(--text-dark);
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#space h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#space p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid var(--dark-gray);
  padding-top: 1rem;
  text-align: center;
  color: var(--gray);
}




/* Mobile Optimizations */
@media (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  #hero .text-white h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero-image {
    margin-top: 2rem;
    transform: none;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  #space h1 {
    font-size: 2rem;
  }
  
  /* Swiper adjustments for mobile */
  .swiper-container {
    overflow: hidden;
  }
  
  .review-item {
    margin: 0 0.5rem;
  }
}