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

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Archivo';
    src: url('../fonts/Archivo-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-stretch: 75% 100%;
}

body {
    font-family: 'Archivo', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', sans-serif;
    color: #3D3D3D;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #F5F1ED;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
}

nav li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #A89968;
    text-decoration: underline;
    transform: translateY(-2px);
}

#lang-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

#langActual {
    color: white !important;
    background-color: #8B7355 !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none !important;
}

#lang-list a {
    padding: 0.5rem 0.75rem;
    text-align: center;
}

#lang-list a:hover {
    background: #EAE5DF;
    color: #5D4E37;
    border-radius: 4px;
}

.menu-icon {
    display: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
}

.lang-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

@media screen and (max-width: 768px) {
    nav {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .menu-icon {
        display: block;
    }

    .lang-menu-icon {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        margin: 0;
        z-index: 150;
    }

    nav ul.active {
        display: flex;
    }

    #nav-list.active {
        display: flex !important;
    }

    #lang-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        width: auto;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        margin: 0;
        z-index: 150;
    }

    #lang-list.active {
        display: flex !important;
    }

    nav li {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 1rem;
    }

    #lang-list li {
        width: auto;
        border-bottom: none;
        padding: 0.75rem 1.5rem;
    }

    #lang-list a {
        padding: 0;
    }

    #lang-list a:hover {
        background: transparent;
    }

    #langActual {
        background-color: #8B7355 !important;
        color: white !important;
        border-radius: 4px;
        padding: 0.5rem 0.75rem !important;
    }

    #inicio {
        margin-top: 15vh;
    }
}

/* Main Content */
main {
    margin-top: 70px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #8B7355 0%, #A89968 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.hero-content {
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    opacity: 0.9;
}

.slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.slider-container {
    display: flex;
    width: 100%;
    height: 500px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-container img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media screen and (max-width: 768px) {
    body {
        font-size: clamp(12px, 3.5vw, 16px);
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }

    .hero-content p {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }

    .content-section h2,
    .services-section h2,
    .section-header h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .service-card h3 {
        font-size: clamp(1.3rem, 4vw, 2rem);
    }

    .contact-section h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .slider-container {
        height: 300px;
    }

    .prev-btn,
    .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content Section */
.content-section {
    padding: 4rem 2rem;
    background: #EAE5DF;
}

.content-section h2 {
    font-size: clamp(2rem, 8vw, 5rem);
    margin-bottom: 2rem;
    color: #8B7355;
}

.content-section p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #5D5D5D;
}

.content-image {
    width: calc(100vw - 1rem);
    margin-left: calc(-50vw + 50% + 0.5rem);
    margin-right: calc(-50vw + 50% + 0.5rem);
    margin-top: 6rem;
    border-radius: 10px;
    margin-bottom: 0;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

/* Gallery Section */
.gallery-section {
    padding: 4rem 2rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    color: #8B7355;
}

/* Services Section */
.services-section {
    padding: 4rem 2rem;
    background: #EAE5DF;
}

.services-section h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 3rem;
    text-align: center;
    color: #8B7355;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: clamp(1.3rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: #8B7355;
}

.service-card p {
    font-size: clamp(0.95rem, 2vw, 1rem);
    color: #706F6F;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #8B7355 0%, #A89968 100%);
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #5D4E37;
    color: #fff;
    padding: 4rem 2rem 2rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-section h4 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 1rem;
    color: #D4A574;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

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

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

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

.footer-section ul a:hover {
    color: #D4A574;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    font-size: 2rem;
}

.social-links a {
    color: #bbb;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #D4A574;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 2rem;
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .content-section,
    .gallery-section,
    .services-section,
    .contact-section {
        padding: 2rem 1rem;
    }

    .section-header h2,
    .content-section h2,
    .services-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .slider-wrapper {
        padding: 0 1rem;
    }
}

