/* Base Styles & Design Tokens */
:root {
    --bg-dark: #0f1115;
    --bg-light: rgba(255, 255, 255, 0.03);
    --text-main: #f0f0f2;
    --text-muted: #9ba0a6;
    --accent: #d4af37; /* Luxury Gold */
    --accent-hover: #e5c158;
    --border: rgba(255, 255, 255, 0.08);
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --padding-section: 6rem 5%;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    z-index: -2;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 300' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,300 L0,150 L80,60 L120,90 L200,20 L300,180 L380,80 L450,140 L550,40 L650,200 L720,100 L850,220 L950,90 L1000,150 L1000,300 Z' fill='%23d4af37' opacity='0.04'/%3E%3Cpath d='M0,300 L0,200 L100,100 L180,180 L250,90 L350,220 L450,110 L520,150 L600,80 L700,250 L800,120 L880,180 L1000,200 L1000,300 Z' fill='%23ffffff' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 1000px 400px;
    background-position: left bottom;
    animation: scrollMountains 50s linear infinite;
}

@keyframes scrollMountains {
    0% { background-position: 0 bottom; }
    100% { background-position: -1000px bottom; }
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.align-center {
    align-items: center;
}
.section-padding {
    padding: var(--padding-section);
}
.bg-light {
    background-color: var(--bg-light);
}
.text-center {
    text-align: center;
}
.mt-4 {
    margin-top: 2rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: 500;
    line-height: 1.1;
}
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}
.section-title i {
    font-family: var(--font-serif);
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}
.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}
.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 100;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-main);
}
.logo svg {
    color: var(--accent);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-links a:not(.nav-btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
}
.nav-links a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}
.nav-links a:not(.nav-btn):hover::after {
    width: 100%;
}
.nav-links a:not(.nav-btn):hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 20s ease-out infinite alternate;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 17, 21, 0.9) 0%, rgba(15, 17, 21, 0.4) 50%, rgba(15, 17, 21, 0.1) 100%);
}
.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}
.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: inline-block;
}
.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 1.5rem;
}
.hero-title i {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--accent);
}
.hero-desc {
    font-size: 1.25rem;
    color: #cfd2d6;
    margin-bottom: 2rem;
}
.hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 5%;
    color: var(--text-main);
    animation: bounce 2s infinite;
    z-index: 2;
    transition: var(--transition);
}
.scroll-down:hover {
    color: var(--accent);
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* About Section */
.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.host-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.host-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 600;
}
.host-name {
    font-weight: 600;
    font-size: 1.1rem;
}
.host-status {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.bento-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}
.bento-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
}
.bento-item.highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-light), rgba(212, 175, 55, 0.1));
}
.bento-item.highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}
.bento-item svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 1rem;
}
.bento-item span {
    font-weight: 500;
}
.bento-item small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    margin-top: 0.2rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.gallery-card {
    cursor: pointer;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    background: var(--bg-dark);
}
.gallery-card .img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover img {
    transform: scale(1.08);
}
.card-content {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
}
.card-content h3 {
    font-size: 1.25rem;
}
.card-content p {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Vivi Section (Horizontal Scroll on Mobile) */
.vivi-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.vivi-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.vivi-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.vivi-img {
    aspect-ratio: 3/2;
    overflow: hidden;
}
.vivi-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.vivi-card:hover .vivi-img img {
    transform: scale(1.05);
}
.vivi-info {
    padding: 2rem;
}
.vivi-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-family: var(--font-serif);
}
.vivi-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Location */
.distances {
    list-style: none;
    margin-top: 2rem;
}
.distances li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.distances li span:last-child {
    color: var(--text-main);
    font-weight: 600;
}
.map-wrapper {
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #e5e3df; /* Maps bg placeholder */
}
.map-wrapper iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%);
    transition: filter 0.3s;
}

