/* Disable animations during page load */
.no-transition *,
.no-transition *::before,
.no-transition *::after {
    transition: none !important;
}

*,
*:after,
*:before {
	box-sizing: border-box;
}

.controls {
	position: fixed;
	top: 2rem;
	right: 2rem;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: normal;
    scrollbar-color: red none;
}

body {
    font-family: Outfit, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: auto;
    margin: 0 auto;
    padding: 0 1.5rem;
}

button {
    font-family: Outfit, sans-serif;
    margin: 0 10px;
    padding: 8px 16px;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 1rem;
}

main {
    padding: 2rem;
}


/* Navigace – sticky část */
.navbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.25rem;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: position 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;

}

.navbar-center {
    display: flex;
    gap: 15px;                    /* mezery mezi tlačítky */
}

a.glow_button {
    font-family: Outfit, sans-serif;
    margin: 0 10px;
    padding: 8px 16px;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    bottom: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Hero */
.hero {
    position: relative; /* Needed for child absolute positioning */
    height: var(--app-height, 100dvh); /* Use variable with a fallback */
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: blur(1.5px);
    transform: scale(1.01);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: background-color 0.3s;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 800px;
    width: 100%;
    /* Přidáme padding-bottom kvůli navbaru na spodní části */
    padding-bottom: 80px;
}

.hero-logo {
    margin-bottom: 0.3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    width: clamp(300px, 90vw, 1200px);
}

.logo-svg {
    height: auto;
    width: 100%;
    max-width: none;
    min-width: none;
    filter: drop-shadow(0 2px 4px rgba(150, 150, 150, 0.4));
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: #7CB342;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.hero-btn:hover {
    background-color: #689F38;
}
/*/ Hero */


/* Contact */
.contact {
    margin: 3rem 1.5rem;
    text-align: center;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary, #666);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.contact-form-wrapper {
    min-width: 0; /* Prevents flex/grid items from overflowing */
}

.contact-form {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--contact-info-bg, #f8f9fa);
}

.contact-info-item h3 {
    font-size: 1.1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color, #333);
}

.contact-info-item p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color, #444);
}

.contact-info-item a {
    color: #7CB342;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.social-links-section .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.05);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 1rem;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 0.8rem 1.8rem;
}
/*/ Contact */


/* Footer */
.footer {
    padding: 3rem 0; /* Horní/dolní odsazení */
    text-align: center;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    flex-wrap: wrap; /* Umožní sekcím se zalomit na menších obrazovkách */
    justify-content: space-between;
    gap: 2rem; /* Mezera mezi sloupci */
    text-align: left; /* Zarovnání textu uvnitř sloupců */
}

.footer-section {
    flex: 1; /* Rovnoměrně rozděluje prostor */
    min-width: 200px; /* Minimální šířka před zalomením */
}

.footer-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem;
}

.footer-logo-img {
    width: 200px;
    height: auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: inherit; /* Zdědí barvu z rodiče pro změnu tématu */
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Align the last footer section (links) to the right */
.footer .footer-section:last-child {
    text-align: right;
    margin-left: auto;
}

/* Sociální ikony/odkazy - prozatím textové, lze nahradit SVG */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
    justify-content: flex-start; /* Zarovnání sociálních odkazů doleva */
}

.social-link {
    color: inherit; /* Zdědí barvu */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem; /* Větší font pro ikony/odkazy */
    font-weight: 500;
}

.social-icon {
    width: 28px;
    height: 28px;
    transition: filter 0.3s ease;
}



.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    /* Barva okraje bude definována v darkmode.css */
    text-align: center;
}

.signature {
    margin-top: 1rem;
    margin-bottom: 0; /* Remove extra space */
    font-size: 1.2rem;
    opacity: 0.6;
}

/* Responzivní úpravy pro zápatí */
@media (max-width: 768px) {
    .footer .container {
        flex-direction: column; /* Sekce se skládají vertikálně */
        align-items: center; /* Obsah se vycentruje při složení */
        text-align: center;
    }

    .social-links {
        justify-content: center; /* Vycentrování sociálních odkazů při složení */
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }
}

