/**
 * Front Page Styles - ALIASES FOR HOME-HERO CLASSES
 * Maps home-hero-* classes to existing .hero-* rules
 */

/* Hero Section aliases */
.home-hero, .home-hero-luxe {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.home-hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.home-hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.6;
}

.home-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero metrics */
.home-hero-metrics {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.home-hero-metric-card {
  text-align: left;
}

.home-hero-metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.home-hero-metric-label {
  font-size: 14px;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero showcase */
.home-hero-showcase {
  margin-top: 40px;
}

.home-hero-showcase-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
}

.home-hero-showcase-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.home-hero-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.home-hero-proof {
  margin-top: 24px;
}

.home-hero-proof-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.home-hero-proof-label {
  font-size: 14px;
  opacity: 0.8;
}

/* Hero card */
.home-hero-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.home-hero-proof {
  margin-top: 24px;
}

/* Hero note */
.home-hero-note {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 16px;
}

/* Hero proof card */
.home-hero-proof-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.home-hero-proof-label {
  font-size: 14px;
  opacity: 0.8;
}

.home-hero-proof-label strong {
  color: #fff;
}

/* Hero panel */
.home-hero-panel {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.home-hero-panel-contact {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.home-hero-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-hero-panel-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-hero-panel-list li:last-child {
  border-bottom: none;
}

/* Hero note */
.home-hero-note {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 16px;
}

/* ========================================
   ORIGINAL CSS RULES (preserved)
   ======================================== */

/* Hero Section (original rules for backward compatibility) */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .btn-outline {
  color: #fff;
  border-color: #fff;
}

.hero-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Categories Section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  text-decoration: none;
  color: white;
}

.category-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-image {
  transform: scale(1.1);
}

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.category-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-card-count {
  font-size: 14px;
  opacity: 0.8;
}

/* Products Section */
.products-section {
  background: #f9fafb;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Calculator Section */
.calculator-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.calculator-wrapper .radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.calculator-wrapper .radio-label {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.calculator-wrapper .radio-label:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.calculator-wrapper .radio-label input:checked + span {
  color: #2563eb;
}

.calculator-result {
  background: #eff6ff;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  margin-top: 32px;
}

.calculator-result-label {
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
}

.calculator-price {
  font-size: 36px;
  font-weight: 700;
  color: #2563eb;
}

.calculator-result-note {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
}

/* Portfolio Section */
.portfolio-section {
  background: #f9fafb;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.portfolio-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-item-image {
  transform: scale(1.05);
}

.portfolio-item-placeholder {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  width: 100%;
  height: 100%;
}

.portfolio-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.portfolio-item-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio-item-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  opacity: 0.9;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: center;
  padding: 24px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 50%;
  color: #2563eb;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  background: #1f2937;
  color: white;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  opacity: 0.8;
}

/* Testimonials Section */
.testimonials-section {
  background: #f9fafb;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #374151;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author-avatar {
  background: #2563eb;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-author-date {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-content .section-title {
  color: white;
}

.cta-content .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta-buttons .btn-outline {
  color: white;
  border-color: white;
}

.cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  padding-right: 32px;
}

.contact-info .section-subtitle {
  margin-bottom: 32px;
}

.contact-details {
  margin-top: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  background: #eff6ff;
  padding: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-item-icon svg {
  display: block;
}

.contact-item-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-value {
  color: #1f2937;
  font-size: 18px;
  margin: 0;
}

.contact-item-value a {
  color: #1f2937;
  font-size: 18px;
}

.contact-form-wrapper {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .btn {
  width: 100%;
}

.form-notice {
  margin-top: 12px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .home-hero-title,
  .hero-title {
    font-size: 32px;
  }
  
  .home-hero-metrics {
    flex-direction: column;
    gap: 16px;
  }
  
  .categories-grid,
  .products-grid,
  .features-grid,
  .stats-grid,
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
