@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
    --sand: #f5f0e8;
    --sand-light: #faf7f2;
    --gold: #c8a97e;
    --gold-dark: #a68b5b;
    --earth: #8b7355;
    --earth-dark: #5c4a32;
    --caribbean: #2d6a4f;
    --caribbean-light: #40916c;
    --white: #ffffff;
    --charcoal: #2c2c2c;
    --gray: #6b6b6b;
    --gray-light: #9a9a9a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--sand-light);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--caribbean);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--earth-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.highlight {
    color: var(--caribbean);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--caribbean);
    color: var(--white);
    border: 2px solid var(--caribbean);
}

.btn-primary:hover {
    background: var(--caribbean-light);
    border-color: var(--caribbean-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    z-index: 1001;
}

.navbar.scrolled .nav-logo {
    color: var(--earth-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--charcoal);
}

.nav-link:hover {
    color: var(--gold);
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.navbar.scrolled .lang-toggle {
    background: var(--sand);
    border-color: var(--gold);
    color: var(--earth-dark);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.navbar.scrolled .lang-toggle:hover {
    background: var(--gold);
    color: var(--white);
}

.lang-toggle .lang-es {
    display: none;
}

html[data-lang="es"] .lang-toggle .lang-en {
    display: none;
}

html[data-lang="es"] .lang-toggle .lang-es {
    display: inline;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-toggle span {
    background: var(--charcoal);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--earth-dark) 0%, var(--caribbean) 50%, var(--earth) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/google-place.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(92, 74, 50, 0.6), rgba(45, 106, 79, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1;
}

.amp {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.badge {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.6); }
}

/* About */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-img-wrapper:nth-child(2) {
    margin-top: 40px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.05);
}

.about-text {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--sand);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--caribbean);
}

.stat-label {
    font-size: 13px;
    color: var(--gray-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Offerings */
.offerings {
    padding: 100px 0;
    background: var(--sand-light);
    text-align: center;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.offering-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.offering-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.offering-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--earth-dark);
    margin-bottom: 12px;
}

.offering-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Menu */
.menu {
    padding: 100px 0;
    background: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 60px;
}

.menu-category {
    background: var(--sand-light);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(200, 169, 126, 0.2);
}

.menu-category.full-width {
    grid-column: 1 / -1;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--caribbean);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
}

.sub-category {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--earth-dark);
    margin-bottom: 16px;
}

.menu-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
}

.menu-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.menu-item-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--earth-dark);
}

.menu-item-price {
    font-weight: 600;
    color: var(--caribbean);
    font-size: 0.95rem;
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--gray-light);
    font-style: italic;
}

/* Gallery */
.gallery {
    padding: 100px 0;
    background: var(--sand-light);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 60px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

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

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

/* Location */
.location {
    padding: 100px 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-details {
    margin: 40px 0;
}

.detail {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--earth-dark);
    margin-bottom: 4px;
}

.detail p {
    color: var(--gray);
    font-size: 0.95rem;
}

.rating {
    color: var(--caribbean) !important;
    font-weight: 600 !important;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.social-link {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}

.social-link.tiktok {
    background: #000;
    color: var(--white);
}

.social-link.facebook {
    background: #1877f2;
    color: var(--white);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.map-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 30px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

/* Footer */
.footer {
    background: var(--earth-dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--gold);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--caribbean);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

.design-credit {
    margin-top: 8px;
    font-size: 12px !important;
}

/* Language visibility */
.text-es {
    display: none;
}

.text-en {
    display: inline;
}

html[data-lang="es"] .text-en {
    display: none;
}

html[data-lang="es"] .text-es {
    display: inline;
}

html[data-lang="en"] .text-en {
    display: inline;
}

html[data-lang="en"] .text-es {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--earth-dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--white);
        font-size: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .about-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .menu-category {
        padding: 24px;
    }

    .menu-grid {
        gap: 24px;
    }
}
