/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar {
    background: white;
    padding: 1rem 5%;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff385c;
    text-decoration: none;
    letter-spacing: -0.4px;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.nav-logo {
    height: 2.4rem;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.6rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.78);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
    letter-spacing: -0.2px;
}

.nav-links a:hover {
    color: #ff385c;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #484848;
    margin-left: auto;
    padding: 0;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 4%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 1rem;
        font-weight: 400;
    }

    .nav-brand {
        font-size: 1.3rem;
        gap: 0.5rem;
    }

    .nav-logo {
        height: 1.8rem;
        border-radius: 6px;
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    position: relative;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: #333;
    /* Fallback color */
    overflow: hidden;
}

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

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

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2.5rem;
    max-width: 800px;
    animation: fadeIn 1s ease-in-out;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    color: #fff;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ff385c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: transparent;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Rooms Section */
.rooms-section {
    padding: 5rem 5%;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #484848;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.room-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-image-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.slider-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slider-images img.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 56, 92, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: #ff385c;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 20px;
}

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

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #ff385c;
    transform: scale(1.2);
}

.room-details {
    padding: 1.5rem;
}

.room-details h3 {
    color: #484848;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.features li {
    margin-bottom: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.features li:before {
    content: "✓";
    color: #ff385c;
    margin-right: 0.8rem;
    font-weight: bold;
}

.book-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #ff385c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #ff385c;
}

.book-button:hover {
    background: white;
    color: #ff385c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.2);
}

@media (max-width: 768px) {
    .room-image-slider {
        height: 250px;
    }

    .room-details h3 {
        font-size: 1.3rem;
    }

    .features li {
        font-size: 0.95rem;
    }

    .book-button {
        padding: 0.7rem 1.3rem;
        font-size: 0.95rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .room-image-slider {
        height: 200px;
    }

    .room-details {
        padding: 1.2rem;
    }

    .room-details h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .features li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .book-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Amenities Section */
.amenities-section {
    padding: 5rem 5%;
    background: #fff;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.amenity-card {
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s;
}

.amenity-card:hover {
    transform: translateY(-5px);
}

.amenity-card h3 {
    color: #484848;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 5%;
    background: #fff;
    position: relative;
}

.gallery-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 3;
    backdrop-filter: blur(5px);
}

.gallery-counter span {
    color: #ff385c;
    font-weight: bold;
}

.gallery-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff385c;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 3;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-category.category-change {
    animation: categoryChange 0.3s ease;
}

@keyframes categoryChange {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #484848;
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
}

.gallery-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff385c;
}

.gallery-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: #f8f9fa;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

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

.gallery-slide:hover img {
    transform: scale(1.02);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-slide.active .slide-caption {
    transform: translateY(0);
}

.slide-caption h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #484848;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: #ff385c;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

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

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

.gallery-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.gallery-dot.active {
    background: #ff385c;
    transform: scale(1.2);
    border-color: white;
}

@media (max-width: 1200px) {
    .gallery-slider {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .gallery-section h2 {
        font-size: 2rem;
    }

    .gallery-counter,
    .gallery-category {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .gallery-slider {
        height: 400px;
        border-radius: 10px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-nav.prev {
        left: 10px;
    }

    .gallery-nav.next {
        right: 10px;
    }

    .slide-caption {
        padding: 20px;
    }

    .slide-caption h3 {
        font-size: 1rem;
    }

    .gallery-dots {
        bottom: 80px;
        gap: 8px;
    }

    .gallery-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {

    .gallery-counter,
    .gallery-category {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .gallery-slider {
        height: 300px;
    }

    .slide-caption {
        padding: 15px;
    }

    .gallery-dots {
        bottom: 60px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.close-lightbox:hover {
    color: #ff385c;
    transform: rotate(90deg);
}

.lightbox-caption {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
    max-width: 80%;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.2s;
}

.lightbox.active .lightbox-caption {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 1200px) {
    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        columns: 1;
        gap: 1rem;
        padding: 0.5rem;
    }

    .gallery-overlay {
        padding: 15px;
    }

    .gallery-overlay h3 {
        font-size: 1rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-caption {
        font-size: 1rem;
        max-width: 90%;
    }

    .close-lightbox {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    background: #f7f7f7;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: #484848;
    margin-bottom: 1.5rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
}

.contact-info a {
    color: #ff385c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #d63051;
}

/* Footer */
footer {
    background: #484848;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

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

    .rooms-grid {
        grid-template-columns: 1fr;
    }
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #484848;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff385c;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #484848;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff385c;
}

/* Sections */
section {
    padding: 4rem 1rem;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    color: #484848;
    margin-bottom: 2rem;
}

/* Rooms Grid */
.rooms-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

/* Contact Section */
.contact-section {
    background: #f7f7f7;
    padding: 4rem 1rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: #484848;
    margin-bottom: 1.5rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
}

.contact-info a {
    color: #ff385c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #d63051;
}

/* Footer */
footer {
    background: #484848;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {

    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* Sections */
    section {
        padding: 3rem 1rem;
    }

    section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    /* Rooms Grid */
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-caption {
        font-size: 1rem;
        max-width: 90%;
    }

    .close-lightbox {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {

    /* Navigation */
    .logo {
        font-size: 1.25rem;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    /* Sections */
    section {
        padding: 2.5rem 0.75rem;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    /* Contact Info */
    .contact-info {
        padding: 1.25rem;
    }

    .contact-info h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .contact-info li {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
}

/* Add mobile menu functionality */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #484848;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #ff385c;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem;
    }
}