/* General Body Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 4rem 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #c5a47e;
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Header and Navigation */
.header {
    background-color: rgba(18, 18, 18, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo img {
    height: 60px; /* Ajusta la altura según sea necesario */
    width: auto;
    vertical-align: middle;
}

.logo {
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
}

.nav-links a:hover {
    color: #121212;
    background-color: #c5a47e;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #c5a47e;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    color: #fff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #c5a47e;
    color: #121212;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #b3926c;
    transform: translateY(-3px);
}

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

#nosotros, #servicios, #galeria, #contacto {
    background-color: #1a1a1a;
}

#servicios, #contacto {
     background-color: #121212;
}

/* About Us Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-content img {
    width: 45%;
    border-radius: 10px;
    object-fit: cover;
}

.about-content div {
    width: 50%;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
    border: 3px solid #D4AF37;
}

.service-card h3 {
    margin-top: 1rem;
}

.service-card p {
    padding: 0 1rem 1rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s, filter 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Contact Section */
#contacto {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/reserva.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

/* Contact Page Redesign */
.contact-wrapper {
    display: flex;
    align-items: stretch;
    gap: 3rem;
    color: #fff;
    padding: 2rem;
    background-color: rgba(10, 10, 10, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-info, .contact-map {
    flex: 1;
}

.contact-info {
    text-align: left;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-details {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-details p {
    margin-bottom: 1.5rem;
}

.contact-details strong {
    color: #D4AF37;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-map {
    height: 500px;
}

.map-container {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    .contact-info {
        text-align: center;
    }
    .contact-map {
        width: 100%;
    }
}

/* Footer */
.footer {
    background-color: #111;
    color: #aaa;
    padding: 3rem 2rem 1rem;
    border-top: 3px solid #D4AF37;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    max-width: 100px;
    margin-bottom: 1rem;
}

.footer-column h4 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a,
.footer-column p {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-column a:hover {
    color: #D4AF37;
}

.footer-social-icons {
    margin-top: 1.5rem;
}

.footer-social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social-icons a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* --- Home Page Summary Sections --- */
.home-section {
    padding: 4rem 2rem;
    text-align: center;
}

.home-section:nth-child(even) {
    background-color: #1a1a1a;
}

.home-section h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #D4AF37;
}

.home-section > .container > p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
}

/* Services Summary Grid */
.services-grid-summary {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Gallery Summary Grid */
.gallery-grid-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-grid-summary img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    border: 3px solid #D4AF37;
    transition: transform 0.3s ease;
}

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

/* Contact Summary */
#resumen-contacto p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #1a1a1a;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .about-content {
        flex-direction: column;
    }

    .about-content img {
        width: 100%;
    }

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

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