/* MAIN CSS - Boutique Pension Law Clinic */

:root {
  /* Color Palette */
  --primary-1: #e9d8a6; /* Light sand */
  --primary-2: #94d2bd; /* Sage/mint */
  --primary-3: #ee9b00; /* Golden amber */
  --primary-4: #ca6702; /* Terracotta */
  --primary-5: #bb3e03; /* Rust */
  
  /* Shades */
  --primary-1-light: #f4ecda;
  --primary-1-dark: #d1bf89;
  --primary-2-light: #c5e8db;
  --primary-2-dark: #6eaf99;
  --primary-3-light: #ffc04d;
  --primary-3-dark: #c27d00;
  --primary-4-light: #eb8d43;
  --primary-4-dark: #a35502;
  --primary-5-light: #de5f2e;
  --primary-5-dark: #962f03;
  
  /* Neutrals */
  --neutral-100: #ffffff;
  --neutral-200: #f8f9fa;
  --neutral-300: #e9ecef;
  --neutral-400: #dee2e6;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--neutral-800);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

section {
  padding: 5rem 0;
}

.btn {
  border-radius: 0;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-4);
  border-color: var(--primary-4);
}

.btn-primary:hover {
  background-color: var(--primary-4-dark);
  border-color: var(--primary-4-dark);
}

.section-heading {
  position: relative;
  margin-bottom: 4rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 80px;
  height: 3px;
  background-color: var(--primary-3);
}

.section-heading.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Header Styles */
header {
  background-color: var(--neutral-100);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-5);
}

.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0.5rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--primary-3);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}

/* About Section */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  right: -150px;
  top: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-1-light);
  opacity: 0.5;
  z-index: -1;
}

.about-feature {
  padding: 2rem;
  border-left: 3px solid var(--primary-3);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.about-feature:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
  background-color: var(--neutral-200);
}

.service-card {
  background: var(--neutral-100);
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  object-fit: cover;
}

.service-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-4);
}

.service-features {
  list-style-type: none;
  padding-left: 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--neutral-300);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.feature-icon {
  width: 80px;
  height: 80px;
  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;
  font-size: 2rem;
}

/* Price Plan Section */
.price-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-header {
  background-color: var(--primary-2);
  color: white;
  padding: 2rem;
}

.price-features {
  list-style-type: none;
  padding-left: 0;
}

.price-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--neutral-300);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team-section {
  background-color: var(--neutral-200);
}

.team-member {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.team-img {
  transition: all 0.5s ease;
}

.team-member:hover .team-img {
  transform: scale(1.05);
}

.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1rem 1rem;
  color: white;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.team-member:hover .team-info {
  transform: translateY(-10px);
}

/* Reviews Section */
.reviews-section {
  position: relative;
}

.reviews-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--primary-1-light);
  opacity: 0.5;
  z-index: -1;
}

.review-card {
  padding: 2rem;
  border: none;
  border-radius: 0;
  background-color: var(--neutral-100);
  transition: all 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.review-quote {
  font-size: 3rem;
  color: var(--primary-3);
  line-height: 1;
  margin-bottom: 1rem;
}

/* Core Info Section */
.core-info-item {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--neutral-300);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.core-info-item:hover {
  border-color: var(--primary-3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.core-info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--primary-3);
  transition: height 0.3s ease;
}

.core-info-item:hover::before {
  height: 100%;
}

/* Contact Section */
.contact-section {
  background-color: var(--neutral-200);
}

.contact-form .form-control {
  border-radius: 0;
  border: 1px solid var(--neutral-400);
  padding: 0.75rem 1.25rem;
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-3);
}

.contact-info {
  padding: 2rem;
  background-color: var(--primary-5);
  color: white;
  height: 100%;
}

.contact-info i {
  font-size: 1rem;
  margin-right: 1rem;
}

/* Blog Section */
.blog-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
  height: 250px;
  object-fit: cover;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--neutral-600);
}

/* Footer */
footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: 5rem 0 2rem;
}

.footer-heading {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: var(--neutral-400);
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: var(--primary-3);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

/* Space Page */
#space {
  min-height: calc(100vh - 200px); /* Account for header and footer */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Additional Pages */
.add-page-section {
  padding: 5rem 0;
}

.add-page-img {
  height: 300px;
  object-fit: cover;
}

/* Shape Decorations */
.shape-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-2-light);
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
}

.shape-2 {
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background-color: var(--primary-1-light);
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
} 