/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #141414;
    --text-color: #c0c0c0;
    --text-bright: #ffffff;
    --accent: #ffffff;
    --font-main: 'Inter', sans-serif;
    --sidebar-width: 260px;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--text-bright); font-weight: 600; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }

/* --- SIDEBAR NAVIGATION (Desktop) --- */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 40px;
    background: var(--bg-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* */
}

/* Hides sidebar on scroll */
.sidebar.hide-sidebar {
    transform: translateX(-100%);
}

.logo-img { width: 120px; margin-bottom: 60px; }
.nav-links { list-style: none; padding: 0; margin: 0; }
.nav-links li { margin-bottom: 25px; }

.nav-links a {
    color: var(--text-color); text-decoration: none; font-size: 0.95rem; font-weight: 500;
    letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--text-bright); }

/* --- MAIN CONTENT & CINEMATIC EXPANSION --- */
.content {
    margin-left: var(--sidebar-width); /* Default desktop gap */
    width: calc(100% - var(--sidebar-width));
    transition: margin-left 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                width 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* */
}

/* THE GAP FIX: Fills the entire screen when scrolling */
.sidebar.hide-sidebar ~ .content {
    margin-left: 0 !important;
    width: 100% !important;
}

/* --- HERO & CATEGORY SECTIONS --- */
.hero-section, .category-hero {
    height: 100vh; 
    width: 100%;
    background-size: cover; 
    background-position: center; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

/* Enable parallax only on Large Desktops to prevent iPad blur */
@media (min-width: 1401px) {
    .hero-section { background-attachment: fixed; }
}

.hero-overlay h1 { font-size: 4rem; text-transform: uppercase; }
.category-overlay h2 { font-size: 5rem; text-transform: uppercase; letter-spacing: 5px; }

.view-more-btn {
    padding: 15px 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.8);
    color: white;
    text-transform: uppercase;
    cursor: pointer; 
    transition: all 0.3s ease;
}
.view-more-btn:hover { background: white; color: black; }

/* --- ABOUT SECTION (Layout Fix) --- */
.about-section {
    padding: 100px 8%;
    background-color: var(--bg-color);
}

.about-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px; /* Space between text and image */
}

.about-text { flex: 1.2; } /* Text gets slightly more space */
.about-image { flex: 0.8; }
.about-image img { width: 100%; border-radius: 4px; object-fit: cover; }

/* --- GRID --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; padding: 60px 8%; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; border-radius: 4px;}

/* --- FOOTER & SOCIAL ICONS (Layout Fix) --- */
.footer-section { padding: 80px 8% 40px; background: var(--bg-secondary); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

.footer-bottom {
    display: flex;
    justify-content: space-between; /* Copyright left, Icons right */
    align-items: center;
    padding-top: 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links { display: flex; gap: 25px; }
.social-links a { color: var(--text-color); font-size: 1.3rem; transition: all 0.3s ease; }
.social-links a:hover { color: var(--text-bright); transform: translateY(-3px); }

/* --- FORMS --- */
.form-input, .form-textarea {
    width: 100%;
    padding: 15px;
    background-color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    margin-bottom: 20px;
}

.submit-btn {
    padding: 15px 40px;
    background: white;
    color: black;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- IPAD & MOBILE RESPONSIVENESS (1400px Breakpoint) --- */
@media (max-width: 1400px) {
    .sidebar {
        width: 100%;
        height: 80px;
        position: fixed;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 30px;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        z-index: 3000;
    }

    .sidebar.hide-sidebar { transform: none !important; } /* Stop hiding top bar */
    .logo-img { height: 45px; width: auto; margin-bottom: 0; }
    
    .hamburger { 
        display: flex !important; 
        flex-direction: column; 
        gap: 6px;
        cursor: pointer; 
        z-index: 4000; 
    }
    .hamburger div { width: 28px; height: 2px; background: white; transition: 0.4s; }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease;
        z-index: 2500;
    }

    .nav-links.nav-active { transform: translateX(0%); }

    .content { margin-left: 0; width: 100%; padding-top: 80px; }

    /* About Section stacking */
    .about-container { flex-direction: column; text-align: center; gap: 40px; }
    
    /* Footer stacking */
    .footer-bottom { flex-direction: column-reverse; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
}