@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #A68A64;
    /* Warm Sand */
    --primary-dark: #8A7150;
    --secondary: #3D4035;
    /* Deep Olive */
    --bg: #FBF9F6;
    /* Cream Background */
    --surface: #ffffff;
    --text: #2b2b2b;
    --text-light: #5c5c5c;
    --accent: #D9C5B2;
    /* Light Beige */
    --border: #e8e2d9;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Navbar - Modern Glassmorphism */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

nav.scrolled {
    height: 80px;
    background: rgba(251, 249, 246, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

nav.scrolled .nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    position: relative;
}

nav.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

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

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

.hero-content {
    max-width: 900px;
}

.hero-content span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s forwards 1.1s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--text);
}

/* Sub-Header Styles */
.sub-header {
    padding: 200px 0 120px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
}

.sub-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.sub-header h1 {
    color: #ffffff;
}

.sub-header .section-title span {
    color: var(--accent);
}

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

.section-title {
    margin-bottom: 80px;
    text-align: center;
}

.section-title span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--secondary);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Room Highlights - Bento/Modern Cards */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    position: relative;
    overflow: hidden;
    height: 500px;
    background: var(--surface);
    transition: var(--transition);
}

.room-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover img {
    transform: scale(1.1);
}

.room-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    transform: translateY(20px);
    transition: var(--transition);
}

.room-card:hover .room-info {
    transform: translateY(0);
}

.room-info h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.room-info p {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Experience Section */
.experience-wrap {
    padding: 180px 0;
    position: relative;
    background-image: url('../img/kas.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
}

.experience-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

/* Footer - Premium Dark */
footer {
    padding: 120px 0 60px;
    background: #1a1a1a;
    color: #ffffff;
}

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

.footer-col h5 {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary);
}

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

.footer-links a {
    font-size: 15px;
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    opacity: 0.5;
}

/* Booking Tab - Floating */
.booking-tab {
    position: fixed;
    right: 40px;
    bottom: 40px;
    background: var(--primary);
    color: #ffffff;
    padding: 20px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 999;
    font-size: 12px;
    box-shadow: 0 10px 30px rgba(166, 138, 100, 0.3);
    border-radius: 4px;
    transition: var(--transition);
}

.booking-tab:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Mobile Booking Bar */
.mobile-booking-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: none;
    z-index: 1001;
    background: #fff;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.mobile-booking-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.bar-phone {
    background: var(--bg);
    color: var(--secondary);
    border-right: 1px solid var(--border);
}

.bar-book {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 1100px) {
    .booking-tab {
        display: none !important;
    }
    .mobile-booking-bar {
        display: flex;
    }
    /* Add padding to body to prevent content being hidden behind bar */
    body {
        padding-bottom: 70px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.menu-btn {
    display: none;
}

/* Responsive */
@media (max-width: 1100px) {

    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    nav {
        height: 80px;
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: var(--secondary);
    }
}

/* Offcanvas Menu */
.offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    padding: 80px 40px;
    transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.offcanvas.active {
    right: 0;
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
}

.offcanvas-links {
    list-style: none;
    margin-top: 40px;
}

.offcanvas-links li {
    margin-bottom: 25px;
}

.offcanvas-links a {
    font-size: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}

.offcanvas-lang {
    margin-top: auto;
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.offcanvas-lang a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}

.offcanvas-lang img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}


/* Swiper Custom Styles */
.room-swiper {
    width: 100%;
    height: 100%;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.8);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Language Switcher Dropdown */
.lang-switcher {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-left: 20px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

nav.scrolled .lang-current {
    color: var(--text);
}

.lang-current img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-current i {
    font-size: 10px;
    opacity: 0.5;
    transition: var(--transition);
}

.lang-list {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
}

.lang-switcher:hover .lang-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher:hover .lang-current i {
    transform: rotate(180deg);
}

.lang-list li {
    margin: 0 !important;
}

.lang-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    font-size: 13px;
    color: var(--text);
    transition: background 0.3s ease;
    text-decoration: none;
}

.lang-list a:hover {
    background: var(--bg);
    color: var(--primary);
}

.lang-list img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}