:root {
    --primary: #fdb10b;
    --dark: #212123;
    --light: #f4f4f4;
    --text: #212123;
    --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;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

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

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

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


/* 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(--light);
    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 PRIVADO */
.hero-privado {
    background: linear-gradient(to right, #1e1e1e, #2e2e2e);
    color: #fdb10b;
    text-align: center;
    padding: 4em 1em;
}

.hero-privado h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5em;
    text-shadow: 1px 1px 0 #00000044;
}

.hero-privado p {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}


body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.background-image {
    width: 100%;
    display: block;
}

.hotspot {
    position: absolute;
    width: 5%;
    height: 5%;
    cursor: pointer;
    z-index: 5;
    background: #ff5500;
    border-radius: 100px;
 /*   border-color: #212123;
    border-width: thin;
    border-style: solid;*/
}


.card {
    position: absolute;
    display: none;
    width: 200px;
    background-color: #fff;
    color: #212123;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
}


.card img {
    width: 100%;
    border-radius: 6px;
}

.card p {
    color: #212123;
}


/* SECCIONES */
.section {
    padding: 3em 1em;
    background-color: #fafafa; /* Fondo gris muy claro */
}

.section.light {
    background-color: #ebebeb; /* Alternativa para secciones claras */
}

/* Tipografía jerárquica */
h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #212123; /* Títulos en gris muy oscuro */
}


h2 {
    margin-top: 2rem;
    border-left: 4px solid #aaa; /* Línea sutil en el título */
    padding-left: 0.5em;
}

h3 {
        margin-top: 2rem;
}

/* Estilo de las listas */
ul {
    list-style-type: none; /* Eliminar los puntos por defecto */
    padding: 0;
    margin: 0;
}

ul li {
    font-size: 1.1rem;
    background-color: #f9f9f9; /* Fondo claro para cada ítem */
    border-left: 5px solid #fdb10b; /* Línea azul a la izquierda */
    padding: 0.75em 1.5em;
    margin-bottom: 0.75em;
    border-radius: 8px;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Hover para los ítems de la lista */
ul li:hover {
    transform: translateY(-3px); /* Eleva el ítem al pasar el cursor */
    background-color: #eacb87; /* Cambio de color al pasar el cursor */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra más fuerte */
}

/* Lista numerada o con iconos personalizados */
ul.custom-icons li {
    background-color: #fff; /* Fondo blanco para más contraste */
    padding-left: 2em;
    position: relative;
}

ul.custom-icons li:before {
    content: '\2022'; /* Usamos un punto (puedes reemplazarlo por cualquier otro símbolo o ícono) */
    font-size: 2rem;
    color: #1e88e5; /* Color azul para los iconos */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Alternando colores de fondo de la lista */
ul.alternating li:nth-child(odd) {
    background-color: #f1f1f1;
}

ul.alternating li:nth-child(even) {
    background-color: #ffffff;
}
.card-grid_2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.card_2 {
    position: relative;
    width: 100%;
    height: 250px;
    aspect-ratio: 1/1;
    margin: auto;
    color: #212123;
    background: #ffffff;
    overflow: hidden;
    border-radius: 20px;
}

.temporary_text_2 {
    color: #f8f8f8;

    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    flex-direction: column;  /* imagen y texto uno debajo del otro */
    height: 100%;            
    text-align: center;      /* opcional, centra el texto */
    padding: 1rem;
}


.temporary_text_2 img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-weight: bold;
    color: #f8f8f8;
}

.card_title_2 {
    font-weight: bold;
}

.card_content_2 {
    position: absolute;
    left: 0;
    bottom: 0;
      /* edit the width to fit card */
    width: 100%;
    padding: 15px;
    background: #fdb10b;
    border-top-left-radius: 20px;
      /* edit here to change the height of the content box */
    transform: translateY(120px);
    transition: transform .50s;
}

.card_content_2::before {
    content: '';
    position: absolute;
    top: -47px;
    right: -45px;
    width: 100px;
    transform: rotate(-175deg);
    border-radius: 50%;
    box-shadow: inset 48px 48px #f2f2f2;
}

.card_title_2 {
    color: #212123;
    line-height: 15px;
}

.card_subtitle_2 {
    display: block;
    font-size: 12px;
    margin-bottom: 10px;
}

.card_description_2 {
    font-size: 14px;
    opacity: 0;
    transition: opacity .5s;
}

.card_2:hover .card_content_2 {
    transform: translateY(0);
}

.card_2:hover .card_description_2 {
    opacity: 1;
    transition-delay: .25s;
}


.card_content_2 {
  max-height: 220px;           /* Ajusta según diseño de tu tarjeta */
    overflow-y: auto;
    padding-right: 8px;
    scroll-behavior: smooth;
}

/* Scroll estilizado */
.card_content_2::-webkit-scrollbar {
    width: 6px;
}

.card_content_2::-webkit-scrollbar-track {
    background: #e6e6e6;
    border-radius: 4px;
}

.card_content_2::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.card_content_2::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}

.card_content_2 {
    max-height: 220px;
    overflow-y: hidden;
}

.card_content_2:hover {
    overflow-y: auto;
}

@media (hover: none) and (pointer: coarse) {
    .card_2:hover .card_content_2 {
        transform: translateY(100px); /* Desactiva hover en móviles */
    }

    .card_2:hover .card_description_2 {
        opacity: 0;
    }
}

