/* =============================================
   GP-0 & GP-2 Pages - Shared Styles
   ============================================= */

/* Active nav link */
.active-nav {
    color: var(--primary-color) !important;
}

/* ---- Hero ---- */
.gp-hero {
    position: relative;
    overflow: hidden;
    min-height: 75vh;
}

.gp-hero-overlay {
    background: linear-gradient(
        100deg,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.45) 60%,
        rgba(0,0,0,0.15) 100%
    ) !important;
}

/* Hero Slider Images */
.hero-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.hero-slider-img.active {
    opacity: 1;
    z-index: 0;
}

.gp-hero-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.gp-hero-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.gp-hero-title h1 {
    font-family: 'Oswald', var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    text-align: right;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.gp-hero-dots {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 15px;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: transparent;
    border: 3px solid var(--primary-color);
    transform: skewX(-20deg);
    cursor: pointer;
}
.dot.active {
    background-color: var(--primary-color);
}

/* ---- GP0 / GP2 Selection Cards ---- */
.gp-nav-cards {
    background-color: #ffffff;
    padding: 0;
    border-bottom: 2px solid #eee;
}

.gp-cards-grid {
    display: flex;
    width: 100%;
    margin: 0;
}

.gp-card {
    flex: 1;
    background-color: #ffffff;
    padding: 30px 40px;
    position: relative;
    text-align: left;
    border-right: 1px solid #ddd;
    display: block;
    text-decoration: none;
}
.gp-card:last-child {
    border-right: none;
}

.gp-card.single-card {
    max-width: 50%;
    border-bottom: 4px solid var(--primary-color);
    border-right: none;
}

.gp-card.single-card .gp-card-img {
    margin-left: 0;
}

.gp-card-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.gp-card-title {
    font-family: 'Oswald', var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    font-style: italic;
    line-height: 1;
}

.gp-card-expand {
    font-size: 1.5rem;
    color: #666;
    margin-top: 5px;
}

.gp-card-desc {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.gp-card-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ---- Big Logo Banner ---- */
.gp-logo-banner {
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 160px;
    display: flex;
    align-items: center;
    background: #000;
}

.gp-logo-text {
    font-family: 'Oswald', var(--font-heading);
    font-size: clamp(5rem, 15vw, 14rem);
    font-weight: 800;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1;
    padding: 0 40px;
    letter-spacing: -2px;
    transform: scaleX(1.1);
    transform-origin: left center;
}

.gp-logo-text-outline {
    -webkit-text-stroke: 2px var(--primary-color);
    color: transparent;
}

/* ---- Variant Tabs ---- */
.gp-variants-section {
    background-color: #ffffff;
    padding: 30px 0 0;
}

.gp-variants-tabs {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.variant-tab {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 10px 40px;
    font-family: 'Oswald', var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transform: skewX(-20deg);
    transition: all 0.25s ease;
}

.variant-tab span {
    display: block;
    transform: skewX(20deg);
}

.variant-tab.active {
    background: #000;
    color: red;
}

/* ---- Tech Section ---- */
.gp-tech-section {
    background-color: #ffffff;
    padding: 30px 0 60px;
    color: #000;
}

.gp-tech-section.hidden {
    display: none;
}

.tech-headers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 25px;
}

.tech-heading {
    background-color: #000;
    color: red;
    font-family: 'Oswald', var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 5px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin: 0;
}

.tech-level {
    background-color: #000;
    color: #fff;
    font-family: 'Oswald', var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 15px;
    display: inline-block;
    margin: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tech-specs p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.specs-list li {
    font-size: 0.9rem;
    color: #444;
    padding: 5px 0;
    line-height: 1.4;
}

.specs-list li strong {
    color: #000;
    margin-right: 6px;
    font-weight: 700;
}

.full-specs-btn {
    display: inline-block;
    background: #000;
    color: var(--primary-color);
    font-family: 'Oswald', var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 25px;
    text-decoration: none;
    margin-top: 20px;
    border: 1px solid #000;
    transition: all 0.3s ease;
}

.full-specs-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.tech-bike-img {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.tech-bike-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ---- GP Gallery ---- */
.gp-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.gp-gallery-item {
    overflow: hidden;
    height: 200px;
}

.gp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gp-gallery-item:hover img {
    transform: scale(1.08);
}

/* =============================================
   FIM MOTOMINI Page Styles
   ============================================= */

.fim-main {
    background-color: #050505;
    color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.fim-banner {
    background: linear-gradient(90deg, #001f5c 0%, #003399 50%, #001f5c 100%);
    position: relative;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-color);
}

.fim-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 10px, transparent 10px, transparent 20px);
    pointer-events: none;
}

.fim-banner-title {
    font-family: 'Oswald', var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.fim-banner-title span {
    color: var(--primary-color);
}

.fim-logo {
    height: 80px;
    position: relative;
    z-index: 1;
}

.fim-section {
    max-width: 1300px;
    margin: 80px auto 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.fim-section-text {
    flex: 1;
}

.fim-section-title {
    font-family: 'Oswald', var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.fim-section-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.8;
}

.fim-section-img {
    flex: 1.2;
    position: relative;
}

.fim-section-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.fim-slider-img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fim-slider-img.active {
    opacity: 1;
}

.fim-3col {
    align-items: flex-start;
}

.fim-3col .fim-section-text {
    flex: 1;
}

.fim-3col .fim-img-left {
    flex: 0.8;
}

.fim-3col .fim-img-right {
    flex: 1;
}

@media (max-width: 992px) {
    .fim-section, .fim-3col {
        flex-direction: column;
        gap: 40px;
    }
    .fim-banner-title {
        font-size: 2.2rem;
    }
}

/* =============================================
   News Page Styles
   ============================================= */

.news-main {
    background-image: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('Ohvale Images/001255_R04_civ_junior_2022_Gallery.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 140px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-title {
    font-family: 'Oswald', var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-transform: capitalize;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 50px;
}

.news-card {
    background-color: #050505;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #1a1a1a;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-img.contain {
    object-fit: contain;
    padding: 20px;
}

.news-card-content {
    padding: 25px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    font-family: 'Oswald', var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.news-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222;
    padding-top: 15px;
}

.news-read-more {
    font-family: 'Oswald', var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.news-date {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-load-more {
    background-color: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 40px;
    border: 1px solid #333;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-load-more:hover {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}



@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gp-hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
    }
    .gp-hero-title h1 {
        text-align: center;
    }
    .gp-hero-dots {
        justify-content: center;
    }
    .gp-cards-grid {
        flex-direction: column;
    }
    .gp-card {
        border-right: none;
        border-bottom: 1px solid #ddd;
        max-width: 100% !important;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .tech-bike-img {
        order: -1;
    }
    .gp-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .fim-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .gp-gallery {
        grid-template-columns: 1fr;
    }
    .fim-section {
        margin: 40px auto 0;
        padding: 0 20px;
    }
}


/* Registration Strip below FIM banner */
.reg-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: repeating-linear-gradient(
        45deg,
        var(--primary-color),
        var(--primary-color) 20px,
        #a0d800 20px,
        #a0d800 40px
    );
    color: #000;
    padding: 15px 20px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.reg-strip:hover {
    background: repeating-linear-gradient(
        45deg,
        #fff,
        #fff 20px,
        #f0f0f0 20px,
        #f0f0f0 40px
    );
    color: #000;
}

.reg-strip-bar {
    flex: 1;
    height: 2px;
    background-color: rgba(0,0,0,0.2);
    max-width: 100px;
}

