/* Definición de la fuente personalizada */
@font-face {
    font-family: 'EUR42';
    src: url('font/Forum-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafafa;
}

/* Aplicar la fuente personalizada a elementos clave */
.logo, .hero-content h1, .section-title, .propuesta-text h3, 
.chef-quote, .valor-card h4, .footer-section h4, .cta-button {
    font-family: 'Forum-Regular.ttf', 'Georgia', serif;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 250, 250, 1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-block;
}

.logo {
    height: 40px; /* Ajusta la altura del logo según tus necesidades */
    width: auto;
    max-height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05); /* Un sutil efecto de escala al pasar el cursor */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    font-family: 'ROBOTO', serif;
    text-decoration: none;
    color: #676d72;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d3c2b6;
}

/* Language switcher - Estilo de switch */
.language-switcher {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 34px;
    margin-left: 20px;
}

.language-switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}

.language-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d3c2b6;
    transition: .4s;
    border-radius: 34px;
}

.language-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .language-slider {
    background-color: #676d72;
}

input:checked + .language-slider:before {
    transform: translateX(46px);
}

.language-labels {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.language-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #676d72;
    font-family: 'roboto', serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.language-label:first-child {
    padding-right: 20px;
}

.language-label:last-child {
    padding-left: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item:nth-child(1) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/img/SISTER_Comuna9_0033.png');
    background-size: cover;
    background-position: center;
}

.carousel-item:nth-child(2) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/img/SISTER_Comuna9_0032.png');
    background-size: cover;
    background-position: center;
}

.carousel-item:nth-child(3) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/img/SISTER_Comuna9_0034.png');
    background-size: cover;
    background-position: center;
}

.carousel-item:nth-child(4) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/img/SISTER_Comuna9_0035.png');
    background-size: cover;
    background-position: center;
}

.carousel-item:nth-child(5) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/img/SISTER_Comuna9_0037.png');
    background-size: cover;
    background-position: center;
}

.carousel-item:nth-child(6) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/img/SISTER_Comuna9_0038.png');
    background-size: cover;
    background-position: center;
}

.carousel-item:nth-child(7) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/img/SISTER_Comuna9_0039.png');
    background-size: cover;
    background-position: center;
}

.carousel-item:nth-child(8) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/img/SISTER_Comuna9_0040.png');
    background-size: cover;
    background-position: center;
}



.hero-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #d3c2b6;
    color: #676d72;
    text-decoration: none;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    background: #f2e0d1;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #676d72;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Manifiesto */
.manifiesto {
    background: #d3c2b6;
    text-align: center;
}

.manifiesto-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-style: italic;
    color: #676d72;
}

/* Propuesta */
.propuesta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.propuesta-text h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #676d72;
    letter-spacing: 0.5px;
}

.propuesta-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.propuesta-image {
    height: 400px;
    background: linear-gradient(45deg, #d3c2b6, #f2e0d1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-align: center;
    font-family: 'Anaphora Stencil', 'Georgia', serif;
    padding: 20px;
}

/* Chef Section - Modificada */
.chef {
    background: #f2e0d1;
}

.chef-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.chef-image {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.chef-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(139, 69, 19, 0.05) 0%, rgba(139, 69, 19, 0.2) 100%);
    z-index: 1;
}

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

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

.chef-content {
    padding: 20px;
}

.chef-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #676d72;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.chef-quote {
    position: relative;
    font-size: 1.6rem;
    font-style: italic;
    margin-bottom: 30px;
    color: #676d72;
    padding-left: 30px;
    line-height: 1.6;
}

.chef-quote::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 5rem;
    color: rgba(139, 69, 19, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.chef-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.chef-signature {
    margin-top: 40px;
    font-family: 'Anaphora Stencil', 'Georgia', serif;
    font-size: 1.3rem;
    color: #676d72;
    text-align: right;
    position: relative;
}

.chef-signature::before {
    content: "";
    position: absolute;
    top: -15px;
    right: 0;
    width: 150px;
    height: 2px;
    background: #676d72;
}

/* Valores */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.valor-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.valor-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #d3c2b6;
}

/* Ubicación */
.ubicacion {
    background: #d3c2b6;
    color: white;
    text-align: center;
}

.ubicacion .section-title {
    color: white;
}

/* Footer */
footer {
    background: #2c2c2c;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: #d4b896;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .chef-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .chef-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .propuesta {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    nav ul {
        display: none;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .chef-image {
        height: 350px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}


.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.copyright a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

 /* Botón CTA */
        .cta-button {
            display: inline-block;
            padding: 12px 24px;
            background: var(--color-primary, #d3c2b6);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            font-size: 16px;
        }

        .cta-button:hover {
            background: var(--color-primary-dark, #887660);
            transform: translateY(-2px);
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }

        .modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background-color: white;
            border-radius: 10px;
            padding: 0;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease-out;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.8) translateY(-50px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .modal-header {
            background: var(--color-primary, #d4b896);
            color: white;
            padding: 20px;
            position: relative;
        }

        .modal-title {
            margin: 0;
            font-size: 1.5rem;
        }

        .close {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.3s;
        }

        .close:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .modal-body {
            height: 60vh;
            overflow: hidden;
        }

        .modal-iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .loading {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            flex-direction: column;
            color: #666;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--color-primary, #007bff);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 15px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                margin: 20px;
            }
            
            .modal-body {
                height: 50vh;
            }
        }