/* Main CSS for International Family Law Advisory Office */

/* Color Palette */
:root {
  /* Primary Colors */
  --primary-1: #e6c7a4; /* Warm beige */
  --primary-2: #7c9a9a; /* Muted teal */
  --primary-3: #b6a8c9; /* Soft lavender */
  --primary-4: #d39e89; /* Terracotta */
  --primary-5: #95b0b7; /* Dusty blue */
  
  /* Light and dark shades */
  --primary-1-light: #f2e4d8;
  --primary-1-dark: #c9a786;
  
  --primary-2-light: #a5bcbc;
  --primary-2-dark: #617a7a;
  
  --primary-3-light: #d8cce0;
  --primary-3-dark: #9287a7;
  
  --primary-4-light: #e7c5b8;
  --primary-4-dark: #b57b67;
  
  --primary-5-light: #bcd1d5;
  --primary-5-dark: #768e95;
  
  /* Text colors */
  --text-dark: #2d3443;
  --text-medium: #5b6275;
  --text-light: #929aaf;
  
  /* Background colors */
  --bg-light: #f7f7fa;
  --bg-white: #ffffff;
  
  /* Utility colors */
  --border-color: #e1e4eb;
  --error: #d55b5b;
  --success: #6cae75;
}

/* Typography */
body {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* General Styles */
.section-padding {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

.btn-primary {
  background-color: var(--primary-1);
  border-color: var(--primary-1);
  color: var(--text-dark);
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-1-dark);
  border-color: var(--primary-1-dark);
  color: var(--text-dark);
}

.btn-secondary {
  background-color: var(--primary-2);
  border-color: var(--primary-2);
  color: white;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-2-dark);
  border-color: var(--primary-2-dark);
}

/* Header */
.header {
  padding: 20px 0;
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-2);
}

/* Hero Section */
.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 600px;
}

.hero-slide {
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

/* About Section */
.about-section {
  background-color: var(--bg-white);
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 2rem;
}

.about-feature {
  margin-bottom: 1.5rem;
}

.about-feature h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.about-feature p {
  color: var(--text-medium);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-1-light);
  color: var(--primary-1-dark);
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background-color: var(--bg-light);
}

.service-card {
  background-color: var(--bg-white);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-2-light);
  color: var(--primary-2-dark);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-2);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 8px 0;
  color: var(--text-medium);
}

.service-features li i {
  color: var(--primary-2);
  margin-right: 10px;
}

/* Features Section */
.features-section {
  background-color: var(--bg-white);
}

.feature-item {
  margin-bottom: 30px;
}

.feature-item img {
  margin-bottom: 1.5rem;
  border-radius: 10px;
}

.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--text-medium);
}

/* Price Plan Section */
.price-plan-section {
  background-color: var(--bg-light);
}

.price-card {
  background-color: var(--bg-white);
  border-radius: 10px;
  padding: 40px 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  text-align: center;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.price-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.price-card p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-3);
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.price-features li {
  padding: 8px 0;
  color: var(--text-medium);
}

.price-features li i {
  color: var(--primary-3);
  margin-right: 10px;
}

/* Team Section */
.team-section {
  background-color: var(--bg-white);
}

.team-member {
  margin-bottom: 30px;
  text-align: center;
}

.team-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.team-img img {
  transition: all 0.3s ease;
}

.team-member:hover .team-img img {
  transform: scale(1.05);
}

.team-member h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--text-medium);
}

/* Reviews Section */
.reviews-section {
  background-color: var(--bg-light);
  position: relative;
}

.review-slider {
  padding: 40px 0;
}

.review-item {
  background-color: var(--bg-white);
  border-radius: 10px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-text {
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 600;
  color: var(--text-dark);
}

/* Core Info Section */
.core-info-section {
  background-color: var(--bg-white);
}

.core-info-item {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.core-info-item:hover {
  background-color: var(--primary-5-light);
}

.core-info-item h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--primary-5-dark);
}

.core-info-item p {
  color: var(--text-medium);
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-light);
  position: relative;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

.contact-form {
  background-color: var(--bg-white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-2);
}

.contact-info {
  background-color: var(--primary-2);
  color: white;
  border-radius: 10px;
  padding: 40px;
  height: 100%;
}

.contact-info h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 10px;
}

/* Blog Section */
.blog-section {
  background-color: var(--bg-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-white);
  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 15px 30px rgba(0,0,0,0.1);
}

.blog-img {
  height: 250px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.blog-content p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 80px 0 40px;
}

.footer-heading {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-1);
  padding-bottom: 10px;
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-1);
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-1);
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
  color: rgba(255,255,255,0.5);
}

/* Additional Pages */
.page-header {
  background-color: var(--primary-2);
  padding: 100px 0;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

.page-header h1 {
  color: white;
  position: relative;
  z-index: 1;
}

.page-content-section {
  padding: 100px 0;
}

.page-content-section:nth-child(odd) {
  background-color: var(--bg-white);
}

.page-content-section:nth-child(even) {
  background-color: var(--bg-light);
}

/* Animations & Effects */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Decorative elements */
.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

.shape-divider .shape-fill {
  fill: var(--bg-white);
}

.bg-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.1;
}

.bg-shape-1 {
  top: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-3);
}

.bg-shape-2 {
  bottom: 10%;
  left: 5%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: var(--primary-4);
} 