/* Variables CSS */
:root {
    --primary-color: #f2c26f;
    --secondary-color: #dd9933;
    --accent-color: #dd3333;
    --text-color: #333333;
    --light-color: #ffffff;
    --dark-color: #000000;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Aboreto', serif;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#site-header {
    background-color: var(--primary-color);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

#site-logo img {
    max-width: 100px;
    height: auto;
    transition: all 0.3s ease;
}

/* Navegación */
#site-navigation-wrap {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* Espacio para header fijo */
.site-main {
    margin-top: 120px;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s ease;
}

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

/* Submenú */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--light-color);
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.main-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    width: 100%;
}

.sub-menu a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-medium);
}

.sub-menu a:hover {
    background: var(--gray-light);
}

/* ===== MENÚ MÓVIL - ESTILOS COMPLETAMENTE CORREGIDOS ===== */
.mobile-menu-toggle-wrapper {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Estados del botón hamburguesa */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay del menú móvil */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== RESPONSIVE - TABLETS Y MÓVILES ===== */
@media (max-width: 768px) {
    /* Ocultar navegación desktop en móviles */
    #site-navigation-wrap {
        display: none !important;
    }
    
    /* Mostrar botón hamburguesa */
    .mobile-menu-toggle-wrapper {
        display: flex;
        align-items: center;
        margin-left: auto; /* Empuja el botón a la derecha */
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 10001;
        position: relative;
    }
    
    /* Menú móvil cuando está activo */
    .main-navigation.mobile-active {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 300px !important;
        height: 100vh !important;
        background: var(--light-color) !important;
        padding: 80px 30px 30px !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
        box-shadow: -2px 0 15px rgba(0,0,0,0.1) !important;
        transform: translateX(0) !important;
        transition: transform 0.3s ease !important;
    }
    
    /* Menú móvil cuando está inactivo */
    .main-navigation:not(.mobile-active) {
        transform: translateX(100%) !important;
    }
    
    /* Estilos de la lista del menú móvil */
    .main-menu {
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .main-menu li {
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    }
    
    .main-menu li:last-child {
        border-bottom: none !important;
    }
    
    .main-menu a {
        display: block !important;
        padding: 15px 10px !important;
        font-size: 16px !important;
        color: var(--text-color) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        font-weight: 500;
    }
    
    .main-menu a:hover {
        background: var(--primary-color) !important;
        color: var(--text-color) !important;
        padding-left: 15px !important;
    }
    
    /* Submenús en móvil */
    .main-menu .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(242, 194, 111, 0.1) !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .sub-menu li {
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    }
    
    .sub-menu a {
        padding: 12px 10px 12px 25px !important;
        font-size: 14px !important;
        color: #666 !important;
    }
    
    .sub-menu a:hover {
        background: rgba(242, 194, 111, 0.2) !important;
        color: var(--text-color) !important;
    }
    
    /* Flecha para items con submenú */
    .menu-item-has-children > a {
        position: relative;
    }
    
    .menu-item-has-children > a::after {
        content: '›';
        position: absolute;
        right: 10px;
        transition: transform 0.3s ease;
    }
    
    .menu-item-has-children > a:hover::after {
        transform: rotate(90deg);
    }
    
    /* Ajustar el header para móviles */
    #site-header-inner {
        padding: 10px 20px !important;
    }
    
    #site-logo img {
        max-width: 80px !important;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .main-navigation.mobile-active {
        width: 280px !important;
        padding: 70px 20px 20px !important;
    }
    
    #site-header-inner {
        padding: 8px 15px !important;
    }
    
    #site-logo img {
        max-width: 70px !important;
    }
    
    .main-menu a {
        padding: 14px 10px !important;
        font-size: 15px !important;
    }
}

/* Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    margin-top: 80px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

/* Placeholders de respaldo */
.placeholder-slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.placeholder-slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.placeholder-slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-color);
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 90%;
}

