:root {
    --primary-color: #F6314B;
    --secondary-color: #F67A34;
    --accent-color: #FFD166;
    --dark-color: #1A1A2E;
    --light-color: #F8F9FA;
    --text-color: #333333;
    --text-light: #6C757D;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader-inner {
    border: 5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    width: 100%;
    height: 100%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand .logo-img {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand .logo-img {
    height: 35px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    position: relative;
    color: white !important;
}

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

.nav-link:hover::after {
    width: calc(100% - 30px);
}

.btn-book {
    background: var(--gradient-primary);
    border: none;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-book:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(246, 49, 75, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    background: url('https://images.unsplash.com/photo-1551882547-ff40c63fe5fa') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.label{
    color: #6C757D;
}

/* Booking Form */
.booking-form-container {
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: all 0.5s ease;
}

.booking-form-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.booking-form-header h3 {
    margin: 0;
    font-weight: 600;
}

.booking-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control, .form-select {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(246, 49, 75, 0.25);
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Room Cards */
.room-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.room-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.room-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.room-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 26, 46, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
}

.room-price span {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
}

.room-info {
    padding: 25px;
}

.room-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.room-desc {
    color: var(--text-light);
    margin-bottom: 15px;
}

.room-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--text-light);
}

.room-meta div {
    display: flex;
    align-items: center;
}

.room-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    border-radius: 30px;
    padding: 8px 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(246, 49, 75, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: white;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding: 150px 0 80px;
        height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .booking-form-container {
        margin-top: 50px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand .logo-img {
        height: 30px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* Animations */
.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Floating Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}


/* Features */
.features {
    padding: 80px 0;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}


/* Amenities Section */
.amenities-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.amenity-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.amenity-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    transform: rotateY(180deg);
}

.amenity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.amenity-card p {
    color: var(--text-light);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: white;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    padding: 20px;
    transform: translateY(20px);
    transition: all 0.3s ease;
    width: 100%;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.gallery-caption p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .amenities-section, .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .amenity-card {
        padding: 20px;
    }
    
    .amenity-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .gallery-caption h4 {
        font-size: 1.2rem;
    }
}


/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    width: 100%;
}

.lightbox-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px;
    background: rgba(0,0,0,0.7);
    border-radius: 0 0 10px 10px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

@media (max-width: 767.98px) {
    .lightbox-content {
        max-width: 100%;
    }
    
    .lightbox-caption {
        padding: 10px;
        font-size: 0.9rem;
    }
}


/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.9)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    margin: 15px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}


/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-links h5 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

