/* KAALM Venture Partners - Complete Stylesheet */
/* Version: 3.0 - Fixed Mobile Menu Issue */

/* ===== CSS Variables ===== */
:root {
    --gold: #eeba00;
    --gold-light: #f6d55c;
    --gold-dark: #d4a500;
    --dark-bg: #0a0e1a;
    --dark-card: #1a1f2e;
    --dark-border: #2a2f3e;
    --dark-surface: #141824;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #8892b0;
    --text-gray: #8892b0;
    --text-dim: #64748b;
}

/* ===== Global Reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* ===== Base Styles ===== */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
    color: #e2e8f0;
    line-height: 1.6;
    padding-top: 192px;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

/* ===== Utility Classes ===== */
.gradient-bg {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, #f6d55c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ===== Section Styles ===== */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

/* ===== Navigation Styles ===== */
nav {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* ===== CRITICAL FIX: Mobile Menu ===== */
.mobile-menu {
    display: none !important; /* Hidden by default */
    position: fixed;
    top: 192px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 40;
    transition: all 0.3s ease;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 50;
}

/* Mobile Menu - Only show on mobile when active */
@media (max-width: 768px) {
    body {
        padding-top: 96px;
    }
    
    #home {
        height: calc(100vh - 96px);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu {
        top: 96px;
    }
    
    .mobile-menu.active {
        display: block !important;
    }
}

/* ===== Card Styles ===== */
.card-hover {
    transition: all 0.3s ease;
    border: 1px solid var(--dark-border);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.architect-card {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.architect-card:hover {
    background: rgba(26, 31, 46, 0.8);
    border-color: var(--gold);
    transform: translateY(-5px);
}

/* ===== Button Styles ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #f6d55c 100%);
    color: #0a0e1a;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(238, 186, 0, 0.3);
}

/* ===== Mission Section ===== */
.mission-section {
    background: linear-gradient(135deg, var(--gold) 0%, #f6d55c 100%);
    color: #0a0e1a;
}

/* ===== Opportunity Section ===== */
.opportunity-bg {
    background: linear-gradient(rgba(26, 31, 46, 0.9), rgba(10, 14, 26, 0.9)), url('Assets/blue image.png');
    background-size: cover;
    background-position: center;
}

/* ===== Hero Section ===== */
#home {
    height: calc(100vh - 192px);
}

/* ===== Icon Styles ===== */
.fa, .fas, .far, .fab {
    display: inline-block !important;
}

/* Icon containers in yellow boxes */
.w-12.h-12.bg-yellow-400 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== Form Styles ===== */
input.border-red-500 {
    border-color: #ef4444 !important;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
}

/* ===== Cookie Consent ===== */
#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: none;
}

/* ===== Animation ===== */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    nav, footer, #cookieConsent, .mobile-menu {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
}

/* ===== Accessibility ===== */
:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Loading States ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ===== Selection Styling ===== */
::selection {
    background: var(--gold);
    color: var(--dark-bg);
}

::-moz-selection {
    background: var(--gold);
    color: var(--dark-bg);
}

/* ===== Ensure Content Doesn't Overflow ===== */
.max-w-7xl, .max-w-6xl, .max-w-4xl {
    width: 100%;
}

/* ===== Fix for any stray navigation elements ===== */
aside, nav:not(.fixed) {
    display: none !important;
}

/* ===== Ensure main content takes full width ===== */
main, section {
    width: 100% !important;
    max-width: 100% !important;
}
