* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

:root {
    --primary-orange: #d97706;
    --primary-blue: #5b8db8;
    --white: #ffffff;
    --dark-text: #2d3748;
    --light-text: #4a5568;
    --dark-bg: #1a1a1a;
    --dark-bg-secondary: #2d2d2d;
    --dark-bg-tertiary: #3a3a3a;
    --light-text-dark-bg: #e0e0e0;
    --lighter-text-dark-bg: #f5f5f5;
}

body {
    font-family: 'Orbitron', sans-serif;
    line-height: 1.6;
    color: var(--light-text-dark-bg);
    background-color: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--dark-bg-secondary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo-img {
    max-height: 100%;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--light-text-dark-bg);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.language-switcher {
    position: relative;
}

.lang-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.lang-btn:hover {
    background-color: var(--primary-orange);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px; /* Add spacing around the icon */
    z-index: 1001;
    position: relative;
    min-width: 44px; /* Minimum touch target size */
    min-height: 44px;
    touch-action: manipulation; /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 3px;
    transition: all 0.3s;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background-image: url('assets/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-title {
    color: var(--primary-orange);
}

/* Dark overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

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

.hero-content h2 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.hero-btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-orange);
    padding: 1rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    background-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Rooms Section */
.rooms-section {
    padding: 4rem 0;
    background-color: var(--dark-bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--light-text-dark-bg);
}

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

.room-card {
    background-color: var(--dark-bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.7);
}

.room-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.room-info {
    padding: 1.5rem;
}

.room-info h3 {
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.room-info p {
    color: var(--light-text-dark-bg);
    margin-bottom: 1rem;
}

.room-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--light-text-dark-bg);
}

.room-meta span {
    background-color: var(--dark-bg-tertiary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: var(--light-text-dark-bg);
}

.book-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s;
    min-height: 44px; /* Touch target */
    font-size: 1rem;
    touch-action: manipulation; /* Improve touch responsiveness */
}

.book-btn:hover {
    background-color: var(--primary-orange);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: var(--dark-bg-secondary);
}

.about-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--light-text-dark-bg);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--dark-bg-secondary);
}

.contact-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.contact-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-logo-img {
    max-height: 250px; /* Much bigger logo */
    max-width: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.contact-info {
    text-align: center;
    flex: 1;
    margin: 0 auto;
    max-width: 400px;
}

.contact-map-wrapper {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-width: 350px;
}

.contact-map {
    width: 100%;
    min-width: 350px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--primary-orange);
}

.contact-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    min-width: 50px;
    min-height: 50px;
}

.instagram-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.4);
}

.instagram-icon {
    width: 28px;
    height: 28px;
    fill: white;
}

/* Room Detail Page */
.room-detail {
    padding: 2rem 0;
}

.room-header {
    text-align: center;
    margin-bottom: 2rem;
}

