/* ===== CUSTOM STYLES ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4f8;
}
::-webkit-scrollbar-thumb {
    background: #c4206a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9f1454;
}

/* Selection color */
::selection {
    background: #ffd030;
    color: #3f0720;
}

/* ===== REVEAL ANIMATIONS ===== */
/* Default state: visible (progressive enhancement — content renders regardless of JS) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When JS adds the class, elements animate in */
.reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion: disable transitions entirely */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .group:hover img {
        transform: none;
    }
}

/* ===== NAVBAR SCROLL STATE ===== */
.navbar-scrolled {
    box-shadow: 0 4px 30px rgba(63, 7, 32, 0.15);
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.hero-shape {
    animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.hero-shape:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== BUTTON HOVER EFFECTS ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* ===== NEIGHBORHOOD CARD HOVER ===== */
.neighborhood-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.neighborhood-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(63, 7, 32, 0.2);
}

/* ===== SERVICE CARD HOVER ===== */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ===== FORM INPUT FOCUS ===== */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 32, 106, 0.15);
}

/* ===== MOBILE MENU TRANSITION ===== */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* ===== DECORATIVE PATTERN ===== */
.pattern-dots {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ===== GEOMETRIC ACCENT ===== */
.geo-accent {
    position: absolute;
    pointer-events: none;
}

.geo-accent.circle {
    border-radius: 50%;
}

.geo-accent.square {
    transform: rotate(45deg);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .hero-shape {
        display: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    nav, #contact, .geo-accent {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
