/**
 * SURPRISE GRANITE - HOMEPAGE ENHANCED
 * Premium styling for home improvement site
 * Version: 1.0
 */

/* ===== HERO CLEAN - ENHANCED ===== */
.hero-clean {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1e293b;
}

.hero-clean-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-clean-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(30, 41, 59, 0.75) 50%,
    rgba(15, 23, 42, 0.8) 100%
  );
  z-index: 2;
}

.hero-clean-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  padding: 60px;
  animation: fadeInUp 0.8s ease forwards;
}

/* Hero Badge */
.hero-clean-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 203, 0, 0.12);
  border: 1px solid rgba(249, 203, 0, 0.25);
  color: #f9cb00;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

/* Hero Title */
.hero-clean-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-clean-title span {
  color: #f9cb00;
  display: block;
}

/* Hero Subtitle */
.hero-clean-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 540px;
}

/* Hero CTA */
.hero-clean-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-clean-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  background: linear-gradient(180deg, #f9cb00 0%, #e6b800 100%);
  color: #1a2b3c;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(249, 203, 0, 0.35);
  transition: all 0.3s ease;
}

.hero-clean-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 203, 0, 0.45);
}

.hero-clean-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.hero-clean-phone:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-clean-phone svg {
  fill: #f9cb00;
}

/* Hero Trust Badges */
.hero-clean-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

.hero-trust-item svg {
  fill: #22c55e;
}

.hero-trust-item strong {
  color: #ffffff;
}

.hero-trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
}

/* ===== SECTION ENHANCEMENTS ===== */

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 18px;
  color: #6e6e73;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Gold Accent Bar */
.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f9cb00, #e6b800);
  margin: 24px auto 0;
  border-radius: 2px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 80px 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f9cb00, #e6b800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d4 100%);
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 28px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1a2b3c;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-link:hover {
  color: #f9cb00;
}

.service-link svg {
  transition: transform 0.2s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ===== TRUST SECTION ===== */
.trust-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.trust-item {
  padding: 24px;
}

.trust-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: #f9cb00;
  line-height: 1;
  margin-bottom: 8px;
}

.trust-label {
  font-size: 15px;
  color: #6e6e73;
  font-weight: 500;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 80px 0;
  background: #ffffff;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.testimonial-quote {
  font-size: 48px;
  color: #f9cb00;
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 17px;
  line-height: 1.7;
  color: #1d1d1f;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1a2b3c;
}

.testimonial-name {
  font-weight: 600;
  color: #1d1d1f;
  font-size: 15px;
}

.testimonial-location {
  font-size: 13px;
  color: #86868b;
}

.testimonial-stars {
  color: #f9cb00;
  font-size: 14px;
  letter-spacing: 2px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, #1a2b3c 0%, #2d4a5e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(249, 203, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: linear-gradient(180deg, #f9cb00 0%, #e6b800 100%);
  color: #1a2b3c;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(249, 203, 0, 0.35);
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 203, 0, 0.45);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== PRODUCT SHOWCASE SECTION ===== */
.products-section {
  padding: 80px 0;
  background: #f8fafc;
}

.product-card-enhanced {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-card-enhanced:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-card-enhanced img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card-enhanced:hover img {
  transform: scale(1.05);
}

.product-card-content {
  padding: 20px;
}

.product-card-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.product-card-content p {
  font-size: 14px;
  color: #6e6e73;
  margin-bottom: 12px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: #1d1d1f;
}

.product-price span {
  font-size: 14px;
  font-weight: 400;
  color: #86868b;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-clean-content {
    padding: 40px 24px;
    text-align: center;
  }

  .hero-clean-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-clean-cta {
    justify-content: center;
  }

  .hero-clean-trust {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-clean {
    min-height: auto;
    padding: 0;
  }

  .hero-clean-content {
    padding: 80px 20px 60px;
  }

  .hero-clean-badge {
    font-size: 11px;
    padding: 8px 16px;
  }

  .hero-clean-title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .hero-clean-sub {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-clean-btn {
    width: 100%;
    max-width: 300px;
    padding: 16px 32px;
    font-size: 16px;
  }

  .hero-clean-phone {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-trust-item {
    font-size: 13px;
  }

  .hero-trust-divider {
    display: none;
  }

  .services-section,
  .testimonials-section,
  .products-section {
    padding: 60px 0;
  }

  .service-card {
    padding: 24px;
  }

  .trust-number {
    font-size: 36px;
  }

  .cta-section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .hero-clean-content {
    padding: 60px 16px 40px;
  }

  .hero-clean-title {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .services-grid {
    gap: 16px;
    padding: 0 16px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }

  .hero-clean-content {
    animation: none;
  }

  .service-card,
  .testimonial-card,
  .product-card-enhanced {
    transition: none;
  }

  .product-card-enhanced img {
    transition: none;
  }
}
