* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

body.menu-open {
    /* Elimina overflow:hidden para que el contenido no se mueva */
}

/* Navegación */
.main-nav {
    background-color: #2c3e50;
    padding: 2.2rem 0 2.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links, .nav-links li, .nav-flag-li {
    display: flex;
    align-items: center;
}

.nav-flag-li img {
    height: 32px;
    border-radius: 4px;
    box-shadow: 0 1px 4px #bbb;
    vertical-align: middle;
    margin: 0 0.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #c0392b;
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background-color: #34495e;
    color: white;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Selector de idioma */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.lang-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 150px;
    z-index: 1000;
}

.language-dropdown.show {
    display: block;
}

    .navbar {
        background: #222;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 24px;
        position: relative;
        z-index: 100;
    }
    .navbar-logo {
        font-size: 1.3em;
        font-weight: bold;
        letter-spacing: 1px;
    }
    .navbar-links {
        display: flex;
        gap: 18px;
        align-items: center;
    }
    .navbar-links a {
        color: #fff;
        text-decoration: none;
        font-size: 1em;
        padding: 6px 10px;
        border-radius: 4px;
        transition:  0.2s;
    }
    .navbar-links a:hover {
        background: #007bff;
    }
    .navbar-hamburger {
        display: none;
        font-size: 1.8em;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        margin-left: 10px;
    }
    @media (max-width: 800px) {
        .navbar-links {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #222;
            flex-direction: column;
            align-items: flex-start;
            gap: 0;
            display: none;
        }
        .navbar-links.active {
            display: flex;
        }
        .navbar-links a, .navbar-links .nav-login-dropdown {
            width: 100%;
            padding: 12px 24px;
            border-radius: 0;
        }
        .navbar-hamburger {
            display: block;
        }
    }


    .nav-login-dropdown {
        position: relative;
        display: inline-block;
    }
    .nav-login-btn {
        padding: 7px 18px;
        border: none;
        border-radius: 4px;
        background: #007bff;
        color: #fff;
        font-size: 1em;
        cursor: pointer;
        transition: 0.2s;
        white-space: nowrap;
    }
    .nav-login-btn:hover {
        background: #0056b3;
    }
    .nav-form-org-dropdown {
        display: none;
        position: absolute;
        right: 0;
        top: 110%;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        border-radius: 8px;
        padding: 18px 18px 12px 18px;
        z-index: 100;
        min-width: 260px;
    }
    .nav-form-org-dropdown.active {
        display: block;
        animation: fadeIn 0.2s;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px);}
        to { opacity: 1; transform: translateY(0);}
    }
    .nav-form-org {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .nav-form-org input[type="email"],
    .nav-form-org input[type="password"] {
        padding: 7px 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 0.97em;
        width: 100%;
        transition: border 0.2s;
    }
    .nav-form-org input:focus {
        border: 1.5px solid #007bff;
        outline: none;
    }
    .nav-form-org button {
        padding: 7px 0;
        border: none;
        border-radius: 4px;
        background: #007bff;
        color: #fff;
        font-size: 0.97em;
        cursor: pointer;
        transition: 0.2s;
        margin-top: 2px;
        width: 100%;
    }
    .nav-form-org button:hover {
        background: #0056b3;
    }
    .nav-form-org .btn-registro {
        background: #28a745;
        margin-top: 0;
    }
    .nav-form-org .btn-registro:hover {
        background: #218838;
    }
    @media (max-width: 500px) {
        .nav-form-org-dropdown {
            right: auto;
            left: 0;
            min-width: 90vw;
        }
    }

.language-dropdown button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-dropdown button:hover {
    background-color: #f5f5f5;
}

/* Sección de búsqueda */
.search-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

#searchInput {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#searchButton {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#searchButton:hover {
    background-color: #34495e;
}

.filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filters select,
.filters input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 150px;
}

/* Grid de eventos */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.event-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-info {
    padding: 15px;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.event-details {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 4rem 0 1rem;
    margin-top: 4rem;
    width: 100%;
    min-width: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    box-sizing: border-box;
    justify-content: center;
    align-items: flex-start;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.footer-section h4 {
    color: #3498db;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: #ecf0f1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: #3498db;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    background-color: #34495e;
    color: #fff;
}

.newsletter-form input::placeholder {
    color: #bdc3c7;
}

.newsletter-form button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: #3498db;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #2980b9;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #34495e;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 0.5rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .social-links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-left {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
    }

    .nav-right {
        flex-direction: column;
    }

    .search-container {
        flex-direction: column;
    }

    .filters {
        flex-direction: column;
    }

    .filters select,
    .filters input {
        width: 100%;
    }

    .language-selector {
        justify-content: center;
    }
}

