/* ========================================
   G-Zero Page Styles
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   Custom Fonts (Matritsa)
   ======================================== */
@font-face {
    font-family: 'Matritsa';
    src: url('../fonts/fbmatritsanarrowen-blackwebfont.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Matritsa';
    src: url('../fonts/fbmatritsanarrowen-mediumwebfont.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Matritsa';
    src: url('../fonts/fbmatritsanarrowen-mediumwebfont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Matritsa', sans-serif;
    background-color: #000;
    color: white;
    overflow-x: hidden;
}

/* ========================================
   Logo Header (Unlinked)
   ======================================== */
.site-logo-header {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.site-logo-header img {
    max-width: 200px;
    height: auto;
}

/* ========================================
   Video Modal
   ======================================== */
.gzero-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gzero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.gzero-video-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    z-index: 1;
    margin: 0 auto;
    left: 0%;
    transform: translateX(0%);
    right: 0;
}

.gzero-video-content iframe {
    width: 100%;
    height: 100%;
}

.gzero-video-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Video Modal Mobile Responsive */
@media screen and (max-width: 768px) {
    .gzero-video-content {
        width: 80%;
        left: 38%;
        transform: translateX(-50%);
    }
    .gzero-video-content iframe {
        width: 100%;
        aspect-ratio: 9 / 16;
        height: auto;
    }
    .gzero-video-close {
        position: absolute;
        top: -40px;
        right: 50%;
        transform: translateX(50%);
        font-size: 32px;
    }
}

@media screen and (max-width: 480px) {
    .gzero-video-content {
        width: 85%;
        left: 0;
        right:0;
        margin:0 auto;
        transform: translateX(0%);
    }
    .gzero-video-content iframe {
        width: 100%;
        aspect-ratio: 9 / 16;
        height: auto;
    }
    .gzero-video-close {
        position: absolute;
        top: -35px;
        right: 2%;
        transform: translateX(50%);
        font-size: 28px;
    }
}

/* ========================================
   Scroll Animations
   ======================================== */
.gzero-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.gzero-animate.gzero-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Left slide animation */
.gzero-animate.gzero-animate-left {
    transform: translateX(-50px);
}

.gzero-animate.gzero-animate-left.gzero-animated {
    transform: translateX(0);
}

/* Right slide animation */
.gzero-animate.gzero-animate-right {
    transform: translateX(50px);
}

.gzero-animate.gzero-animate-right.gzero-animated {
    transform: translateX(0);
}

/* Hero specific animations */
.gzero-hero-logo > img.gzero-animate {
    /* transform: translateY(30px); */
}

.gzero-hero-text.gzero-animate-left {
    transform: translateX(50px);
}

.gzero-holster-image.gzero-animate {
    transform: translateY(30px);
}

.gzero-description-text.gzero-animate {
    transform: translateY(30px);
}

/* ========================================
   Hero Section
   ======================================== */
.gzero-hero {
    background-color: #000;
    background-image: url('images/g-zero/bg.png');
    background-position: bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding: 130px 0;
    width: 100%;
    margin: 0;
}

.gzero-hero-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2.617924em;
}

.gzero-hero-logo img {
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
}

.gzero-hero-text {
    padding-top: 50px;
    font-family: 'Matritsa', sans-serif;
    font-weight: 500;
    text-align: center;
    color: white;
    width: 100%;
    font-size: 98px;
    letter-spacing: 1px;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.gzero-hero-text .micro-holster {
    color: #EB6608;
}

.gzero-holster-image {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    width: 100%;
}

.gzero-holster-image img {
    max-width: 500px;
    height: auto;
    display: inline-block;
}

.gzero-description-text {
    color: white;
    font-size: 45px;
    font-weight: 500;
    font-family: 'Matritsa', sans-serif;
    text-align: center;
    width: 100%;
    line-height: 1.3;
    padding-bottom: 40px;
}

/* ========================================
   Two Column Section
   ======================================== */
.gzero-two-column {
    display: flex;
    width: 100%;
    height: 600px;
    background-color: #000;
}

.gzero-column-left,
.gzero-column-right {
    position: relative;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gzero-button {
    background-color: #ea6608;
    border-radius: 10px;
    font-size: 35px;
    font-weight: 500;
    font-family: 'Matritsa', sans-serif;
    text-align: center;
    color: white;
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: calc(100% - 40px);
}

.gzero-button:hover {
    background-color: #d45c07;
}

.play-icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115px;
    height: 115px;
    background-color: white;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 35px solid black;
    margin-left: 8px;
}

/* ========================================
   Why G-ZERO Section
   ======================================== */
.gzero-why-section {
    display: flex;
    width: 100%;
    background-color: transparent;
    padding: 80px 0 0;
    margin-bottom: -70px;
    position: relative;
    z-index: 1;
}

.gzero-why-left,
.gzero-why-right {
    width: 50%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gzero-why-title {
    color: #eb6608;
    font-size: 88px;
    font-family: 'Matritsa', sans-serif;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.1;
}

.gzero-why-title .why-text {
    font-weight: 500;
}

.gzero-why-title .gzero-text {
    font-weight: 700;
}

.gzero-why-description {
    color: #6f6f6e;
    font-size: 40px;
    font-family: 'Matritsa', sans-serif;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
}

.gzero-why-right img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   FEATURES Section
   ======================================== */
.gzero-features-section {
    display: flex;
    width: 100%;
    background-color: #919da6;
    padding: 100px 0;
}

.gzero-features-left,
.gzero-features-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gzero-features-left {
    padding: 0 40px 0 0;
}

.gzero-features-left img {
    max-width: 638px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.gzero-features-right {
    padding: 0 0 0 40px;
    align-items: center;
}

.gzero-features-content {
    text-align: center;
}

.gzero-features-heading {
    font-family: 'Matritsa', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.gzero-models-heading {
    margin-bottom: 0;
}

.gzero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.gzero-features-list li {
    font-family: 'Matritsa', sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: white;
    text-align: center;
    line-height: 1.3;
}

.gzero-bold {
    font-weight: 700;
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media screen and (max-width: 768px) {
    /* Show hero elements immediately without scroll animation */
    .gzero-hero .gzero-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-logo-header {
        top: 10px;
        left: 10px;
    }

    .site-logo-header img {
        max-width: 140px;
    }

    .gzero-hero {
        padding: 80px 0;
        background-size: 100% auto;
    }

    .gzero-hero-logo {
        padding: 0 1em;
    }

    .gzero-hero-logo img {
        max-width: 250px;
    }

    .gzero-hero-text {
        padding-top: 30px;
        font-size: 48px;
        letter-spacing: 1px;
        line-height: 1.1;
        overflow-wrap: break-word;
    }

    .gzero-holster-image {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .gzero-description-text {
        font-size: 28px;
        padding-bottom: 30px;
    }

    .gzero-two-column {
        flex-direction: column;
        height: auto;
    }

    .gzero-column-left,
    .gzero-column-right {
        width: 100%;
        height: 400px;
    }

    .gzero-button {
        font-size: 28px;
        padding: 12px 30px;
    }

    .gzero-why-section {
        flex-direction: column;
    }

    .gzero-why-left,
    .gzero-why-right {
        width: 100%;
        padding: 20px;
    }

    .gzero-why-title {
        font-size: 48px;
        margin-bottom: 30px;
    }

    .gzero-why-description {
        font-size: 28px;
    }

    .gzero-features-section {
        flex-direction: column;
        padding: 60px 0;
    }

    .gzero-features-left,
    .gzero-features-right {
        width: 100%;
        padding: 20px;
    }

    .gzero-features-left {
        padding: 0 20px;
    }

    .gzero-features-right {
        padding: 20px;
    }

    .gzero-features-heading {
        font-size: 24px;
    }

    .gzero-features-list li {
        font-size: 20px;
    }

    .play-icon-container {
        width: 80px;
        height: 80px;
    }

    .play-icon {
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 25px solid black;
        margin-left: 5px;
    }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media screen and (max-width: 480px) {
    .site-logo-header {
        top: 8px;
        left: 8px;
    }

    .site-logo-header img {
        max-width: 100px;
    }

    .gzero-hero {
        padding: 60px 0;
        background-size: 100% auto;
    }

    .gzero-hero-logo img {
        max-width: 180px;
    }

    .gzero-hero-text {
        padding-top: 20px;
        font-size: 32px;
        letter-spacing: 1px;
        line-height: 1.1;
        overflow-wrap: break-word;
    }

    .gzero-holster-image {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .gzero-description-text {
        font-size: 20px;
        padding-bottom: 20px;
    }

    .gzero-two-column {
        flex-direction: column;
        height: auto;
    }

    .gzero-column-left,
    .gzero-column-right {
        width: 100%;
        height: 300px;
    }

    .gzero-button {
        font-size: 20px;
        padding: 10px 25px;
        border-radius: 8px;
    }

    .gzero-why-section {
        flex-direction: column;
        margin-bottom: -48px;
    }

    .gzero-why-left,
    .gzero-why-right {
        width: 100%;
        padding: 15px;
    }

    .gzero-why-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .gzero-why-description {
        font-size: 20px;
    }

    .play-icon-container {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        border-left: 20px solid black;
        margin-left: 4px;
    }

    .gzero-features-section {
        flex-direction: column;
        padding: 40px 0;
    }

    .gzero-features-left,
    .gzero-features-right {
        width: 100%;
        padding: 15px;
    }

    .gzero-features-left {
        padding: 0 15px;
    }

    .gzero-features-right {
        padding: 15px;
    }

    .gzero-features-heading {
        font-size: 20px;
    }

    .gzero-features-list li {
        font-size: 16px;
    }
}
