/* --- 1. Variables & Reset --- */
:root {
    --bg-dark: #050505;
    --card-bg: rgba(20, 20, 25, 0.6);
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; /* Hides default cursor */ }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* --- 2. Custom Cursor --- */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot { width: 8px; height: 8px; background: var(--neon-blue); }
.cursor-outline {
    width: 40px; height: 40px;
    border: 1px solid var(--neon-blue);
    transition: width 0.2s, height 0.2s;
}
body.hovering .cursor-outline {
    width: 70px; height: 70px;
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-purple);
}

/* --- 3. Background & Layout --- */
.bg-mesh { position: fixed; width: 100%; height: 100vh; z-index: -1; overflow: hidden; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatBlob 10s infinite alternate;
}
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--neon-purple); }
.blob-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: var(--neon-blue); animation-delay: -5s; }
.blob-3 { top: 40%; left: 30%; width: 30vw; height: 30vw; background: #2a2a72; animation-duration: 15s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* --- 4. Navigation --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 50px;
    position: fixed; width: 100%; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; }
.logo .highlight { color: var(--neon-blue); }

.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a {
    text-decoration: none; color: var(--text-muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; transition: 0.3s;
}
.nav-links a.active, .nav-links a:hover { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); }

.btn-glow {
    padding: 8px 20px; border: 1px solid var(--neon-blue); color: var(--neon-blue);
    text-decoration: none; font-size: 0.8rem; transition: 0.3s;
    box-shadow: 0 0 5px var(--neon-blue);
}
.btn-glow:hover { background: var(--neon-blue); color: #000; box-shadow: 0 0 20px var(--neon-blue); }
.menu-btn { display: none; font-size: 1.5rem; color: var(--text-main); }

/* --- 5. Hero (UPDATED) --- */
.hero {
    min-height: 50vh; /* Changed to allow growth */
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding-top: 100px; /* Added spacing for navbar */
    padding-bottom: 30px;
}
.hero h1 {
    font-family: var(--font-heading); font-size: 5rem; text-transform: uppercase;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text; color: transparent;
}
.hero p { color: var(--text-muted); font-size: 1.2rem; margin-top: 10px; letter-spacing: 2px; }

/* --- 6. Contact Section --- */
.contact-section { padding: 50px 20px 150px; perspective: 1000px; }
.container { max-width: 1100px; margin: 0 auto; }

.reveal-scale {
    opacity: 0;
    transform: scale(0.6) translateY(100px);
    filter: blur(20px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

.tilt-box {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform-style: preserve-3d;
    transform: rotateX(0) rotateY(0);
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; }

.info-panel {
    padding: 60px;
    border-right: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
    border-radius: 30px 0 0 30px;
}
.info-panel h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 10px; }
.info-panel .sub { margin-bottom: 40px; color: var(--text-muted); }

.info-item { display: flex; gap: 20px; margin-bottom: 30px; align-items: center; }
.icon-orb {
    width: 50px; height: 50px; background: rgba(255,255,255,0.05); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; color: var(--neon-blue);
    border: 1px solid var(--glass-border); box-shadow: 0 0 10px rgba(0,243,255,0.1);
}
.info-item span { font-size: 0.8rem; text-transform: uppercase; color: var(--neon-purple); letter-spacing: 1px; }

.socials { display: flex; gap: 20px; margin-top: 50px; }
.socials a { color: var(--text-main); font-size: 1.5rem; transition: 0.3s; }
.socials a:hover { color: var(--neon-blue); transform: translateY(-5px); }

.form-panel { padding: 60px; }
.form-panel h3 { font-family: var(--font-heading); margin-bottom: 40px; font-size: 1.8rem; }

.input-box { position: relative; margin-bottom: 40px; }
.input-box input, .input-box textarea {
    width: 100%; padding: 10px 0; background: transparent; border: none;
    border-bottom: 1px solid #333; color: var(--text-main); font-size: 1.1rem; outline: none;
    font-family: var(--font-body);
}
.input-box textarea { height: 80px; resize: none; }
.input-box label {
    position: absolute; left: 0; top: 10px; color: #666; transition: 0.3s; pointer-events: none;
}
.input-box input:focus ~ label, .input-box input:valid ~ label,
.input-box textarea:focus ~ label, .input-box textarea:valid ~ label {
    top: -20px; font-size: 0.8rem; color: var(--neon-blue);
}
.input-box .bar { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--neon-blue); transition: 0.4s; box-shadow: 0 0 10px var(--neon-blue); }
.input-box input:focus ~ .bar, .input-box textarea:focus ~ .bar { width: 100%; }

.btn-neon {
    background: transparent; border: 1px solid var(--text-muted); color: var(--text-main);
    padding: 15px 40px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 2px;
    cursor: none; 
    transition: 0.3s; position: relative; overflow: hidden;
}
.btn-neon:hover { border-color: var(--neon-purple); background: rgba(188, 19, 254, 0.1); box-shadow: 0 0 30px rgba(188, 19, 254, 0.4); }

/* --- 7. Footer (UPDATED MAP) --- */
.footer { position: relative; padding-top: 100px; padding-bottom: 20px; text-align: center; }
.map-overlay {
    width: 90%; max-width: 1000px; height: 300px; margin: 0 auto 50px;
    position: relative; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--neon-blue);
}
.map-overlay iframe { 
    width: 100%; height: 100%; border: 0; 
    opacity: 1; /* Normal View */
}
.hologram-border {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent 50%, rgba(0,243,255,0.1) 100%);
    pointer-events: none; z-index: 2;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}
.footer-logo { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 20px; letter-spacing: 5px; opacity: 0.5; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.footer-links a { color: var(--text-muted); text-decoration: none; text-transform: uppercase; font-size: 0.8rem; }
.copyright { color: #444; font-size: 0.7rem; letter-spacing: 2px; }

/* --- Mobile Responsiveness (ALL FIXES HERE) --- */
@media (max-width: 900px) {
    /* Navbar Adjustment */
    .navbar { padding: 15px 20px; }
    .logo { font-size: 1.2rem; }
    
    /* Mobile Menu - Hidden by default, shows when .active */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        z-index: 99;
    }
    .nav-links.active { display: flex; animation: slideDown 0.3s ease forwards; }
    .nav-links li { margin: 15px 0; }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .menu-btn { display: block; }
    
    /* Hero Text Fix */
    .hero h1 { font-size: 2.2rem; padding: 0 10px; line-height: 1.2; }
    
    /* Content & Padding Fixes */
    .contact-grid { grid-template-columns: 1fr; }
    .contact-section { padding: 30px 10px 100px; }
    
    .info-panel, .form-panel { 
        padding: 30px 15px; /* Reduced padding prevents cutting */
        width: 100%;
    }
    
    .info-panel { 
        border-right: none; 
        border-bottom: 1px solid var(--glass-border); 
        border-radius: 30px 30px 0 0; 
    }
    
    /* Disable fancy effects */
    .cursor-dot, .cursor-outline { display: none; }
    * { cursor: auto; }
    .contact-section { perspective: none; }
    .tilt-box { transform: none !important; }
}