/**
 * ESTILOS DE SAINT GYM
 * 
 * Este archivo contiene todos los estilos específicos para la página del gimnasio del hotel,
 * incluyendo secciones de título, equipamiento, horarios, servicios y diseño general.
 * Usa un diseño moderno y energético acorde con un centro de fitness de lujo.
 */

/* ==========================================
   SAINT GYM - ESTILOS INDEPENDIENTES
   ========================================== */

/* Estilos base de la página del gimnasio */
.gym-page {
    background-color: #ffffff;
    color: #2c2c2c;
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navegación usa estilos de main.css */

/* Gym Title Section */
.gym-title-section {
    background: #f5f5f5;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.gym-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gym-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23gym-pattern)"/></svg>');
    opacity: 0.3;
}

.gym-title-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.gym-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

/* Gym Main Content */
.gym-main-content {
    padding: 6rem 0;
    background: #ffffff;
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.gym-left {
    flex: 1;
    max-width: 600px;
    padding-right: 4rem;
    margin-right: 2rem;
    padding-top: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.gym-headline {
    font-size: 2.6rem;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.4;
    margin: 0 0 2rem 0;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gym-right {
    flex: 1;
    max-width: 600px;
    padding-left: 2rem;
}

.gym-description {
    max-width: 100%;
}

.description-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.description-left p,
.description-right p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    text-align: left;
}

/* ========================================
   GYM IMAGES - FITNESS GALLERY
   ======================================== */

/* Gym Images Container */
.gym-images-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin: -2rem 0 4rem 0;
    padding: 0 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    align-items: start;
    grid-template-rows: auto;
}

.gym-image-item {
    position: relative;
    overflow: hidden;
}

.gym-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Center image specific styling */
.gym-image-item:nth-child(2) {
    justify-self: center;
}

/* Responsive Design for Gym */
@media (max-width: 1200px) {
    .gym-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
        padding: 4rem 2rem;
    }
    
    .gym-left,
    .gym-right {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .gym-headline {
        font-size: 2.2rem;
    }
    
    .gym-title {
        font-size: 3rem;
    }
}

@media (max-width: 968px) {
    .description-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gym-headline {
        font-size: 2rem;
        text-align: center;
    }
    
    .description-left p,
    .description-right p {
        text-align: left;
        font-size: 1.05rem;
    }
    
    /* .gym-nav .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #b89a7e;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .gym-nav .nav-menu.active { */
        left: 0;
    }
    
    /* .gym-nav .nav-menu li {
        margin: 1rem 0;
    }
    
    .gym-nav .hamburger { */
        display: flex;
    }
}

@media (max-width: 768px) {
    .gym-title-section {
        padding: 3rem 0 2rem;
    }
    
    .gym-main-content {
        padding: 3rem 1rem;
        gap: 2.5rem;
    }
    
    .gym-headline {
        font-size: 1.8rem;
    }
    
    .gym-title {
        font-size: 2.5rem;
    }
    
    .description-left p,
    .description-right p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    
    .gym-title-section .container {
        padding: 0 1rem;
    }
    
    .gym-main-content {
        padding: 2rem 1rem;
        gap: 2rem;
    }
    
    .gym-headline {
        font-size: 1.5rem;
    }
    
    .gym-title {
        font-size: 2rem;
    }
    
    .description-left p,
    .description-right p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Responsive Design for Gym Images */
@media (max-width: 1200px) {
    .gym-images-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: -2rem 0 3rem 0;
    }
}

@media (max-width: 768px) {
    .gym-images-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
}

/* Animation and Transitions */
.gym-page * {
    transition: all 0.3s ease;
}

.gym-title-section {
    animation: fadeInUp 0.8s ease-out;
}

.gym-left,
.gym-right {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.gym-right {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus States for Accessibility */
/* Focus States en main.css */

/* Print Styles */
@media print {
    .gym-title-section::before {
        display: none;
    }
    
    .gym-page {
        background: white;
        color: black;
    }
    
    .gym-main-title,
    .gym-title {
        color: black;
    }
    
    .gym-images-container {
        display: none;
    }
}
