/* Global Styles */
:root {
    --color-olive: #606353;
    --color-hover: #B8A58C;
    --color-beige: #F5F5F0;
    --color-sage: #8C8E83;
    --color-white: #FFFFFF;
}

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

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    padding: 1rem 2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1000;
}

.header:not(.solid) .nav-menu a {
    color: var(--color-white);
}

.header.solid {
    background-color: var(--color-beige);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    color: var(--color-olive);
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.header:not(.solid) .logo {
    color: var(--color-white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-olive);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

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

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    color: var(--color-white);
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-olive);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    transition: background-color 0.2s ease-out;
}

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

.social-icons {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.social-icon {
    text-decoration: none;
    display: block;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-circle i {
    font-size: 1.5rem;
    color: var(--color-olive);
    transition: color 0.3s ease;
}

.social-icon:hover .icon-circle {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-icon:hover .icon-circle i {
    color: var(--color-hover);
}

/* Quote Sections */
.quote-section {
    padding: 5rem 2rem 2rem;
    background-color: var(--color-white);
    text-align: center;
}



blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--color-olive);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Conocenos Section */


.cards-container {
    display: flex;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
    background-color: var(--color-white);
}

.card {
    flex: 0 0 25%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    min-width: 260px;
}

.card {
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.15s ease-out;
    will-change: filter;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(96, 99, 83, 0.9);
    color: var(--color-white);
    padding: 1.2rem;
    transform: translateY(calc(100% - 3.2rem));
    transition: all 0.15s ease-out;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin: 0;
    text-align: center;
}

.card-hover-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.15s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin-top: -1rem;
}

.card-hover-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
    text-align: center;
    padding: 1rem 0.5rem;
}

.card:hover .card-title {
    opacity: 0;
    transform: translateY(-20px);
}

.card:hover .card-hover-content {
    opacity: 1;
    transform: translateY(0);
}

.card:hover .card-content {
    transform: translateY(0);
}

.card:hover img {
    filter: brightness(0.85);
}

.card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.3;
    min-height: 2.6em;
}

/* Reserva Section */
.reserva {
    position: relative;
    min-height: 500px;
    background: url('images/Reserva3.jpg') center/cover no-repeat;
}

.reserva::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.reserva-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: flex-end;
}

.reserva-content {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: var(--color-white);
    z-index: 1;
}

.reserva-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.reserva-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.app-buttons {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: var(--color-olive);
    color: var(--color-white);
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    min-width: 120px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease-out;
    flex: 1;
}

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

.app-button i {
    font-size: 1.1rem;
}



@media (max-width: 1024px) {
    .reserva-container {
        gap: 2rem;
    }

    .reserva-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .reserva-container {
        flex-direction: column;
        min-height: auto;
        gap: 3rem;
    }

    .reserva-content,
    .reserva-image {
        flex: 0 0 100%;
        width: 100%;
    }

    .reserva-content {
        text-align: center;
        align-items: center;
    }

    .app-buttons {
        justify-content: center;
    }

    .reserva-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .reserva-container {
        flex-direction: column;
    }

    .reserva-image img {
        height: 400px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Beneficios Carousel */
.beneficios {
    padding: 5rem 0;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.beneficios h2 {
    font-family: 'Playfair Display', serif;
    color: var(--color-olive);
    text-align: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    max-width: 800px;
}

.benefits-description {
    font-family: 'Playfair Display', serif;
    color: var(--color-olive);
    text-align: center;
    margin: 0 auto 3rem;
    font-size: 1.3rem;
    max-width: 900px;
    line-height: 1.6;
}

.carousel {
    position: relative;
    width: 80%;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-inner {
    display: flex;
    transition: transform 0.3s ease;
}

.slide {
    flex: 0 0 100%;
    position: relative;
}

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

.slide-content {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    text-align: center;
    width: 80%;
}

.slide-content p {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(98, 101, 77, 0.7);
    color: var(--color-white);
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}



/* Team Section */
.team-section {
    padding: 4rem 2rem;
    background-color: var(--color-white);
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.team-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.team-text h2 {
    font-family: 'Playfair Display', serif;
    color: var(--color-olive);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.team-text p {
    font-family: 'Inter', sans-serif;
    color: var(--color-olive);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
}

.team-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-image img {
    width: 70%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.team-image img.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
    }

    .team-image img {
        width: 80%;
    }
}

/* Contact Section */
.contact {
    background-color: var(--color-beige);
    position: relative;
}

.contact-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.contact-info-overlay {
    position: absolute;
    top: 50px;
    left: 50px;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    max-width: 400px;
}

.contact-info-overlay h2 {
    font-family: 'Playfair Display', serif;
    color: var(--color-olive);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-info-overlay p {
    margin-bottom: 0.5rem;
    color: var(--color-olive);
}

.contact-social {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.contact-social .social-icon {
    color: var(--color-white);
    font-size: 1.4rem;
    background-color: var(--color-olive);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.contact-social .social-icon:hover {
    background-color: var(--color-hover);
}

.map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map iframe {
    filter: sepia(0.2) hue-rotate(190deg);
}

@media (max-width: 768px) {
    .contact-info-overlay {
        position: relative;
        top: 0;
        left: 0;
        margin: 2rem;
        max-width: none;
    }

    .contact-container {
        height: auto;
    }

    .map {
        position: relative;
        height: 400px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-container {
        flex-wrap: wrap;
    }
    
    .card {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .card {
        flex: 0 0 50%;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    blockquote {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}
