/* ========================================
   Rainbow Seamless Gutters — Custom Styles
   ======================================== */

/* --- Geometric Hero Shapes --- */
.geo-shape {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}

.geo-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: #F4A0B5;
  top: -100px;
  left: -100px;
}

.geo-circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #F7C5D0;
  top: 30%;
  left: 15%;
}

.geo-circle-3 {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ffadbe;
  bottom: 20%;
  left: 8%;
}

.geo-rect-1 {
  width: 100px;
  height: 100px;
  background: #F4A0B5;
  border-radius: 20px;
  top: 20%;
  right: 38%;
  transform: rotate(45deg);
  opacity: 0.06;
}

.geo-rect-2 {
  width: 60px;
  height: 60px;
  background: #F7C5D0;
  border-radius: 12px;
  bottom: 30%;
  right: 40%;
  transform: rotate(20deg);
  opacity: 0.07;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid #F4A0B5;
  top: 50%;
  right: 36%;
  opacity: 0.05;
}

/* --- Service Card Hover --- */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7B2D3B, #F4A0B5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

/* --- Gallery Hover --- */
.gallery-item {
  position: relative;
  height: 220px;
  box-shadow: 0 4px 15px rgba(123, 45, 59, 0.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(123, 45, 59, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

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

@media (min-width: 1024px) {
  .gallery-item {
    height: 260px;
  }
}

/* --- Navbar Scroll State --- */
#navbar.scrolled {
  background: rgba(255, 248, 245, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

#navbar.scrolled .font-display,
#navbar.scrolled span {
  color: #7B2D3B !important;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Mobile Menu --- */
#mobileMenu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Testimonial Cards --- */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: #F4A0B5;
  opacity: 0.3;
  line-height: 1;
  pointer-events: none;
}

/* --- Smooth Scrolling --- */
html {
  scroll-behavior: smooth;
}

/* --- Selection Color --- */
::selection {
  background: #F4A0B5;
  color: #7B2D3B;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .service-card::after {
    transform: scaleX(1);
  }
  .gallery-item img {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
