@font-face {
  font-family: Bebas_Neue;
  src: url(fonts/Bebas_Neue/BebasNeue-Regular.ttf);
}

@font-face {
  font-family: Oswald_PS;
  src: url(fonts/Oswald/Oswald-VariableFont_wght.ttf);
}

@font-face {
  font-family: BodoniModa_WS;
  src: url(fonts/Bodoni_Moda_SC/BodoniModaSC-VariableFont_opsz_wght.ttf);
}

@font-face {
  font-family: SolomonSans;
  src: url(fonts/Solomon_Sans/Solomon_Sans/Solomon\ Sans\ Light.otf);
}

@font-face {
  font-family: SolomonSansBold;
  src: url(fonts/Solomon_Sans/Solomon_Sans/SolomonSansBold.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: SolomonSans;
    color: #ffffff;
}

body {
    background-color: #000000;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

header {
    height: 11.4vh;
    padding: 15px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
}

.logo {
    display: grid;
    font-size: 4.6vh;
    font-weight: 500;
    letter-spacing: -5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 1.6vh;
    letter-spacing: 0.1vh;
}

nav ul li a:hover {
    color: #8d0410;
}

section {
    position: relative;
    top: 11.4vh;
}

.hero {
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(0,0,0);
    text-align: center;
    padding: 0 5%;
}

.hero-content h1 {
    font-family: Oswald_PS;
    font-size: 6rem;
    margin-bottom: 20px;
    letter-spacing: 30px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.reel-container {
    left: 0;
    position: relative;
    height: 100%;
    top: 0;
}
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3fe639;
    color: #f5f5f5;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #d62b39;
    transform: translateY(-3px);
}

.portfolio {
    scroll-margin-top: 11.4vh;
    padding: 5vh 5%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
}

.category-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 5vh;
}

.category-nav button {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 2.3vh;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.category-nav button:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #8d0410;
    transition: all 0.3s ease;
}

.category-nav button:hover {
    color: #8d0410;
}

.category-nav button.active {
    color: #8d0410;
}

.projects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 37.5vh;
    gap: 5vh;
    justify-content: center;
}

