@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;500;700&display=swap');

:root {
    --navy-blue: #0a1128;
    --electric-blue: #00f3ff;
    --neon-yellow: #ffdd00;
    --white: #ffffff;
    --dark-gray: #0f0f1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
}

body {
    background: 
        linear-gradient(
            0deg,
            rgba(10, 17, 40, 0) 0%,
            rgba(10, 17, 40, 1) 50%,
            rgba(10, 17, 40, 0) 100%
        ),
        url('https://mir-s3-cdn-cf.behance.net/project_modules/1400_webp/b891de228467669.685336827acd1.png');
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
    color: var(--white);
    min-height: 100vh;
    overflow: hidden;
}

/* CRT Effects */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.15) 0px,
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 100;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, 
            rgba(0, 243, 255, 0.03) 1px, 
            transparent 1px),
        radial-gradient(circle at 75% 75%, 
            rgba(255, 221, 0, 0.03) 1px, 
            transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 99;
}

/* Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('https://25.media.tumblr.com/tumblr_maq2c3r4C71r4dy70o1_500.gif'),
        url('https://img.freepik.com/free-photo/gray-gingham-fabric-textured-background_53876-101702.jpg');
    background-size: 25% 25%, cover;
    background-repeat: repeat, no-repeat;
    background-position: 0 0, center;
    mix-blend-mode: multiply;
    opacity: 0.3;
    pointer-events: none;
    z-index: 98;
    filter: saturate(0.3);
}

/* Floating particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--electric-blue);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 12vh;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--electric-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
    width: 50%;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 20px var(--electric-blue);
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
}

.nav-menu a[data-tab="start"] {
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
}

.diamond {
    width: 6px;
    height: 6px;
    background: var(--electric-blue);
    transform: rotate(45deg);
    margin: 0 1.5rem;
    box-shadow: 0 0 10px var(--electric-blue);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    width: 60px;
    height: 60px;
    background-image: url('https://i.imgur.com/zqsfeRm.png');
    background-size: cover;
    background-position: center;
    filter:    brightness(120%) contrast(97%) drop-shadow(0 0 10px var(--electric-blue));
}

.studio-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 0 15px var(--electric-blue);
    letter-spacing: 3px;
}

/* Main Content */
.portfolio-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100vh;
    padding: 4rem 2rem;
}

.header-section {
    text-align: left;
    width: 100%;
    margin-top: 20vh;
}

.main-name {
    font-size: 5rem;
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
    margin-bottom: 1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.job-title {
    font-size: 1.8rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.main-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 800px;
    margin: 10vh 0 2rem 0;
}

.nav-btn {
    background: rgba(0, 243, 255, 0.1);
    border: 2px solid var(--electric-blue);
    color: var(--white);
    padding: 2rem 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.nav-btn:hover {
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    background: rgba(255, 221, 0, 0.1);
    transform: translateY(-5px);
}

.contact-buttons {
    display: flex;
    gap: 2rem;
    margin-top: auto;
    align-self: center;
    margin-bottom: 5vh;
}

.contact-btn {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border: 2px solid var(--electric-blue);
    background: rgba(0, 243, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    background: rgba(255, 221, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio-container {
        padding: 2rem;
    }
    
    .main-name {
        font-size: 2.5rem;
    }
    
    .main-nav {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .nav-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}


/* Add this to your existing CSS file */

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto; /* Enable scrolling */
        min-height: 100vh;
        height: auto;
    }
    
    /* Header adjustments for mobile */
    header {
        height: 8vh; /* Reduced height for mobile */
        padding: 0 3%;
    }
    
    .nav-menu {
        display: none; /* Hide the desktop nav menu on mobile */
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .studio-name {
        font-size: 1rem;
    }
    
    /* Main content adjustments */
    .portfolio-container {
        padding: 6rem 1rem 2rem; /* Added top padding for header */
        height: auto;
        min-height: 100vh;
        align-items: center;
        justify-content: flex-start;
    }
    
    .header-section {
        margin-top: 5vh;
        text-align: center;
    }
    
    .main-name {
        font-size: 2.5rem;
        letter-spacing: 3px;
        line-height: 1.2;
    }
    
    .job-title {
        font-size: 1.2rem;
        letter-spacing: 2px;
        line-height: 1.4;
    }
    
    .main-nav {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin: 5vh 0 2rem;
        width: 100%;
        max-width: 300px;
    }
    
    .nav-btn {
        padding: 1.2rem 1rem;
        font-size: 1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .contact-btn {
        text-align: center;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Additional mobile-specific fixes for very small screens */
@media (max-width: 480px) {
    .main-name {
        font-size: 2rem;
    }
    
    .job-title {
        font-size: 1rem;
    }
    
    .portfolio-container {
        padding: 5rem 1rem 2rem;
    }
    
    .main-nav {
        margin: 3vh 0 2rem;
    }
}

/* Ensure proper viewport scaling */
@viewport {
    width: device-width;
    zoom: 1.0;
}

/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