.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Botones del Slider - ESTILOS BASE */
.cta-button {
    display: inline-block;
    background: var(--primary-color); /* Color amarillo del header */
    color: var(--text-color) !important;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: var(--secondary-color);
    color: var(--light-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: var(--light-color);
}

/* Asegurar contraste en el slider */
.slide-content .cta-button {
    color: #333 !important;
    font-weight: 700;
}

.slide-content .cta-button:hover {
    color: white !important;
}

/* Welcome Section */
.welcome-section {
    /*padding: 80px 0;*/
    background: var(--light-color);
}

.welcome-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.welcome-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
    line-height: 1.3;
}

.welcome-image {
    margin: 40px 0;
    text-align: center;
}

.welcome-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.1),
        0 3px 10px rgba(0,0,0,0.05);
    display: block;
    margin: 0 auto;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.welcome-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(242, 194, 111, 0) 0%,
        rgba(221, 153, 51, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.welcome-img:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 
        0 25px 50px rgba(221, 153, 51, 0.2),
        0 5px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
}

.welcome-img:hover::before {
    opacity: 1;
}

.welcome-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 40px;
}

.welcome-text p {
    margin-bottom: 25px;
}

.info-box {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    /*border: 1px solid rgba(221, 153, 51, 0.15);*/
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(221, 153, 51, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border-color: rgba(221, 153, 51, 0.3);
}

.info-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 20px 20px 0 0;
}

.info-box p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
}

.info-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--light-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(221, 153, 51, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.info-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(221, 153, 51, 0.4);
    color: var(--light-color);
}

.info-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.info-button:hover::before {
    left: 100%;
}

.trainer-info {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--gray-medium);
}

.highlight {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 20px 0;
    font-style: italic;
}

.signature {
    font-weight: 600;
    margin-top: 30px;
}

/* Sección de Noticias */
.news-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.news-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.demo-news-1 {
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
}

.demo-news-2 {
    background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
}

.demo-news-3 {
    background: linear-gradient(45deg, #ffecd2, #fcb69f);
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.4;
}

.news-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

/* Sección del Club */
.club-section {
    padding: 80px 0;
    background: var(--light-color);
}

.club-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

.club-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature {
    padding: 30px 20px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ffffff;
    margin-top: 80px;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

/* Columna del logo */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 120px;
    height: auto;
    border-radius: 8px;
}

.footer-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-style: italic;
}

.footer-contact p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Menú del footer */
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-menu a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Información de contacto */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-icon {
    margin-right: 12px;
    font-size: 1.1rem;
    min-width: 20px;
}

/* Horarios de apertura */
.opening-hours {
    margin-bottom: 30px;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

/* Redes sociales */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icon {
    margin-right: 12px;
    font-size: 1.2rem;
    min-width: 25px;
}


/* Footer inferior */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Logo placeholder para footer */
.footer-logo .logo-placeholder {
    background: var(--secondary-color);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
}

/* Efectos hover para el logo en footer */
footer .logo-hover {
    display: inline-block;
    transition: transform 0.3s ease;
}

footer .logo-hover:hover {
    transform: rotate(8deg) scale(1.05);
}

.site-footer i.fas {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
    margin-right: 8px;
}

.site-footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 480px) {
    .site-footer p {
        flex-direction: column;
        gap: 10px;
    }
    
    .site-footer i.fas {
        margin-right: 5px;
        margin-left: 0 !important;
    }
}
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .time-slot {
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 25px;
    }
    
    .footer-column h4 {
        font-size: 1.2rem;
    }
    
    .social-links {
        align-items: center;
    }
}

/* Botón scroll to top */
#scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: var(--light-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1.2rem;
    font-weight: bold;
}