.project {
    height: 100%;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.project img {
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.project:hover .project-overlay {
    opacity: 1;
}

.project:hover img {
    transform: scale(1.1);
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-overlay p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.view-project {
    padding: 8px 20px;
    background-color: #e63946;
    color: #f5f5f5;
    border-radius: 3px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-main {
    border-radius: 5px;
    position: relative;
    height: 100%;
    width: 100%;
    
}

.project-main img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.about {
    height: 88.6vh;
    scroll-margin-top: 11.4vh;
    padding: 100px 5%;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    margin-right: 50px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
}

.about-content {
    flex: 1;
    min-width: 15vw;
    max-width: 25vw;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact {
    scroll-margin-top: 11.4vh;
    padding: 100px 5%;
    background-color: #1a1a1a;
    text-align: center;
}

.contact p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 12px;
    background-color: #333;
    border: none;
    border-radius: 3px;
    color: #f5f5f5;
    font-size: 1rem;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e63946;
    color: #f5f5f5;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #d62b39;
    transform: translateY(-3px);
}

footer {
    position: relative;
    top: 11.4vh;
    padding: 0px;
    text-align: center;
    background-color: #0a0a0a;
}

.project-footer {
    display:grid;
    align-items: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    margin: 0 10px;
    font-size: 1.5rem;
}

.social-links a:hover {
    color: #e63946;
}

.copyright {
    font-size: 1.6vh;
    color: #aaa;
}

.project-stills-gallery {
    padding: 3.3vh 0;
}

@media screen and (max-width: 768px) {
  header {
    padding: 3vh 0;
  }

  .logo {
    display: inline-block;
    justify-content: center;
    align-items: center;
    justify-items: center;
    font-size: 4.4vh;
    letter-spacing: 0.3vh;
  }

  nav ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
  }

  nav ul li {
    margin-left: 0;
    margin-right: 8px;
  }

  .hero {
    padding: 0 4%;
    text-align: center;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 3.2rem;
    letter-spacing: 8px;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 6%;
  }

  .portfolio {
    padding: 0 4%;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 32px;
  }

  .category-nav {
    position: sticky;
    top: 77.5vh;
    margin: 0;
    background: rgba(17, 17, 17, 0.92);
    gap: 2vh;
    flex-wrap: wrap;
    z-index: 99;
  }

  .category-nav button {
    padding: 2vh 1vh;
    font-size: 1.6vh;
    margin: 0;
  }

  .projects {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 4% 6vh;
        grid-auto-rows: auto;
  }

  .project, .project-main {
    height: auto;
    min-height: 180px;
    border-radius: 6px;
  }

  .project img, .project-main img {
    object-fit: cover;
    width: 100%;
    display: block;
  }

  .project-detail-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 4% 30px;
    background-color: #000000;
  }

  .project-detail-hero h2 {
    font-size: 4vh;
    margin-bottom: 0.9vh;
    letter-spacing: 0.4vh;
}

.project-detail-videos {
    flex-direction: column;
}

  .video-player {
    width: 100%;
    height: auto !important;
    max-height: 52vh;
    border-radius: 6px;
  }

  .player-video {
    width: 100%;
    height: auto;
    max-height: 52vh;
    display: block;
  }

  .controls {
    padding: 8px;
    gap: 8px;
  }

  .btn {
    padding: 6px 8px;
    font-size: 14px;
  }

  .progress-wrap { margin: 0 6px; }
  .progress { height: 6px; }

  .time { display: none; }

        .about { 
            position: relative;
            padding: 48px 4%;
            flex-direction: column;
            align-items: center;
        }
        .about-image { margin-right: 0; margin-bottom: 12px; width: 100%; max-width: 700px; }

        .about-container {
            flex-direction: column;
        }

        .about-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 5px;
            display: block;
            margin: 0 auto 12px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.6);
        }

        .about-content {
            flex: none;
            width: 100%;
            max-width: 900px;
            text-align: center;
            padding: 0 6%;
        }

        .about-content p {
            font-size: 2.2vh;
            letter-spacing: 0.18vh;
            line-height: 1.7;
            color: #f0dfc9;
            margin-bottom: 12px;
        }

  footer { padding: 20px 4%; }

  #lightbox { padding: 16px; }
  #lightbox .content { max-height: 86vh; }

    .copyright {
        font-size: 1.2vh;
    }

  @media screen and (max-width: 420px) {
    .hero-content h1 { font-size: 2.6rem; letter-spacing: 6px; }
    .project img, .project-main img { height: 180px; }
    .player-video { max-height: 45vh; }
  }
}

@media screen and (max-width: 768px) {
    .project-detail-hero {
        display: flex;
        flex-direction: column-reverse;
        gap: 12px;
        padding: 20px 4% 30px;
    }

    .project-detail-hero > div {
        width: 100%;
    }

    .project-detail-hero .video-player { width: 100%; height: auto; max-height: 52vh; }
}

@media screen and (max-width: 420px) {
    .about-image img { width: 180px; height: 180px; }
    .about { padding: 36px 4%; }
    .about-content p { font-size: 2.0vh; padding: 0 4%; }
}

.mobile-bottom-nav,
.mobile-social-stack,
.mobile-bottom-cattegory-nav {
    display: none;
}

@media screen and (max-width: 768px) {
    .header-social { display: none !important; }
    header nav { display: none !important; }
    header {
    justify-content: center;
    height: 13.5vh;
}

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        top: 85vh;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(17,17,17,0.92);
        padding: 8px 12px;
        border-radius: 999px;
        gap: 18px;
        z-index: 1100;
        box-shadow: 0 6px 18px rgba(0,0,0,0.6);
        align-items: center;
    }

    .mobile-bottom-cattegory-nav {
        display: flex;
        position: sticky;
        bottom: 12px;
        z-index: 99;
        background: rgba(17,17,17,0.92);
    }

    .mobile-bottom-cattegory-nav button {
        background: rgba(17,17,17,0.92);
    }

    .mobile-bottom-nav a {
        color: #ffe1bf;
        font-size: 2vh;
        letter-spacing: 0.4vh;
        padding: 6px 8px;
        display: inline-block;
    }

    .mobile-bottom-nav a:hover {
        color: #8d0410;
    }

    .mobile-social-stack {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 18px;
        left: 12px;
        gap: 10px;
        z-index: 1100;
        align-items: center;
        background: transparent;
    }

    .mobile-social-stack a img {
        width: 36px;
        height: auto;
        display: block;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
    }
}

