/* ========================================
   The Twins at Little Sebago — Custom Styles
   ======================================== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ========================================
   Geometric Decorative Shapes
   ======================================== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.geo-circle-1 {
    top: 15%;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 160, 181, 0.3) 0%, transparent 70%);
}

.geo-circle-2 {
    bottom: 20%;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 36, 69, 0.12) 0%, transparent 70%);
}

.geo-square-1 {
    top: 40%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: rgba(244, 160, 181, 0.2);
    border-radius: 12px;
    transform: rotate(45deg);
}

.geo-triangle {
    bottom: 30%;
    left: 3%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(157, 36, 69, 0.1);
}

.geo-dots {
    top: 60%;
    left: 8%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(244, 160, 181, 0.25) 2px, transparent 2px);
    background-size: 16px 16px;
    border-radius: 50%;
}

/* ========================================
   Navbar
   ======================================== */
.nav-scroller {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-scroller.scrolled {
    background: rgba(254, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(157, 36, 69, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9D2445, #F4A0B5);
    border-radius: 1px;
    transition: width 0.2s ease, left 0.2s ease;
}

.nav-link:hover::after {
    width: 60%;
    left: 20%;
}

/* ========================================
   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;
}

/* ========================================
   Scroll Reveal
   ======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .geo-shape {
        display: none;
    }
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(244, 160, 181, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(223, 173, 114, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(157, 36, 69, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* ========================================
   Buttons & Interactive
   ======================================== */
button, a {
    cursor: pointer;
}

/* ========================================
   Form Styles
   ======================================== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239D2445' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 640px) {
    .geo-shape {
        display: none;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .geo-circle-1 {
        width: 120px;
        height: 120px;
    }
    .geo-circle-2 {
        width: 180px;
        height: 180px;
    }
}

/* ========================================
   Selection Color
   ======================================== */
::selection {
    background: rgba(157, 36, 69, 0.2);
    color: #5c1528;
}
