/* ===== BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.font-playfair {
    font-family: 'Playfair Display', serif;
}

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

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -150px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 39, 68, 0.6) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(232, 184, 75, 0.15);
    top: 25%;
    left: 5%;
    transform: rotate(45deg);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(232, 184, 75, 0.06);
    top: 60%;
    right: 8%;
    transform: rotate(-15deg);
}

.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(232, 184, 75, 0.2) 1px, transparent 1px);
    background-size: 12px 12px;
    top: 40%;
    right: 25%;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* ===== NAVBAR ===== */
#navbar.scrolled {
    background: rgba(15, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== MOBILE MENU ===== */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.open .mobile-link {
    animation: fadeDown 0.3s ease forwards;
    opacity: 0;
}

#mobileMenu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

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

/* ===== HERO ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(45deg); }
}

.geo-rect-1 {
    animation: float 6s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-10px) rotate(-15deg); }
}

.geo-triangle {
    animation: floatSlow 8s ease-in-out infinite;
}

/* ===== CUSTOM SELECT ===== */
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='%23e8b84b' 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;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(232, 184, 75, 0.3);
    color: #fff;
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
    outline: 2px solid #e8b84b;
    outline-offset: 2px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1a2e;
}
::-webkit-scrollbar-thumb {
    background: #1a2744;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2a3a5c;
}
