/* Custom styles — extends Tailwind utilities */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #D4A843;
    color: #071024;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #071024;
}
::-webkit-scrollbar-thumb {
    background: #D4A843;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E0BA5A;
}

/* Geometric decorative shapes */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.geo-square {
    position: absolute;
    pointer-events: none;
    transform: rotate(15deg);
}
.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}
.geo-dots {
    background-image: radial-gradient(circle, currentColor 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
    pointer-events: none;
}

/* Ensure all images have smooth rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #D4A843;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu transition */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
    transform: translateX(0);
}

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-shine:hover::before {
    left: 100%;
}

/* Card hover effects */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(11, 29, 58, 0.15);
}

/* Stat card */
.stat-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(11, 29, 58, 0.12);
    border: 1px solid rgba(212, 168, 67, 0.2);
    transition: border-color 0.3s ease;
}
.stat-card:hover {
    border-color: rgba(212, 168, 67, 0.5);
}

/* Gold line accent */
.gold-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #D4A843, #EDD17A);
    border-radius: 2px;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.float-card { animation: float 4s ease-in-out infinite; }
.float-card-delayed { animation: float-delayed 5s ease-in-out 1s infinite; }
.float-card-slow { animation: float 6s ease-in-out 0.5s infinite; }

/* Scroll reveal - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 70px;
    }
}