.room-header h1 {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.room-meta-detail {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.room-meta-detail span {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.room-gallery {
    margin-bottom: 3rem;
}

.image-slider {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height based on landscape images */
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: #000;
    margin: 0 auto;
    transition: width 0.5s ease-in-out;
    margin-bottom: 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    object-fit: contain; /* Contain ensures whole image is visible */
    display: block;
}

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

.slider-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-orange);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 2002;
    transition: all 0.3s;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    touch-action: manipulation; /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
}

/* Show slider buttons only when modal is active */
.room-modal.active .slider-btn {
    display: flex;
}

.slider-btn:hover {
    background-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 50px; /* Fixed position from left edge */
}

.next-btn {
    right: 50px; /* Fixed position from right edge */
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    padding: 0;
    width: 100%;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 12px;
    min-height: 12px;
    touch-action: manipulation; /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
}

.indicator:hover {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

.indicator.active {
    background-color: var(--primary-orange);
    width: 30px;
    border-radius: 6px;
}

.room-content {
    margin-bottom: 3rem;
}

.room-info-section {
    max-width: 900px;
    margin: 0 auto;
}

.room-info-section h2 {
    color: var(--primary-orange);
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.room-info-section p {
    color: var(--light-text-dark-bg);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Pricing Table */
.pricing-table {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--dark-bg-tertiary);
    border: 1px solid #555;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #555;
    transition: background-color 0.3s;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row:hover {
    background-color: var(--dark-bg-secondary);
}

.pricing-players {
    font-size: 1.1rem;
    color: var(--light-text-dark-bg);
    font-weight: 500;
}

.pricing-price {
    font-size: 1.2rem;
    color: var(--primary-orange);
    font-weight: bold;
}

/* Booking Section */
.booking-section {
    background-color: var(--dark-bg-secondary);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.booking-section h2 {
    text-align: center;
    color: var(--primary-orange);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.booking-calendar {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--dark-bg-tertiary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h3 {
    font-size: 1.5rem;
    color: var(--light-text-dark-bg);
}

.calendar-nav {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.calendar-nav:hover {
    background-color: var(--primary-orange);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #555;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: var(--light-text-dark-bg);
}

.calendar-day.fully-booked {
    background-color: var(--dark-bg-tertiary);
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #444;
}

.calendar-day:hover:not(.disabled):not(.fully-booked) {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.calendar-day.disabled {
    color: #666;
    cursor: not-allowed;
    background-color: var(--dark-bg-tertiary);
}

.calendar-day.selected {
    background-color: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.calendar-day.today {
    border-color: var(--primary-blue);
    font-weight: bold;
}

.day-name {
    font-weight: bold;
    color: var(--primary-orange);
    text-align: center;
}

.time-slots {
    margin-top: 2rem;
}

.time-slots h4 {
    margin-bottom: 1rem;
    color: var(--light-text-dark-bg);
    font-weight: 600;
}

.time-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.time-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    min-height: 44px; /* Touch target */
    touch-action: manipulation; /* Improve touch responsiveness */
}

.time-btn:hover {
    background-color: var(--primary-orange);
}

.time-btn.selected {
    background-color: var(--primary-orange);
}

.time-btn.disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.5;
}

.booking-form {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #555;
}

.booking-form h4 {
    margin-bottom: 1rem;
    color: var(--light-text-dark-bg);
}

.booking-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-form input {
    padding: 0.8rem;
    border: 2px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    min-height: 44px; /* Touch target */
    -webkit-appearance: none; /* Remove iOS styling */
    appearance: none;
    background-color: var(--dark-bg);
    color: var(--light-text-dark-bg);
}

.booking-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--dark-bg-secondary);
}

.submit-btn {
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    min-height: 44px; /* Touch target */
    touch-action: manipulation; /* Improve touch responsiveness */
}

.submit-btn:hover {
    background-color: var(--primary-blue);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--dark-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 10px;
    color: var(--white);
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--dark-bg-secondary);
}

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

.testimonial-card {
    background-color: var(--dark-bg-tertiary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    text-align: center;
}

.testimonial-stars {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--light-text-dark-bg);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--primary-orange);
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: var(--dark-bg);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--dark-bg-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--dark-bg-tertiary);
}

.faq-question h3 {
    color: var(--light-text-dark-bg);
    font-size: 1.2rem;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-orange);
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--light-text-dark-bg);
    line-height: 1.8;
    margin: 0;
}

/* Admin Panel Styles */
.admin-panel {
    padding: 2rem 0;
    min-height: 100vh;
    background-color: var(--dark-bg);
}

.admin-header {
    background-color: var(--dark-bg-secondary);
    padding: 2rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.admin-header h1 {
    color: var(--primary-orange);
    text-align: left;
    font-size: 2.5rem;
    margin: 0;
    flex: 1;
}

.admin-controls {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.admin-btn:hover {
    background-color: var(--primary-orange);
}

.admin-btn.danger {
    background-color: #dc3545;
}

.admin-btn.danger:hover {
    background-color: #c82333;
}

.admin-btn.success {
    background-color: #28a745;
}

.admin-btn.success:hover {
    background-color: #218838;
}

.admin-search-input,
.admin-filter-select {
    padding: 0.8rem;
    border: 2px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: var(--dark-bg);
    color: var(--light-text-dark-bg);
}

.admin-search-input {
    margin-right: 1rem;
}

.admin-search-input:focus,
.admin-filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--dark-bg-secondary);
}

.bookings-table {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--dark-bg-secondary);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    overflow-x: auto;
}

