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

:root {
    --primary: #E8D5C4;
    --primary-rgb: 232, 213, 196;
    --secondary: #2C3E50;
    --secondary-rgb: 44, 62, 80;
    --accent: #8B4513;
    --accent-light: #A0522D;
    --text-main: #2C3E50;
    --text-light: #546E7A;
    --bg-white: #FFFFFF;
    --bg-warm: #FAF9F6;
    --success: #27AE60;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(12px);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

nav .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.nav-links a:not(.btn-book) {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 15px 8%;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

nav.scrolled .logo,
nav.scrolled .nav-links a:not(.btn-book) {
    color: var(--secondary);
    text-shadow: none;
}

/* Navbar Items Spacing */
.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a:not(.btn-book)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-book):hover::after {
    width: 100%;
}

/* Dropdown styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(15px);
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px 0;
    z-index: 1001;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown.active .dropdown-content {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.dropdown-content a {
    color: white !important;
    padding: 12px 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    text-shadow: none !important;
}

.dropdown-content a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.dropdown-content a:hover {
    background: rgba(232, 213, 196, 0.15);
    color: var(--primary) !important;
}

.btn-book {
    background: var(--accent);
    color: white !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-book:hover {
    background: #6D3610;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* Hero Carousel */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    animation: kenBurns 12s infinite linear;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-1%, -1%);
    }

    100% {
        transform: scale(1) translate(0, 0);
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 45px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
}

/* Sections */
section {
    padding: 100px 10%;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Rooms Grid */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.room-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.room-img {
    height: 280px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

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

.room-info {
    padding: 35px;
}

.room-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.room-info p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    height: auto;
    min-height: 60px;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--success);
    color: white !important;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s ease;
}

.wa-btn:hover {
    background: #1E8449;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.amenity-item {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.amenity-item:hover {
    background: var(--bg-white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.amenity-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

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

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

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 100px 10% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.footer-section p,
.footer-section a {
    color: #AAB7B8;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: block;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: #7F8C8D;
    letter-spacing: 0.5px;
}

/* Animations */
.reveal-init {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 5%;
    }
}