/* Estilos para páginas específicas */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background-color: #34495e;
    color: white;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Estilos para la página de login */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 300px);
    padding: 2rem;
}

.auth-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: #2c3e50;
    border-bottom: 2px solid #2c3e50;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 0.9rem;
}

.auth-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.auth-form .checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-form .checkbox input {
    width: auto;
}

.auth-submit {
    width: 100%;
    padding: 1rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-submit:hover {
    background-color: #34495e;
}

.auth-links {
    margin-top: 1rem;
    text-align: center;
}

.auth-links a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #34495e;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-box {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Estilos para autenticación en nav */
.auth-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    width: 300px;
    display: none;
    z-index: 1000;
}

.auth-dropdown.show {
    display: block;
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-weight: 500;
}

.auth-tab.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 15px;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.auth-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.auth-form input:focus {
    border-color: #007bff;
    outline: none;
}

.auth-form .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-form .checkbox input {
    width: auto;
}

.auth-submit {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.auth-submit:hover {
    background: #0056b3;
}

.auth-links {
    margin-top: 15px;
    text-align: center;
}

.auth-links a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.auth-links a:hover {
    text-decoration: underline;
}

.user-info {
    display: none;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.user-name {
    font-size: 14px;
    color: #333;
}

.logout-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
}

.logout-btn:hover {
    color: #dc3545;
}

/* Estilos para la página de empresas */
.companies-grid {
    display: grid;
    margin-top: 50px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.company-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
}

.company-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.company-info {
    padding: 1.5rem;
}

.company-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.company-link {
    display: inline-block;
    margin-top: 1rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
}

.company-link:hover {
    text-decoration: underline;
}

.partners-section {
    text-align: center;
    padding: 3rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partners-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.partners-grid img:hover {
    transform: scale(1.05);
}

/* Estilos para la página Sobre Nosotros */
.about-section {
    display: grid;
    margin-top: 50px;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-text {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-image img {
    
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.team-member {
    text-align: center;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1rem 0 0.5rem;
    color: #2c3e50;
}

/* Estilos para la página de contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-form-section,
.contact-info-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #34495e;
}

.contact-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #34495e;
}

.map-section {
    margin-top: 3rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .about-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .team-member img {
        height: 250px;
    }
}

/* Sección de categorías de eventos */
.event-categories {
    margin: 3rem 0;
    padding: 0 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 1.5rem 1.2rem 1.5rem 1.2rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.category-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    word-break: break-word;
}

.category-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1rem;
    word-break: break-word;
}

.event-details {
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    word-break: break-word;
}

.event-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-details i {
    color: var(--primary-color);
}

.category-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition:  0.3s ease;
    font-weight: 600;
}

.category-btn:hover {
    background: var(--primary-dark);
}

/* Modal de Eventos */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.event-modal.active {
    display: block;
}

.modal-content {
    position: relative;
    background: var(--white);
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 2rem;
    background: var(--primary-color);
    color: var(--white);
}

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
}

.modal-subtitle {
    margin-top: 0.5rem;
    opacity: 0.9;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

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

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

.modal-description h3,
.modal-services h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.event-details-modal {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.modal-services ul {
    list-style: none;
    padding: 0;
}

.modal-services li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-services li:last-child {
    border-bottom: none;
}

.modal-services li i {
    color: var(--primary-color);
}

.modal-cta {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 580px;
    height: 30px;
}

.modal-btn {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    border: none;
    outline: none;
}

.modal-btn.primary {
    background: #007bff;
    color: #fff;
}

.modal-btn.primary:hover {
    background: #0056b3;
    color: #fff;
}

.modal-btn.secondary {
    background: #28a745;
    color: #fff;
}

.modal-btn.secondary:hover {
    background: #218838;
    color: #fff;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem auto;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-cta {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
}

/* Título de sección */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    border-radius: 2px;
}

/* Sección de vista previa sobre nosotros */
.about-preview {
    margin: 5rem 0;
    padding: 4rem 1rem;
    background-color: #f8f9fa;
}

.about-preview-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-preview-text {
    padding-right: 2rem;
}

.about-preview-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-preview-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    border-radius: 2px;
}

.about-preview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.about-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.about-preview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(163, 160, 160, 0.1);
}

.about-preview-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(71, 75, 78, 0.2), rgba(96, 98, 100, 0.2));
    z-index: 1;
}

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

