/* ============================================
   MANTA — Custom Styles
   Deep Navy + Warm Gold · Vibrant Modern
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    background-color: #0A1628;
    color: #E8F0FE;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: -80px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(212, 168, 67, 0.15);
    top: 25%;
    right: 8%;
    transform: rotate(45deg);
    pointer-events: none;
    animation: spin-slow 30s linear infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(212, 168, 67, 0.06);
    bottom: 20%;
    right: 15%;
    pointer-events: none;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-dots {
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(212, 168, 67, 0.3) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    pointer-events: none;
    opacity: 0.5;
}

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

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

/* ============================================
   Hero Animations
   ============================================ */
.hero-content {
    opacity: 1;
    transform: translateY(0);
    animation: heroFadeIn 1s ease-out forwards;
}

.hero-image {
    opacity: 1;
    transform: translateY(0);
    animation: heroImageIn 1s ease-out 0.3s forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ============================================
   Mobile Menu
   ============================================ */
#mobile-menu {
    transition: opacity 0.4s ease, pointer-events 0.4s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hamburger */
#menu-toggle {
    position: relative;
}

.menu-line {
    left: 50%;
    transform: translateX(-50%);
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 50%;
    margin-top: -1px;
}

#menu-toggle.active .menu-line:nth-child(2) {
    transform: translateX(-50%) rotate(-45deg);
    top: 50%;
    margin-top: -1px;
}

#menu-toggle.active .menu-line:nth-child(3) {
    opacity: 0;
}

/* ============================================
   Menu Cards
   ============================================ */
.menu-card {
    background: rgba(15, 33, 64, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.menu-card:hover {
    border-color: rgba(212, 168, 67, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .reveal.revealed {
        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; }
}

/* Default: always visible (JS-disabled or reduced motion) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Testimonial Cards
   ============================================ */
.testimonial-card {
    background: rgba(15, 33, 64, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    border-color: rgba(212, 168, 67, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============================================
   About Images
   ============================================ */
.about-images {
    position: relative;
}

/* ============================================
   Selection
   ============================================ */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #fff;
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A1628;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 67, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 67, 0.5);
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 300px;
        height: 300px;
    }

    .geo-square {
        width: 60px;
        height: 60px;
    }

    .geo-triangle {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(212, 168, 67, 0.06);
    }
}