.bookings-table table {
    width: 100%;
    border-collapse: collapse;
}

.bookings-table th,
.bookings-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #555;
    color: var(--light-text-dark-bg);
}

.bookings-table th {
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: bold;
}

/* Add spacing between buttons in action cells */
.bookings-table td.action-buttons,
.bookings-table td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.bookings-table tr:hover {
    background-color: var(--dark-bg-tertiary);
}

.no-bookings {
    text-align: center;
    padding: 3rem;
    color: var(--light-text-dark-bg);
}

/* Login Screen */
.login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
}

.login-container {
    background-color: var(--dark-bg-secondary);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.7);
    max-width: 400px;
    width: 90%;
    color: var(--light-text-dark-bg);
}

.login-container h2 {
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-container input {
    padding: 0.8rem;
    border: 2px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: var(--dark-bg);
    color: var(--light-text-dark-bg);
}

.login-container input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.error-message {
    color: #ff6b6b;
    text-align: center;
    margin-top: 1rem;
}

/* Room Modal Styles */
.room-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    overflow: hidden; /* Prevent scrolling on modal background */
    align-items: center;
    justify-content: center;
}

.room-modal.active {
    display: flex; /* Only show when active class is added */
}

.room-modal-content {
    background-color: var(--dark-bg-secondary);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.7);
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.room-modal-content .room-detail {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    padding: 2rem;
}

.room-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: var(--primary-orange);
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
    line-height: 1;
    background-color: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.room-modal-close:hover {
    color: var(--primary-blue);
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    position: relative;
}

.close {
    color: var(--light-text-dark-bg);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover,
.close:focus {
    color: var(--primary-orange);
}

.modal-content h2 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content input,
.modal-content select {
    padding: 0.8rem;
    border: 2px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: var(--dark-bg);
    color: var(--light-text-dark-bg);
}

.modal-content input:focus,
.modal-content select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Calendar View Styles */
.admin-calendar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--dark-bg-secondary);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    padding: 2rem;
}

.calendar-bookings {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--dark-bg-tertiary);
    border-radius: 5px;
}

.calendar-bookings h4 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.calendar-booking-item {
    background-color: var(--dark-bg);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--primary-blue);
}

.calendar-booking-item p {
    margin-bottom: 0.5rem;
    color: var(--light-text-dark-bg);
}

.calendar-booking-item div {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.calendar-day.has-bookings {
    position: relative;
}

.calendar-day.has-pending::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: #ffc107;
    border-radius: 50%;
}

.calendar-day.has-approved::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
}

.calendar-day.has-cancelled::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
}

.calendar-day.has-pending.has-approved::after,
.calendar-day.has-pending.has-cancelled::after,
.calendar-day.has-approved.has-cancelled::after {
    width: 12px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #ffc107 33%, #28a745 33%, #28a745 66%, #dc3545 66%);
}

/* Booking Status Colors */
.approved-booking {
    background-color: rgba(40, 167, 69, 0.2);
    border-left-color: #28a745;
}

.cancelled-booking {
    background-color: rgba(220, 53, 69, 0.2);
    border-left-color: #dc3545;
}

.past-booking {
    opacity: 0.6;
    background-color: rgba(108, 117, 125, 0.1);
}

.upcoming-booking {
    background-color: transparent;
}

