:root {
    --primary: #d4a017;
    --primary-dark: #b38613;
    --secondary: #f8f5eb;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --border-color: #e5e5e5;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 70px;
    --transition-speed: 0.3s;
}

.dark {
    --primary: #d4a017;
    --primary-dark: #b38613;
    --secondary: #2a2a2a;
    --text-dark: #f0f0f0;
    --text-light: #cccccc;
    --white: #1a1a1a;
    --light-bg: #333333;
    --border-color: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Sidebar - Only visible on mobile */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: var(--sidebar-width);
    height: 100%;
    background-color: var(--secondary);
    z-index: 1000;
    transition: left var(--transition-speed) ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    display: none;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    display: flex;
    align-items: center;
}

.sidebar-logo img {
    height: 50px;
    margin-right: 10px;
}

.sidebar-close {
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu-item {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-menu-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.sidebar-menu-item i {
    margin-right: 10px;
    font-size: 18px;
    color: var(--primary);
}

.sidebar-menu-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.sidebar-footer p {
    color: var(--text-light);
    font-size: 14px;
}

/* Dropdown Support in Sidebar */
.has-submenu {
    justify-content: space-between;
}

.submenu {
    margin-left: 20px;
    padding-left: 10px;
    border-left: 2px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    transition: max-height 0.3s ease;
}

.submenu.hidden {
    display: none;
}

.sidebar-submenu-item {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.sidebar-submenu-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.submenu-arrow {
    font-size: 12px;
    color: var(--text-dark);
    margin-left: auto;
    transition: transform 0.3s ease;
}

.submenu-open {
    transform: rotate(180deg);
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    #welcome-text {
        display: none;
    }
    #social-icons {
        display: none;
    }
}

.social-icons a {
    margin-left: 15px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary);
}

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Dropdown styles */
.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: none;
    min-width: 160px;
    border-radius: 8px;
    z-index: 1000;
}

.nav-menu .dropdown-menu li {
    margin: 0;
}

.nav-menu .dropdown-menu a {
    padding: 10px 20px;
    white-space: nowrap;
    color: var(--text-dark);
}

.nav-menu .dropdown-menu a:hover {
    background-color: #f7f7f7;
    color: var(--primary);
}

/* Show dropdown on hover */
.nav-menu li.dropdown:hover .dropdown-menu {
    display: block;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* Booking Bar */
.booking-bar {
    background-color: var(--secondary);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.booking-bar .form-group {
    margin-right: 10px;
}

.booking-item {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.date-group {
    display: flex;
    gap: 15px; /* space between the fields */
}

.date-group .form-group {
    flex: 1; /* make both fields equal width */
}

.pagination button {
    margin: 0 5px;
}

.pagination button.active {
    font-weight: bold;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
}

.form-control {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Bookings Section */
.bookings {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.bookings .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.bookings .section-subtitle {
    font-size: 1.2rem;
    color: #1a73e8;
    font-weight: 500;
}

.bookings .section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

#bookingsList {
    display: grid;
    gap: 20px;
}

.booking-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.booking-item p {
    margin: 5px 0;
    color: #333;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    #bookingsList {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #bookingsList {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(248, 245, 235, 0.9), rgba(248, 245, 235, 0.9));
    padding: 80px 0;
    text-align: center;
}

.dark .hero {
    background: linear-gradient(rgba(42, 42, 42, 0.9), rgba(42, 42, 42, 0.9));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-text {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 18px;
}

.star-rating {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 20px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-heading {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-description {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background-color: var(--secondary);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-dark);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
}

/* Rooms Section */
.rooms {
    padding: 80px 0;
    background-color: var(--white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.room-image {
    height: 500px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-details {
    padding: 20px;
}

.room-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.room-description {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.room-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.room-feature {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
}

.room-feature i {
    color: var(--primary);
    margin-right: 5px;
}

.room-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.room-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--secondary);
    padding: 20px;
    border-radius: 8px;
}

.contact-icon {
    background-color: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
}

.contact-form {
    background-color: var(--secondary);
    padding: 30px;
    border-radius: 8px;
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--text-dark);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.footer-newsletter p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    border-radius: 4px 0 0 4px;
    border: 1px solid var(--border-color);
    padding: 10px;
    background-color: var(--white);
    color: var(--text-dark);
}

.newsletter-form button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.call-btn {
    background-color: var(--primary);
}

.whatsapp-btn {
    background-color: #25D366;
}

.dark-mode-btn {
    background-color: #6c757d;
}

.dark .dark-mode-btn {
    background-color: #ffc107;
}

.floating-btn i {
    font-size: 24px;
}

/* Left Floating Book Now Button - Styled like the image */
.book-now-floating {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.book-now-floating .btn {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #d4a017, #ff3850);
    color: white;
    border-radius: 0 30px 30px 0;
    padding: 12px 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.book-now-floating .btn:hover {
    background: linear-gradient(to right, #ff3850, #d4a017);
}

.book-now-floating .btn i {
    margin-right: 8px;
    font-size: 18px;
}

/* Fix for booking form button alignment */
.booking-form-btn {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.booking-form-btn .btn {
    width: 100%;
    height: 48px;
    /* Match height of other form elements */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Desktop Book Now Button */
.desktop-book-btn {
    display: block;
}

/* Mobile Book Now Button (in sidebar) */
.mobile-book-btn {
    display: none;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}

/* Header actions container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }

    .section-heading {
        font-size: 30px;
    }
}

@media (max-width: 768px) {

    /* Show sidebar on mobile */
    .sidebar {
        display: block;
    }

    /* Hide desktop nav menu */
    .nav-menu {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
    }

    /* Hide desktop book now button */
    .desktop-book-btn {
        display: none;
    }

    /* Show mobile book now button in sidebar */
    .mobile-book-btn {
        display: block;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-heading {
        font-size: 26px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-heading {
        font-size: 22px;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn i {
        font-size: 20px;
    }
}