/* ===== Custom Styles ===== */

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

/* Base transitions */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #34D4A0;
    color: #0A1628;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #7EE8C0;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(52, 212, 160, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: #34D4A0;
    color: #34D4A0;
    transform: translateY(-2px);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #0A1628;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-dark:hover {
    background: #1E2D3D;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.4);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #0A1628;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(10, 22, 40, 0.4);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline-dark:hover {
    border-color: #0A1628;
    background: rgba(10, 22, 40, 0.08);
    transform: translateY(-2px);
}

/* ===== Section Elements ===== */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #34D4A0;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
}

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

#navbar.scrolled {
    background: rgba(6, 15, 29, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #34D4A0;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #ffffff !important;
}

/* ===== Hero Animations ===== */
.hero-eyebrow {
    animation: fadeSlideUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-headline {
    animation: fadeSlideUp 0.8s ease 0.15s forwards;
    opacity: 0;
    transform: translateY(24px);
}

.hero-sub {
    animation: fadeSlideUp 0.8s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(24px);
}

.hero-ctas {
    animation: fadeSlideUp 0.8s ease 0.45s forwards;
    opacity: 0;
    transform: translateY(24px);
}

.hero-stats {
    animation: fadeSlideUp 0.8s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(24px);
}

.hero-image-wrapper {
    animation: heroImageIn 1s ease 0.2s forwards;
    opacity: 0;
    transform: translateX(40px);
}

.hero-float-card {
    animation: floatCardIn 0.8s ease 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Stat Numbers ===== */
.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

/* ===== About Section ===== */
.about-feature {
    padding: 4px 0;
}

/* ===== Service Cards ===== */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(52, 212, 160, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card-img {
    height: 185px;
}

.service-card-img img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Neighborhood Cards ===== */
.neighborhood-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    cursor: pointer;
}

.neighborhood-card-img {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.neighborhood-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.neighborhood-card:hover .neighborhood-card-img img {
    transform: scale(1.08);
}

.neighborhood-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(6, 15, 29, 0.9) 0%, transparent 100%);
    border-radius: 0 0 16px 16px;
    transition: all 0.4s ease;
}

.neighborhood-card:hover .neighborhood-card-overlay {
    background: linear-gradient(to top, rgba(6, 15, 29, 0.95) 0%, rgba(6, 15, 29, 0.3) 100%);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(52, 212, 160, 0.25);
    transform: translateY(-4px);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
}

.input-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.input-field:focus {
    border-color: #34D4A0;
    background: rgba(52, 212, 160, 0.06);
    box-shadow: 0 0 0 3px rgba(52, 212, 160, 0.1);
}

.input-field option {
    background: #0A1628;
    color: #ffffff;
}

textarea.input-field {
    resize: none;
}

/* ===== Mobile Navigation ===== */
.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
}

.mobile-nav-link:hover {
    color: #ffffff !important;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.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; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-float-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        display: inline-block;
    }

    .hero-image-wrapper {
        margin-bottom: 24px;
    }

    .about-float {
        display: none !important;
    }

    .neighborhood-card {
        height: 280px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .btn-primary, .btn-secondary, .btn-dark, .btn-outline-dark {
        padding: 12px 22px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .hero-ctas {
        flex-direction: column;
    }
}

/* ===== Selection ===== */
::selection {
    background: rgba(52, 212, 160, 0.3);
    color: #ffffff;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060F1D;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}
