/* ─── Base & Typography ─── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #f9cdd8;
    color: #800020;
}

/* ─── Section Labels ─── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #800020;
    background: linear-gradient(135deg, #fce7eb 0%, #fdf2f4 100%);
    border: 1px solid #f9cdd8;
    padding: 6px 16px;
    border-radius: 100px;
}

.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #800020;
}

/* ─── Buttons ─── */
.btn-burgundy {
    background: linear-gradient(135deg, #800020 0%, #a00028 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
}

.btn-burgundy:hover {
    box-shadow: 0 8px 30px rgba(128, 0, 32, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #800020;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #f9cdd8;
}

.btn-outline:hover {
    background: #fce7eb;
    border-color: #f4a3b8;
    color: #800020;
}

.btn-white {
    background: white;
    color: #800020;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: #800020;
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

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

/* ─── Input Fields ─── */
.input-field {
    background: white;
    border: 1.5px solid #e8ddd3;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #4a3f35;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.input-field:focus {
    border-color: #800020;
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

.input-field::placeholder {
    color: #b8a08a;
}

/* ─── Navbar ─── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 250, 247, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(128, 0, 32, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #800020;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ─── Hero Animations ─── */
.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 0.8s ease 0.15s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-ctas {
    animation: fadeInUp 0.8s ease 0.45s forwards;
    opacity: 0;
}

.hero-trust {
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-image-wrapper {
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-float-card {
    animation: float 4s ease-in-out infinite;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ─── Service Cards ─── */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #800020, #f4a3b8);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* ─── Neighborhood Cards ─── */
.neighborhood-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.4s ease;
}

.neighborhood-card:hover {
    box-shadow: 0 12px 40px rgba(128, 0, 32, 0.12);
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: #fce7eb;
    line-height: 1;
    z-index: 0;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s 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; }

/* ─── Mobile Menu ─── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-float-card {
        display: none;
    }

    .about-float {
        display: none;
    }

    .section-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
}
