/* Main CSS for Probate Process Helpdesk Template */

:root {
  /* Primary Color Palette - Harmonious Pastels */
  --primary-sage: #87A96B;
  --primary-lavender: #B4A8D1;
  --primary-cream: #F7F3E9;
  --primary-dusty-rose: #E8B4B8;
  --primary-slate: #6B7F8A;
  
  /* Light/Dark Shades */
  --sage-light: #A8C088;
  --sage-dark: #6B8A55;
  --lavender-light: #D1C8E8;
  --lavender-dark: #9A89B8;
  --cream-light: #FDFBF5;
  --cream-dark: #F0EBD8;
  --rose-light: #F2CDD0;
  --rose-dark: #DD9BA0;
  --slate-light: #8DA0AC;
  --slate-dark: #556B75;
  
  /* Functional Colors */
  --text-primary: #2C3E50;
  --text-secondary: #5D6D7E;
  --text-light: #85929E;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--lavender-light) 100%);
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; color: var(--primary-slate); }
h2 { font-size: 2rem; color: var(--sage-dark); }
h3 { font-size: 1.5rem; color: var(--primary-slate); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--sage-dark) 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--cream-light) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--lavender-light) 50%, var(--rose-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../LUX_images/hero-pattern.webp') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-shape {
  position: absolute;
  background: var(--primary-lavender);
  opacity: 0.3;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape.shape-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.hero-shape.shape-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 15%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Styling */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-bg-sage {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--primary-sage) 100%);
  color: var(--white);
}

.section-bg-lavender {
  background: linear-gradient(135deg, var(--lavender-light) 0%, var(--primary-lavender) 100%);
}

.section-bg-cream {
  background: var(--primary-cream);
}

.section-bg-rose {
  background: linear-gradient(135deg, var(--rose-light) 0%, var(--primary-dusty-rose) 100%);
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
  background: var(--white);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--primary-slate);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.price-badge {
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--sage-dark) 100%);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Team Cards */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--shadow-hover);
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-lavender);
}

/* Swiper Customization */
.swiper {
  padding-bottom: 50px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--primary-sage);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--sage-dark);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-sage);
}

/* Reviews */
.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 10px 30px var(--shadow);
  text-align: center;
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-slate);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px var(--shadow);
}

.form-control {
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(135, 169, 107, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--sage-dark) 100%);
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--shadow-hover);
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--primary-sage) 100%);
}

/* FAQ */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
}

.accordion-header button {
  background: linear-gradient(135deg, var(--primary-lavender) 0%, var(--lavender-dark) 100%);
  color: var(--white);
  border: none;
  font-weight: 600;
}

.accordion-body {
  background: var(--white);
  color: var(--text-secondary);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-slate) 0%, var(--slate-dark) 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--cream-light);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--slate-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin: 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-lavender) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-outline-sage {
  border: 2px solid var(--primary-sage);
  color: var(--primary-sage);
  background: transparent;
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-outline-sage:hover {
  background: var(--primary-sage);
  color: var(--white);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape {
    display: none;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
}

/* Animation for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
} 