/* Reset & Base */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Bebas Neue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 50px;
    background-color: #fff;
    top: 0;
    z-index: 100;
}

/* LOGO */
.logo a {
    font-family: 'Bebas Neue', cursive;
    font-size: 35px;
    color: #253551;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    font-weight: 400;
}

/* NAV */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.2s;
    letter-spacing: -0.4px;
}

.main-nav a:hover {
    opacity: 0.6;
}

.main-nav a.active {
    border-bottom: 1px solid;
    padding-bottom: 4px;
}

.instagram-icon a {
    display: flex;
    align-items: center;
}

.instagram-icon svg {
    transition: opacity 0.2s;
}

.instagram-icon a:hover svg {
    opacity: 0.6;
}

/* MAIN CONTENT */
.site-content {
    padding: 30px 45px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    flex: 1;
}

/* HOME GRID - 2 COLUMNAS PARA 4 SECCIONES */
.home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.home-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
}

.home-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.home-item:hover img {
    filter: brightness(1.1);
}

/* Overlay Text - SOLO TEXTO VISIBLE, SIN OSCURECER IMAGEN */
.home-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
}

.home-item:hover .overlay {
    opacity: 0;
}

.home-item h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    /*text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);*/
    font-weight: normal;
}

/* GALLERY GRID */
.gallery-header h1 {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}

.gallery-item:hover img {
    opacity: 0.8;
}

/* TEXT PAGES */
.text-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.text-page h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 40px;
    color: #253551;
    margin-bottom: 30px;
    font-weight: normal;
}

.text-page p {
    margin-bottom: 20px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* FORMS */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.contact-form button {
    padding: 15px 40px;
    background: #253551;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Bebas Neue', cursive;
    font-size: 18px;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #1a263a;
}

/* FOOTER */
.site-footer {
    text-align: center;
    padding: 40px;
    color: #ccc;
    font-size: 15px;
    font-family: 'Bebas Neue', cursive;
    margin-top: auto;
    font-weight: normal;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #000;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 2001;
    font-family: 'Bebas Neue', cursive;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #000;
    cursor: pointer;
    padding: 20px;
    font-family: 'Bebas Neue', cursive;
    z-index: 2001;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 20px;
    }

    .main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .site-content {
        padding: 0 20px 40px 20px;
    }
}