/* =========================================================
   CINEMATIC DARK THEME — GLOBAL VARIABLES
   ========================================================= */
:root {
    --bg: #0b0b0c;
    --bg-alt: #101114;
    --text: #ffffff;
    --muted: #9a9a9a;
    --accent: #ffffff;
    --accent-soft: rgba(255, 255, 255, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html, body {
    height: 100%;
    padding-top: 40px; /* match your header height */
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

main {
    flex: 1; /* pushes footer to bottom */
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(14px);
}

/* Desktop header layout */
.nav-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 80px;
    padding: 0 60px;
}

.logo {
    font-size: 20px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.center-nav {
    justify-self: center;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding-bottom: 4px;
    position: relative;
    transition: color 0.25s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    background: var(--accent);
    transition: width 0.25s ease;
}

nav a:hover,
nav a.active {
    color: var(--text);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* =========================================================
   MOBILE MENU — BASE (APPLIES TO ALL SCREEN SIZES)
   ========================================================= */
/* Social icons (desktop) */
.social-icons {
    justify-self: end;
    display: flex;
    gap: 28px;
}

.social-icons a {
    color: var(--muted);
    font-size: 25px;
    transition: color 0.25s ease;
}

.social-icons a:hover {
    color: var(--accent);
}

/* =========================================================
   HERO
   ========================================================= */
.hero-video {
    position: relative;
    width: 100%;
    height: 42vw;
    max-height: 800px;
    min-height: 300px;
    overflow: hidden;
    background: #000;
    margin-top: -80px;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* =========================================================
   MASONRY
   ========================================================= */
.home-masonry,
.photography-masonry {
    width: 100%;
    padding: 80px 0;
}

.masonry-grid {
    width: 100%;
    column-count: 4;
    column-gap: 48px;
    padding: 0 60px;
}

.masonry-grid img {
    width: 100%;
    margin-bottom: 48px;
    border-radius: 6px;
    display: block;
    break-inside: avoid;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: transform 0.35s ease, opacity 0.35s ease;
    cursor: pointer;
}

.masonry-grid img:hover {
    transform: scale(1.03);
    opacity: 0.85;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 24px 30px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

/* Burger hidden by default (desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    display: block;
    transition: 0.3s ease;
}

/* Mobile menu base */
.mobile-nav {
    position: absolute;
    top: 64px; /* height of header */
    left: 0;
    width: 100%;

    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(14px);

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;

    z-index: 9998; /* below header */
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.mobile-socials {
    display: flex;
    gap: 18px;
    font-size: 20px;
}

/* =========================================================
   VIDEO PAGE GRID
   ========================================================= */
.video-grid-section {
    max-width: 1600px;
    margin: 80px auto;
    padding: 0 40px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.video-thumb {
    cursor: pointer;
    transition: transform 0.25s ease;
}

.video-thumb:hover {
    transform: scale(1.03);
}

.video-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.video-thumb h4 {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* =========================================================
   FULLSCREEN CINEMATIC VIDEO MODAL
   ========================================================= */
#videoModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    z-index: 10000;
}

.video-modal-container {
    width: 100vw;
    height: 100vh;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.video-modal-main {
    height: calc(100vh - 200px);
    flex: 1;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 32px;
}

.video-modal-left iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: black;
}

.video-modal-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-modal-right h2 {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.video-modal-right p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

.video-modal-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.video-strip-item {
    flex: 0 0 260px;
    cursor: pointer;
}

.video-strip-item-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.85;
    transition: 0.25s ease;
}

.video-strip-item-thumb img:hover {
    opacity: 1;
    transform: scale(1.03);
}

.video-strip-item h4 {
    margin: 6px 0 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

#videoModal .video-modal-right {
    display: flex;
    flex-direction: column;
}

#videoModal #videoTitle {
    flex-shrink: 0;
    margin-bottom: 12px;
}

#videoTitle {
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    max-width: 90%;   /* adjust to taste */
    word-wrap: break-word;
}

#videoDescription {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;

    /* FIXED SIZE + SCROLLING */
    height: 260px;        /* pick a value that looks good */
    max-width: 100%;      /* stays within the right column */
    overflow-y: auto;     /* scrolls when text is too long */
    overflow-x: hidden;   /* no horizontal scroll */
}

#videoModal #videoDescription {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: inherit;
}

#videoDescription::-webkit-scrollbar {
    width: 6px;
}

#videoDescription::-webkit-scrollbar-track {
    background: transparent;
}

#videoDescription::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

#videoDescription::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* =========================================================
   FULLSCREEN IMAGE MODAL
   ========================================================= */
#imageModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 40px;
}

#imageModal img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#imageModal.show img {
    opacity: 1;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal-content img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.image-close-btn,
.video-close-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.25);   /* ↓ MUCH softer */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgb(255, 51, 51);
    font-size: 26px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.image-close-btn:hover,
