/* Import Bootstrap 5 and dependencies */
@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://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

/* Custom Color Palette */
:root {
  --primary-sage: #8B9A7C;
  --primary-earth: #D4A574;
  --primary-sunset: #E07A5F;
  --primary-ocean: #3D5A80;
  --primary-cream: #F2E9D4;
  
  --sage-light: #A8B89A;
  --earth-light: #E2C298;
  --sunset-light: #E89B85;
  --ocean-light: #5A7BA1;
  --cream-light: #F7F1E8;
  
  --sage-dark: #6B7A5C;
  --earth-dark: #B8935A;
  --sunset-dark: #C5614A;
  --ocean-dark: #2A4260;
  --cream-dark: #E6D9C0;
  
  --gradient-warm: linear-gradient(135deg, var(--primary-earth) 0%, var(--primary-sunset) 100%);
  --gradient-cool: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-ocean) 100%);
  --gradient-neutral: linear-gradient(135deg, var(--primary-cream) 0%, var(--cream-dark) 100%);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  overflow-x: hidden !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--ocean-dark);
  background: var(--primary-cream);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography - Conservative sizes */
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  max-width: 65ch;
}

/* Header */
header {
  background: var(--gradient-cool);
  box-shadow: 0 2px 10px rgba(61, 90, 128, 0.1);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 700;
  color: var(--primary-cream) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--cream-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-cream) !important;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: var(--gradient-warm);
  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;
  opacity: 0.3;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

#hero .hero-content {
  padding-top: 100px !important;
  color: var(--primary-cream);
  max-width: 600px;
}

#hero h1 {
  color: var(--primary-cream);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: var(--primary-ocean);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-warm);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--primary-sage);
  font-size: 1.125rem;
  margin-top: 1rem;
}

.section-desc {
  color: var(--sage-dark);
  font-size: 1rem;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
#about {
  background: var(--primary-cream);
}

.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(61, 90, 128, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(61, 90, 128, 0.15);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-earth);
  margin-bottom: 1rem;
}

/* Services Section */
#services {
  background: var(--gradient-neutral);
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(61, 90, 128, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(61, 90, 128, 0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-sunset);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--sage-dark);
}

.service-features li i {
  color: var(--primary-sage);
  margin-right: 0.5rem;
}

/* Features Section */
#features {
  background: var(--cream-light);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(61, 90, 128, 0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-ocean);
  margin-bottom: 1rem;
}

/* Price Plan Section */
#priceplan {
  background: var(--gradient-cool);
  color: var(--primary-cream);
}

.price-card {
  background: white;
  color: var(--ocean-dark);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.price-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--primary-earth);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary-sunset);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.875rem;
  font-weight: 600;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-sunset);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li i {
  color: var(--primary-sage);
  margin-right: 0.5rem;
}

/* Team Section */
#team {
  background: var(--primary-cream);
}

.team-member {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(61, 90, 128, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-earth);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-ocean);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-sage);
  font-style: italic;
}

/* Reviews */
.reviews-slider {
  padding: 2rem 0;
  position: relative;
}

.reviews-slider .swiper-wrapper {
  align-items: stretch;
}

.reviews-slider .swiper-slide {
  height: auto;
}

.review-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(61, 90, 128, 0.1);
  margin: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reviews-slider .swiper-pagination {
  bottom: -40px !important;
}

.reviews-slider .swiper-pagination-bullet {
  background: var(--primary-sage);
  opacity: 0.4;
}

.reviews-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-earth);
}

.review-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--sage-dark);
}

.review-author {
  font-weight: 600;
  color: var(--primary-ocean);
}

.stars {
  color: var(--primary-earth);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Case Studies Section */
#casestudy {
  background: var(--cream-light);
}

.case-study-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(61, 90, 128, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.case-study-item:hover {
  transform: translateY(-5px);
}

.case-study-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-study-content {
  padding: 2rem;
}

/* Process Section */
#process {
  background: var(--primary-cream);
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  margin-bottom: 2rem;
}

.process-step .step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step .step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-ocean);
  margin-bottom: 1rem;
}

/* Timeline Section */
#timeline {
  background: var(--gradient-cool);
  color: var(--primary-cream);
}

.timeline-item {
  position: relative;
  padding: 2rem 0;
  border-left: 3px solid var(--primary-earth);
  margin-left: 2rem;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 2rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-earth);
}

.timeline-item h4 {
  color: var(--primary-cream);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--cream-light);
}

/* Career Section */
#career {
  background: var(--cream-light);
}

.career-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(61, 90, 128, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateY(-5px);
}

.career-role {
  color: var(--primary-sunset);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Core Info Section */
#coreinfo {
  background: var(--primary-cream);
}

.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.coreinfo-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(61, 90, 128, 0.1);
  transition: transform 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-item i {
  font-size: 2.5rem;
  color: var(--primary-earth);
  margin-bottom: 1rem;
}

/* Blog Section */
#blog {
  background: var(--gradient-neutral);
}

.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 8px 30px rgba(61, 90, 128, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-ocean);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--sage-dark);
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--primary-sunset);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.blog-link:hover {
  color: var(--sunset-dark);
}

.blog-link i {
  margin-left: 0.5rem;
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 15px rgba(61, 90, 128, 0.1);
  overflow: hidden;
}

.faq-question {
  background: var(--primary-sage);
  color: white;
  padding: 1.5rem 2rem;
  cursor: pointer;
  margin: 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--sage-dark);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  color: var(--sage-dark);
  opacity: 0;
}

.faq-answer.show {
  padding: 1.5rem 2rem;
  max-height: 500px;
  opacity: 1;
}

/* 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 20px rgba(61, 90, 128, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Contact Section */
#contact {
  background: var(--gradient-cool);
  color: var(--primary-cream);
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  margin-top: 3rem;
}

.contact-form .form-label {
  color: var(--primary-ocean);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(139, 154, 124, 0.25);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: var(--gradient-warm);
  border: none;
  color: white;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 122, 95, 0.3);
}

.contact-info {
  margin-top: 3rem;
}

.contact-info h4 {
  color: var(--primary-cream);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--cream-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info p i {
  margin-right: 1rem;
  width: 20px;
  color: var(--primary-earth);
}

/* Footer */
footer {
  background: var(--ocean-dark);
  color: var(--cream-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--primary-cream);
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: var(--cream-light);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-earth);
}

.footer-policies a {
  margin-right: 2rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid var(--ocean-light);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom small {
  color: var(--cream-dark);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--gradient-neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 2rem 0;
  position: relative;
}

#space::before {
  content: 'Content Space';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--sage-dark);
  opacity: 0.5;
}

/* Utility Classes */
.btn-primary {
  background: var(--gradient-warm);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 122, 95, 0.3);
  background: var(--gradient-warm);
  border: none;
}

.btn-secondary {
  background: var(--gradient-cool);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(61, 90, 128, 0.3);
  background: var(--gradient-cool);
  border: none;
  color: white;
}
