/* =====================================================
   CLION - Home Page Styles
   ===================================================== */

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(233, 32, 32, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-sm);
  color: var(--near-black);
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--dark-grey);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-image-wrapper {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--neu-shadow);
  padding: 2rem;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: fadeIn 1s ease-out 0.6s backwards;
}

.hero-badge-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1;
}

.hero-badge-text {
  font-size: 0.875rem;
  color: var(--dark-grey);
  margin-top: 0.25rem;
}

/* =====================================================
   ABOUT TEASER SECTION
   ===================================================== */

.about-teaser {
  padding: var(--spacing-xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--neu-shadow);
}

.about-content h2 {
  margin-bottom: var(--spacing-md);
}

.about-features {
  display: grid;
  gap: 1.5rem;
  margin: var(--spacing-md) 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--neu-shadow-sm);
  color: var(--primary-red);
  font-size: 1.5rem;
}

.feature-text h4 {
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: var(--mid-grey);
  font-size: 0.95rem;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.services {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.section-subtitle {
  color: var(--primary-red);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: var(--spacing-sm);
}

.section-description {
  color: var(--mid-grey);
  font-size: 1.125rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--neu-shadow);
  transition: var(--transition-normal);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 28px rgba(0, 0, 0, 0.2), 
              -12px -12px 28px rgba(255, 255, 255, 0.8);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
  box-shadow: var(--neu-shadow-sm);
  color: var(--primary-red);
  font-size: 2.5rem;
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--near-black);
}

.service-card p {
  color: var(--mid-grey);
  margin-bottom: var(--spacing-sm);
}

.service-link {
  color: var(--primary-red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--spacing-sm);
}

.service-link:hover {
  gap: 0.75rem;
}

/* =====================================================
   TEAM SECTION
   ===================================================== */

.team {
  padding: var(--spacing-xl) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.team-member {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--neu-shadow);
  transition: var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 28px rgba(0, 0, 0, 0.2), 
              -12px -12px 28px rgba(255, 255, 255, 0.8);
}

.team-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--light-grey);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-member:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: var(--spacing-md);
  text-align: center;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--near-black);
}

.team-role {
  color: var(--primary-red);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.team-bio {
  color: var(--mid-grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =====================================================
   WHY CHOOSE SECTION
   ===================================================== */

.why-choose {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--neu-shadow-sm);
  text-align: center;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--neu-shadow);
}

.feature-card-icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
  box-shadow: var(--neu-shadow-sm);
  color: var(--primary-red);
  font-size: 2rem;
}

.feature-card h4 {
  margin-bottom: 0.75rem;
  color: var(--near-black);
}

.feature-card p {
  color: var(--mid-grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */

.gallery {
  padding: var(--spacing-xl) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--neu-shadow);
  cursor: pointer;
  transition: var(--transition-normal);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 12px 12px 28px rgba(0, 0, 0, 0.2), 
              -12px -12px 28px rgba(255, 255, 255, 0.8);
}

.gallery-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(233, 32, 32, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content {
  color: var(--white);
  text-align: center;
}

.gallery-overlay-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.gallery-overlay-text {
  font-size: 1.125rem;
  font-weight: 600;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */

.faq {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.faq-container {
  max-width: 900px;
  margin: var(--spacing-lg) auto 0;
}

.faq-item {
  background: var(--off-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--neu-shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--near-black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-red);
}

.faq-icon {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-shadow-sm);
  transition: var(--transition-normal);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-red);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--mid-grey);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* =====================================================
   LOCATION SECTION
   ===================================================== */

.location {
  padding: var(--spacing-xl) 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
  margin-top: var(--spacing-lg);
}

.location-info {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--neu-shadow);
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-item:last-child {
  margin-bottom: 0;
}

.location-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-shadow-sm);
  color: var(--primary-red);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.location-details h4 {
  margin-bottom: 0.5rem;
  color: var(--near-black);
}

.location-details p,
.location-details a {
  color: var(--dark-grey);
  line-height: 1.6;
}

.map-container {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--neu-shadow);
  height: 500px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2,
.cta-content p {
  color: var(--white);
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-sm);
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   STATS SECTION
   ===================================================== */

.stats {
  background: var(--off-white);
  padding: var(--spacing-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--dark-grey);
  font-weight: 500;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
  .hero-content,
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .hero-image {
    order: -1;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: var(--spacing-lg) 0;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .services-grid,
  .team-grid,
  .features-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 350px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: 2.5rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
}