/* ==============================================
   RIO OPEN 2026 - KIA LANDING PAGE
   ALEX LOPEZ - CORPORACION JAAR - KIA HN
   29-01-2026
   ============================================== */
   
    /* Fuentes personalizadas Kia */
        @font-face {
			font-family: 'Kia Signature';
			src: url('https://rioopen.kiahonduras.com/fonts/KiaSignatureFixOTFRegular.otf') format('opentype');
			font-weight: normal;
			font-style: normal;
		}

		@font-face {
			font-family: 'Kia Signature';
			src: url('https://rioopen.kiahonduras.com/fonts/KiaSignatureFixOTFBold.otf') format('opentype');
			font-weight: bold;
			font-style: normal;
		}

		@font-face {
			font-family: 'Kia Signature Light';
			src: url('https://rioopen.kiahonduras.com/fonts/KiaSignatureFixOTFLight.otf') format('opentype');
			font-weight: 300;
			font-style: normal;
		}
        

:root {
    --kia-black: #05141F;
    --kia-white: #FFFFFF;
    --kia-red: #EA0029;
    --kia-gray: #9EA1A2;
    --kia-light-gray: #F8F9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kia Signature Regular', 'Segoe UI', sans-serif;
    color: var(--kia-black);
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: var(--kia-white);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

.hero-section,
.vehicle-section,
.sportage-hero-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
}

.content-section {
    scroll-snap-align: none;
}

/* ==============================================
   NAVBAR 
   ============================================== */

.navbar-custom {
    background: transparent;
    backdrop-filter: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(232, 232, 232, 0.2);
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    background: var(--kia-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand-right {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 30px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.navbar-custom.scrolled .navbar-brand img {
    filter: brightness(0);
    height: 20px;
}

.rio-open-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

/*Cambio de color de logo al hacer scroll - confirmar con John Pineda si es el correcto*/
.navbar-custom.scrolled .rio-open-logo {
    filter: brightness(0) saturate(100%) invert(15%) sepia(90%) saturate(6000%) hue-rotate(355deg) brightness(100%) contrast(105%);
    height: 35px;
}

/* ==============================================
   HERO SECTION
   ============================================== */

.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-image 1.5s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--kia-white);
    text-align: center;
    padding: 0 20px;
}

.hero-pretitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-title {
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    background-color: var(--kia-white);
    color: var(--kia-black);
    border: 2px solid var(--kia-white);
    padding: 14px 35px;
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    margin-left: 10px;
}

.btn-hero:hover {
    background-color: transparent;
    color: var(--kia-white);
    transform: translateY(-2px);
}

.btn-hero-sec {
    background-color: transparent;
    color: var(--kia-white);
    border: 2px solid var(--kia-white);
    padding: 14px 35px;
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    margin-left: 10px;
}

.btn-hero-sec:hover {
    background-color: var(--kia-white);
    color: var(--kia-black);
    transform: translateY(-2px);
}

/* ==============================================
   HISTORIA SECTION
   ============================================== */

.vehicle-section {
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.vehicle-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.vehicle-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(5, 20, 31, 0.1) 0%,
        rgba(5, 20, 31, 0.05) 100%
    );
    z-index: 1;
}

.vehicle-content {
    flex: 1;
    background-color: var(--kia-black);
    color: var(--kia-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
    position: relative;
    z-index: 2;
}

.vehicle-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(
        270deg,
        rgba(5, 20, 31, 1) 0%,
        rgba(5, 20, 31, 0) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.vehicle-content h2 {
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 35px;
    line-height: 1.2;
    color: var(--kia-white);
}

.historia-content {
    max-width: 600px;
}

.historia-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 25px;
    opacity: 0.95;
    color: var(--kia-white);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 45px;
}

.spec-card {
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-radius: 4px;
    position: relative;
}

.spec-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 2px;
    background-color: #fff;
    transition: width 0.4s ease;
}

.spec-card:hover::after {
    width: 50%;
}

.spec-card:hover{
    transform: translateY(-5px);
}

.spec-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--kia-white);
}

.spec-title {
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--kia-white);
}

.spec-value {
    font-size: 0.9rem;
    opacity: 0.85;
    color: var(--kia-white);
}

/* ==============================================
   SPORTAGE HEV SECTION
   ============================================== */

