/* =========================================
   VARIABLES & THEMING (Light Theme)
   ========================================= */
:root {
    --bg-color: #fcfcfc;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --accent-color: #d4a373;
    /* Un toque cálido sutil */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.main-header {
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: lowercase;
    margin-bottom: 1.5rem;
    display: block;
}

.logo a:hover {
    color: var(--accent-color);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-main);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 5%;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* =========================================
   GALLERY SECTION (Grid Layout)
   ========================================= */
.gallery-section {
    padding: 0 5% 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

/* Gallery Item Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    /* Classic portrait ratio */
    cursor: pointer;
    background-color: #f0f0f0;
    /* Temporary placeholder color */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay span {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .item-overlay span {
    transform: translateY(0);
}

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.social-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 50%;
}

.social-links a:hover {
    border-color: var(--border-color);
    color: var(--accent-color);
}

.copyright p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 4rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid var(--border-color);
}

.contact-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info-area h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-main);
}

.contact-info-area p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-main);
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--accent-color);
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-social {
    justify-content: flex-start;
    margin-top: 1rem;
    margin-bottom: 0;
}

.contact-form-area {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-color);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.2);
}

.submit-btn {
    background-color: var(--text-main);
    color: var(--bg-color);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

/* Centered Contact Layout */
.contact-container.center-content {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-area.centered-info {
    align-items: center;
}

.contact-info-area.centered-info .contact-social {
    justify-content: center;
}

/* =========================================
   LIGHTBOX MAP/MODAL
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 5rem;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: zoomIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

/* =========================================
   RESERVAS SECTION
   ========================================= */
.reservas-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.reservas-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.reservas-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reservas-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-main);
}

.reservas-info > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.session-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.session-type {
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.session-type:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.session-type h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.session-type p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.reservas-form-area {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.reservas-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-message {
    font-size: 0.95rem;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        display: none;
    }

    .main-nav:hover ul,
    .main-nav:focus-within ul {
        display: flex;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reservas-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .session-types {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}