/*
Theme Name: Skye Films Portfolio
Theme URI: https://skyefilms.com
Author: Skye Films
Author URI: https://skyefilms.com
Description: An interactive VHS-style portfolio theme for Skye Films production company featuring a carousel film selector and dynamic video backgrounds. Fully responsive and mobile-friendly.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skye-films
Tags: portfolio, film, production, interactive, carousel, responsive, mobile-friendly
*/

/* Color Palette */
:root {
    --black: #000000;
    --dark-green: #0B4538;
    --dark-blue: #063E68;
    --light-blue: #78CBDD;
    --light-green: #349587;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Adobe Caslon Pro', 'Caslon', 'Georgia', serif;
    background-color: var(--black);
    color: var(--light-blue);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Video Background - ON ALL PAGES */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.6s ease;
}

.video-overlay {
    display: none;
}

/* Side Navigation - ON ALL PAGES */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 200px;
    background: transparent;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    z-index: 100;
    border-right: 1px solid rgba(52, 149, 135, 0.3);
}

.logo-container {
    width: 100%;
    margin-bottom: 60px;
    text-align: center;
}

.logo,
.custom-logo {
    width: 120px !important;
    height: auto !important;
    filter: drop-shadow(0 0 10px rgba(120, 203, 221, 0.3));
}

.nav-links {
    list-style: none;
    width: 100%;
    padding: 0;
}

.nav-links li {
    margin: 30px 0;
    text-align: center;
}

.nav-links a {
    color: var(--light-blue);
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: block;
    padding: 10px;
    border-left: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item a {
    color: var(--light-green);
    border-left: 3px solid var(--light-green);
    padding-left: 15px;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: transparent;
    border: 2px solid var(--light-green);
    color: var(--light-green);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.mobile-menu-button:hover {
    background: var(--light-green);
    color: var(--black);
}

/* Mobile Menu Dropdown */
.mobile-nav-dropdown {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(52, 149, 135, 0.3);
    z-index: 99;
    padding: 20px;
}

.mobile-nav-dropdown.active {
    display: block;
}

.mobile-nav-dropdown .nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-dropdown .nav-links li {
    margin: 0;
}

.mobile-nav-dropdown .nav-links a {
    border-left: none;
    border-bottom: 2px solid transparent;
    text-align: center;
    font-size: 1.1rem;
    padding: 12px;
}

.mobile-nav-dropdown .nav-links a:hover,
.mobile-nav-dropdown .nav-links a.active {
    border-left: none;
    border-bottom: 2px solid var(--light-green);
    padding-left: 12px;
}

/* DEFAULT CONTENT AREA (for regular pages) */
.main-content {
    margin-left: 200px;
    min-height: 100vh;
    padding: 100px 60px 60px;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography for regular pages */
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
    color: var(--light-blue);
    margin-bottom: 1rem;
    font-weight: 400;
}

.main-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.main-content h2 {
    font-size: 2.5rem;
}

.main-content h3 {
    font-size: 2rem;
}

.main-content p {
    color: var(--light-blue);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.main-content a {
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-content a:hover {
    color: var(--light-blue);
}

/* Lists */
.main-content ul,
.main-content ol {
    color: var(--light-blue);
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.main-content li {
    margin-bottom: 0.5rem;
}

/* Images */
.main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .main-content {
        padding: 80px 40px 40px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .side-nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid rgba(52, 149, 135, 0.3);
        backdrop-filter: blur(10px);
        background: rgba(0, 0, 0, 0.8);
    }

    .logo-container {
        margin-bottom: 0;
    }

    .logo,
    .custom-logo {
        width: 80px !important;
    }

    .mobile-menu-button {
        display: flex;
    }

    .side-nav > .nav-links {
        display: none;
    }

    .main-content {
        margin-left: 0;
        margin-top: 100px;
        padding: 40px 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .side-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 70px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(52, 149, 135, 0.3);
        backdrop-filter: blur(10px);
        background: rgba(0, 0, 0, 0.9);
        z-index: 1000;
    }

    .logo-container {
        margin: 0 auto;
        margin-bottom: 0 !important;
    }

    .logo,
    .custom-logo {
        width: 60px !important;
        height: auto !important;
    }

    .mobile-menu-button {
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .side-nav > .nav-links {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        margin-top: 70px !important;
        padding: 30px 20px !important;
    }

    .main-content h1 {
        font-size: 2rem;
    }

    .main-content h2 {
        font-size: 1.75rem;
    }

    .main-content p {
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .logo,
    .custom-logo {
        width: 50px !important;
    }

    .mobile-menu-button {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .vhs-tape-main {
        cursor: default;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}

/* Print */
@media print {
    .video-background,
    .side-nav,
    .mobile-menu-button,
    .mobile-nav-dropdown {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }
}

/* Focus states */
.nav-links a:focus {
    outline: 2px solid var(--light-green);
    outline-offset: 3px;
}

.mobile-menu-button:focus {
    outline: 2px solid var(--light-blue);
    outline-offset: 3px;
}
