/* Family Future Template - Main Styles */

:root {
  /* Color Palette - Pastel Harmonious Theme */
  --primary-color: #c1aa96; /* Soft peach - main accent */
  --secondary-color: #a6bfc5; /* Light #3f33ee - secondary accent */
  --tertiary-color: #f1ffd4; /* Soft #4ebb34 - tertiary accent */
  --accent-color: #d0aabe; /* Soft #ffcbc3 - special highlights */
  --neutral-color: #ffecd6; /* Cream - background/neutral areas */
  
  /* Light/Dark Variations */
  --primary-light: #f49876;
  --primary-dark: #c4793d;
  --secondary-light: #d7d7d7;
  --secondary-dark: #aae9f2;
  --tertiary-light: #ffffff;
  --tertiary-dark: #8ea14b;
  --accent-light: #cf9ea2;
  --accent-dark: #f979ac;
  --neutral-light: #ffffff;
  --neutral-dark: #bb9887;
  
  /* Text Colors */
  --text-dark: #332c2e;
  --text-medium: #5d5d5d;
  --text-light: #d2a9a3;
  
  /* Font Sizes */
  --font-xxl: 3rem;
  --font-xl: 2.5rem;
  --font-lg: 2rem;
  --font-md: 1.5rem;
  --font-sm: 1.125rem;
  --font-xs: 0.875rem;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--neutral-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-medium);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: var(--font-xs);
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--neutral-light);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--neutral-light);
}

/* Header Styles */
header {
  background-color: var(--neutral-light);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: var(--font-xs);
  color: var(--primary-dark);
}

.nav-link {
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 70%;
}

/* Static Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-top: 80px; /* Account for fixed header */
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-xxl);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: var(--font-md);
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--text-medium);
}

.hero-desc {
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-image-container {
  padding: 1rem;
}

.hero-image-container img {
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
}

.hero-image-container:hover img {
  transform: translateY(-10px);
}

/* About Section */
.about-section {
  background-color: var(--neutral-light);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: var(--tertiary-light);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  z-index: 0;
  opacity: 0.5;
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-features {
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--neutral-light);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: var(--font-md);
}

.feature-title {
  font-size: var(--font-sm);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.feature-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Services Section */
.services-section {
  background-color: var(--neutral-light);
  position: relative;
}

.services-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--neutral-dark) 0%, transparent 100%);
  opacity: 0.05;
}

.services-grid {
  margin-top: 2rem;
}

.service-card {
  background-color: var(--neutral-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.service-img {
  height: 200px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.service-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5) 100%);
}

.service-content {
  padding: 1.5rem;
}

.service-price {
  background-color: var(--primary-color);
  color: var(--text-dark);
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  display: inline-block;
  position: absolute;
  top: 15px;
  right: 15px;
}

.service-title {
  font-size: var(--font-sm);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.service-features li {
  padding: 0.3rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--tertiary-dark);
}

/* Features Section */
.features-section {
  background-color: var(--tertiary-light);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: var(--tertiary-color);
  top: -200px;
  left: -200px;
  opacity: 0.3;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-item {
  flex: 1 1 300px;
  background-color: var(--neutral-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Price Plan Section */
.price-plan-section {
  background-color: var(--neutral-light);
  position: relative;
}

.price-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  flex: 1 1 300px;
  background-color: var(--neutral-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px rgba(0,0,0,0.2);
}

.price-header {
  background-color: var(--primary-light);
  padding: 2rem;
  text-align: center;
}

.price-title {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.price-content {
  padding: 2rem;
}

.price-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.price-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--tertiary-dark);
}

/* Team Section */
.team-section {
  background-color: var(--secondary-light);
  position: relative;
  overflow: hidden;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  flex: 1 1 250px;
  background-color: var(--neutral-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.team-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-content {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--text-medium);
  font-style: italic;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--neutral-light);
  position: relative;
}

.reviews-swiper {
  padding-bottom: 50px;
}

.review-card {
  background-color: var(--neutral-light);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
}

.review-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 10px;
  left: 10px;
  color: var(--primary-light);
  font-size: 2rem;
  opacity: 0.3;
}

.review-text {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.review-author {
  font-weight: 700;
  color: var(--primary-dark);
}

/* Core Info Section */
.core-info-section {
  background-color: var(--accent-light);
  position: relative;
  overflow: hidden;
}

.core-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.core-info-item {
  background-color: var(--neutral-light);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.core-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.core-info-icon {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--accent-color);
}

.core-info-title {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Contact Section */
.contact-section {
  background-color: var(--neutral-light);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-form {
  background-color: var(--neutral-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  border: 1px solid var(--neutral-dark);
  border-radius: 5px;
  padding: 0.8rem 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem var(--primary-light);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-info {
  padding: 2rem;
}

.contact-info-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 1rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Blog Section */
.blog-section {
  background-color: var(--neutral-light);
  position: relative;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background-color: var(--neutral-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.blog-img {
  height: 200px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: var(--font-xs);
  color: var(--text-light);
  margin-bottom: 1rem;
  display: block;
}

.blog-title {
  margin-bottom: 1rem;
}

.blog-excerpt {
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--primary-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.blog-link i {
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(5px);
}

/* Footer */
footer {
  background-color: var(--neutral-dark);
  padding: 5rem 0 2rem;
  color: var(--text-medium);
}

.footer-brand {
  font-size: var(--font-lg);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.footer-desc {
  margin-bottom: 2rem;
  max-width: 400px;
}

.footer-title {
  font-size: var(--font-sm);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-medium);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding-left: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 1rem;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
}

/* Space Page */
#space {
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-light);
}

/* Map Section */
.map-section {
  background-color: var(--neutral-light);
  padding-bottom: 5rem;
}

.map-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 2rem;
  color: white;
  text-align: center;
}

/* Animation Utilities */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Shape Decorations */
.shape-decorator {
  position: absolute;
  z-index: 0;
}

.shape-circle {
  border-radius: 50%;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background-color: var(--primary-light);
  opacity: 0.1;
  top: -150px;
  left: -150px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background-color: var(--tertiary-light);
  opacity: 0.2;
  bottom: -100px;
  right: -100px;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background-color: var(--accent-light);
  opacity: 0.15;
  top: 30%;
  right: -75px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
} 