#scroll-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Estilos para la página principal */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--gray-light);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    border-radius: 15px;
    margin: 50px 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button-large {
    display: inline-block;
    background: var(--light-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button-large:hover {
    background: transparent;
    border-color: var(--light-color);
    color: var(--light-color);
}

/* Sección de previsualización de noticias */
.news-preview-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.news-preview-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-preview {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-preview-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-preview-content {
    padding: 25px;
}

.news-preview-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.4;
}

.news-preview-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-meta {
    border-top: 1px solid var(--gray-medium);
    padding-top: 15px;
}

.news-date {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

.news-archive-link {
    text-align: center;
}

.archive-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.archive-button:hover {
    background: var(--accent-color);
}

/* Responsive para index */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .news-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .news-preview-section {
        padding: 50px 0;
    }
}

/* Estilos específicos para el header */
.logo-placeholder {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
}

.logo-text {
    letter-spacing: 1px;
}

/* Placeholders para slides */
.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.placeholder-slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.placeholder-slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.placeholder-slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.welcome-image {
    margin: 40px 0;
    text-align: center;
}

.welcome-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Efecto unificado para todos los logos con clase logo-hover */
.logo-hover {
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
}

.logo-hover:hover {
    transform: rotate(12deg) scale(1.05);
}

.logo-hover img {
    transition: all 0.4s ease;
    border-radius: 4px;
}

.logo-hover:hover img {
    filter: brightness(1.05) drop-shadow(0 5px 15px rgba(221, 153, 51, 0.4));
}

/* Ajuste específico para footer */
footer .logo-hover:hover img {
    filter: brightness(1.1) drop-shadow(0 5px 20px rgba(242, 194, 111, 0.6));
}

/* ===== GALERÍA ===== */
.gallery-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.gallery-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(221, 153, 51, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-text {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== CALENDARIO ===== */
.calendar-section {
    padding: 80px 0;
    background: var(--light-color);
}

.calendar-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.event-card {
    display: flex;
    background: var(--light-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(221, 153, 51, 0.1);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(221, 153, 51, 0.15);
    border-color: rgba(221, 153, 51, 0.3);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-day {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.event-time, .event-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 5px;
}

.event-description {
    margin-top: 10px;
    color: #555;
    line-height: 1.5;
}

/* ===== TABLAS DE POSICIONES ===== */
.tables-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.tables-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.tables-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.table-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.table-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.table-wrapper {
    overflow-x: auto;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.standings-table th {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border: none;
}

.standings-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.standings-table tr:last-child td {
    border-bottom: none;
}

.standings-table tr:hover {
    background: rgba(242, 194, 111, 0.1);
}

.our-team {
    background: rgba(221, 153, 51, 0.15) !important;
    font-weight: 600;
}

.our-team td:first-child {
    font-weight: bold;
    color: var(--secondary-color);
}

/* Teams Overview */
.teams-overview {
    margin-top: 50px;
}

.teams-overview h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--text-color);
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.team-badge {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(221, 153, 51, 0.15);
    border-color: var(--primary-color);
}

.team-name {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.team-league {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 15px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .tables-container {
        grid-template-columns: 1fr;
    }
    
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-section,
    .calendar-section,
    .tables-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Noticias - Estilos corregidos */
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.3s ease;
}

.news-card-link:hover {
    transform: translateY(-5px);
    color: inherit;
}

.news-image {
    height: 250px; /* Altura fija */
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    position: relative;
    background: var(--gray-light); /* Fondo de respaldo */
}

.news-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto es clave - recorta y mantiene proporción */
    object-position: center; /* Centra la imagen */
    transition: transform 0.5s ease;
}

.news-card-link:hover .news-featured-image {
    transform: scale(1.08); /* Zoom suave al hover */
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.3);
    font-size: 3rem;
}

.news-content {
    padding: 25px;
    background: var(--light-color);
    border-radius: 0 0 10px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.4;
    min-height: 3.5em;
}

.news-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.news-card-link:hover .read-more {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* ===== SINGLE POST STYLES ===== */
.single-post-article {
    max-width: 1000px; /* Cambiado de 800px a 1000px */
    margin: 0 auto;
    background: var(--light-color);
    border-radius: 15px;
    padding: 50px; /* Aumentado padding */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.entry-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-medium);
}

.entry-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
}

.entry-meta {
    color: #666;
    font-size: 0.95rem;
}

.entry-meta span {
    margin: 0 10px;
}

.entry-thumbnail {
    margin: 30px 0;
    text-align: center;
    max-height: 500px; /* Altura máxima */
    overflow: hidden;
    border-radius: 10px;
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 500px; /* Limitar altura máxima */
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: none; /* Eliminar limitación de ancho si existe */
}

.entry-content p {
    margin-bottom: 1.5em;
    font-size: 1.15rem; /* Texto ligeramente más grande */
}

.entry-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem; /* Más grande */
    margin: 2em 0 1em 0;
    color: var(--text-color);
}

.entry-content h3 {
    font-size: 1.6rem; /* Más grande */
    margin: 1.5em 0 1em 0;
    color: var(--text-color);
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-medium);
}

.tags-links {
    font-size: 0.9rem;
    color: #666;
}

.tags-links a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* Navegación de posts */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--gray-medium);
}

