:root {
    --primary: #fdb10b;
    --dark: #212123;
    --light: #f4f4f4;
    --text: #ffffff;
    --accent: #212123;
}

/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background-color: #fdb10b;
    border-radius: 8px;
    border: 2px solid #f1f1f1;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #fdb10b #212123;
}


/* General */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e5e7e9;
    color: #333;
    line-height: 1.6;
}

/*-------------------------------------------------------------------*/


/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 1rem;
    background-color: var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo a{
    color: #fdb10b;             /* Color base del texto */
    text-decoration: none;        /* Quitar subrayado si lo deseas */
    transition: color 0.3s ease;  /* Animación suave */

}

nav a {
    margin-left: 2rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

/*-----------------------------------------------------------------*/
/* CONTENEDOR DEL DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 400;
    color: (--text);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropbtn:hover {
    color: #fdb10b;
}

/* ESTILO DE SUBMENÚ */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #212123;
    backdrop-filter: blur(6px);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    animation: dropdownFade 0.25s ease-out;
    z-index: 100;
}

@keyframes dropdownFade {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ITEMS DEL SUBMENÚ */
.dropdown-content a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: (--text);
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-left: 3px solid transparent;
    background-color: #212123;
}

.dropdown-content a:hover {
    background-color: #414144;
    color: #ffffff;
    border-left: 3px solid #fdb10b;
}

/* ACTIVACIÓN AL HOVER */
.dropdown:hover .dropdown-content {
    display: block;
}

/* RESPONSIVO */
@media (max-width: 1000px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        backdrop-filter: none;
        background-color: #212123;
        border-radius: 0;
        padding: 0;
    }

    .dropbtn {
        width: 100%;
        text-align: left;
    }

    .dropdown-content a {
        padding-left: 1rem;
        border-left: none;
    }
}

/* BOTÓN HAMBURGUESA */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    color: var(--primary);
    border: none;
    cursor: pointer;
}

/* RESPONSIVO */
@media (max-width: 1000px) {
        .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--accent);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }

    .nav-links a {
        padding: 0.5rem 0;
        border-bottom: 1px solid #333;
    }

    .nav-links.show {
        display: flex;
    }
}

.contact-info {
    text-align: center;
    color: #ffffff;

    border-radius: 10px;
}

.contact-info a {
    color: #fdb10b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffffff;
}

.social-links {
    margin-top: 0.5rem;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer {
    background-color: #212123;
    color: #999;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
}

.footer-bottom a {
    color: #666;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fdb10f;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-col p, .footer-col a {
    color: white;
    margin-bottom: 0.5rem;
    display: block;
    text-decoration: none;
    font-size: 0.95rem;
    text-align: left;
}

.footer-col a:hover {
    color: #fdb10b;
}

.footer-col.direccion {
    margin-right: 6rem;
}

.social-links a {
    margin-right: 0.75rem;
    font-size: 1.2rem;
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    border-top: 1px solid #2f3b3f;
    padding-top: 1rem;
}



.footer-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    text-align: left;
    width: 100%;
    padding: 0.5rem 0;
    font-weight: bold;
}

.footer-content {
  display: block; /* visible por defecto en escritorio */
}

@media (max-width: 1000px) {
    .footer-toggle {
        cursor: pointer;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        align-items: center
    }

    .footer-col.direccion {
        margin-right: 0;
    }

    .footer-content {
        display: none;
    }

    .footer-col.active .footer-content {
        display: block;
    }

    .footer-toggle {
        text-align: center;
        width: 100%;
    }

    .footer-col {
    flex: 0 1 auto;
    padding-bottom: 1rem;
    }
}

