/* ===================================
   ROYER'S MOTORS - STYLES
   =================================== */

/* RESET Y VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0f0f0f;
    --color-secondary: #1F1E1E;
    --color-accent-yellow: #FFFF00;
    --color-accent-blue: #00BFFF;
    --color-accent-green: #7EC850;
    --color-text: #ffffff;
    --color-text-muted: #cccccc;
    --font-primary: 'Arial', 'Helvetica', sans-serif;
    --font-weight-bold: 700;
    --font-weight-normal: 400;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER ESTÁTICO */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    z-index: 1000;
    padding: 0.5rem 2rem;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: var(--font-weight-bold);
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.main-nav a:hover {
    color: var(--color-accent-yellow);
    background-color: rgba(255, 215, 0, 0.1);
}

/* NAVEGACIÓN VERTICAL FLOTANTE */
.vertical-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: none;
    flex-direction: column;
    gap: 2rem;
}

.vertical-nav .nav-item {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vertical-nav .nav-item:hover,
.vertical-nav .nav-item.active {
    background-color: var(--color-accent-green);
    border-color: var(--color-text);
    transform: scale(1.1);
}

.vertical-nav .nav-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.vertical-nav .nav-item:hover img,
.vertical-nav .nav-item.active img {
    filter: none;
}

/* SECCIONES GENERALES */
.section {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* HERO SECTION */
.hero-section {
    background: url('../assets/img/taller.png') center/cover no-repeat;
    position: relative;
    height: 100vh;
    padding-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 4px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    max-width: 100%;
    padding: 0 1rem;
    word-wrap: break-word;
}

/* BOTÓN CALL NOW */
.btn-call-now {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-accent-green);
    color: var(--color-text);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 200, 80, 0.3);
    margin-top: 1rem;
    opacity: 1 !important;
}

.btn-call-now:hover {
    background-color: #6DB040;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 200, 80, 0.5);
}

.btn-call-now i {
    font-size: 1.3rem;
}

/* SPANISH NOTICE */
.spanish-notice {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    font-size: 1.3rem;
    color: var(--color-accent-yellow);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: var(--font-weight-bold);
    z-index: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ABOUT SECTION */
.about-section {
    background-color: var(--color-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    text-align: justify;
}

/* SERVICES SECTION */
.services-section {
    background-color: var(--color-primary);
}

.service-block {
    margin-bottom: 3rem;
    padding: 2rem;
    border: 3px solid var(--color-accent-blue);
    border-radius: 10px;
    background-color: rgba(26, 26, 26, 0.5);
}

.service-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-yellow);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}

.service-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-images.two-images {
    grid-template-columns: repeat(2, 1fr);
}

.service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.service-img video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* CONTACT SECTION */
.contact-section {
    background-color: var(--color-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-map {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-map img {
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: auto;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.contact-info {
    text-align: center;
}

.contact-address {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* FOOTER */
.footer {
    background-color: var(--color-primary);
    padding: 3rem 2rem 1.5rem;
    border-top: 2px solid var(--color-accent-blue);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-contact,
.footer-hours,
.footer-email {
    padding: 1rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-content strong {
    color: var(--color-accent-yellow);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .service-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo img {
        height: 120px;
    }

    .main-nav {
        gap: 1.5rem;
    }

    .main-nav a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
    }

    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 0;
        max-width: 100%;
        align-items: center;
        justify-content: center;
    }

    .logo {
        justify-content: center;
        width: 100%;
    }

    .logo img {
        height: 90px;
    }

    .main-nav {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .main-nav a {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        letter-spacing: 0.5px;
    }

    .vertical-nav {
        right: 0.5rem;
        gap: 1rem;
    }

    .vertical-nav .nav-item {
        width: 50px;
        height: 50px;
    }

    .vertical-nav .nav-item img {
        width: 30px;
        height: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
        padding: 0 1rem;
    }

    .section {
        padding: 5rem 1rem 3rem;
    }

    .section-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .service-block {
        padding: 1.5rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-img img {
        height: 180px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .contact-address {
        font-size: 1rem;
    }

    .spanish-notice {
        bottom: 1rem;
        left: 1rem;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .btn-call-now {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .phone-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 70px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav a {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .hero-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .vertical-nav {
        right: 0.3rem;
        gap: 0.8rem;
    }

    .vertical-nav .nav-item {
        width: 45px;
        height: 45px;
    }

    .vertical-nav .nav-item img {
        width: 26px;
        height: 26px;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-block {
        padding: 1rem;
    }

    .spanish-notice {
        bottom: 0.5rem;
        left: 0.5rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .btn-call-now {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content p {
        font-size: 0.85rem;
    }
}