.nav-previous a,
.nav-next a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

/* Responsive para single post */
@media (max-width: 768px) {
    .single-post-article {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-previous,
    .nav-next {
        text-align: center;
    }
}

/* ===== ARCHIVE STYLES ===== */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-color);
}

.archive-grid {
    display: grid;
    gap: 35px; /* Más espacio entre artículos */
    margin-bottom: 50px;
}

.archive-post {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* Sombra más pronunciada */
    transition: all 0.3s ease;
}

.archive-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.archive-post-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    min-height: 200px;
}

.archive-thumbnail {
    flex: 0 0 300px;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.archive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.archive-post:hover .archive-image {
    transform: scale(1.05);
}

.archive-content {
    flex: 1;
    padding: 30px; /* Más padding */
    display: flex;
    flex-direction: column;
}

.archive-content h2 {
    font-size: 1.5rem; /* Más grande */
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
}

.archive-excerpt {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
    font-size: 1.05rem; /* Texto ligeramente más grande */
}

.pagination {
    text-align: center;
    margin-top: 50px;
}

/* Responsive archive */
@media (max-width: 768px) {
    .archive-post-link {
        flex-direction: column;
        min-height: auto;
    }
    
    .archive-thumbnail {
        flex: none;
        height: 200px;
    }
}

/* DEBUG - Forzar visibilidad del footer */
.site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
}

.footer-main {
    background: red !important; /* Color temporal para ver si se muestra */
    padding: 50px 0 !important;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-page-wrapper {
    margin-top: 120px;
}

.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding: 80px 0 60px;
    text-align: center;
}

.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 500;
}

.contact-content-section {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-right: 30px;
}

.contact-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #555;
}

.contact-details .contact-item strong {
    color: var(--text-color) !important;
    font-size: 1.1rem;
}

.contact-details {
    margin-top: 40px;
    padding: 30px;
    background: var(--light-color);
    border-radius: 15px;
    border: 1px solid rgba(221, 153, 51, 0.15);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.contact-details:hover {
    box-shadow: 
        0 8px 25px rgba(221, 153, 51, 0.15),
        0 3px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    border-color: rgba(221, 153, 51, 0.3);
}

.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    text-align: center;
}

.contact-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-line {
    margin-bottom: 5px;
}

.contact-label {
    font-weight: 600;
    color: var(--text-color);
    display: inline-block;
    min-width: 120px;
}

.contact-value {
    color: #555;
    margin-left: 0;
    line-height: 1.5;
}

.contact-value a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Mapa */
.contact-map {
    position: sticky;
    top: 140px;
}

.map-container h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.google-map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-medium);
}