/* Footer */
.footer {
    padding: 6rem 5% 3rem;
    background: var(--bg-dark);
}
.footer-title {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    margin-bottom: 1rem;
}
.footer p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}
.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
    color: #fff;
}
.footer-links {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--accent);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}
.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 1001;
}
.modal-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}
.modal-nav:hover {
    background: var(--accent);
    color: var(--bg-dark);
}
.modal-nav.prev { left: 2rem; }
.modal-nav.next { right: 2rem; }
.modal-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Animations (Intersection Observer) */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0) scale(1);
}
.fade-up {
    transform: translateY(40px);
}
.fade-left {
    transform: translateX(40px);
}
.fade-right {
    transform: translateX(-40px);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.shake-on-reveal.active {
    animation: peek-shake 1.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
    animation-delay: 1.0s;
}
@keyframes peek-shake {
    0% { transform: translateX(0); }
    15% { transform: translateX(-120px); }
    30% { transform: translateX(20px); }
    45% { transform: translateX(-15px); }
    60% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

/* Responsive / Mobile First Approach */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title {
        font-size: clamp(3.5rem, 10vw, 5rem);
    }
    .vivi-slider {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --padding-section: 4rem 1.5rem;
    }
    .nav-container {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .nav-links {
        display: flex;
        width: 100%;
        gap: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
    }
    .nav-links::-webkit-scrollbar {
        display: none;
    }
    .nav-links .nav-btn {
        position: absolute;
        top: 6px;
        right: 0;
        margin: 0;
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem !important;
    }
    .nav-links a:not(.nav-btn) {
        font-size: 0.9rem;
        white-space: nowrap;
    }
    .hero {
        padding: 0 1.5rem;
    }
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(15,17,21,0.7) 0%, rgba(15,17,21,0.8) 100%);
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.highlight {
        grid-column: span 1;
    }
    /* Horizontal scrolling for Vivi cards to feel like an iOS App */
    .vivi-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--accent) var(--bg-dark);
    }
    .vivi-slider::-webkit-scrollbar {
        height: 8px;
        -webkit-appearance: none;
    }
    .vivi-slider::-webkit-scrollbar-track {
        background: var(--bg-dark);
        border-radius: 10px;
    }
    .vivi-slider::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 10px;
    }
    .vivi-card {
        min-width: 80vw;
        scroll-snap-align: start;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .map-wrapper {
        aspect-ratio: 4/3;
    }
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .modal-nav.prev { left: 1rem; }
    .modal-nav.next { right: 1rem; }
}

/* Booking Modal */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.booking-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.booking-modal-container {
    background: #fff;
    color: #111;
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}
.booking-modal-overlay.active .booking-modal-container {
    transform: translateY(0);
}
.booking-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}
.booking-modal-close:hover {
    color: var(--accent);
}
.booking-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}
.form-group input[type="text"],
.form-group input[type="date"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}
.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus {
    border-color: var(--accent);
}
.form-group input.disabled-input {
    background: #f9f9f9;
    color: #888;
    cursor: not-allowed;
}
.date-picker-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.date-picker-group span {
    color: #555;
}
.counter-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    width: max-content;
}
.counter-btn {
    background: #f5f5f5;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    color: #333;
}
.counter-btn:hover {
    background: #e5e5e5;
}
.counter-group input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    pointer-events: none;
    -moz-appearance: textfield;
}
.counter-group input::-webkit-outer-spin-button,
.counter-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.btn-submit-wa {
    width: 100%;
    background: #fff;
    color: #111;
    border: 2px solid #111;
    padding: 1rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}
.btn-submit-wa:hover {
    background: #111;
    color: #fff;
}
.booking-modal-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 1rem;
}

/* Floating WhatsApp Bubble */
.wa-bubble {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    animation: pulse-wa 2s infinite;
}
.wa-bubble:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}
@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@media (max-width: 768px) {
    .wa-bubble {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .wa-bubble svg {
        width: 28px;
        height: 28px;
    }
}
