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

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

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(64, 6, 19, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
    animation: fadeIn 0.3s ease;
}

.mobile-link {
    animation: slideUp 0.4s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 164, 184, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
    bottom: 100px;
    left: -50px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(251, 191, 36, 0.15);
    top: 25%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(244, 164, 184, 0.06);
    bottom: 20%;
    right: 15%;
    animation: float 7s ease-in-out infinite;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(251, 191, 36, 0.12) 1px, transparent 1px);
    background-size: 20px 20px;
    top: 40%;
    left: 5%;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Stagger children */
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }
.reveal-up:nth-child(5) { transition-delay: 0.4s; }
.reveal-up:nth-child(6) { transition-delay: 0.5s; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .geo-shape {
        animation: none;
    }
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .mobile-link {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fde68a;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #400613;
}
::-webkit-scrollbar-thumb {
    background: #a61238;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c91f4a;
}
