/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base */
body {
    font-family: 'Outfit', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== GEOMETRIC HERO SHAPES ===== */
.geo {
    position: absolute;
    opacity: 0.12;
    will-change: transform;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.6) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-circle-2 {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,158,11,0.5) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(251,191,212,0.4);
    top: 30%;
    left: 12%;
    animation: float-slow 14s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(245,158,11,0.3);
    border-radius: 24px;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(244,158,11,0.25);
    border-radius: 16px;
    bottom: 25%;
    right: 25%;
    transform: rotate(20deg);
    animation: spin-slow 25s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(251,191,212,0.25);
    top: 55%;
    left: 8%;
    animation: float-slow 16s ease-in-out infinite;
}

.geo-dots {
    background-image: radial-gradient(circle, rgba(245,158,11,0.5) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 8%;
    opacity: 0.3;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) 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); }
}

/* ===== REVEAL ANIMATIONS (progressive enhancement) ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Default state for reduced motion — always visible */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NAVBAR SCROLL STATE ===== */
#navbar.scrolled {
    background: rgba(26, 9, 22, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(74, 25, 66, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(74, 25, 66, 0.3);
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-link:hover {
    color: #fcd34d;
    padding-left: 0.5rem;
}

/* ===== MENU LIST HOVER ===== */
#menu ul li {
    transition: transform 0.2s ease;
}

#menu ul li:hover {
    transform: translateX(4px);
}

/* ===== IMAGE HOVER ZOOM ===== */
.group img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== BUTTON RIPPLE EFFECT ===== */
a[href="#menu"]:hover,
a[href="#visit"]:hover,
a[href="tel:+18174563884"]:hover {
    transform: translateY(-1px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .geo-circle-1 {
        width: 240px;
        height: 240px;
    }
    .geo-circle-2 {
        width: 140px;
        height: 140px;
    }
    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
    .geo-square-2 {
        display: none;
    }
    .geo-triangle-1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(251,191,212,0.25);
    }
    .geo-dots {
        background-size: 16px 16px;
        width: 120px;
        height: 120px;
    }
}
