/* ============================================
   Millennial World — Custom Styles
   Deep Navy + Warm Gold | Vibrant Modern
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #060f1f;
    color: #ffffff;
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background-color: rgba(212, 160, 23, 0.3);
    color: #ffffff;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.5;
}

.geo-circle-1 {
    top: 15%;
    left: -8%;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(212, 160, 23, 0.08);
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 20%;
    right: -5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(212, 160, 23, 0.06);
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    top: 45%;
    right: 8%;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(212, 160, 23, 0.07);
    transform: rotate(45deg);
    animation: rotate-slow 25s linear infinite;
}

.geo-triangle-1 {
    top: 70%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(212, 160, 23, 0.04);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-dots {
    top: 30%;
    right: 15%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(212, 160, 23, 0.15) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.6;
}

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

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

/* ============================================
   Header
   ============================================ */
#header {
    background: rgba(6, 15, 31, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#header.header-scrolled {
    background: rgba(6, 15, 31, 0.95);
    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: #d4a017;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #e8b828 !important;
}

/* Mobile menu button */
.mobile-menu-btn {
    position: relative;
    z-index: 50;
}

.menu-line {
    display: block;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
    margin-left: 0;
}

/* Mobile menu */
.mobile-menu {
    animation: menuSlideIn 0.3s ease forwards;
}

.mobile-menu.hidden {
    animation: menuSlideOut 0.3s ease forwards;
}

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

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

.mobile-menu-link {
    position: relative;
}

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

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

/* ============================================
   Hero Animations
   ============================================ */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.hero-headline {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.hero-sub {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.hero-ctas {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

.hero-trust {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 1s;
}

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

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

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a017, #e8b828);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(212, 160, 23, 0.03), transparent);
    transition: height 0.5s ease;
}

.service-card:hover::after {
    height: 100%;
}

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Default state visible — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Form Styles
   ============================================ */
select option {
    background: #0a1f3f;
    color: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(212, 160, 23, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1) !important;
}

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

::-webkit-scrollbar-track {
    background: #060f1f;
}

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

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 180px;
        height: 180px;
    }
    
    .geo-square-1 {
        width: 80px;
        height: 80px;
    }
    
    .geo-triangle-1 {
        border-left: 35px solid transparent;
        border-right: 35px solid transparent;
        border-bottom: 60px solid rgba(212, 160, 23, 0.04);
    }
}

@media (max-width: 640px) {
    .geo-shape {
        display: none;
    }
}
