:root {
    /* Sunny & Vibrant Palette */
    --sun-yellow: #FFD700;
    --mango-orange: #FF8C42;
    --flamingo-pink: #FF6B6B;
    --tropical-teal: #2EC4B6;
    --deep-sea: #011627;
    --warm-white: #FDFFFC;
    --accent-gold: #FFD700;
    
    --bg-dark: #011627;
    --text-light: #FDFFFC;
    --text-muted: #B0D0D3;
    
    --gradient-hero: linear-gradient(135deg, rgba(255,140,66,0.9), rgba(46,196,182,0.8));
    --gradient-footer: linear-gradient(to right, #011627, #022c43);
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif; /* Clean, legible font */
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif; /* Friendly, rounded header font */
    font-weight: 600;
}

.eyebrow {
    font-family: 'Chewy', cursive; /* Fun, handwritten style */
    letter-spacing: 1px;
}

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

.section-padding {
    padding: 6rem 0;
}

.eyebrow {
    color: var(--sun-yellow);
    text-transform: uppercase;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
}

/* Floating Navigation */
.floating-nav {
    position: absolute; /* Detached from scroll - 'despega la cabecera' */
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.15); /* Glassmorphism lighter */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-radius: 50px;
    z-index: 1000;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

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

.nav-logo img {
    height: 50px; /* Slightly larger logo */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--warm-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.nav-links a:hover {
    color: var(--sun-yellow);
    transform: translateY(-2px);
}

.cta-mini {
    background: linear-gradient(45deg, var(--sun-yellow), var(--mango-orange));
    color: var(--deep-sea) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
    text-shadow: none !important;
}

.btn-icon-mini {
    height: 20px;
    width: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh; /* Use min-height for mobile safety */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Colorful gradient overlay */
    background: linear-gradient(180deg, rgba(1, 22, 39, 0.4) 0%, rgba(1, 22, 39, 0.7) 60%, rgba(1, 22, 39, 1) 100%),
                linear-gradient(45deg, rgba(255, 140, 66, 0.3), rgba(46, 196, 182, 0.3));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    margin-top: 4rem; /* Offset for nav */
}

.hero h1 {
    font-size: clamp(2.8rem, 9vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0px var(--mango-orange);
}

.subtitle-hero {
    display: block;
    font-size: 0.5em;
    font-weight: 300;
    margin-top: 0.5rem;
    color: var(--sun-yellow);
    font-family: 'Montserrat', sans-serif;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--warm-white);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-icon {
    height: 24px;
    width: auto;
}

.btn-primary {
    background: linear-gradient(45deg, var(--sun-yellow), var(--mango-orange));
    color: var(--deep-sea);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.5);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.7);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--tropical-teal);
    color: var(--tropical-teal);
    box-shadow: 0 4px 15px rgba(46, 196, 182, 0.2);
}

.btn-outline:hover {
    background: var(--tropical-teal);
    color: var(--deep-sea);
    transform: translateY(-5px);
}

/* Feature Cards */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--tropical-teal);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--sun-yellow);
    margin: 1rem auto;
    border-radius: 2px;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(46, 196, 182, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--sun-yellow);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
}

.card-img-wrapper {
    height: 250px;
    overflow: hidden;
    border-bottom: 3px solid var(--sun-yellow);
}

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

.feature-card:hover .card-img-wrapper img {
    transform: scale(1.1) rotate(2deg);
}

.card-body {
    padding: 2rem;
}

.card-body h3 {
    margin-bottom: 1rem;
    color: var(--mango-orange);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
}

.btn-text {
    color: var(--tropical-teal);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 1.5rem;
    border-bottom: 2px solid var(--tropical-teal);
    padding-bottom: 2px;
}

/* Social Proof Section */
.proof-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.proof-image img {
    width: 100%;
    border-radius: 20px;
    /* Fun offset border effect */
    box-shadow: 20px 20px 0px var(--tropical-teal),
                -20px -20px 0px var(--flamingo-pink);
    transition: var(--transition);
}

.proof-image img:hover {
    transform: scale(1.02);
    box-shadow: 25px 25px 0px var(--sun-yellow),
                -15px -15px 0px var(--mango-orange);
}

.testimonial-stars {
    color: var(--sun-yellow);
    font-size: 2rem;
    margin: 1.5rem 0 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Masonry Gallery */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 1rem;
}

.masonry-item {
    overflow: hidden;
    border-radius: 8px;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.masonry-item:nth-child(2n) {
    grid-row: span 2;
}

/* Instagram Feed */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.ig-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.ig-item::after {
    content: '\f16d'; /* FontAwesome unicode-like placeholder or similar if FA were loaded, but we use Lucide separately. */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.ig-item:hover::after {
    opacity: 1;
}

/* Language Toggle */
.hidden {
    display: none !important;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid var(--sun-yellow);
    color: var(--sun-yellow);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--sun-yellow);
    color: var(--deep-sea);
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--tropical-teal);
    color: var(--deep-sea);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--sun-yellow);
    transform: translateY(-5px);
}

/* Footer & Hours */
.footer {
    background: linear-gradient(to top, #010a12, #011627);
    border-top: 5px solid var(--tropical-teal);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.footer-logo {
    height: 100px;
    margin-bottom: 1.5rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
}

.hours-list li.closed {
    color: var(--flamingo-pink);
    font-weight: 600;
}

.footer-link {
    color: var(--sun-yellow);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    margin-top: 1rem;
    font-weight: 700;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--tropical-teal);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: var(--warm-white);
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--sun-yellow);
    color: var(--deep-sea);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.eros-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 1px;
    opacity: 0.6;
}

.eros-link:hover {
    color: var(--tropical-teal);
    opacity: 1;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(1, 22, 39, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {transform:scale(0.9); opacity:0}
    to {transform:scale(1); opacity:1}
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--warm-white);
    padding: 20px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--sun-yellow);
    text-decoration: none;
    cursor: pointer;
}

/* Update Masonry for clickability */
.masonry-item img {
    cursor: pointer;
}
.feature-card img {
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem; /* Reduce padding for more screen real estate */
    }

    .masonry-grid {
        grid-template-columns: repeat(2, 1fr); /* Ensure 2 columns on mobile */
        grid-auto-rows: 160px; /* Slightly smaller rows for density */
        gap: 0.5rem;
    }
    
    /* Ensure gallery images render correctly */
    .masonry-item {
        width: 100%;
        display: block;
    }

    .floating-nav {
        top: auto;
        bottom: 1rem;
        border-radius: 20px;
        display: flex;
        justify-content: center;
    }

    .nav-container {
        width: 100%;
    }
    
    .nav-links {
        gap: 0.8rem;
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-links a:not(.cta-mini) {
        display: none;
    }

    /* Keep language toggle on mobile */
    .lang-btn {
        display: block;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    #back-to-top {
        bottom: 6rem; /* Above the nav bar */
        right: 1.5rem;
    }
    
    .proof-layout {
        grid-template-columns: 1fr;
    }
    
    .ig-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        background: rgba(0,0,0,0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }
}