.sportage-hero-section {
    width: 100%;
    position: relative;
    min-height: 100vh;
}

.sportage-key-visual {
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 80px 0 60px;
}

.sportage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(5, 20, 31, 0) 0%,
        rgba(5, 20, 31, 0.05) 15%,
        rgba(5, 20, 31, 0.2) 30%,
        rgba(5, 20, 31, 0.4) 45%,
        rgba(5, 20, 31, 0.65) 60%,
        rgba(5, 20, 31, 0.85) 75%,
        rgba(5, 20, 31, 0.95) 85%,
        rgba(5, 20, 31, 1) 100%
    );
    z-index: 1;
}

.sportage-content {
    position: relative;
    z-index: 3;
    color: var(--kia-white);
    padding: 0 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.vehicle-name {
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.6);
}

.engine-type {
    font-family: 'Kia Signature Regular', sans-serif;
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.vehicle-description {
    max-width: 1100px;
    margin-bottom: 10px;
    padding: 5px 0px;
    border-radius: 6px;
    backdrop-filter: blur(1px);
}

.vehicle-description p {
    font-size: 1.18rem;
    line-height: 1.9;
    margin-bottom: 10px;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
}

.vehicle-description p:last-child {
    margin-bottom: 0;
}

.btn-sportage-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--kia-white);
    color: var(--kia-black);
    padding: 14px 35px;
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid var(--kia-white);
    
    margin-bottom: 5px;
}

.btn-sportage-hero:hover {
    background-color: transparent;
    color: var(--kia-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-sportage-hero i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-sportage-hero:hover i {
    transform: translateX(5px);
}

/* ==============================================
   EXPERIENCIAS SECTION
   ============================================== */

.content-section {
    padding: 0;
    background-color: var(--kia-white);
}

.experiences-header {
    background-color: var(--kia-white);
    padding: 100px 20px 80px;
    text-align: center;
    border-top: 6px solid var(--kia-black);
}

.experiences-title {
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 3rem;
    color: var(--kia-black);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.experiences-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--kia-black);
}

/* Layout alternado 50/50 */
.alternate-section {
    display: flex;
    min-height: 550px;
    width: 100%;
    position: relative;
}

.alternate-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.alternate-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.08);
    transition: background 0.4s ease;
}

.alternate-section:hover .alternate-image::after {
    background: rgba(0, 0, 0, 0.02);
}

.alternate-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 0;
}

.alternate-section:hover .alternate-image::before {
    transform: scale(1.02);
}

.alternate-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 70px 50px;
    text-align: center;
    position: relative;
}

.alternate-content-light {
    background-color: var(--kia-white);
    color: var(--kia-black);
}

.alternate-content-dark {
    background-color: var(--kia-black);
    color: var(--kia-white);
}

.alternate-content-gray {
    background-color: #E8E8E8;
    color: var(--kia-black);
}

/* Iconos según el fondo - ver manual de marca Kia por dudas */
.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.alternate-content-light .feature-icon {
    color: var(--kia-black);
    background-color: rgba(5, 20, 31, 0.05);
}

.alternate-content-dark .feature-icon {
    color: var(--kia-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.alternate-content-gray .feature-icon {
    color: var(--kia-black);
    background-color: rgba(5, 20, 31, 0.08);
}

.alternate-content:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 2rem;
    margin-bottom: 25px;
    max-width: 450px;
    line-height: 1.3;
}

.feature-text {
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto;
    opacity: 0.92;
}

.alternate-content-dark .feature-text {
    opacity: 0.9;
}

/* ==============================================
   FOOTER
   ============================================== */

.kia-footer {
    background-color: var(--kia-black);
    color: var(--kia-white);
    padding: 60px 0 0 0;
    margin-top: 0;
    border-top: none;
}

.footer-content {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
    max-width: 210px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-section h5 {
    font-family: 'Kia Signature Bold', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--kia-white);
    position: relative;
    padding-bottom: 15px;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--kia-white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.98rem;
    position: relative;
    display: inline-block;
    transition: color 0.3s;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--kia-white);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--kia-white);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: transparent;
    color: var(--kia-white);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-social-icons a i {
    font-size: 1rem;
}