.about-preview-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .about-preview-content {
        gap: 2rem;
    }

    .about-preview-text {
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .about-preview {
        padding: 3rem 1rem;
    }

    .about-preview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-preview-text {
        padding-right: 0;
    }

    .about-preview-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-preview-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Estilos para la sección de eventos realizados */
.modal-events {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.modal-events h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.evento-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.evento-imagen {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.evento-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.evento-card:hover .evento-imagen img {
    transform: scale(1.1);
}

.evento-info {
    padding: 1.5rem;
}

.evento-info h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.evento-fecha,
.evento-lugar {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.evento-fecha i,
.evento-lugar i {
    color: #3498db;
}

.evento-descripcion {
    color: #666;
    font-size: 1rem;
    line-height: 1.4;
    margin: 1rem 0;
}

.evento-detalles {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.evento-precio,
.evento-invitados {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.evento-precio i {
    color: #27ae60;
}

.evento-invitados i {
    color: #3498db;
}

@media (max-width: 768px) {
    .eventos-grid {
        grid-template-columns: 1fr;
    }
    
    .evento-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Header Slider para Inicio */
.header-slider {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 400%;
    height: 100%;
    animation: headerSlide 3s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes headerSlide {
    0%, 25% {
        transform: translateX(0);
    }
    25.01%, 50% {
        transform: translateX(-25%);
    }
    50.01%, 75% {
        transform: translateX(-50%);
    }
    75.01%, 100% {
        transform: translateX(-75%);
    }
}

.header-slide {
    flex: 0 0 25%;
    position: relative;
    height: 100%;
}

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

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    text-align: center;
}

.slide-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease-out;
}

.slide-content p {
    font-size: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

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

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

@media (max-width: 1024px) {
    .slide-content h1 {
        font-size: 3.5rem;
    }

    .slide-content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-slider {
        height: 100vh;
    }

    .slide-content {
        padding: 2rem;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }
}

/* Modal de detalles de empresa */
.company-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-gallery {
    margin-bottom: 2rem;
}

.gallery-main {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.gallery-thumbnails img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

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

.modal-description,
.modal-services,
.modal-decorations {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.modal-description h3,
.modal-services h3,
.modal-decorations h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.modal-services ul {
    list-style: none;
    padding: 0;
}

.modal-services li {
    color: #666;
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
}

.modal-services li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

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

.decoration-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

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

.decoration-item .decoration-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .modal-info {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px auto;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 2rem;
    }

    .gallery-main {
        height: 250px;
    }

    .gallery-thumbnails img {
        width: 80px;
        height: 60px;
    }
}

/* Estilos para la sección del equipo */
.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #3498db;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: #2c3e50;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-social .social-icon:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-3px);
}

/* Header de Contacto */
.contact-header {
    width: 100%;
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/contact-us-2993000_1280.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 4rem;
}

.contact-header-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.contact-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.contact-header-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

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

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

@media (max-width: 768px) {
    .contact-header {
        height: 40vh;
    }
    
    .contact-header-content h1 {
        font-size: 2.5rem;
    }

    .contact-header-content p {
        font-size: 1.1rem;
    }
}

/* Menú hamburguesa: bandera y login dentro */
.nav-flag-li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
}
.nav-login-li {
    margin-left: 1.5rem;
}
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 16px rgba(0,0,0,0.08);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 18px 30px 18px;
        gap: 18px;
        transition: left 0.3s cubic-bezier(.77,0,.18,1);
        z-index: 1100;
    }
    .nav-links.open {
        left: 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        width: 100%;
        font-size: 1.1em;
        padding: 14px 0;
        color: #222 !important;
        font-weight: bold;
        border-radius: 6px;
        margin: 2px 0;
        display: block;
        transition: background 0.2s, color 0.2s;
    }
    .nav-links a:hover, .nav-links a.active {
        background: #eaf1fa;
        color: #007bff !important;
    }
    .nav-flag-li, .nav-login-li {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }
    .nav-login-dropdown {
        width: 100%;
    }
    .nav-form-org-dropdown {
        min-width: 90vw;
        left: 0;
        right: auto;
    }
}
@media (max-width: 500px) {
    .nav-form-org-dropdown {
        min-width: 95vw;
    }
}

.footer-comment-box {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    color: #fff;
    padding: 30px 0 0 0;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .footer-comment-box {
        padding: 18px 0 0 0;
        max-width: 99vw;
    }
}