.video-close-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.08);
}

/* GLOBAL CINEMATIC FEEL */
.about-hero,
.about-gear,
.about-socials {
    padding: 80px 0;
    color: #e5e5e5;
}

/* PHOTO */
.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1);
    transition: filter 0.4s ease;
}

.about-photo img:hover {
    filter: brightness(1) contrast(1.15);
}

/* GENERAL PAGE SPACING */
section {
    padding: 80px 0;
}

/* HERO LAYOUT — centered as one block */
.about-hero {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    align-items: center;
    justify-content: center;
    max-width: 1100px;      /* keeps the hero centered */
    margin: 0 auto;         /* centers the whole block */
    text-align: left;
}

/* PHOTO */
.about-photo {
    width: 100%;
    object-fit: cover;
}

/* BIO */
.about-bio {
    max-width: 1000px; /* try 1000px first */
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

.about-bio h1 {
    max-width: 900px; /* increase this number to widen */
    font-size: 20px;
    margin: 0 auto;
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 3px;
}

.bio-first {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 500px;
    text-align: left;
    letter-spacing: 0.5px;
}

.bio-second {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 500px;
    text-align: left;
    letter-spacing: 0.5px;
}

.about-divider {
    width: 100%;
    max-width: 100%;
    margin: 60px auto;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-divider {
    width: 70px;
    max-width: 100%;
    margin: 30px auto;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* GEAR + SOCIALS — centered */
.about-gear,
.about-socials {
    text-align: center;
}

.about-gear h2,
.about-socials h2 {
    font-size: 30px;
    margin-bottom: 50px;
    text-align: center;
}

.about-gear ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 80%;
}

.about-gear li {
    font-size: 18px;
    margin-bottom: 8px;
    opacity: 0.85;
    text-align: left;
}

.contact-info {
    font-size: 18px;
    opacity: 0.85;
    margin-top: 12px;
    text-align: center;
    line-height: 1.6;
}

/* SOCIAL LINKS */
.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.social-links a {
    font-size: 30px;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.social-links a:hover {
    opacity: 1;
}

.about-socials .social-links a {
    color: #ffffff;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.about-socials .social-links a:hover {
    opacity: 1;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
    padding-top: 200px;
    color: var(--text);
}

/* Main container */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Left block */
.contact-info-block h2 {
    font-size: 28px;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.contact-info-block p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.8;
}

.contact-details p {
    margin: 10px 0;
}

.contact-details a {
    color: var(--accent);
    text-decoration: none;
}

.contact-socials {
    margin-top: 25px;
    display: flex;
    gap: 25px;
}

.contact-socials a {
    font-size: 30px;
    color: var(--muted);
    transition: 0.25s ease;
}

.contact-socials a:hover {
    color: var(--accent);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-alt);
    color: var(--text);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    height: 160px;
    resize: none;
}

.contact-btn {
    padding: 14px 20px;
    background: var(--accent-soft);
    border: 1px solid var(--border-subtle);
    color: var(--text);
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.25s ease;
}

.contact-btn:hover {
    background: var(--accent);
    color: #000;
}

/* Mobile */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .contact-hero h1 {
        font-size: 28px;
    }
}

/* =========================================================
   THANK YOU PAGE
   ========================================================= */

.thankyou-page {
    height: 100vh; /* full viewport height */
    padding-top: 0; /* remove extra spacing */
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg);
    color: var(--text);
    overflow: hidden; /* prevents scroll */
}

.thankyou-container {
    text-align: center;
    padding: 0 40px;
    max-width: 600px;
}