/* Footer */
footer {
    background-color: var(--dark-bg-secondary);
    color: var(--light-text-dark-bg);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .navbar .container {
        flex-wrap: wrap;
        padding: 1rem 15px;
    }

    .logo {
        height: 50px;
    }

    .logo-img {
        max-height: 50px;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
        padding: 10px; /* Maintain spacing on mobile */
        min-width: 44px;
        min-height: 44px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 1rem;
        padding: 1rem 0;
        border-top: 1px solid #555;
        order: 4;
    }

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

    .nav-menu li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid #555;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .language-switcher {
        margin-left: auto;
        order: 2;
    }

    .lang-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch target */
    }

    /* Hero Section */
    .hero {
        padding: 3rem 0;
        min-height: 60vh;
        background-attachment: scroll; /* Better performance on mobile */
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .hero-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 44px; /* Touch target */
        width: auto;
        display: inline-block;
    }

    /* Sections */
    .rooms-section,
    .about-section,
    .contact-section,
    .stats-section,
    .testimonials-section,
    .faq-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    /* Room Cards */
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .room-card {
        margin: 0;
    }

    .room-image {
        height: 200px;
    }

    .room-info {
        padding: 1.25rem;
    }

    .room-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .room-info p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .room-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .room-meta span {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .book-btn {
        padding: 1rem;
        font-size: 1rem;
        min-height: 44px; /* Touch target */
        width: 100%;
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Room Detail / Modal */
    .room-header h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        padding: 0 15px;
    }

    .room-meta-detail {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0 15px;
    }

    .room-meta-detail span {
        font-size: 0.85rem;
        padding: 0.5rem 0.9rem;
    }

    .slider-container {
        height: 300px; /* Fixed height for mobile */
        border-radius: 8px;
    }
    
    .image-slider {
        padding: 0;
        margin-bottom: 1rem;
    }

    .slider-indicators {
        margin-top: 1rem;
        gap: 0.4rem;
        padding: 0 15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
        min-width: 10px;
        min-height: 10px;
    }

    .indicator.active {
        width: 25px;
    }
    
    .room-modal-content {
        width: 95vw;
        height: 95vh;
        max-width: none;
        border-radius: 8px;
    }
    
    .room-modal-content .room-detail {
        padding: 0.75rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    .room-modal-content .container {
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .room-modal-content .booking-section {
        padding: 0.75rem;
        margin-top: 1rem;
        box-sizing: border-box;
    }
    
    .room-modal-close {
        top: 10px;
        right: 15px;
        font-size: 32px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }

    /* Room Content */
    .room-info-section {
        padding: 0 15px;
    }

    .room-info-section h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .room-info-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .pricing-table {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .pricing-row {
        padding: 0.9rem 1rem;
        flex-wrap: wrap;
    }

    .pricing-players {
        font-size: 1rem;
    }

    .pricing-price {
        font-size: 1.1rem;
    }

    /* Booking Section */
    .booking-section {
        padding: 1rem;
        margin-top: 1.5rem;
        border-radius: 8px;
        background-color: var(--dark-bg-secondary);
    }

    .booking-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: var(--primary-orange);
    }

    .booking-calendar {
        padding: 0.75rem;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        background-color: var(--dark-bg-tertiary);
    }

    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap; /* Keep buttons next to each other */
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .calendar-header h3 {
        font-size: 0.9rem;
        flex: 1;
        text-align: center;
        margin: 0;
        padding: 0 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--light-text-dark-bg);
    }

    .calendar-nav {
        padding: 0.4rem 0.7rem;
        font-size: 0.9rem;
        min-width: 36px;
        min-height: 36px;
        flex-shrink: 0; /* Prevent buttons from shrinking */
        touch-action: manipulation;
        background-color: var(--primary-blue);
        color: var(--white);
    }

    .calendar-grid {
        gap: 0.2rem;
        margin-bottom: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .calendar-day {
        font-size: 0.7rem;
        padding: 0.3rem 0.1rem;
        min-height: 32px;
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--light-text-dark-bg);
        border-color: #555;
        background-color: transparent;
    }

    .calendar-day.disabled {
        background-color: var(--dark-bg-tertiary);
        color: #666;
    }

    .calendar-day.fully-booked {
        background-color: var(--dark-bg-tertiary);
        color: #666;
        border-color: #444;
    }

    .calendar-day.selected {
        background-color: var(--primary-orange);
        color: var(--white);
    }

    .calendar-day.today {
        border-color: var(--primary-blue);
    }

    .day-name {
        font-size: 0.65rem;
        padding: 0.25rem 0;
        font-weight: bold;
        color: var(--light-text-dark-bg);
    }

    .time-slots {
        margin-top: 1rem;
    }

    .time-slots h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        color: var(--light-text-dark-bg);
    }

    .time-buttons {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .time-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-width: 60px;
        min-height: 44px;
        flex: 1 1 auto;
        background-color: var(--primary-blue);
        color: var(--white);
    }

    .time-btn.disabled {
        background-color: #555;
        color: #999;
        opacity: 0.5;
    }

    .booking-form {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top-color: #555;
    }

    .booking-form h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .booking-form input {
        padding: 0.9rem;
        font-size: 0.95rem;
        min-height: 44px;
        background-color: var(--dark-bg);
        color: var(--light-text-dark-bg);
        border-color: #555;
    }

    .booking-form input:focus {
        background-color: var(--dark-bg-secondary);
        border-color: var(--primary-blue);
    }

    .submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
        width: 100%;
    }

    .booking-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .booking-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    /* Contact Section */
    .contact-wrapper {
        flex-direction: column;
        gap: 2rem;
        padding: 0 15px;
        align-items: center;
    }

    .contact-logo {
        order: 1;
    }

    .contact-logo-img {
        max-height: 120px;
        max-width: 200px;
    }

    .contact-info {
        order: 2;
        padding: 0;
        min-width: auto;
        max-width: 100%;
    }

    .contact-info p {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .contact-map-wrapper {
        order: 3;
        width: 100%;
        min-width: auto;
    }

    .contact-map {
        width: 100%;
        min-width: auto;
        height: 250px;
    }

    .contact-social {
        order: 4;
    }

    .instagram-link {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .instagram-icon {
        width: 24px;
        height: 24px;
    }

    /* FAQ Section */
    .faq-list {
        padding: 0 15px;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer p {
        padding: 1rem;
        font-size: 0.95rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }

    footer p {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    /* Admin Panel Mobile Styles */
    .admin-header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .admin-header h1 {
        font-size: 1.8rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .admin-header .admin-btn {
        width: 100%;
        margin: 0;
    }

    .admin-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .admin-controls > div {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .admin-controls .admin-btn {
        width: 100%;
        margin: 0;
    }

    .admin-controls .admin-search-input,
    .admin-controls .admin-filter-select {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }

    .admin-controls .admin-search-input {
        margin-right: 0;
    }

    .bookings-table {
        padding: 0 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .bookings-table table {
        min-width: 800px;
        font-size: 0.85rem;
    }

    .bookings-table th,
    .bookings-table td {
        padding: 0.6rem 0.4rem;
        font-size: 0.85rem;
    }

    .bookings-table td.action-buttons,
    .bookings-table td:last-child {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .bookings-table td.action-buttons .admin-btn,
    .bookings-table td:last-child .admin-btn {
        width: 100%;
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .admin-calendar {
        padding: 1rem;
    }

    .calendar-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .calendar-header h3 {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    .calendar-grid {
        gap: 0.3rem;
    }

    .calendar-day {
        font-size: 0.85rem;
        padding: 0.3rem;
    }

    .calendar-booking-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .calendar-booking-item p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .calendar-booking-item div {
        flex-direction: column;
        gap: 0.5rem;
    }

    .calendar-booking-item .admin-btn {
        width: 100%;
        padding: 0.6rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-content form {
        gap: 0.8rem;
    }

    .modal-content input,
    .modal-content select {
        padding: 0.7rem;
        font-size: 1rem;
    }

    .login-container {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .login-container h2 {
        font-size: 1.5rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .admin-controls {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .admin-controls > div {
        flex: 1 1 auto;
        min-width: 200px;
    }

    .admin-controls .admin-btn {
        min-width: 150px;
    }

    .bookings-table {
        padding: 0 15px;
    }

    .bookings-table th,
    .bookings-table td {
        padding: 0.8rem 0.6rem;
        font-size: 0.9rem;
    }

    .bookings-table td.action-buttons,
    .bookings-table td:last-child {
        gap: 0.6rem;
        flex-wrap: wrap;
    }

    .bookings-table td.action-buttons .admin-btn,
    .bookings-table td:last-child .admin-btn {
        min-width: 100px;
        flex: 1 1 auto;
    }

    .admin-calendar {
        padding: 1.5rem;
    }

    .calendar-booking-item div {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .calendar-booking-item .admin-btn {
        flex: 1 1 auto;
        min-width: 120px;
    }

    .modal-content {
        width: 85%;
        max-width: 600px;
    }

    .admin-header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .admin-header h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .admin-header .admin-btn {
        width: 100%;
    }
}