@media screen and (min-width: 769px) {
    .project-detail-hero {
        top: 11.4vh;
        height: 84.6vh;
        padding: 3.3vh 5%;
        text-align: left;
        background-color: #000000;
        display: grid; 
        grid-template-columns: 37% 1fr;
    }

    .project-stills-gallery {
        height: 42vh;
    }

    .project-footer {
        height: 4vh;
    }
}

.project-detail-hero div a:hover {
    color: #8d0410;
}

.project-detail-hero h2 {
    font-size: 4vh;
    font-weight: 500;
    margin-bottom: 0.9vh;
    letter-spacing: 0.4vh;
}

.project-meta {
    color: #aaa;
    margin-bottom: 20px;
}

.project-detail-hero p {
    max-width: 900px;
    color: #ddd;
}

.project-detail-hero + .portfolio {
    padding-top: 30px;
}

.project-detail-hero + .portfolio .projects {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    grid-auto-rows: 1fr;
}

.project-detail-hero + .portfolio .project {
    cursor: pointer;
}

.project .play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(230, 220, 209, 0.95);
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 30px;
}

#lightbox[aria-hidden="false"] {
    display: flex;
}

#lightbox .content {
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

#lightbox img, #lightbox video {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

@media screen and (max-width: 480px) {
    .project-detail-hero { padding: 90px 4% 40px; }
    .project-detail-hero h2 { font-size: 4vh; }
    .project .play-icon { font-size: 36px; }
}

.video-player {
    position: relative;
    background-color: #000;
    border-radius: 6px;
    overflow: hidden;
}
.player-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}
.video-choice-container {
    height: 100%;
    gap: 0.5vw;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: 1fr 1fr 1fr;
}

.video-choice {
    width: 12.5vh;
    min-width: 110px;
    cursor: pointer;
    color: #eee;
    font-size: 1.3vh;
    text-align: center;
}

.video-choice img {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    border: 2px solid transparent;
}

.video-choice.active img {
    border-color: #8d0410;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.video-choice .title {
    margin-top: 6px;
    color: #cfc6bd;
}

.controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.6));
}
.btn {
    background: rgba(230, 220, 209, 0.06);
    color: #e6dcd1;
    border: 1px solid rgba(230,220,209,0.06);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}
.btn:hover { background: rgba(230,220,209,0.12); }
.playpause { font-size: 14px; }
.fullscreen { margin-left: auto; }
.progress-wrap { flex: 1; margin: 0 6px; }
.progress {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255,255,255,0.12);
    border-radius: 6px;
    outline: none;
}
.progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #8d0410;
    box-shadow: 0 0 0 4px rgba(230,57,70,0.12);
}
.time { color: #d7cfc8; font-size: 0.85rem; min-width: 100px; text-align: right; }

@media screen and (max-width: 480px) {
    .controls { gap: 6px; padding: 6px; }
    .time { display: none; }
}

.video-player:fullscreen .controls,
.video-player:-webkit-full-screen .controls,
.video-player:-moz-full-screen .controls,
.video-player.is-fullscreen .controls {
    bottom: 26px;
    padding: 14px 20px;
    gap: 14px;
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.45));
}
.video-player:fullscreen .btn,
.video-player:-webkit-full-screen .btn,
.video-player:-moz-full-screen .btn,
.video-player.is-fullscreen .btn {
    padding: 10px 14px;
    font-size: 16px;
}
.video-player:fullscreen .progress,
.video-player:-webkit-full-screen .progress,
.video-player:-moz-full-screen .progress,
.video-player.is-fullscreen .progress {
    height: 8px;
}
.video-player:fullscreen .progress::-webkit-slider-thumb,
.video-player:-webkit-full-screen .progress::-webkit-slider-thumb,
.video-player:-moz-full-screen .progress::-moz-range-thumb,
.video-player.is-fullscreen .progress::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
}
.video-player:fullscreen { border-radius: 0; }
.video-player.is-fullscreen { border-radius: 0; }

.video-player:fullscreen .time,
.video-player:-webkit-full-screen .time,
.video-player:-moz-full-screen .time,
.video-player.is-fullscreen .time { font-size: 1rem; min-width: 140px; }