/* Eco-Home Insurance Brokerage Template - Main CSS */

:root {
  /* Primary Color Palette - Eco-friendly harmonious pastels */
  --primary-green: #7FB069;
  --primary-sage: #A8DADC;
  --primary-cream: #F1FAEE;
  --primary-coral: #E63946;
  --primary-navy: #457B9D;
  
  /* Light/Dark Shades */
  --light-green: #B8E6A0;
  --dark-green: #5A8A47;
  --light-sage: #C7E9EB;
  --dark-sage: #7BC3C6;
  --light-cream: #FFFFFF;
  --dark-cream: #E8F3E6;
  --light-coral: #FF6B7A;
  --dark-coral: #C62D3A;
  --light-navy: #6B9BC2;
  --dark-navy: #2E5A7B;
  
  /* 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;
  
  /* Shadows */
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--primary-sage));
  --gradient-secondary: linear-gradient(135deg, var(--primary-navy), var(--primary-coral));
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-navy);
  background-color: var(--primary-cream);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--dark-navy);
  opacity: 0.9;
}

/* Header */
header {
  background: var(--gradient-primary);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  background: transparent !important;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-cream) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--primary-cream) !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--light-green) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light-green);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: var(--primary-sage);
  border-radius: 50%;
  opacity: 0.1;
  transform: rotate(15deg);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--primary-cream);
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: var(--light-cream);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Decorative Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: var(--primary-coral);
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: var(--primary-navy);
  bottom: 20%;
  right: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Styling */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--primary-navy);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--light-cream);
}

.about-feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  background: var(--primary-cream);
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--hover-shadow);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--primary-navy);
}

.service-features li::before {
  content: '✓';
  color: var(--primary-green);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Features Section */
.features {
  background: var(--light-sage);
}

.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan {
  background: var(--primary-cream);
}

.price-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
}

.price-card:hover {
  transform: scale(1.05);
  box-shadow: var(--hover-shadow);
}

.price-card.featured {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.price-card.featured h4,
.price-card.featured p {
  color: white;
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin: 1.5rem 0;
}

.price-card.featured .price-value {
  color: white;
}

/* Team Section */
.team {
  background: var(--light-cream);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 5px solid var(--primary-green);
  transition: all 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.1);
  border-color: var(--primary-coral);
}

/* Reviews Section */
.reviews {
  background: var(--primary-sage);
}

.review-item {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  margin: 1rem;
  text-align: center;
  position: relative;
}

.review-item::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-green);
  position: absolute;
  top: -10px;
  left: 20px;
  opacity: 0.3;
}

.review-author {
  font-weight: 600;
  color: var(--primary-navy);
  margin-top: 1rem;
}

/* Core Info Section */
.coreinfo {
  background: var(--light-cream);
}

.coreinfo-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.coreinfo-item i {
  font-size: 2.5rem;
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

/* Contact Form */
.contact {
  background: var(--primary-cream);
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  border: 2px solid var(--light-sage);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(127, 176, 105, 0.25);
  outline: none;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

/* Blog Section */
.blog {
  background: var(--light-sage);
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 2rem;
}

.blog-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--dark-green);
}

/* FAQ Section */
.faq {
  background: var(--primary-cream);
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.accordion-button {
  background: var(--primary-green);
  color: white;
  font-weight: 600;
  border: none;
  padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--dark-green);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  background: white;
  padding: 1.5rem;
}

/* Gallery Section */
.gallery {
  background: var(--light-cream);
  padding: var(--section-padding);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--hover-shadow);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
footer {
  background: var(--dark-navy);
  color: var(--primary-cream);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--light-cream);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid var(--primary-navy);
  padding-top: 1rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-cream);
  margin-top: 80px;
}

.breadcrumb-image {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
}

/* Swiper Slider Styles */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination-bullet {
  background: var(--primary-green);
}

.swiper-pagination-bullet-active {
  background: var(--primary-coral);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-green);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments will be in responsive.css */ 