/* ============================================
   Robert Dumont Realtor — Custom Styles
   ============================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-height: 100vh;
}

/* ── Geometric Shapes (Hero) ── */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, 0.2);
    bottom: 15%;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(190, 24, 93, 0.15);
    top: 30%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(251, 191, 36, 0.1);
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(251, 191, 36, 0.15);
    bottom: 25%;
    right: 25%;
    transform: rotate(30deg);
    animation: spin 15s linear infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(190, 24, 93, 0.08);
    top: 60%;
    left: 5%;
    animation: float 7s ease-in-out infinite;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(251, 191, 36, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    bottom: 10%;
    right: 10%;
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

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

/* ── Reveal Animations (below-the-fold only) ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

/* ── Mobile Menu ── */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

/* ── Button Hover Glow ── */
a:hover, button:hover {
    cursor: pointer;
}

/* ── Form Focus States ── */
input:focus, select:focus, textarea:focus {
    border-color: #db2777 !important;
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1) !important;
}

/* ── Selection ── */
::selection {
    background: rgba(219, 39, 119, 0.2);
    color: #500724;
}

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

::-webkit-scrollbar-track {
    background: #1a0410;
}

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

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