/* ── Reset & Base ── */
*, *::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: #A844BE;
    color: white;
}

/* ── Geometric Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #F5A623;
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #E8910D;
    bottom: 15%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #FFD966;
    top: 30%;
    right: 15%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-rect-1 {
    width: 150px;
    height: 150px;
    background: #F5A623;
    top: 60%;
    left: 10%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
    opacity: 0.08;
}

.geo-rect-2 {
    width: 80px;
    height: 80px;
    background: #FFD966;
    top: 20%;
    left: 20%;
    transform: rotate(20deg);
    animation: spin-slow 18s linear infinite reverse;
    opacity: 0.1;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid #F5A623;
    top: 45%;
    right: 8%;
    transform: rotate(-15deg);
    animation: float-slow 17s ease-in-out infinite;
    opacity: 0.1;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #F5A623 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    bottom: 10%;
    right: 25%;
    opacity: 0.15;
}

.geo-circle-4 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #F5A623;
    top: -200px;
    right: -150px;
    opacity: 0.06;
    animation: float-slow 22s ease-in-out infinite;
}

.geo-rect-3 {
    width: 100px;
    height: 100px;
    background: #FFD966;
    bottom: 10%;
    left: 5%;
    transform: rotate(30deg);
    opacity: 0.08;
    animation: spin-slow 20s linear infinite;
}

.geo-circle-5 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #F5A623;
    bottom: -300px;
    left: -200px;
    opacity: 0.1;
    animation: float-slow 25s ease-in-out infinite;
}

.geo-rect-4 {
    width: 120px;
    height: 120px;
    background: #FFD966;
    top: 10%;
    right: 10%;
    transform: rotate(-10deg);
    opacity: 0.08;
    animation: spin-slow 15s linear infinite reverse;
}

.geo-circle-6 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: #F5A623;
    bottom: -150px;
    right: -100px;
    opacity: 0.05;
    animation: float-slow 20s ease-in-out infinite;
}

/* ── Animations ── */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Navbar ── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(123, 45, 142, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* ── Service Cards ── */
.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Neighborhood Cards ── */
.neighborhood-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.neighborhood-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Testimonial Cards ── */
.testimonial-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

.mobile-link {
    display: block;
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #F5A623;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Smooth transitions for all interactive elements ── */
a, button {
    transition: all 0.25s ease;
}

/* ── Focus styles ── */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    .geo-circle-2 {
        width: 100px;
        height: 100px;
    }
    .geo-rect-1 {
        width: 80px;
        height: 80px;
    }
    .geo-triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 70px solid #F5A623;
    }
}