/* Glow button */
.glow_button {
    border: none;
    color: #fff;
    background: #888; /* Neutral gray background */
    font-size: 0.9rem;
}

.glow_button:hover {
    box-shadow: 0 0 10px #91976E, 0 0 20px #91976E, 0 0 30px #91976E, 0 0 40px #91976E;
}
/*/ Glow button */


/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Dark theme scrollbar */
.dark ::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.dark ::-webkit-scrollbar-thumb {
    background: #555;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #777;
}
/*/ Scrollbar */

/* Scroll Behavior */
#autostany, #contact {
  scroll-margin-top: 20px;
}

/* Content Flow Layout */
.content-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem; /* Add space below the hero section */
}

/* Info Section */
.info-section {
    text-align: center;
    position: relative;
}

.info-section-content {
    position: relative;
}

.info-blok {
    margin-block: 0; /* Reset margin for content-flow */
    padding: 2rem;
    border-radius: 12px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Social icons in info section - positioned on the left */
.info-social-links {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-social-links .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-social-links .social-icon {
    width: 32px;
    height: 32px;
    /* Colors inherited from global .social-icon styles in darkmode.css */
}

.info-section p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px; /* Omezí šířku textu pro lepší čitelnost */
    margin: 0 auto; /* Vycentruje blok s textem */
}

/* Mobile: Move social icons below text */
@media (max-width: 768px) {
    .info-section-content {
        display: flex;
        flex-direction: column;
    }

    /* Put social links after text in flex order */
    .info-social-links {
        order: 2;
        position: static;
        top: auto;
        transform: none;
        left: auto;
        flex-direction: row;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .info-section p {
        order: 1;
    }
}

/* Promo Section */
.promo-section {
    text-align: center;
    padding: 1.5rem 2rem;
    margin-block: 0; /* Reset margin for content-flow */
    border-radius: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Main Section Headers */
.main-section-header {
    text-align: center;
    margin: 3rem 0 1rem 0; /* Reduced bottom margin from 2rem to 1rem */
    padding: 2rem;
    border-radius: 12px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-section-title {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: inherit;
    font-weight: 700;
}

.main-section-subtitle {
    font-size: 1.1rem;
    margin: 0;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
}

/* Accessories Section Headers */
.accessories-section-header {
    text-align: center;
    margin: 5rem 0 3rem 0;
    padding: 2rem;
    border-radius: 12px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accessories-section-title {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: inherit;
    font-weight: 700;
}

.accessories-section-subtitle {
    font-size: 1.1rem;
    margin: 0;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
}


/* Flash Messages */
.flash {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    z-index: 1001;
    opacity: 1;
    transition: opacity 0.5s ease-in-out, top 0.5s ease-in-out;
}

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

.flash.danger, .flash.error {
    background-color: #dc3545;
}

.flash.hidden {
    opacity: 0;
    top: -100px; /* Move it off-screen */
}

/* ============================================
   RESERVATION CALENDAR STYLES
   ============================================ */

/* Calendar Container */
.calendar-container {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--lm_2, #f9f9f9);
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Dark mode for calendar container */
.dark .calendar-container {
    background: var(--dm_2, #1e1e1e);
}

.reservation-calendar {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Calendar Header */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.calendar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dm_1, #121212);
    margin: 0;
}

.calendar-nav-btn {
    background: transparent;
    border: 1px solid var(--lm_3, #D6D6D6);
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 0;
    color: var(--dm_1, #121212);
}

.calendar-nav-btn:hover {
    background: #4a7c2a;
    color: white;
    border-color: #4a7c2a;
}

.calendar-nav-btn svg {
    width: 20px;
    height: 20px;
}

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

.calendar-weekday {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dm_2, #1e1e1e);
    padding: 0.5rem 0;
}

/* Calendar Days Grid */
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border: 1px solid var(--lm_3, #D6D6D6);
    border-radius: 0.25rem;
    background: var(--lm_1, #fff);
    color: var(--dm_1, #121212);
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    padding: 0;
}

.calendar-day:hover:not(:disabled) {
    background: #4a7c2a;
    color: white;
    border-color: #4a7c2a;
}

.calendar-day:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day-empty {
    border: none;
    background: transparent;
    cursor: default;
}

/* Date States */
.calendar-day-past {
    color: #999;
    background: #f0f0f0;
    text-decoration: line-through;
}

.calendar-day-reserved {
    background: #ffe0e0;
    color: #cc0000;
    cursor: not-allowed;
}

.calendar-day-selected {
    background: #4a7c2a;
    color: white;
    border-color: #4a7c2a;
    font-weight: 600;
}

.calendar-day-in-range {
    background: #c5e5a3;
    color: #1a2f0f;
}

/* Selection Info */
.calendar-selection-info {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #e8f5d8;
    border-radius: 0.25rem;
    text-align: center;
    font-size: 0.95rem;
    color: #333;
}

.selected-dates {
    font-weight: 500;
}

/* Availability Message */
.availability-message {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.25rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.availability-message.status-available {
    background: #c8e6c9;
    color: #1b5e20;
    border: 1px solid #81c784;
}

.availability-message.status-unavailable {
    background: #ffcdd2;
    color: #c62828;
    border: 1px solid #ef5350;
}

/* Reservation Form */
.calendar-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lm_3, #D6D6D6);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--lm_3, #D6D6D6);
    border-radius: 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4a7c2a;
    box-shadow: 0 0 0 3px rgba(74, 124, 42, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
}

.submit-reservation-btn,
.cancel-reservation-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.submit-reservation-btn {
    background: #4a7c2a;
    color: white;
    margin-bottom: 0.5rem;
}

.submit-reservation-btn:hover {
    background: #3a6220;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(74, 124, 42, 0.4);
}

.cancel-reservation-btn {
    background: transparent;
    color: #666;
    border: 1px solid var(--lm_3, #D6D6D6);
}

.cancel-reservation-btn:hover {
    background: #f0f0f0;
}

/* Notifications */
.reservation-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.reservation-notification.show {
    transform: translateX(0);
}

.reservation-notification-success {
    border-left: 4px solid #28a745;
}

.reservation-notification-error {
    border-left: 4px solid #dc3545;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.reservation-notification-success .notification-icon {
    background: #28a745;
    color: white;
}

.reservation-notification-error .notification-icon {
    background: #dc3545;
    color: white;
}

.notification-message {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
}

.notification-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: auto;
    margin: 0;
    line-height: 1;
}

.notification-close:hover {
    color: #333;
}

/* Dark mode for notifications */
.dark .reservation-notification {
    background: var(--dm_2, #1e1e1e);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dark .notification-message {
    color: var(--lm_2, #f9f9f9);
}

.dark .notification-close {
    color: var(--lm_3, #D6D6D6);
}

.dark .notification-close:hover {
    color: var(--lm_2, #f9f9f9);
}

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

    .calendar-day {
        font-size: 0.85rem;
        min-height: 36px;
    }

    .calendar-weekday {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .reservation-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .calendar-day {
        font-size: 0.8rem;
        min-height: 32px;
    }

    .calendar-header {
        padding: 0;
    }

    .calendar-title {
        font-size: 1rem;
    }
}

/* ============================================
   RESERVATION MODAL STYLES
   ============================================ */

.reservation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reservation-modal.open {
    opacity: 1;
    visibility: visible;
}

.reservation-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.reservation-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.reservation-modal.open .reservation-modal-container {
    transform: scale(1) translateY(0);
}

.reservation-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--lm_3, #D6D6D6);
    background: var(--lm_2, #f9f9f9);
}

.reservation-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.reservation-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
}

.reservation-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.reservation-modal-close svg {
    width: 24px;
    height: 24px;
}

.reservation-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

/* Update calendar styles for modal */
.reservation-modal-body .calendar-container {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .reservation-modal-container {
        width: 95%;
        max-height: 95vh;
    }

    .reservation-modal-header {
        padding: 1rem;
    }

    .reservation-modal-title {
        font-size: 1.1rem;
    }

    .reservation-modal-body {
        padding: 1rem;
    }

    .reservation-modal-close {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .reservation-modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .reservation-modal-header {
        padding: 0.875rem;
    }

    .reservation-modal-body {
        padding: 0.875rem;
        max-height: calc(100vh - 60px);
    }
}

/* Dark Mode for Modal - Using .dark class like the rest of the site */
.dark .reservation-modal-container {
    background: var(--dm_2, #1e1e1e);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark .reservation-modal-header {
    background: rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark .reservation-modal-title {
    color: var(--lm_2, #f9f9f9);
}

.dark .reservation-modal-close {
    color: var(--lm_3, #D6D6D6);
}

.dark .reservation-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--lm_2, #f9f9f9);
}

/* Calendar specific dark mode styles */
.dark .reservation-calendar {
    color: var(--lm_2, #f9f9f9);
}

.dark .calendar-day {
    background: var(--dm_2, #1e1e1e);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--lm_2, #f9f9f9);
}

.dark .calendar-day:hover:not(:disabled) {
    background: #5a8c32;
    border-color: #5a8c32;
    color: white;
}

.dark .calendar-day-past {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
}

.dark .calendar-day-reserved {
    background: rgba(255, 0, 0, 0.15);
    color: #ff6b6b;
}

.dark .calendar-day-selected {
    background: #4a7c2a;
    border-color: #4a7c2a;
    color: white;
}

.dark .calendar-day-in-range {
    background: rgba(74, 124, 42, 0.3);
    color: #b8d99a;
}

.dark .calendar-weekday {
    color: var(--lm_3, #D6D6D6);
}

.dark .calendar-title {
    color: var(--lm_2, #f9f9f9);
}

.dark .calendar-nav-btn {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--lm_2, #f9f9f9);
}

.dark .calendar-nav-btn:hover {
    background: #5a8c32;
    color: white;
    border-color: #5a8c32;
}

.dark .calendar-selection-info {
    background: rgba(74, 124, 42, 0.25);
    color: #b8d99a;
}

.dark .availability-message.status-available {
    background: rgba(76, 175, 80, 0.2);
    color: #a5d6a7;
    border-color: rgba(76, 175, 80, 0.4);
}

.dark .availability-message.status-unavailable {
    background: rgba(211, 47, 47, 0.2);
    color: #ef9a9a;
    border-color: rgba(211, 47, 47, 0.4);
}

.dark .form-input {
    background: var(--dm_2, #1e1e1e);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--lm_2, #f9f9f9);
}

.dark .form-input:focus {
    border-color: #5a8c32;
    box-shadow: 0 0 0 3px rgba(90, 140, 50, 0.25);
}

.dark .form-group label {
    color: var(--lm_2, #f9f9f9);
}

.dark .submit-reservation-btn {
    background: #4a7c2a;
}

.dark .submit-reservation-btn:hover {
    background: #5a8c32;
}

.dark .cancel-reservation-btn {
    background: transparent;
    color: var(--lm_3, #D6D6D6);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark .cancel-reservation-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Light mode explicit styles for consistency */
.light .reservation-modal-container {
    background: var(--lm_1, #fff);
}

.light .reservation-modal-header {
    background: var(--lm_2, #f9f9f9);
    border-bottom-color: var(--lm_3, #D6D6D6);
}

.light .reservation-modal-title {
    color: var(--dm_1, #121212);
}

.light .reservation-modal-close {
    color: var(--dm_2, #1e1e1e);
}

.light .reservation-modal-close:hover {
    background: var(--lm_3, #D6D6D6);
}

.light .calendar-day {
    background: var(--lm_1, #fff);
    border-color: var(--lm_3, #D6D6D6);
    color: var(--dm_1, #121212);
}

.light .calendar-day-reserved {
    background: #ffe0e0;
    color: #cc0000;
}

.light .calendar-day-selected {
    background: #4a7c2a;
    border-color: #4a7c2a;
    color: white;
    font-weight: 600;
}

.light .calendar-day-in-range {
    background: #c5e5a3;
    color: #1a2f0f;
}

.light .calendar-selection-info {
    background: #e8f5d8;
    color: #1a2f0f;
}