/* Información adicional */
.additional-info {
    padding: 60px 0;
    background: var(--gray-light);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(221, 153, 51, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        margin-top: 100px;
    }
    
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-content-section {
        padding: 50px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map {
        position: static;
    }
    
    .additional-info {
        padding: 40px 0;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-label {
        display: block;
        margin-bottom: 5px;
        min-width: auto;
    }
    
    .contact-value {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-details {
        padding: 20px;
    }
}

/* ===== TEAM CARDS STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.team-card {
    background: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(221, 153, 51, 0.1);
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(221, 153, 51, 0.15);
    border-color: rgba(221, 153, 51, 0.3);
}

.team-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.8);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.team-content {
    padding: 30px 25px;
}

.team-content h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
}

.team-role::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.team-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Efecto overlay en hover */
.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-card:hover .team-image::before {
    opacity: 1;
}

/* Responsive para team cards */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .team-content {
        padding: 25px 20px;
    }
    
    .team-content h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .team-image {
        height: 180px;
    }
    
    .team-content {
        padding: 20px 15px;
    }
}

/* ===== IMPRESSUM PAGE STYLES ===== */
.impressum-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 50px;
    padding: 35px 30px;
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12),
                0 3px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(221, 153, 51, 0.15);
    border-left: 4px solid var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
}

.legal-section:hover {
    box-shadow: 0 12px 40px rgba(221, 153, 51, 0.15),
                0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: rgba(221, 153, 51, 0.3);
}

.legal-section h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-color);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-medium);
}

.legal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.legal-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-item.full-width {
    flex-direction: column;
    align-items: flex-start;
}

.legal-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 300px;
    margin-right: 20px;
    flex-shrink: 0;
}

.legal-value {
    color: #555;
    line-height: 1.5;
    flex: 1;
}

.legal-value a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.legal-text {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

.legal-text p {
    margin-bottom: 15px;
}

.legal-text p:last-child {
    margin-bottom: 0;
}

/* Opción alternativa con bordes en las esquinas */
.legal-section.alternative {
    border: none;
    position: relative;
}

.legal-section.alternative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--secondary-color), var(--primary-color)) 1;
    border-radius: 15px;
    pointer-events: none;
}

