@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.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.7));
    z-index: 0;
}

.video-error {
    color: #fff;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 1rem;
}

.room-card {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    box-sizing: border-box;
}

.room-card:hover .room-overlay {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #d97706;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.burger span {
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/mountains.jpg') no-repeat center center/cover;
}

/* Video modal styles */
#videoModal {
    transition: opacity 0.3s ease;
}

#modalVideo {
    max-height: 80vh;
    object-fit: contain;
}

#closeModal {
    font-size: 2rem;
    cursor: pointer;
}

/* Additional styles for responsiveness */
.container {
    max-width: 1280px;
}

.room-overlay {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero-video {
        object-fit: cover;
    }

    .floating img {
        width: 200px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .room-card img {
        height: 200px;
    }

    .room-card {
        min-height: 350px;
    }

    #modalVideo {
        max-height: 60vh;
    }
}

@media (max-width: 640px) {
    .floating img {
        width: 180px;
    }

    .text-xl {
        font-size: 1.125rem;
    }

    .text-2xl {
        font-size: 1.5rem;
    }

    .room-card {
        min-height: 300px;
    }

    .video-error {
        font-size: 0.875rem;
        padding: 10px;
    }

    #modalVideo {
        max-height: 50vh;
    }
}