/* ===== Base & Typography ===== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FDF8F0;
}

.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

/* ===== Geometric Background Shapes ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 96, 58, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 176, 106, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(192, 96, 58, 0.05) 0%, transparent 70%);
    top: 50%;
    right: 5%;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
    border-radius: 16px;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(192, 96, 58, 0.04);
    top: 20%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-rect-2 {
    width: 80px;
    height: 80px;
    background: rgba(212, 176, 106, 0.06);
    bottom: 15%;
    right: 15%;
    transform: rotate(-10deg);
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(192, 96, 58, 0.04);
    top: 30%;
    right: 8%;
    transform: rotate(20deg);
}

/* ===== About Section Patterns ===== */
.geo-pattern-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.geo-pattern-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    bottom: 10%;
    right: 5%;
    transform: rotate(30deg);
}

.geo-pattern-3 {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
}

/* ===== CTA Section Circles ===== */
.cta-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 96, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.cta-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 176, 106, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    right: -50px;
}

/* ===== 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, #C0603A, #D4B06A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

/* ===== Neighborhood Cards ===== */
.neighborhood-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

.neighborhood-card > *:not(:first-child) {
    position: relative;
    z-index: 2;
}

/* ===== Navbar Scroll State ===== */
.nav-scrolled {
    background: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .font-display {
    color: #6E3120 !important;
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Mobile Menu ===== */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

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

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    width: 24px;
    margin-left: 0;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== Counter Animation ===== */
.counter {
    display: inline-block;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FDF8F0;
}

::-webkit-scrollbar-thumb {
    background: #D4B06A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C0603A;
}

/* ===== Selection ===== */
::selection {
    background: rgba(192, 96, 58, 0.2);
    color: #6E3120;
}

/* ===== Focus Styles ===== */
:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
}
