/* Estate Planning & Probate Boutique Template
 * main.css
 */

:root {
  /* Color Palette */
  --primary-color: #4a6d8c;      /* Serene blue with green undertones */
  --secondary-color: #d4a373;    /* Warm sand */
  --accent-color: #772e25;       /* Rich terracotta */
  --neutral-color: #f4f1eb;      /* Parchment white */
  --dark-color: #2f3e46;         /* Deep slate */
  
  /* Shades */
  --primary-light: #7497b7;
  --primary-dark: #375168;
  --secondary-light: #e6c9a5;
  --secondary-dark: #b88954;
  --accent-light: #a0483e;
  --accent-dark: #5c231d;
  --neutral-light: #ffffff;
  --neutral-dark: #e5e0d5;
  --dark-light: #465b66;
  --dark-dark: #1d2b33;
  
  /* Typography */
  --font-primary: 'Libre Baskerville', serif;
  --font-secondary: 'Montserrat', sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
}

/* General Styles */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-color);
  background-color: var(--neutral-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  font-weight: 600;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.section-description {
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Header & Navigation */
header {
  background-color: var(--neutral-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-color);
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--neutral-color);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

#hero-title-1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#hero-subtitle-1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

#hero-desc-1 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* About Section */
#about {
  background-color: var(--neutral-light);
}

.about-feature {
  padding: 2rem;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Services Section */
#services {
  background-color: var(--neutral-color);
  position: relative;
}

.service-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.service-item:hover {
  transform: translateY(-10px);
}

.service-item-image {
  height: 200px;
  overflow: hidden;
}

.service-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-item:hover .service-item-image img {
  transform: scale(1.1);
}

.service-item-content {
  padding: 1.5rem;
}

.service-item-name {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}

.service-item-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.service-item-features {
  list-style: none;
  padding-left: 0;
}

.service-item-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-item-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Features Section */
#features {
  background-color: var(--dark-color);
  color: var(--neutral-light);
}

#features .section-title,
#features .section-subtitle {
  color: var(--neutral-light);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* Price Plans */
#priceplan {
  background-color: var(--neutral-light);
}

.price-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.price-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.price-item-header {
  background: var(--primary-color);
  color: white;
  padding: 2rem;
  text-align: center;
}

.price-item-content {
  padding: 2rem;
}

.price-item-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.price-item-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.price-item-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 1.5rem;
}

.price-item-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Team Section */
#team {
  background-color: var(--neutral-color);
}

.team-member {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member-image {
  height: 300px;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-content {
  padding: 1.5rem;
  text-align: center;
}

.team-member-name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.team-member-role {
  color: var(--primary-color);
  font-style: italic;
}

/* Reviews Section */
#reviews {
  background-color: var(--primary-color);
  color: white;
  position: relative;
}

#reviews .section-title,
#reviews .section-subtitle,
#reviews .section-description {
  color: white;
}

.review-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 2rem;
  margin: 1rem 0;
  position: relative;
}

.review-item:after {
  content: "\f10e";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 600;
}

/* Core Info Section */
#coreinfo {
  background-color: var(--neutral-light);
}

.core-info-item {
  text-align: center;
  padding: 2rem;
  border-radius: 5px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.core-info-item:hover {
  transform: translateY(-5px);
}

.core-info-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Contact Section */
#contact {
  background-color: var(--neutral-color);
  position: relative;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(74, 109, 140, 0.25);
}

#site_submit_btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#site_submit_btn:hover {
  background-color: var(--primary-dark);
}

/* Blog Section */
#blog {
  background-color: var(--neutral-light);
}

.blog-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item-image {
  height: 200px;
  overflow: hidden;
}

.blog-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-item:hover .blog-item-image img {
  transform: scale(1.1);
}

.blog-item-content {
  padding: 1.5rem;
}

.blog-item-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.blog-item-excerpt {
  color: var(--dark-light);
  margin-bottom: 1.5rem;
}

/* FAQ Section */
#faq {
  background-color: var(--neutral-color);
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
  background-color: white;
}

.accordion-button {
  padding: 1.25rem;
  font-weight: 600;
  color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: white;
}

.accordion-body {
  padding: 1.25rem;
  background-color: white;
}

/* Gallery Section */
#gallery {
  padding: 5rem 0;
  background-color: var(--dark-color);
}

.gallery-container {
  position: relative;
}

.gallery-item {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 5px;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--neutral-light);
  padding: 5rem 0 2rem;
}

footer h5 {
  color: white;
  margin-bottom: 1.5rem;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer ul li {
  margin-bottom: 0.75rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

footer a:hover {
  color: white;
}

#contact-info-phone,
#contact-info-email,
#contact-info-address {
  margin-bottom: 0.75rem;
}

#site-copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Custom classes for decorative elements */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.shape-blob-1 {
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  top: -100px;
  right: -100px;
}

.shape-blob-2 {
  width: 400px;
  height: 400px;
  background-color: var(--secondary-color);
  bottom: -150px;
  left: -150px;
}

/* Decorative lines */
.decorative-line {
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0 auto 1.5rem;
}

.decorative-line-left {
  margin: 0 0 1.5rem;
}

.decorative-line-center {
  margin: 0 auto 1.5rem;
}

/* Additional page styles */
.page-header {
  padding: 7rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title {
  font-size: 3rem;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
  color: white;
}

/* Animation classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utilities */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.text-dark {
  color: var(--dark-color) !important;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

.text-neutral {
  color: var(--neutral-color) !important;
}

.bg-neutral {
  background-color: var(--neutral-color) !important;
}

/* Spacing utilities */
.mb-lg {
  margin-bottom: 4rem;
}

.mt-lg {
  margin-top: 4rem;
}

.py-lg {
  padding-top: 4rem;
  padding-bottom: 4rem;
} 