@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,400;0,500;1,400;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Kanit:ital,wght@0,400;0,500;1,400;1,500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Kanit', sans-serif;
    margin-top: 50px;
    background: #0b0b0b
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    z-index: 1000;
}

/* Contenedor */
.menu-container {
    max-width: 1400px;
    margin: auto;
    padding: 0px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== LOGO ===== */
.LOGO img {
    height: 110px;
    display: block;
}

/* ===== NAV DESKTOP ===== */
.navbar ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: 0.3s ease;
    position: relative;
    font-weight: 500;
    font-style: italic;
}

/* underline elegante */
.navbar:hover a {
    color: rgba(255, 255, 255, 0.4);
}

.navbar a:hover {
    color: rgba(255, 255, 255, 1);
}

/* ===== HAMBURGUESA (OCULTA EN DESKTOP) ===== */
.hamburguer {
    display: none;
}

/* ===================================== */
/* ============ MOBILE ================= */
/* ===================================== */

@media (max-width: 900px) {

    /* Mostrar hamburguesa */
    .hamburguer {
        display: block;
        width: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburguer .bar {
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        margin: 6px 0;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Animación X */
    .hamburguer.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburguer.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburguer.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Navbar mobile */
    .navbar {
        position: fixed;
        top: 0;
        right: 0;
        width: 65%;
        height: 100vh;
        background: #000;
        padding-top: 120px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 1000;
    }

    .navbar.active {
        transform: translateX(0);
    }

    .navbar ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .navbar ul li a {
        font-size: 1.2rem;
    }

    .LOGO img {
        height: 90px;
    }

    body.menu-open {
    overflow: hidden;
}
}


/* 1. ESPACIADO PARA EL HEADER */
.main-content {
    padding-top: 100px; 
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.titulo-seccion {
    text-align: center;
    font-size: 2.6rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: #dbc79a;
}

/* 2. GRID PARA IMÁGENES VERTICALES */
.galeria-vertical {
    display: grid;
    /* Creamos columnas que se adaptan, mínimo 250px */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 2 / 3; 
    background-color: #f0f0f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}


.galeria-item:hover img {
    transform: scale(1.08);
}


.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.galeria-item:hover .overlay {
    opacity: 1;
}

.overlay span {
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.galeria-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out; 
}


.galeria-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */
.footer {
    background: #000;
    color: #cfcfcf;
    padding: 90px 8% 30px;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1400px;   
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

/* Brand */
.footer-brand img {
    width: 200px;
    
}

.footer-brand p {
    max-width: 420px;
    line-height: 1.7;
    color: #bdbdbd;
}

/* Columnas */
.footer-column h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #bdbdbd;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 70px;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #8a8a8a;
    letter-spacing: 0.5px;
}

.footer-bottom span {
    color: #bdbdbd;
}

.footer-bottom a {
    color: #bdbdbd;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto 20px;
    }
}

