/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #093d52;
    --secondary-color: #95d0ce;
    --accent-color: #ffd700;
    --text-color: #093d52;
    --light-text: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation - Exact same style as styles.css */
.navbar {
    font-family: 'Montserrat', sans-serif;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    z-index: 1000;
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--primary-color) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100vh; /* 100% of viewport height */
    margin-top: 0; /* Remove margin since we're using full height */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle,rgba(0, 108, 250, 0.65) 15%, rgba(161, 206, 206, 0.31) 58%);
    z-index: 1;
}

.hero-background {
    position: absolute; /* Change from relative to absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%; /* Change from auto to 100% */
    object-fit: cover; /* Ensure image covers the full area */
    display: block;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    color: white;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    line-height: 1.1;
}

/* Estilo para cuando hero-title es una imagen */
.hero-title img,
img.hero-title {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
}

.hero-subtitle {
    font-size: 3em;
    font-weight: 800;
    
}

/* Food Gallery Section - Masonry Style */
.food-gallery-section {
    padding: 10px;

}

.food-gallery-section .container {
    padding: 0;
    max-width: none;
}

.masonry-gallery {
    display: flex;
    gap: 2.5rem;
    width: 100%;
    margin: 0;
    justify-content: center;
    align-items: flex-start;
}

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

.left-column {
    flex: 0 0 500px;
}

.center-column {
    flex: 0 0 500px;
}

.right-column {
    flex: 0 0 500px;
}

.masonry-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    width: fit-content;
    height: fit-content;
}

.masonry-item:hover {
    transform: translateY(-5px);
}

.masonry-item.small-item {
    max-width: 500px;
    width: auto;
}

.masonry-item.large-item {
    max-width: 500px;
    width: auto;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: inline-block;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700, #ffed4e);
    border-radius: 0;
    z-index: -1;
    opacity: 0.8;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
    z-index: 1;
}

.masonry-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
    transition: transform 0.3s ease;
    display: block;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-row {
    display: flex;
    gap: 2.5rem;
}

.masonry-row .masonry-item {
    flex: 1;
    max-width: calc(50% - 1.25rem);
    width: auto;
}

/* Estancia Section */
.estancia-section {
    background: white;
    background: #1a5f7a;
    text-align: left;
}

.estancia-content {
    padding: 3rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.estancia-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.estancia-title .highlight {
    font-size: 3rem;
    color: #ffd700;
}

.estancia-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.brunch-text {
    font-size: 1.3rem;
    color: #ffd700;
    font-style: italic;
    margin-bottom: 2rem;
}

.hours-container {
    margin-bottom: 2rem;
}

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

.clock-icon {
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.hours-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.hours-text p {
    font-size: 0.95rem;
    margin: 0;
}

.disclaimer {
    font-size: 0.9rem;
    color: #ccc;
    font-style: italic;
}

.estancia-image {
    height: 100%;
    min-height: 500px;
}

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

/* Isla Section */
.isla-section {
    background: #1a5f7a;
}

.isla-image {
    height: 100%;
    min-height: 500px;
}

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

.isla-content {
    padding: 3rem;
    background: #1a5f7a;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.isla-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.isla-logo img {
    max-width: 200px;
    height: auto;
}

.isla-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.isla-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
}

.isla-hours {
    margin-bottom: 2rem;
}

/* Platillos del Mes Section */
.platillos-mes-section {
    padding: 4rem 0;
    background-image: url('../images/restaurante/f-platillos-restaurante.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

.platillos-mes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.platillos-mes-section .container {
    position: relative;
    z-index: 2;
}

.platillos-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.platillos-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.platillo-item {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

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

.platillo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 2rem 0;
    background:#a1cece;
}

.cta-item {
    text-align: center;
    padding: 2rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #093d52;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.btn-tickets, .btn-reservar {
    background: #ffd700;
    color: #333;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-tickets:hover, .btn-reservar:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Footer - Exact same style as styles.css */
.footer {
    background-image: url('../images/b-footer-alberca.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 3rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

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

.contact-info p {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    font-size: 1.2rem;
}

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

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-logo {
    max-width: 100px;
    display: block;
    margin: 0 auto;
}

.certifications {
    text-align: right;
}

.certifications h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.certification-logos {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.certification-logos img {
    max-width: 100px;
    height: auto;
}

.footer a {
    font-family: 'Montserrat', sans-serif;
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .masonry-gallery {
        gap: 2rem;
    }
    
    .left-column, .right-column {
        flex: 0 0 400px;
    }
    
    .center-column {
        flex: 0 0 400px;
    }
    
    .masonry-item.small-item {
        max-width: 400px;
    }
    
    .masonry-item.large-item {
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .masonry-gallery {
        gap: 1.5rem;
    }
    
    .left-column, .right-column {
        flex: 0 0 350px;
    }
    
    .center-column {
        flex: 0 0 350px;
    }
    
    .masonry-item.small-item {
        max-width: 350px;
    }
    
    .masonry-item.large-item {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .masonry-gallery {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .masonry-column {
        width: 100%;
        max-width: 500px;
    }
    
    .left-column, .right-column, .center-column {
        flex: none;
        width: 100%;
    }
    
    .masonry-item.small-item {
        max-width: 100%;
        width: auto;
    }
    
    .masonry-item.large-item {
        max-width: 100%;
        width: auto;
    }
    
    .masonry-row {
        flex-direction: row;
        gap: 1rem;
    }
    
    .masonry-row .masonry-item {
        max-width: calc(50% - 0.5rem);
        width: auto;
    }
    
    .estancia-content, .isla-content {
        padding: 2rem;
    }
    
    .estancia-title, .isla-title {
        font-size: 2rem;
    }
    
    .platillos-title {
        font-size: 2rem;
    }
    
    .platillos-grid {
        gap: 2rem;
    }
    
    .platillo-item {
        width: 150px;
        height: 150px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    /* Footer Responsive Adjustments - Same as styles.css */
    .footer {
        padding: 2rem 0;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .certifications {
        text-align: center;
    }
    
    .certification-logos {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-logo {
        margin: 1rem auto;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .masonry-gallery {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .masonry-column {
        max-width: 100%;
    }
    
    .masonry-item.small-item {
        max-width: 100%;
        width: auto;
    }
    
    .masonry-item.large-item {
        max-width: 100%;
        width: auto;
    }
    
    .masonry-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .masonry-row .masonry-item {
        max-width: 100%;
        width: auto;
    }
    
    .estancia-content, .isla-content {
        padding: 1.5rem;
    }
    
    .platillo-item {
        width: 120px;
        height: 120px;
    }
    
    /* Footer Responsive Adjustments - Same as styles.css */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer .row > div {
        margin-bottom: 1.5rem;
    }
    
    .certification-logos img {
        max-width: 80px;
        margin: 0.5rem;
    }
    
    .contact-info p {
        justify-content: center;
    }
}

/* Fallback for images that might not load properly */
img {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

/* Ensure critical images are always visible */
.navbar-brand img,
.hero-image,
.footer-logo {
    opacity: 1 !important;
}

/* Imagen del título principal */
.hero-content img.hero-title {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
}
