/* Estate Tax Minimization Advisory - Main Styles */

/* Root Variables */
:root {
  --primary-color: #1a5f3f;
  --secondary-color: #8b7355;
  --accent-color: #d4af37;
  --dark-color: #2c2c2c;
  --light-color: #f8f9fa;
  --primary-light: #2a8f5f;
  --primary-dark: #0f3f2f;
  --secondary-light: #a89585;
  --secondary-dark: #5b4335;
  --accent-light: #e4cf67;
  --accent-dark: #b48f17;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    overflow-x: hidden;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar {
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-color) !important;
  font-family: 'Playfair Display', serif;
}

.navbar-nav .nav-link {
  color: var(--light-color) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: linear-gradient(rgba(26, 95, 63, 0.8), rgba(15, 63, 47, 0.9)), 
              url('../PEN_images/hero-bg.webp') center/cover;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

#hero-title-1 {
  font-size: 2.5rem;
  color: var(--light-color);
  margin-bottom: 1rem;
}

#hero-subtitle-1 {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

#hero-desc-1 {
  color: var(--light-color);
  font-size: 1rem;
  max-width: 600px;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

/* About Section */
#about {
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.about-feature {
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Services Section */
#services {
  background: var(--light-color);
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
    overflow-x: hidden;
  padding: 2rem;
}

.service-price {
  font-size: 2rem;
  color: var(--accent-color);
  font-weight: 700;
}

/* Features Section */
#features {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: white;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-item i {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Price Plan Section */
#priceplan {
  background: #f8f9fa;
}

.price-card {
  background: white;
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: scale(1.05);
}

.price-card.featured {
  border: 3px solid var(--accent-color);
}

.price-card.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--accent-color);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Team Section */
#team {
  background: white;
}

.team-member {
  text-align: center;
  margin-bottom: 3rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 5px solid var(--accent-color);
  transition: all 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.1);
}

/* Reviews Section */
#reviews {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.review-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.review-stars {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Process Section */
#process {
  background: var(--light-color);
}

.process-step {
  position: relative;
  padding: 2rem;
  text-align: center;
}

.process-step::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Contact Section */
#contact {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
}

.contact-form {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
}

.form-control {
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 5px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
  border-color: var(--accent-color);
}

#site_submit_btn {
  background: var(--accent-color);
  color: var(--dark-color);
  border: none;
  padding: 1rem 3rem;
  font-weight: 700;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#site_submit_btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Blog Section */
#blog {
  background: #f8f9fa;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
    overflow-x: hidden;
  padding: 1.5rem;
}

/* FAQ Section */
#faq {
  background: white;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-answer {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0 0 5px 5px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Gallery Section */
#gallery {
  background: var(--light-color);
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

footer a {
  color: var(--light-color);
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
}

#site-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  display: block;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin: 0;
}

.breadcrumb img {
  height: 30px;
  width: auto;
}

/* Swiper Customization */
.swiper {
  padding: 2rem 0;
}

.swiper-pagination-bullet {
  background: var(--accent-color);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Additional Page Styles */
.add-page-section {
  padding: 4rem 0;
}

.add-page-section:nth-child(even) {
  background: #f8f9fa;
}

/* Space Page */
#space {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
} 