/* Modern Minimalist CSS for Hotel Vanilla */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #000000;
    --primary-light: #333333;
    --accent: #d4af37; /* Subtle gold accent */
    --text-dark: #1a1a1a;
    --text-light: #71717a;
    --bg-light: #fcfcfc;
    --bg-card: #ffffff;
    --border-color: #f4f4f5;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.12), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 4px;
}

/* Glassmorphism Header */
header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

.logo a {
    display: block;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

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

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 65% 30%;
    opacity: 0;
    filter: contrast(1.2) saturate(1.1);
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    z-index: 0;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    width: 40px;
    background-color: var(--accent);
}

.hero-dots .dot:hover {
    background-color: #fff;
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.8);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-nav:hover {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

/* Quick Booking Form */
.hero-booking {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    z-index: 4;
}

.booking-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    align-items: end;
}

.booking-form .form-group {
    text-align: left;
}

.booking-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.booking-form input, .booking-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: #f8fafc;
    outline: none;
    transition: border-color 0.3s;
}

.booking-form input:focus, .booking-form select:focus {
    border-color: var(--primary);
}

.btn-booking-submit {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-booking-submit:hover {
    background-color: #1a4f3b;
    transform: translateY(-2px);
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    background-color: #fff;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
    background-color: var(--bg-light);
}

.btn-dark {
    background-color: var(--primary);
    color: #fff;
}
.btn-dark:hover {
    background-color: var(--primary-light);
    color: #fff;
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-accent:hover {
    background-color: #b8962e;
    color: #fff;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

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

.bg-white {
    background-color: #ffffff;
}

/* Modern Card Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-img {
    height: 190px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    filter: sepia(0.1) hue-rotate(-5deg) saturate(0.95) brightness(1.1) contrast(0.85);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
    filter: sepia(0) hue-rotate(0deg) saturate(1.05) brightness(1.15) contrast(0.95);
}

.card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.card-desc {
    color: var(--text-light);
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 10px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: auto;
}

.price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: #fff;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent);
    font-weight: 400;
}

.footer-about p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact ul li i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .hero { height: 40vh; }
    .hero-slider .slide { background-position: 65% center; }
    .hero-video { object-position: 65% center; }
    
    .hero-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 60%;
    }
    
    .hero-nav-prev { left: 10px; }
    .hero-nav-next { right: 10px; }
    
    .hero-dots {
        bottom: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 30px 0;
        gap: 20px;
        border-top: 1px solid var(--border-color);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        text-align: center;
    }
    
    nav a { font-size: 18px; }
}

/* Floating WhatsApp Widget */
.wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 35px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.wa-widget:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
}

.wa-ping {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ff4757;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Modal Form */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary);
}


/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent);
}

/* --- NEW CARD STYLES --- */

/* 1. Hotel Room (Enhanced Classic) */
.card-hotel {
    position: relative;
}
.card-hotel .price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
    backdrop-filter: blur(5px);
}

/* 2. Villa Room (Horizontal) */
.card-horizontal {
    display: flex;
    flex-direction: row;
    height: auto;
    align-items: stretch;
}
.card-horizontal .card-img {
    width: 45%;
    height: auto;
    min-height: 250px;
}
.card-horizontal .card-content {
    width: 55%;
    padding: 30px;
    justify-content: center;
}
@media (max-width: 768px) {
    .card-horizontal {
        flex-direction: column;
    }
    .card-horizontal .card-img, .card-horizontal .card-content {
        width: 100%;
    }
}

/* 3. Meeting Room (Corporate Overlay) */
.card-overlay {
    position: relative;
    color: #fff;
    border: none;
}
.card-overlay .card-img {
    height: 300px;
}
.card-overlay .card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    transition: var(--transition);
}
.card-overlay:hover .card-img::after {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 100%);
}
.card-overlay .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 25px;
    background: transparent;
}
.card-overlay .card-title {
    color: #fff;
    font-size: 1.4rem;
}
.card-overlay .card-desc, .card-overlay .card-meta {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.2);
}
.card-overlay .price {
    color: var(--accent);
}

/* 4. Facilities (Clean Minimalist Tiles) */
.card-minimal {
    border: none;
    box-shadow: none;
    background: transparent;
    text-align: center;
    border-radius: 0;
}
.card-minimal .card-img {
    height: 220px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}
.card-minimal .card-content {
    padding: 0 10px;
}
.card-minimal .card-title {
    font-size: 1.2rem;
    color: var(--primary);
}

/* 5. Activities (Dynamic & Fun Borderless) */
.card-borderless {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}
.card-borderless .card-img {
    height: 250px;
    border-radius: 15px 15px 0 0;
}
.card-borderless .card-content {
    background: var(--bg-card);
    position: relative;
}
.card-borderless .card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}
/* 6. Villa Vertical Small */
.grid-sm {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card-villa {
    position: relative;
}
.card-villa .card-img {
    height: 170px;
}
.card-villa .card-title {
    font-size: 1.05rem;
}
.card-villa .card-desc {
    font-size: 0.75rem;
}
/* --- BOOKING WIDGET (HERO) --- */
.hero-booking-widget {
    position: relative;
    margin-top: -60px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px 15px 10px 30px;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    z-index: 10;
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.hero-booking-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}
.hero-booking-item:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(0,0,0,0.1);
}
.hero-booking-item label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-booking-item input, 
.hero-booking-item select {
    padding: 5px 0;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    outline: none;
    cursor: pointer;
}
.hero-booking-item input:focus, 
.hero-booking-item select:focus {
    border: none;
    box-shadow: none;
}
.hero-booking-btn {
    flex-shrink: 0;
}
.hero-booking-btn .btn {
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    background-color: var(--accent);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}
.hero-booking-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

@media (max-width: 991px) {
    .hero-booking-widget {
        display: none !important;
    }
    .hero-booking-item {
        width: 100%;
        padding-bottom: 10px;
    }
    .hero-booking-item:not(:last-of-type)::after {
        right: 0;
        top: auto;
        bottom: 0;
        height: 1px;
        width: 100%;
    }
    .hero-booking-btn {
        width: 100%;
        margin-top: 10px;
    }
    .hero-booking-btn .btn {
        width: 100%;
    }
}