/* Responsive para Impressum */
@media (max-width: 768px) {
    .legal-section {
        padding: 25px 20px;
        margin-bottom: 30px;
        border-left: 3px solid var(--secondary-color);
        border-right: 3px solid var(--secondary-color);
    }
    
    .legal-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .legal-label {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 8px;
        width: 100%;
    }
    
    .legal-item.full-width .legal-label {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .legal-section {
        padding: 20px 15px;
        border-left: 2px solid var(--secondary-color);
        border-right: 2px solid var(--secondary-color);
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-label {
        font-size: 0.95rem;
    }
    
    .legal-value {
        font-size: 0.95rem;
    }
}

/* ===== MITGLIEDSCHAFT PAGE STYLES ===== */
.mitgliedschaft-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Sección de introducción */
.section-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-intro h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

.section-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Grid de características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 2px solid rgba(221, 153, 51, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(221, 153, 51, 0.15);
    border-color: rgba(221, 153, 51, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Sección de entrenadores */
.trainer-section {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
}

.trainer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--text-color);
    text-align: center;
}

.trainer-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.contact-prompt {
    background: var(--gray-light);
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: center;
    border-left: 3px solid var(--secondary-color);
}

.contact-prompt p {
    margin-bottom: 20px !important;
    font-weight: 500;
}

/* Sección de precios */
.pricing-section {
    margin-bottom: 60px;
}

.pricing-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.pricing-card {
    background: var(--light-color);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 2px solid rgba(221, 153, 51, 0.15);
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-color);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-medium);
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.price-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.price-label {
    color: #555;
    flex: 1;
    margin-right: 20px;
}

.price-amount {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
    min-width: 80px;
    text-align: right;
}

/* Sección de descargas */
.downloads-section {
    margin-bottom: 60px;
}

.downloads-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.download-card {
    background: var(--light-color);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid rgba(221, 153, 51, 0.1);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(221, 153, 51, 0.15);
    border-color: rgba(221, 153, 51, 0.3);
}

.download-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.download-card h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.download-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section-mitgliedschaft {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.cta-section-mitgliedschaft h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.cta-section-mitgliedschaft p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-primary {
    display: inline-block;
    background: var(--light-color);
    color: var(--secondary-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button-primary:hover {
    background: transparent;
    border-color: var(--light-color);
    color: var(--light-color);
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--light-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--light-color);
}

.cta-button-secondary:hover {
    background: var(--light-color);
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .section-intro h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .trainer-section {
        padding: 30px 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .price-amount {
        text-align: left;
        min-width: auto;
    }
    
    .downloads-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .cta-section-mitgliedschaft {
        padding: 40px 25px;
    }
    
    .cta-section-mitgliedschaft h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-intro {
        padding: 0 10px;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

/* ===== UNSERE ANLAGE PAGE STYLES ===== */
.anlage-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Introducción */
.anlage-intro {
    margin-bottom: 60px;
}

.main-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.intro-text {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
    margin: 0;
}

/* Galería */
.image-gallery-section {
    margin-bottom: 60px;
    text-align: center;
}

.image-gallery-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.image-gallery-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: var(--light-color);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(221, 153, 51, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

/* Imagen individual */
.single-image-section {
    margin-bottom: 60px;
}

.image-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

/* Vereinshaus */
.vereinshaus-section {
    margin-bottom: 60px;
    text-align: center;
}

.vereinshaus-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.vereinshaus-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vereinshaus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.vereinshaus-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.vereinshaus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(221, 153, 51, 0.15);
}

.vereinshaus-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

/* Terrasse */
.terrasse-section {
    margin-bottom: 60px;
    text-align: center;
}

.terrasse-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.terrasse-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.terrasse-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.terrasse-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

/* Placeholders para imágenes */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

/* CTA Section */
.cta-section-anlage {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.cta-section-anlage h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.cta-section-anlage p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-primary {
    display: inline-block;
    background: var(--light-color);
    color: var(--secondary-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button-primary:hover {
    background: transparent;
    border-color: var(--light-color);
    color: var(--light-color);
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--light-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--light-color);
}

.cta-button-secondary:hover {
    background: var(--light-color);
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .main-image img {
        height: 300px;
    }
    
    .intro-text {
        padding: 25px 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .image-container img {
        height: 300px;
    }
    
    .vereinshaus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vereinshaus-item img {
        height: 250px;
    }
    
    .terrasse-image img {
        height: 300px;
    }
    
    .cta-section-anlage {
        padding: 40px 25px;
    }
    
    .cta-section-anlage h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery-section h2,
    .vereinshaus-section h2,
    .terrasse-section h2 {
        font-size: 1.8rem;
    }
}

/* ===== MENÚ MÓVIL - ESTILOS DIRECTOS ===== */

/* Botón hamburguesa VISIBLE */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border: 2px solid var(--text-color);
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    position: relative;
    z-index: 1001;
}

.mobile-menu-button .bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Contenedor del menú móvil */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1002;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    padding-top: 80px;
}

.mobile-menu-container.active {
    right: 0;
}

/* Navegación móvil */
.mobile-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-menu-nav a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu-nav a:hover {
    background: var(--primary-color);
    color: #333;
}

/* Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.menu-overlay.active {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Ocultar menú desktop en móviles */
    #site-navigation-wrap {
        display: none !important;
    }
    
    /* Mostrar botón móvil */
    .mobile-menu-button {
        display: flex !important;
    }
    
    /* Asegurar que el header tenga espacio */
    #site-header-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 20px !important;
    }
    
    #site-logo {
        flex-shrink: 0;
    }
    
    #site-logo img {
        max-width: 80px !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .mobile-menu-container {
        width: 280px;
    }
    
    #site-header-inner {
        padding: 8px 15px !important;
    }
    
    #site-logo img {
        max-width: 70px !important;
    }
    
    .mobile-menu-nav a {
        padding: 14px 20px;
        font-size: 15px;
    }
}