.footer-social-icons a:hover {
    background-color: var(--kia-white);
    color: var(--kia-black);
    transform: translateY(-3px);
    border-color: var(--kia-white);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 1200px) {
    .vehicle-content {
        padding: 60px 40px;
    }

    .sportage-content {
        padding: 0 40px;
    }

    .vehicle-name {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .vehicle-content h2 {
        font-size: 2.4rem;
    }

    .vehicle-name {
        font-size: 3.5rem;
    }

    .specs-grid {
        gap: 20px;
    }

    .alternate-section {
        min-height: 500px;
    }

    .alternate-content {
        padding: 60px 40px;
    }

    .feature-title {
        font-size: 1.8rem;
    }

    .experiences-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .navbar-custom.scrolled {
        padding: 5px 0;
    }

    .navbar-brand img {
        height: 25px;
    }

    .navbar-custom.scrolled .navbar-brand img {
        height: 15px;
    }

    .rio-open-logo {
        height: 25px;
    }

    .navbar-custom.scrolled .rio-open-logo {
        height: 20px;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-pretitle {
        font-size: 0.95rem;
    }

    .btn-hero,
    .btn-hero-sec {
        padding: 12px 28px;
        font-size: 0.95rem;
        margin-left: 5px;
    }

    /* Historia Section */
    .vehicle-section {
        flex-direction: column;
        min-height: auto;
    }

    .vehicle-image {
        display:none;
    }

    .vehicle-content {
        padding: 50px 25px;
        order: 1;
    }

    .vehicle-content h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .historia-content p {
        font-size: 1rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    /* Sportage Section */
    
    .sportage-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom,
            rgba(5, 20, 31, 0) 0%,
            rgba(5, 20, 31, 0.05) 15%,
            rgba(5, 20, 31, 0.2) 30%,
            rgba(5, 20, 31, 0.4) 45%,
            rgba(5, 20, 31, 0.65) 60%,
            rgba(5, 20, 31, 0.85) 75%,
            rgba(5, 20, 31, 0.95) 85%,
            rgba(5, 20, 31, 1) 100%
        );
        opacity: 0.2;
        z-index: 1;
    }

        
    .sportage-key-visual {
        min-height: 75vh;
        padding: 40px 0;
    }

    .sportage-content {
        padding: 0 25px;
    }

    .vehicle-name {
        font-size: 2.8rem;
    }

    .engine-type {
        font-size: 1.2rem;
    }

    .vehicle-description {
        padding: 25px 10px;
        margin-bottom: 5px;
    }

    .vehicle-description p {
        font-size: 1rem;
    }

    .btn-sportage-hero {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    /* Experiencias */
    .experiences-header {
        padding: 60px 20px 50px;
    }

    .experiences-title {
        font-size: 2rem;
    }

    .alternate-section {
        flex-direction: column;
        min-height: auto;
    }

    .alternate-section.alternate-reverse {
        flex-direction: column-reverse;
    }

    .alternate-image {
        min-height: 350px;
        width: 100%;
    }

    .alternate-content {
        min-height: 400px;
        padding: 50px 30px;
        width: 100%;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2.4rem;
    }

    .feature-title {
        font-size: 1.6rem;
        max-width: 100%;
    }

    .feature-text {
        font-size: 1rem;
        max-width: 100%;
    }

    /* Footer */
    .footer-logo {
        text-align: center;
        margin: 0 auto 30px;
        display: block;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-section {
        margin-bottom: 35px;
        text-align: center;
    }

    .footer-section h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .alternate-image::before {
        display: none;
    }
    
    .alternate-image::after {
        background: rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .vehicle-name {
        font-size: 2.2rem;
    }

    .vehicle-content h2 {
        font-size: 1.8rem;
    }

    .alternate-image {
        min-height: 280px;
    }

    .alternate-content {
        min-height: 350px;
        padding: 40px 20px;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .feature-title {
        font-size: 1.4rem;
    }

    .feature-text {
        font-size: 0.95rem;
    }

    .experiences-title {
        font-size: 1.8rem;
    }

    .btn-hero,
    .btn-hero-sec {
        display: block;
        width: 90%;
        margin: 10px auto;
    }
}

/* Animaciones - pendiente confirmación mercadeo */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}


.fade-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.vehicle-image,
.sportage-key-visual {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .vehicle-image,
    .sportage-key-visual {
        background-attachment: scroll;
    }
    
    html {
        scroll-snap-type: none;
    }
}