.thankyou-container h1 {
    font-size: 36px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.thankyou-container p {
    font-size: 16px;
    opacity: 0.75;
    margin-bottom: 40px;
}

.thankyou-btn {
    display: inline-block;
    padding: 14px 26px;
    background: var(--accent-soft);
    border: 1px solid var(--border-subtle);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: 0.25s ease;
}

.thankyou-btn:hover {
    background: var(--accent);
    color: #000;
}

/* Mobile */
@media (max-width: 900px) {
    .thankyou-container h1 {
        font-size: 28px;
    }

    .thankyou-container p {
        font-size: 14px;
    }
}

/* =========================================================
    MOBILE NAV
   ========================================================= */
@media (max-width: 900px) {

    .nav-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        grid-template-columns: auto 1fr auto;
        padding: 0 16px;
    }

    #navMenu.mobile-nav {
        background: rgba(0, 0, 0, 0.9); /* must be semi‑transparent for blur to work */
        position: fixed;
        height: 100vh;
    }

    #navMenu.mobile-nav i.fa,
    #navMenu.mobile-nav i.fab,
    #navMenu.mobile-nav i.fas,
    #navMenu.mobile-nav i.fa-brands {
        font-size: 28px;   /* increase this number to make them bigger */
        margin: 0 10px;
    }

    .logo {
        justify-self: start;
        font-size: 14px;
        letter-spacing: 0.18em;
        white-space: nowrap;
    }

    /* Show burger on mobile */
    .hamburger {
        display: flex !important;
        margin-left: auto;
    }

    /* Hide desktop nav + desktop socials */
    .desktop-nav,
    .social-icons {
        display: none !important;
    }
    
    .mobile-socials {
        display: flex;
    }

    /* Reset hero video offset */
    .hero-video {
        margin-top: 0;
        height: 20vh;
        max-height: none;
    }

    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 20px; /* optional, keeps spacing clean */
    }
    
    .masonry-grid {
        column-count: 2;
    }

    /* Stack video + info vertically */
    #videoModal .video-modal-main {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Make video full width */
    #videoModal .video-modal-left iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
    }

    /* Center title + description */
    #videoModal .video-modal-right {
        max-height: 40vh; /* adjust if needed */
        overflow-y: hidden;
        padding: 0;
        display: flex;
        flex-direction: column;
        -webkit-overflow-scrolling: touch;
    }

    /* Title stays fixed at the top */
    #videoModal #videoTitle {
        flex-shrink: 0;
        margin-bottom: 10px;
    }

    /* Description becomes scrollable */
    #videoModal #videoDescription {
        overflow-y: auto;
        flex-grow: 1;
        -webkit-overflow-scrolling: touch;
        padding-right: 6px; /* prevents text touching the edge */
        /* mask-image: linear-gradient(to bottom, black 80%, transparent 100%); */
    }

    #videoTitle {
        font-size: 20px;
        margin-bottom: 10px;
        text-align: center;
    }

    #videoDescription {
        font-size: 12px;
        opacity: 0.8;
    }

    /* Horizontal scroll strip */
    #videoModal .video-modal-strip {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
    }

    #videoModal .video-modal-strip .video-thumb {
        min-width: 150px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    #videoModal .video-close-btn {
        top: 10px;
        right: 10px;
        z-index: 9999;
        background: none !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    #videoModal .video-close-btn i {
        font-size: 28px; /* adjust if you want it bigger */
    }

    body.modal-open {
        overflow: hidden;
        height: 100vh;
    }

    .about-hero {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
        padding: 0 0;   /* ← THIS is the culprit */
    }

    .about-photo {
        max-width: 200px;
        margin: 0 auto;
    }

    .about-bio h1 {
        max-width: 900px; /* increase this number to widen */
        font-size: 16px;
        margin: 0 auto;
        margin-bottom: 20px;
        text-align: center;
        letter-spacing: 2px;
    }

    .bio-first {
        font-size: 12px;
        line-height: 1.6;
        opacity: 0.85;
        max-width: 300px;
        text-align: center;
        letter-spacing: 0.5px;
    }

    .bio-second {
        font-size: 12px;
        line-height: 1.6;
        opacity: 0.85;
        max-width: 300px;
        text-align: center;
        letter-spacing: 0.5px;
    }

    .contact-divider {
        width: 70px;
        max-width: 100%;
        margin: 30px auto;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .about-gear,
    .about-socials {
        text-align: center;
    }

    .about-gear h2,
    .about-socials h2 {
        font-size: 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    .about-gear ul {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
    }

    .about-gear li {
        font-size: 12px;
        margin-bottom: 8px;
        opacity: 0.85;
        text-align: left;
    }

    .contact-info {
        font-size: 14px;
        opacity: 0.85;
        margin-top: 12px;
        text-align: center;
        line-height: 1.6;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-top: 20px;
    }

    .social-links a {
        font-size: 25px;
        opacity: 0.7;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

    /* Divider spacing */
    .about-divider {
        margin: 50px 0; /* reduce from default ~60–80px */
    }

    /* GEAR + CONTACT section spacing */
    .about-gear,
    .about-socials {
        margin: 0; /* remove default section spacing */
        padding: 0;
    }

    /* Headings */
    .about-gear h2,
    .about-socials h2 {
        margin: 0 10 12px 0; /* tighten heading spacing */
        letter-spacing: 1px;
    }

    /* Lists */
    .about-gear ul {
        margin: 0;
        padding: 0;
        list-style: none; /* optional, if you want clean bullets */
    }

    .about-gear li {
        margin: 4px 0; /* tighter list spacing */
    }

    /* Contact paragraphs */
    .contact-info {
        margin: 20px 0; /* reduce big paragraph gaps */
    }
}

@media (max-width: 1400px) { 
    .masonry-grid { 
        column-count: 3; 
    } 
}

@media (max-width: 600px)  { 
    .masonry-grid { 
        column-count: 1; 
    } 
}