/* ========== BASE STYLES ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: #d4a017;
    color: #0a1628;
}

/* ========== NAVBAR ========== */
.nav-logo-text {
    transition: color 0.4s ease;
}

.nav-link {
    position: relative;
}

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

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

#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

#navbar.scrolled .nav-logo-text {
    color: #0a1628;
}

#navbar.scrolled .nav-link {
    color: #0f2140;
}

/* ========== MOBILE MENU ========== */
.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

#mobileMenu.open {
    transform: translateX(0);
}

.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* ========== HERO ========== */
.hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-image-container {
    opacity: 1;
    transform: translateY(0);
}

/* Hero decorative shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(15, 33, 64, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    border-radius: 50%;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(212, 160, 23, 0.08);
    border: 2px solid rgba(212, 160, 23, 0.2);
    top: 20%;
    right: 5%;
    border-radius: 20px;
    transform: rotate(30deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(15, 33, 64, 0.05);
    bottom: 15%;
    right: 15%;
}

.shape-dots {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(212, 160, 23, 0.3) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 35%;
    left: 5%;
    border-radius: 50%;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    transform: translateY(0);
}

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

/* ========== NEIGHBORHOOD CARDS ========== */
.neighborhood-card {
    transform: translateY(0);
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
    transform: translateY(0);
}

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

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========== FORM STYLES ========== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

/* ========== BUTTON HOVER ========== */
button[type="submit"]:hover {
    transform: translateY(-1px);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }

    .shape-circle-2 {
        width: 180px;
        height: 180px;
    }

    .shape-rect-1 {
        width: 70px;
        height: 70px;
    }

    .shape-triangle {
        border-left-width: 35px;
        border-right-width: 35px;
        border-bottom-width: 60px;
    }

    .shape-dots {
        width: 50px;
        height: 50px;
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