/* HERO / ENCABEZADO */
.hero{
    background: linear-gradient(to right, #1e1e1e, #2e2e2e);
    color: #fdb10b;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #fdb10b;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    color: #fdb10b;
}

.container {
    max-width: 100%;
    
    padding: 30px 30px;
}

h1, h2 {
    color: #212123;
    margin-top: 0;
}

.intro {
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Selector de botones */
.selector {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Espacio entre botones */
    flex-wrap: wrap; /* Para que se acomoden bien en móviles */
    margin: 1.5rem 0;
}

.selector button {
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    background-color: #525253;
    border-radius: 8px;
    font-weight: 600;
    color: #fdb10b;
    transition: background-color 0.3s ease, transform 0.2s;
}

.selector img {
    width: 120px;
    height: 50px;
    object-fit: contain; /* O "cover" si prefieres recorte */
}


.selector button:hover { 
    background-color: #212123;
    transform: scale(1.03);
}

.selector button.active {
    background-color: #212123;
    color: white;
}

/* Secciones de contenido */
.content-section {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.content-section.active {
    display: block;
}

.card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

a {
    color: #fdb10b;                  /* Color base del texto */
    text-decoration: none;        /* Quitar subrayado si lo deseas */
    transition: color 0.3s ease;  /* Animación suave */
}

a:hover {
    color: #fdb10b;               /* Color al hacer hover*/
    text-decoration: underline;   /* Subrayado al pasar el mouse */
}

.card-flex {
    display: flex;

    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;


    justify-content: center; /* o space-between según tu diseño */


    align-items: stretch;
}




.card-text {
    flex: 1 1 60%;
}

.card-img {
    flex: 1 1 30%;
    text-align: center;
}   

.card-img img {
    width: 100%;
    height: 300px; /* Puedes ajustar este valor */
    object-fit: contain;
    border-radius: 8px; /* Opcional, para que se vea mejor */
}


@media (max-width: 768px) {
    .card-flex {
        flex-direction: column;
        align-items: left;
    }

    .card-text, .card-img {
        flex: 1 1 100%;
        text-align: left;
    }

    .card-img img {
        max-width: 250px;
        height: auto;
    }
}




.btn {
    align-items: center;
    background-color: transparent;
    color: #212123;
    cursor: pointer;
    display: flex;
    font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    outline: 0;
    border: 0;
    padding: 1rem;
}

.btn:before {
    background-color: #212123;
    content: "";
    display: inline-block;
    height: 1px;
    margin-right: 10px;
    transition: all .42s cubic-bezier(.25,.8,.25,1);
    width: 0;
}

.btn:hover:before {
    background-color: #212123;
    width: 3rem;
}

ul {
    padding-left: 20px;
    margin-top: 10px;
}

ul li {
    margin-bottom: 8px;
}

/* Tabla */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    border-radius: 10px; 
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

th, td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0; 
    text-align: left;
}

th {
    background-color: #a6c4de;
    color: white;
}

/* Animaciones */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

/* BOTONES / CTA */


/* RESPONSIVO */
@media (min-width: 768px) {
.hero, .section, .cta {
    padding-left: 4em;
    padding-right: 4em;
}
}

.button {
    --black: #000000;
    --ch-black: #141414;
    --eer-black: #1b1b1b;
    --night-rider: #2e2e2e;
    --white: #ffffff;
    --af-white: #f3f3f3;
    --ch-white: #e1e1e1;
    position: relative;
    padding: 24px 64px;
    border-radius: 5px;
    color: var(--night-rider);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0px;
    background-color: var(--white);
    border: solid 1px var(--ch-white);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
}

.button .button-text {
    position: relative;
    z-index: 2;
}

.button .fill-container {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    padding-bottom: 100%;
    transform: translateY(-50%) rotate(180deg);
}

.button .fill-container::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--af-white);
    border-radius: 50px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateY(-100%);
}

.button:hover {
    transform: translateY(-4px);
    color: var(--black);
}

.button:hover .fill-container {
    transform: translateY(-50%) rotate(0);
}

.button:hover .fill-container::after {
    transform: translateY(0);
}


.button  {
    width: 1.6em;
    margin: -0.2em 0.8em 1em;
    position: absolute;
    display: flex;
    transition: all 0.6s ease;
}

span{
    padding-right: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
    font-size: 2rem;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
}
