/* Modern Forest Cabin Design System
   ========================================= */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Advanced HSL Color System with Theme Support */
:root {
    /* Base color hues and saturations */
    --hue-primary: 158;      /* Forest Green */
    --hue-secondary: 30;     /* Warm Amber */
    --hue-accent: 200;       /* Sky Blue */
    --hue-neutral: 156;      /* Gray-Green */

    --sat-high: 64%;
    --sat-medium: 45%;
    --sat-low: 24%;
    --sat-minimal: 8%;
}

/* Light Theme (Default) */
:root, [data-theme="light"] {
    /* Primary Colors */
    --color-primary: hsl(var(--hue-primary), var(--sat-high), 32%);
    --color-primary-light: hsl(var(--hue-primary), var(--sat-medium), 85%);
    --color-primary-dark: hsl(var(--hue-primary), var(--sat-high), 22%);
    --color-primary-alpha: hsla(var(--hue-primary), var(--sat-high), 32%, 0.1);

    /* Secondary Colors */
    --color-secondary: hsl(var(--hue-secondary), 80%, 55%);
    --color-secondary-light: hsl(var(--hue-secondary), 60%, 88%);
    --color-secondary-dark: hsl(var(--hue-secondary), 80%, 45%);
    --color-secondary-alpha: hsla(var(--hue-secondary), 80%, 55%, 0.1);

    /* Accent Colors */
    --color-accent: hsl(var(--hue-accent), 85%, 45%);
    --color-accent-light: hsl(var(--hue-accent), 65%, 88%);
    --color-accent-dark: hsl(var(--hue-accent), 85%, 35%);
    --color-accent-alpha: hsla(var(--hue-accent), 85%, 45%, 0.1);

    /* Neutral Colors - Explicit high contrast for light theme */
    --color-background: hsl(0, 0%, 100%);
    --color-background-soft: hsl(var(--hue-neutral), var(--sat-minimal), 98%);
    --color-background-muted: hsl(var(--hue-neutral), var(--sat-low), 95%);
    --color-foreground: hsl(158, 40%, 8%);
    --color-foreground-soft: hsl(158, 35%, 18%);
    --color-foreground-muted: hsl(158, 25%, 35%);

    /* Surface Colors with Alpha */
    --color-surface: hsla(0, 0%, 100%, 0.9);
    --color-surface-soft: hsla(0, 0%, 100%, 0.8);
    --color-surface-muted: hsla(0, 0%, 100%, 0.6);
    --color-surface-strong: hsla(0, 0%, 100%, 0.95);

    /* Border Colors */
    --color-border: hsla(var(--hue-neutral), var(--sat-low), 80%, 0.3);
    --color-border-soft: hsla(var(--hue-neutral), var(--sat-low), 85%, 0.2);
    --color-border-strong: hsla(var(--hue-neutral), var(--sat-low), 70%, 0.4);

    /* Shadow Colors */
    --color-shadow: hsla(0, 0%, 0%, 0.1);
    --color-shadow-soft: hsla(0, 0%, 0%, 0.06);
    --color-shadow-strong: hsla(0, 0%, 0%, 0.15);

    /* Text Shadow Colors - light theme uses subtle white shadows */
    --color-text-shadow: hsla(0, 0%, 100%, 0.8);
    --color-text-shadow-soft: hsla(0, 0%, 100%, 0.5);

    /* Overlay Colors */
    --color-overlay: hsla(0, 0%, 100%, 0.85);
    --color-overlay-dark: hsla(0, 0%, 0%, 0.7);

    /* Success, Error, Warning, Info */
    --color-success: hsl(142, 76%, 36%);
    --color-success-light: hsl(142, 76%, 88%);
    --color-success-alpha: hsla(142, 76%, 36%, 0.1);

    --color-error: hsl(354, 70%, 54%);
    --color-error-light: hsl(354, 70%, 88%);
    --color-error-alpha: hsla(354, 70%, 54%, 0.1);

    --color-warning: hsl(38, 92%, 50%);
    --color-warning-light: hsl(38, 92%, 88%);
    --color-warning-alpha: hsla(38, 92%, 50%, 0.1);

    --color-info: hsl(var(--hue-accent), 85%, 45%);
    --color-info-light: hsl(var(--hue-accent), 65%, 88%);
    --color-info-alpha: hsla(var(--hue-accent), 85%, 45%, 0.1);

    /* Calendar Month Colors - Subtle alternation for even/odd months (green tones) */
    --color-month-even: hsla(120, 100%, 92%, 0.3);
    --color-month-odd: hsla(130, 90%, 90%, 0.25);
    --color-month-even-faded: hsla(120, 100%, 92%, 0.15);
    --color-month-odd-faded: hsla(130, 90%, 90%, 0.12);

    /* Selected date colors - Better contrast */
    --color-selected-bg: hsl(200, 80%, 75%);      /* Přípravný den - světle modrá */
    --color-selected-text: hsl(200, 100%, 20%);   /* Text - velmi tmavě modrá */
    --color-single-selected-bg: hsl(200, 85%, 65%); /* Jeden vybraný den - středo-modrá */
    --color-single-selected-text: hsl(0, 0%, 100%); /* Text - bílá */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-light: linear-gradient(135deg, var(--color-background-muted) 0%, var(--color-surface) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    --gradient-warm: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    --gradient-surface: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-soft) 100%);
}

/* Dark Theme */
[data-theme="dark"] {
    /* Primary Colors */
    --color-primary: hsl(var(--hue-primary), var(--sat-high), 45%);
    --color-primary-light: hsl(var(--hue-primary), var(--sat-medium), 25%);
    --color-primary-dark: hsl(var(--hue-primary), var(--sat-high), 55%);
    --color-primary-alpha: hsla(var(--hue-primary), var(--sat-high), 45%, 0.15);

    /* Secondary Colors */
    --color-secondary: hsl(var(--hue-secondary), 90%, 55%);
    --color-secondary-light: hsl(var(--hue-secondary), 45%, 25%);
    --color-secondary-dark: hsl(var(--hue-secondary), 80%, 30%);
    --color-secondary-alpha: hsla(var(--hue-secondary), 75%, 65%, 0.15);

    /* Accent Colors */
    --color-accent: hsl(var(--hue-accent), 80%, 55%);
    --color-accent-light: hsl(var(--hue-accent), 50%, 25%);
    --color-accent-dark: hsl(var(--hue-accent), 80%, 65%);
    --color-accent-alpha: hsla(var(--hue-accent), 80%, 55%, 0.15);

    /* Neutral Colors */
    --color-background: hsl(var(--hue-primary), 15%, 8%);
    --color-background-soft: hsl(var(--hue-primary), 12%, 12%);
    --color-background-muted: hsl(var(--hue-primary), 10%, 16%);
    --color-foreground: hsl(var(--hue-neutral), 8%, 92%);
    --color-foreground-soft: hsl(var(--hue-neutral), 6%, 75%);
    --color-foreground-muted: hsl(var(--hue-neutral), 4%, 55%);

    /* Surface Colors with Alpha */
    --color-surface: hsla(var(--hue-primary), 15%, 12%, 0.9);
    --color-surface-soft: hsla(var(--hue-primary), 12%, 15%, 0.8);
    --color-surface-muted: hsla(var(--hue-primary), 10%, 18%, 0.6);
    --color-surface-strong: hsla(var(--hue-primary), 15%, 10%, 0.95);

    /* Border Colors */
    --color-border: hsla(var(--hue-neutral), var(--sat-minimal), 35%, 0.3);
    --color-border-soft: hsla(var(--hue-neutral), var(--sat-minimal), 30%, 0.2);
    --color-border-strong: hsla(var(--hue-neutral), var(--sat-minimal), 40%, 0.4);

    /* Shadow Colors */
    --color-shadow: hsla(0, 0%, 0%, 0.3);
    --color-shadow-soft: hsla(0, 0%, 0%, 0.2);
    --color-shadow-strong: hsla(0, 0%, 0%, 0.4);

    /* Text Shadow Colors for dark theme */
    --color-text-shadow: hsla(0, 0%, 0%, 0.9);
    --color-text-shadow-soft: hsla(0, 0%, 0%, 0.7);

    /* Overlay Colors */
    --color-overlay: hsla(var(--hue-primary), 15%, 8%, 0.85);
    --color-overlay-dark: hsla(0, 0%, 0%, 0.6);

    /* Success, Error, Warning, Info - Adjusted for dark theme */
    --color-success: hsl(142, 70%, 50%);
    --color-success-light: hsl(142, 70%, 20%);
    --color-success-alpha: hsla(142, 70%, 50%, 0.15);

    --color-error: hsl(354, 84%, 55%);
    --color-error-light: hsl(354, 70%, 20%);
    --color-error-alpha: hsla(354, 70%, 65%, 0.15);

    --color-warning: hsl(38, 85%, 54%);
    --color-warning-light: hsl(38, 85%, 20%);
    --color-warning-alpha: hsla(38, 85%, 65%, 0.15);

    --color-info: hsl(var(--hue-accent), 80%, 55%);
    --color-info-light: hsl(var(--hue-accent), 60%, 20%);
    --color-info-alpha: hsla(var(--hue-accent), 80%, 55%, 0.15);

    /* Calendar Month Colors - Subtle alternation for even/odd months (dark theme, green tones) */
    --color-month-even: hsla(120, 100%, 39%, 0.25);
    --color-month-odd: hsla(130, 100%, 27%, 0.2);
    --color-month-even-faded: hsla(120, 40%, 35%, 0.12);
    --color-month-odd-faded: hsla(130, 35%, 38%, 0.1);

    /* Selected date colors - Dark theme (Better contrast) */
    --color-selected-bg: hsl(200, 85%, 35%);      /* Přípravný den - tmavě modrá */
    --color-selected-text: hsl(200, 100%, 90%);   /* Text - velmi světle modrá */
    --color-single-selected-bg: hsl(200, 90%, 50%); /* Jeden vybraný den - jasná modrá */
    --color-single-selected-text: hsl(0, 0%, 100%); /* Text - bílá */

    /* Gradients for dark theme */
    --gradient-hero: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-light: linear-gradient(135deg, var(--color-background-muted) 0%, var(--color-surface) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    --gradient-warm: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    --gradient-surface: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-soft) 100%);
}

/* Automatic theme detection removed - use explicit data-theme attributes for theming */

/* Typography */
:root {
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.7rem;   /* 10px */
    --font-size-sm: 0.75rem;  /* 11px */
    --font-size-base: 0.8rem; /* 12px */
    --font-size-lg: 1rem;     /* 16px */
    --font-size-xl: 1.1rem;   /* 20px */
    --font-size-2xl: 1.2rem;  /* 22px */
    --font-size-3xl: 1.5rem;  /* 28px */
    --font-size-4xl: 2rem;    /* 32px */
    --font-size-5xl: 2.5rem;  /* 40px */
    --font-size-6xl: 4rem;    /* 64px */

    /* Font weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Legacy Shadows - will be overridden by new system */

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-index layers */
    --z-navbar: 50;
    --z-overlay: 40;
    --z-modal: 60;

    /* Breakpoints (for JS usage) */
    --bp-sm: 640px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
}

/* Updated Shadows using new system */
:root {
    --shadow-soft: 0 1px 3px 0 var(--color-shadow-soft), 0 1px 2px 0 var(--color-shadow-soft);
    --shadow-medium: 0 4px 6px -1px var(--color-shadow), 0 2px 4px -1px var(--color-shadow-soft);
    --shadow-strong: 0 20px 25px -5px var(--color-shadow), 0 10px 10px -5px var(--color-shadow-soft);
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--color-foreground);
    background: var(--color-background);
    overflow-x: hidden;
}

/* Force text colors for light theme - excluding navigation */
:root, [data-theme="light"] {
    color-scheme: light;
}

[data-theme="dark"] {
    color-scheme: dark;
}

/* Dynamic Background System */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../IMG/chata_leto.jpg') no-repeat left center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -2;
    will-change: transform;
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-overlay);
    z-index: -1;
    transition: var(--transition-smooth);
    opacity: 0;
}

/* Content overlay triggered by scroll - opacity now controlled by JavaScript for progressive effect */

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-surface-muted);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-soft);
    z-index: var(--z-navbar);
    transition: var(--transition-smooth);
    transform: translateY(-100%);
    animation: slideDown 0.6s ease-out 0.2s forwards;
}

/* Navbar transparent state on home page */
.navbar-transparent {
    background: transparent !important;
    border-bottom: 1px solid transparent !important;
    backdrop-filter: blur(10px);
}

/* Navbar scrolled state or non-home pages */
body.scrolled .navbar,
.navbar:not(.navbar-transparent) {
    background: var(--color-surface-strong);
    border-bottom: 1px solid var(--color-border);
}

.navbar-brand {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav a {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--color-foreground);
    font-weight: var(--font-weight-medium);
    border-radius: 0.375rem;
    transition: var(--transition-smooth);
    text-shadow: 1px 1px 2px var(--color-text-shadow);
}

/* === CLEAN NAVBAR TEXT COLOR SYSTEM === */

/* Default navbar text - always use theme foreground */
.navbar-nav a:not(.router-link-active),
.navbar-brand,
.theme-toggle {
    color: var(--color-foreground);
    transition: var(--transition-smooth);
}

.navbar-toggle span {
    background: var(--color-foreground);
    transition: var(--transition-smooth);
}

/* Initial state: Dark text on dark theme home page before JavaScript runs */
[data-theme="dark"] body:not(.js-navbar-control) .navbar-transparent .navbar-nav a:not(.router-link-active),
[data-theme="dark"] body:not(.js-navbar-control) .navbar-transparent .navbar-brand,
[data-theme="dark"] body:not(.js-navbar-control) .navbar-transparent .theme-toggle {
    color: hsl(158, 40%, 8%);
    text-shadow: 1px 1px 2px hsla(0, 0%, 100%, 0.8);
}

[data-theme="dark"] body:not(.js-navbar-control) .navbar-transparent .navbar-toggle span {
    background: hsl(158, 40%, 8%);
}

/* Special case: Dark text on transparent navbar for dark theme home page (JavaScript controlled) */
body.navbar-dark-text .navbar-nav a:not(.router-link-active),
body.navbar-dark-text .navbar-brand,
body.navbar-dark-text .theme-toggle {
    color: hsl(158, 40%, 8%) !important;
    text-shadow: 1px 1px 2px hsla(0, 0%, 100%, 0.8) !important;
}

body.navbar-dark-text .navbar-toggle span {
    background: hsl(158, 40%, 8%) !important;
}

/* Active link styling */
.navbar-nav a.router-link-active {
    background: var(--gradient-hero);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    text-shadow: none;
}

/* Non-active links hover */
.navbar-nav a:not(.router-link-active):hover {
    background: var(--gradient-light);
    color: var(--color-foreground);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    text-shadow: none;
}

/* === RESPONSIVE PHONE LINK SYSTEM === */

/* Default phone link styling */
.phone-link {
    background: var(--gradient-accent) !important;
    color: white !important;
    font-weight: var(--font-weight-medium);
    border-radius: 0.5rem;
    text-shadow: none !important;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-link:hover {
    background: var(--gradient-hero) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px hsla(var(--color-accent-hsl), 0.3);
}

/* Responsive phone number behavior */
.phone-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.phone-number {
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Small screens - hide number, show only icon */
@media (max-width: 767px) {
    .phone-number {
        display: none;
    }

    .phone-link {
        min-width: 2.5rem;
        justify-content: center;
        cursor: pointer;
    }
}

/* Phone dropdown for icon-only mode */
.phone-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-surface-strong);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 0.25rem;
    box-shadow: var(--shadow-medium);
    z-index: 1001;
    white-space: nowrap;
    animation: fadeInDown 0.2s ease;
    min-width: 200px;
}

.phone-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-dropdown-number {
    color: var(--color-foreground);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

.phone-dropdown-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phone-dropdown-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    text-align: center;
    display: block;
}

.phone-dropdown-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.phone-dropdown-btn.secondary {
    background: var(--color-surface-muted);
    color: var(--color-foreground);
}

.phone-dropdown-btn.secondary:hover {
    background: var(--color-border);
}

.phone-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 1rem;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--color-surface-strong);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: var(--transition-smooth);
    z-index: 1001;
    position: relative;
}

.navbar-toggle:hover {
    background: var(--color-surface-muted);
}

.navbar-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-foreground);
    transition: var(--transition-smooth);
    border-radius: 1px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: var(--transition-smooth);
    margin-left: 0.5rem;
    color: var(--color-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 2px var(--color-text-shadow);
}

.theme-toggle:hover {
    background: var(--color-surface-soft);
    transform: scale(1.1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Theme toggle in scrolled state */
body.scrolled .theme-toggle {
    text-shadow: none;
}

/* View Mode Toggle Button */
.view-mode-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
    margin-left: 0.5rem;
    color: var(--color-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    text-shadow: none;
    font-weight: var(--font-weight-medium);
    opacity: 0.7;
}

.view-mode-toggle:hover {
    background: var(--color-surface-muted);
    opacity: 1;
    transform: translateY(-1px);
}

.view-mode-toggle:active {
    transform: scale(0.95);
}

/* View mode toggle in scrolled state */
body.scrolled .view-mode-toggle {
    text-shadow: none;
}

/* Navbar Title Transition Animations */
.navbar-title-enter-active,
.navbar-title-leave-active {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-title-enter-from {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
}

.navbar-title-leave-to {
    opacity: 0;
    transform: translateY(20px) scale(1.1);
}

.navbar-title-enter-to,
.navbar-title-leave-from {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Page Transition Animations */
.slide-left-enter-active,
.slide-left-leave-active,
.slide-right-enter-active,
.slide-right-leave-active,
.fade-enter-active,
.fade-leave-active {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide Left Transition (Forward) */
.slide-left-enter-from {
    transform: translateX(100%);
    opacity: 0;
}

.slide-left-leave-to {
    transform: translateX(-100%);
    opacity: 0;
}

.slide-left-enter-to,
.slide-left-leave-from {
    transform: translateX(0);
    opacity: 1;
}

/* Slide Right Transition (Backward) */
.slide-right-enter-from {
    transform: translateX(-100%);
    opacity: 0;
}

.slide-right-leave-to {
    transform: translateX(100%);
    opacity: 0;
}

.slide-right-enter-to,
.slide-right-leave-from {
    transform: translateX(0);
    opacity: 1;
}

/* Fade Transition (Same level) */
.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.fade-enter-to,
.fade-leave-from {
    opacity: 1;
}

/* Sections mode container for transitions */
.sections-mode {
    position: relative;
    min-height: calc(100vh - 64px);
    overflow: hidden;
    padding-top: 64px;
}

.sections-mode .main-content {
    border-radius: 0;
}

/* Router view positioning for transitions */
.sections-mode > div {
    position: relative;
    width: 100%;
}

/* Prevent horizontal scroll during transitions */
body {
    overflow-x: hidden;
}

/* Continuous Layout Styles */
.continuous-layout {
    position: relative;
}

.continuous-section {
    position: relative;
    min-height: 100vh;
    transition: var(--transition-smooth);
}

/* Jemné střídání barev mezi stránkami v continuous mode - subtle gradient bez "přefouklých" separátorů */
.continuous-mode .continuous-section:nth-child(odd) .main-content {
    background: var(--color-surface);
}

.continuous-mode .continuous-section:nth-child(even) .main-content {
    background: var(--color-surface-soft);
}

/* Odstranit zaoblení rohů u všech sekcí */
.continuous-mode .continuous-section .main-content {
    border-radius: 0;
}

/* Přidat horní padding pro oddělení - bez border, stačí jemný přechod barev */
.continuous-mode .continuous-section:not(:first-child) .main-content {
    padding-top: 3rem;
    border-top: none;
}

/* Hide navbar duplicates in continuous mode */
.continuous-mode .navbar {
    position: fixed !important;
    z-index: 100;
}

.continuous-mode .continuous-section .navbar {
    display: none;
}

/* Smooth scroll behavior for continuous mode */
.continuous-mode {
    scroll-behavior: smooth;
}

.continuous-mode .hero-subpage {
    border-radius: 0;
}

/* Section separators in continuous mode */
.continuous-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--color-border) 50%,
        transparent 100%
    );
}

/* Section loading placeholders */
.section-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--color-background-soft);
}

.placeholder-content {
    text-align: center;
    color: var(--color-foreground-muted);
}

.placeholder-content h3 {
    margin-top: 1rem;
    font-weight: var(--font-weight-medium);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border-soft);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
    padding: 1rem 2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
    background: linear-gradient(
        135deg,
        hsla(0, 0%, 0%, 0.25) 0%,
        hsla(0, 0%, 0%, 0.15) 50%,
        hsla(0, 0%, 0%, 0.25) 100%
    );
    box-shadow:
        0 8px 32px hsla(0, 0%, 0%, 0.3),
        inset 0 1px 0 hsla(255, 255%, 100%, 0.15),
        0 0 0 1px hsla(255, 255%, 100%, 0.1);
}

/* Hero frame A/B test - variant without frame */
.hero-content.no-frame {
    border-radius: 0;
    backdrop-filter: none;
    background: none;
    box-shadow: none;
    padding: 2rem;
}

/* Subpage hero styling - cleaner design */
.hero-subpage {
    min-height: 35vh;
    padding: 2rem 1rem;
}

.hero-subpage .hero-content {
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: 600px;
}

/* Enhanced text readability for subpage heroes - adaptive to theme */
.hero-subpage .hero-title {
    color: var(--color-foreground) !important;
    text-shadow: 2px 2px 12px var(--color-text-shadow) !important;
    margin-bottom: 0.75rem;
}

.hero-subpage .hero-subtitle {
    color: var(--color-foreground) !important;
    text-shadow: 1px 1px 8px var(--color-text-shadow-soft) !important;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Mobile responsive for subpage heroes */
@media (max-width: 768px) {
    .hero-subpage {
        min-height: 25vh !important;
    }

    .hero-subpage .hero-title {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-subpage .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

.hero .hero-title {
    font-size: clamp(var(--font-size-3xl), 8vw, var(--font-size-6xl));
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    line-height: 1.1;
    color: white;
    text-shadow: 2px 2px 8px hsla(0, 0%, 0%, 0.8), 0 0 20px hsla(0, 0%, 0%, 0.6);
}

.hero .hero-title .gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(2px 2px 4px hsla(0, 0%, 0%, 0.7));
}

.hero .hero-subtitle {
    font-size: clamp(var(--font-size-lg), 4vw, var(--font-size-2xl));
    color: white;
    opacity: 0.95;
    margin-bottom: 3rem;
    font-weight: var(--font-weight-medium);
    text-shadow: 1px 1px 4px hsla(0, 0%, 0%, 0.8), 0 0 10px hsla(0, 0%, 0%, 0.4);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-hero);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-surface-muted), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-surface-muted);
    backdrop-filter: blur(10px);
    color: var(--color-foreground);
    text-decoration: none;
    border: 2px solid var(--color-border);
    border-radius: 0.75rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: var(--color-surface-soft);
    border-color: var(--color-primary);
    color: var(--color-foreground);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Button Size Modifiers */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    border-radius: 0.5rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: var(--font-size-xl);
}

/* Button Variants */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-surface);
    color: var(--color-foreground);
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--color-surface-muted);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-warm);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-danger:hover {
    background: var(--color-error);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-success);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-success:hover {
    background: var(--color-success);
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Button States */
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-danger:disabled,
.btn-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary:disabled::before {
    display: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-foreground);
    border-radius: 12px;
    opacity: 0.7;
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-foreground);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

/* Main Content Sections */
.main-content {
    position: relative;
    z-index: 1;
    background: var(--color-surface);
    color: var(--color-foreground);
    backdrop-filter: blur(5px);
    min-height: 100vh;
    border-radius: 2rem 2rem 0 0;
    box-shadow: 0 -10px 30px var(--color-shadow);
}

/* For pages with smaller hero sections */
.hero-small {
    min-height: 60vh;
}

.hero-small + .main-content {
    border-radius: 2rem 2rem 0 0;
    margin-top: -2rem;
}

.section {
    padding: 2.5rem 0;
}

/* First section after hero gets less top padding */
.main-content .section:first-child {
    padding-top: 4.5rem;
}

.section-muted {
    background: var(--color-surface-muted);
    backdrop-filter: blur(5px);
}

/* V continuous režimu se sekce-muted nepoužívá - zdědit background od rodiče */
.continuous-mode .section-muted {
    background: transparent;
    backdrop-filter: none;
}

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

.section-title {
    font-size: clamp(var(--font-size-2xl), 5vw, var(--font-size-4xl));
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-foreground);
    position: relative;
    padding-bottom: 1rem;
}

/* Floating header with gradient underline effect */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    box-shadow: 0 2px 8px hsla(var(--color-accent-hsl), 0.3);
}

/* Animated expansion on scroll */
.section-title.in-view::after {
    animation: expandUnderline 0.8s ease-out forwards;
}

@keyframes expandUnderline {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

/* Section title on muted background */
.section-muted .section-title::after {
    background: var(--gradient-hero);
    box-shadow: 0 2px 8px hsla(var(--color-primary-hsl), 0.4);
}

/* Section title hover effect */
.section-title:hover::after {
    width: 80px;
    transition: width 0.3s ease;
}

/* Section title variants */
.section-title.accent::after {
    background: var(--gradient-accent);
    box-shadow: 0 2px 12px hsla(var(--color-accent-hsl), 0.4);
}

.section-title.primary::after {
    background: var(--gradient-primary);
    box-shadow: 0 2px 12px hsla(var(--color-primary-hsl), 0.4);
}

/* Gallery specific titles get wider underline */
.gallery-section .section-title::after,
.section-title.wide::after {
    width: 100px;
}

.section-title.wide.in-view::after {
    animation: expandUnderlineWide 0.8s ease-out forwards;
}

@keyframes expandUnderlineWide {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

/* About Section */
/* Legacy grid for other uses */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-card {
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 0.85rem;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border-soft);
    animation: scaleIn 0.6s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    background: var(--color-surface);
}

/* New features list layout - text with icons on side */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--color-surface-soft);
    border-radius: 0.85rem;
    border: 1px solid var(--color-border-soft);
    transition: var(--transition-smooth);
    animation: slideInLeft 0.6s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.feature-item:hover {
    background: var(--color-surface);
    box-shadow: var(--shadow-medium);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-icon-large {
    width: 56px;
    height: 56px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.65rem;
    color: var(--color-foreground);
}

.feature-description {
    color: var(--color-foreground);
    opacity: 0.8;
    line-height: 1.6;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-foreground);
    padding: 1.75rem;
    background: var(--color-surface-soft);
    border-radius: 0.75rem;
    border-left: 4px solid var(--color-primary);
    position: relative;
}

.about-text h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-foreground);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.about-text p {
    margin: 0.75rem 0;
    opacity: 0.95;
}

.about-text p:first-of-type {
    font-weight: 500;
    font-size: var(--font-size-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.stat-item {
    text-align: center;
    padding: 1.25rem;
    background: var(--color-surface-muted);
    border-radius: 0.75rem;
    backdrop-filter: blur(5px);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    display: block;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-foreground);
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.amenity-card {
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border-soft);
}

.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: var(--color-surface);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: white;
}

.amenity-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.75rem;
    color: var(--color-foreground);
}

.amenity-description {
    color: var(--color-foreground);
    opacity: 0.8;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
    align-items: start;
}

/* Masonry layout for different aspect ratios */
.gallery-grid.masonry {
    grid-template-rows: masonry; /* Future CSS feature */
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    background: var(--color-muted);
    background-image:
        linear-gradient(45deg, transparent 25%, hsla(0, 0%, 100%, 0.1) 25%),
        linear-gradient(-45deg, transparent 25%, hsla(0, 0%, 100%, 0.1) 25%),
        linear-gradient(45deg, hsla(0, 0%, 100%, 0.1) 75%, transparent 75%),
        linear-gradient(-45deg, hsla(0, 0%, 100%, 0.1) 75%, transparent 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.gallery-item img[src=""] {
    opacity: 0.5;
}

.gallery-item img:not([src]),
.gallery-item img[src=""] {
    background-color: var(--color-muted);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent 0%,
        hsla(0, 0%, 0%, 0.3) 40%,
        hsla(0, 0%, 0%, 0.8) 100%
    );
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition-smooth);
    border-radius: 0 0 1rem 1rem;
}

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

.gallery-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

.gallery-overlay p {
    margin: 0;
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

/* Booking Section */
.booking-form {
    max-width: 768px;
    margin: 0 auto;
    background: var(--color-surface);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--color-border);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Form styles moved to forms.css - keeping only legacy overrides if needed */

.form-button {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-hero);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border-soft);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: var(--color-surface);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: white;
}

.contact-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
    color: var(--color-foreground);
}

.contact-info {
    color: var(--color-foreground);
    opacity: 0.8;
}

.contact-info a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-info a:hover {
    color: var(--color-primary-dark);
}

.map-container {
    aspect-ratio: 16/9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--color-overlay-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Admin Styles */










/* Utility Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out both;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.scale-in {
    animation: scaleIn 0.6s ease-out both;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.py-4 { padding: 2rem 0; }
.px-4 { padding: 0 2rem; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollDot {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }

    .hero .hero-title {
        font-size: var(--font-size-6xl);
    }

    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .navbar-nav {
        gap: 1rem;
    }

    .hero-actions {
        gap: 2rem;
    }
}

/* Tablet */
@media (max-width: 1023px) {
    .about-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

.phone-contact-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Mobile */
@media (max-width: 767px) {
    .navbar {
        padding: 0 1rem;
    }

    .navbar-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-surface-strong);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-smooth);
        border-bottom: 2px solid var(--color-border);
        box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.15);
        z-index: 999;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    /* Add subtle gradient fade at the bottom of mobile menu */
    .navbar-nav::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 8px;
        background: linear-gradient(to bottom, transparent, var(--color-surface-strong));
        pointer-events: none;
    }

    .navbar-nav.open {
        transform: translateY(0);
        opacity: 1;
    }

    .navbar-toggle {
        display: flex;
    }


    .navbar-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .navbar-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile menu links styling */
    .navbar-nav a {
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        text-align: center;
        width: 100%;
        display: block;
        transition: var(--transition-smooth);
        color: var(--color-foreground) !important;
        text-shadow: none !important;
    }

    .navbar-nav a:hover {
        background: var(--color-surface-muted);
    }

    /* Simplified mobile menu layout */
    .navbar-nav.open {
        gap: 0.5rem;
        align-items: center;
    }

    .section {
        padding: 2.5rem 0;
    }
    .main-content .section:first-child {
        padding-top: 1.5rem;
    }
    .section-title {
        margin-bottom: 1.5rem;
        font-size: var(--font-size-2xl);
    }
    .section-title::after {
        width: 40px;
    }
    @keyframes expandUnderline {
        to {
            width: 40px;
        }
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 300px;
    }

    .booking-form {
        padding: 2rem;
        margin: 0 1rem;
    }

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

    .admin-login {
        margin: 2rem auto;
        padding: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 479px) {
    .hero {
        padding: 0 0.5rem;
    }

    .hero .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .feature-card,
    .amenity-card,
    .contact-card {
        padding: 1.5rem;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .admin-login {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-indicator {
        animation: none;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.loading-logo {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 2s ease-in-out infinite;
}

.loading-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-foreground);
    margin-bottom: 0.5rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-content p {
    font-size: var(--font-size-lg);
    color: var(--color-foreground);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.spinner-dot {
    width: 12px;
    height: 12px;
    background: var(--gradient-hero);
    border-radius: 50%;
    animation: spinnerPulse 1.4s ease-in-out infinite both;
}

.spinner-dot:nth-child(1) { animation-delay: -0.32s; }
.spinner-dot:nth-child(2) { animation-delay: -0.16s; }
.spinner-dot:nth-child(3) { animation-delay: 0s; }

@keyframes spinnerPulse {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Vue Application Layout */
.app-layout {
    min-height: calc(100vh - 64px);
    position: relative;
    z-index: 1;
}

/* Message Styles for the new design */
.message {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-medium);
    border-left: 4px solid transparent;
    backdrop-filter: blur(10px);
}

.message.success {
    background: var(--color-success-light);
    border-left-color: var(--color-success);
    color: var(--color-success);
}

.message.error {
    background: var(--color-error-light);
    border-left-color: var(--color-error);
    color: var(--color-error);
}

.message.info {
    background: var(--color-info-light);
    border-left-color: var(--color-info);
    color: var(--color-info);
}

.message.warning {
    background: var(--color-warning-light);
    border-left-color: var(--color-warning);
    color: var(--color-warning);
}

/* Pricing Page Styles */
.pricing-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-description {
    font-size: var(--font-size-lg);
    color: var(--color-foreground);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.pricing-card {
    background: var(--color-surface);
    backdrop-filter: blur(15px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--color-border-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.25rem;
    position: relative;
}

.pricing-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.pricing-header h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-foreground);
    margin: 0;
}

.pricing-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--gradient-warm);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-body {
    margin-bottom: 1.5rem;
}

.price {
    text-align: center;
    margin-bottom: 1rem;
}

.amount {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.currency {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.period {
    font-size: var(--font-size-base);
    color: var(--color-foreground);
    opacity: 0.7;
}

.price-details {
    text-align: center;
    margin-bottom: 1.25rem;
}

.price-details p {
    margin: 0.25rem 0;
    color: var(--color-foreground);
    opacity: 0.8;
}

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

.features li {
    padding: 0.5rem 0;
    color: var(--color-foreground);
    border-bottom: 1px solid var(--color-border-soft);
}

.features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    text-align: center;
}

/* Extras list styling */
.extras-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 900px;
    margin-bottom: 2rem;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--color-surface-soft);
    border-radius: 0.75rem;
    border: 1px solid var(--color-border-soft);
    transition: var(--transition-smooth);
}

.extra-item:hover {
    background: var(--color-surface);
    border-color: var(--color-border);
    box-shadow: var(--shadow-small);
}

.extra-info {
    flex: 1;
    margin-right: 1.5rem;
}

.extra-info strong {
    display: block;
    color: var(--color-foreground);
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.extra-info p {
    margin: 0.15rem 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.extra-info .help-text {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
    font-style: italic;
}

.extra-price {
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    font-size: 1.1rem;
    white-space: nowrap;
    padding-top: 0.25rem;
}

.services-section {
    padding: 4rem 0;
}

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

.service-card {
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border-soft);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: var(--color-surface);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-foreground);
    margin: 0 0 0.5rem 0;
}

.service-price {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--color-foreground);
    opacity: 0.8;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin: 0;
}

.cta-section {
    padding: 4rem 0;
}

/* Contact Page Styles */
.contact-form-section {
    padding: 4rem 0;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: var(--color-surface);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-border);
}

.contact-form textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.contact-info-sidebar {
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border-soft);
}

.contact-info-sidebar h3 {
    color: var(--color-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1.5rem;
}

.info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-soft);
    font-size: var(--font-size-sm);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--color-foreground);
    font-weight: var(--font-weight-medium);
}

.social-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-soft);
}

.social-links h4 {
    color: var(--color-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.social-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--color-foreground);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
}

.map-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.directions {
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border-soft);
}

.directions h3 {
    color: var(--color-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1.5rem;
}

.direction-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.direction-item:last-child {
    margin-bottom: 0;
}

.direction-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.direction-content h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-foreground);
    margin: 0 0 0.25rem 0;
}

.direction-content p {
    font-size: var(--font-size-sm);
    color: var(--color-foreground);
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Contact Page */
@media (max-width: 1023px) {
    .contact-form-wrapper,
    .map-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form,
    .contact-info-sidebar,
    .directions {
        order: 1;
    }

    .map-container {
        order: 2;
    }
}

@media (max-width: 767px) {
    .contact-form,
    .contact-info-sidebar,
    .directions {
        padding: 1.5rem;
    }

    .contact-form-section,
    .map-section {
        padding: 3rem 0;
    }

    .direction-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .direction-icon {
        margin: 0 auto;
    }
}

/* Gallery Page Styles */
.gallery-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    margin: 2rem 0;
}

.placeholder-content {
    max-width: 500px;
    margin: 0 auto;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.gallery-overview {
    margin-bottom: 4rem;
}

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

.overview-card {
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border-soft);
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: var(--color-surface);
}

.overview-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.overview-card h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-foreground);
    margin: 0 0 0.75rem 0;
}

.overview-card p {
    color: var(--color-foreground);
    opacity: 0.8;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin: 0;
}

.galleries-container {
    margin-top: 2rem;
}

.gallery-section {
    margin-bottom: 4rem;
}

.gallery-header {
    margin-bottom: 2rem;
}

.gallery-title-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.gallery-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin: 0;
    text-align: center;
}

.photo-count {
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
}

.gallery-description {
    font-size: var(--font-size-lg);
    color: var(--color-foreground);
    opacity: 0.8;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Duplicated gallery-grid removed - using earlier definition with masonry support */

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: fadeInUp 0.6s ease-out both;
}

/* Default aspect ratio for legacy browsers */
.gallery-item:not([data-aspect-ratio]) {
    aspect-ratio: 16/9;
}

/* Dynamic aspect ratios based on image orientation */
.gallery-item[data-aspect-ratio="square"] {
    aspect-ratio: 1/1;
}

.gallery-item[data-aspect-ratio="portrait"] {
    aspect-ratio: 3/4;
}

.gallery-item[data-aspect-ratio="landscape"] {
    aspect-ratio: 4/3;
}

.gallery-item[data-aspect-ratio="wide"] {
    aspect-ratio: 16/9;
}

.gallery-item[data-aspect-ratio="tall"] {
    aspect-ratio: 2/3;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    background: var(--color-muted);
    background-image:
        linear-gradient(45deg, transparent 25%, hsla(0, 0%, 100%, 0.1) 25%),
        linear-gradient(-45deg, transparent 25%, hsla(0, 0%, 100%, 0.1) 25%),
        linear-gradient(45deg, hsla(0, 0%, 100%, 0.1) 75%, transparent 75%),
        linear-gradient(-45deg, hsla(0, 0%, 100%, 0.1) 75%, transparent 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.gallery-item img[src=""] {
    opacity: 0.5;
}

.gallery-item img:not([src]),
.gallery-item img[src=""] {
    background-color: var(--color-muted);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.05);
}

/* Duplicated gallery-overlay definition removed - using bottom overlay version only */

.overlay-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.overlay-icon {
    font-size: 1.5rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.overlay-content p {
    margin: 0;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
    flex: 1;
}

.overlay-description {
    font-size: var(--font-size-xs);
    opacity: 0.8;
    margin-top: 0.25rem;
    font-weight: var(--font-weight-normal);
}

.gallery-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    margin-top: 4rem;
}

.cta-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-foreground);
    margin: 0 0 1rem 0;
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: var(--color-foreground);
    opacity: 0.8;
    margin: 0 0 2rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-overlay-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    cursor: pointer;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
    animation: scaleIn 0.3s ease-out;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-strong);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background: var(--color-surface-muted);
    transform: scale(1.1);
}

/* Enhanced Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 1;
}

.lightbox-nav:hover {
    background: var(--color-surface-muted);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-surface-soft);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

/* Mobile Gallery Optimizations */
@media (max-width: 767px) {
    .gallery-title-area {
        flex-direction: column;
        gap: 0.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .overview-card,
    .gallery-cta {
        padding: 1.5rem;
    }

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

    .lightbox-close {
        top: -40px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lightbox-prev {
        left: -50px;
    }
    .lightbox-next {
        right: -50px;
    }
    .lightbox-counter {
        bottom: -40px;
        font-size: var(--font-size-xs);
        padding: 0.25rem 0.75rem;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 479px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        aspect-ratio: 16/9;
    }
}

/* Dark Mode Support removed - use explicit data-theme attributes instead */

/* =================
   ADMIN SECTION
   ================= */

/* Admin Layout */

/* Admin Background */


@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Admin Login Container */

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

/* Admin Login Card */


/* Admin Login Header */




/* Admin Login Form */

/* Removed duplicate .form-group - using unified definition above */

/* Removed duplicate .form-label - using unified definition above */

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 0 4px rgba(var(--color-primary-rgb), 0.1),
        0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.7;
}

/* Admin Login Button */






.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Error Message */
.message.error {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 12px;
    color: var(--color-error);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.error-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Admin Login Footer */


/* Admin Link and Logout Button in Navbar */


.logout-btn {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: var(--color-error);
}

/* Dark Mode for Admin */
@media (prefers-color-scheme: dark) {
    .admin-login-card {
        background: rgba(20, 20, 20, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow:
            0 32px 64px rgba(0, 0, 0, 0.4),
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.05);
    }

    .admin-login-card:hover {
        box-shadow:
            0 40px 80px rgba(0, 0, 0, 0.5),
            0 12px 40px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    .form-input {
        background: rgba(40, 40, 40, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
        color: var(--color-foreground);
    }

    .form-input:focus {
        background: rgba(40, 40, 40, 0.95);
        border-color: var(--color-primary);
    }

    .admin-login-footer {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .message.error {
        background: rgba(220, 53, 69, 0.15);
        border-color: rgba(220, 53, 69, 0.3);
        color: var(--color-error);
    }
}

/* Responsive Design for Admin */
@media (max-width: 768px) {
    .admin-login-container {
        padding: 1rem;
        max-width: 100%;
    }

    .admin-login-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .admin-title {
        font-size: 1.75rem;
    }

    .admin-logo {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .admin-login-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .admin-title {
        font-size: 1.5rem;
    }

    .admin-logo {
        font-size: 2rem;
    }
}

/* =================
   RESERVATION SECTION
   ================= */

/* Reservation Wrapper - Simplified */
.reservation-wrapper {
    background: transparent;
    padding: 0;
    margin-bottom: 3rem;
}

/* Reservation Info Section */
.reservation-info {
    text-align: center;
}

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

.info-card {
    background: var(--color-surface);
    border-radius: 0.85rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 1px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* =================
   RESERVATION SYSTEM
   ================= */
/* Reservation system CSS moved to separate file: reservation-system.css */
/* Loaded dynamically by ReservationSystem.js for better performance */

/* =================
   ADMIN ENHANCEMENTS - Using Shared Classes
   ================= */

/* Admin Tool Cards - Enhancement of feature-card */







/* Admin Tools Grid - enhances about-grid */
.about-grid.admin-tools {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Logout button styling for hero section */
.btn-outline.logout {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--color-error);
    color: var(--color-error);
}

.btn-outline.logout:hover {
    background: #dc3545;
    color: white;
}

/* =================
   ADMIN RESERVATIONS - ENHANCED DESIGN
   ================= */

/* Stats Cards */
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--color-primary);
}

.stats-card.pending h3 {
    color: var(--color-warning);
}

.stats-card.confirmed h3 {
    color: var(--color-success);
}

.stats-card.cancelled h3 {
    color: var(--color-error);
}

/* Filters Section */
.filters-wrapper {
    display: flex;
    gap: 2rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.9rem;
}

.filter-select,
.filter-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.1);
}

/* States */
.loading-state,
.error-state,
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-content,
.error-content,
.empty-content {
    max-width: 400px;
    margin: 0 auto;
}

.loading-spinner,
.error-icon,
.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.loading-state h3,
.error-state h3,
.empty-state h3 {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.error-state p,
.empty-state p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Reservations Grid */
.reservations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.reservation-card {
    position: relative;
    padding: 1.5rem;
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.customer-info h3 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin: 0 0 0.25rem 0;
}

.reservation-id {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Status badge styles for DB statuses */
.status-badge.status-reserved,
.status-badge.status-pending {
    background: rgba(255, 152, 0, 0.1);
    color: var(--color-warning);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-badge.status-occupied,
.status-badge.status-confirmed {
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.status-cancelled {
    background: rgba(158, 158, 158, 0.1);
    color: var(--color-foreground-muted);
    border: 1px solid rgba(158, 158, 158, 0.3);
}

/* Reservation Content */
.reservation-content {
    margin-bottom: 1.5rem;
}

.info-row {
    margin-bottom: 0.75rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-item.full-width {
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-weight: 600;
    color: var(--color-text-secondary);
    min-width: 80px;
    font-size: 0.9rem;
}

.info-value {
    color: var(--color-text-primary);
    font-weight: 500;
    flex: 1;
}

.info-value.price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.info-value.note {
    background: var(--color-surface-muted);
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 0.25rem;
    border-left: 3px solid var(--color-primary);
    font-style: italic;
}

/* Reservation Actions */
.reservation-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Section title with count */
.section-title .count {
    color: var(--color-text-secondary);
    font-weight: 400;
    font-size: 0.8em;
}

/* Responsive Design for Admin Reservations */
@media (max-width: 768px) {
    .filters-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        min-width: 100%;
    }

    .reservations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .reservation-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-card h3 {
        font-size: 2rem;
    }

    .reservation-actions {
        justify-content: stretch;
    }

    .reservation-actions button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .reservation-card {
        padding: 1rem;
    }

    .info-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .info-label {
        min-width: auto;
    }
}

/* Responsive Design for Reservation */
@media (max-width: 768px) {
    .reservation-wrapper {
        border-radius: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .reservation-wrapper {
        border-radius: 12px;
    }

    .info-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .info-icon {
        font-size: 1.75rem;
    }
}

/* ===================================
   ADMIN TABLE DESIGN
   =================================== */

/* Kompaktní admin sections */




/* Hero stats v řádku */
.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.stat-item {
    padding: 0.5rem 1rem;
    background: var(--color-surface);
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
}

.stat-item.pending {
    border-left: 3px solid #ff9800;
}

.stat-item.confirmed {
    border-left: 3px solid #4caf50;
}

.stat-item.cancelled {
    border-left: 3px solid #f44336;
}

/* Kompaktní filtry */

.filter-select.compact,
.filter-input.compact {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 8px;
    min-width: 150px;
}

/* Kompaktní stavy */
.loading-state.compact,
.error-state.compact,
.empty-state.compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--color-surface);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    justify-content: center;
}

/* Admin tabulka */









/* Specifické buňky tabulky */
.id-cell {
    width: 80px;
    text-align: center;
}

.reservation-id {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--color-text-muted);
}

.customer-cell {
    min-width: 200px;
}

.customer-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.returning-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff9800;
    border-radius: 50%;
    cursor: help;
    margin-left: 0.5rem;
    position: relative;
    flex-shrink: 0;
}

/* Returning customer badge for detail modal */
.returning-customer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    background: rgba(255, 152, 0, 0.1);
    color: var(--color-warning);
    border: 1px solid rgba(255, 152, 0, 0.3);
    margin-left: 0.5rem;
}

.returning-badge::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #ff9800;
    border-radius: 50%;
    top: -4px;
    left: -4px;
    animation: pulse 2s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    70% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.6;
    }
}

.customer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.phone {
    font-family: 'Courier New', monospace;
}

.date-cell {
    width: 120px;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.date-separator {
    color: var(--color-text-muted);
}

.price-cell {
    width: 100px;
    text-align: right;
}

.price {
    font-weight: 600;
    color: var(--color-primary);
}

.status-cell {
    width: 140px;
}

.status-badge.compact {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid;
}

.status-badge.compact.status-reserved,
.status-badge.compact.status-pending {
    background: rgba(255, 152, 0, 0.1);
    color: var(--color-warning);
    border-color: rgba(255, 152, 0, 0.3);
}

.status-badge.compact.status-occupied,
.status-badge.compact.status-confirmed {
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-success);
    border-color: rgba(76, 175, 80, 0.3);
}

.status-badge.compact.status-cancelled {
    background: rgba(158, 158, 158, 0.1);
    color: var(--color-foreground-muted);
    border-color: rgba(158, 158, 158, 0.3);
}

/* Cancelled reservation styling - muted appearance */


.status-badge.compact .status-icon {
    font-size: 0.9rem;
}

.actions-cell {
    width: 120px;
    text-align: center;
}

.btn-action {
    background: none;
    border: none;
    padding: 0.5rem;
    margin: 0 0.125rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1rem;
}

.btn-action:hover {
    background: var(--color-surface);
}

.btn-action.edit:hover {
    background: rgba(255, 152, 0, 0.1);
}

.btn-action.view:hover {
    background: rgba(33, 150, 243, 0.1);
}

.btn-action.delete:hover {
    background: rgba(244, 67, 54, 0.1);
}

/* Stránkování */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-background);
    border-top: 1px solid var(--color-border);
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.pagination-btn:disabled {
    background: var(--color-surface);
    color: var(--color-text-muted);
    cursor: not-allowed;
}

.pagination-btn:not(:disabled):hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Responsive design pro admin tabulku */
@media (max-width: 1024px) {
    .admin-table {
        font-size: 0.8rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }

    .customer-cell {
        min-width: 160px;
    }

    .email {
        max-width: 140px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
    }

    .stat-item {
        flex: 1;
        text-align: center;
        min-width: 120px;
    }

    .admin-filters {
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-select.compact,
    .filter-input.compact {
        width: 100%;
        min-width: auto;
    }

    /* Horizontální scroll pro tabulku na mobilu */
    .admin-table-wrapper {
        overflow-x: auto;
    }

    .admin-table {
        min-width: 700px;
    }

    .pagination {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .admin-hero {
        min-height: 15vh;
        padding: 1rem 0;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .stat-item {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }

    .admin-table {
        font-size: 0.75rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.375rem;
    }
}

/* ===================================
   MODAL OVERLAYS
   =================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: var(--color-surface);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--color-border);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    margin: 0;
    color: var(--color-text);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--color-surface-muted);
    color: var(--color-text);
}

.modal-body {
    padding: 1.5rem;
}

/* Detail Modal */
.detail-modal {
    width: 800px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.detail-section h4 {
    margin: 0 0 1rem 0;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.detail-info .info-row {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

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

.reservation-note {
    background: var(--color-background);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    margin: 0;
}

/* Detail Calendar */
.detail-calendar {
    background: var(--color-background);
    border-radius: 8px;
    padding: 1rem;
}

.calendar-month {
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.9rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.calendar-day.reserved {
    background: rgba(76, 175, 80, 0.2);
    border-color: var(--color-success);
}

.calendar-day.start {
    background: #4caf50;
    color: white;
    font-weight: 600;
}

.calendar-day.end {
    background: #4caf50;
    color: white;
    font-weight: 600;
}

/* Edit Modal */
.edit-modal {
    width: 700px;
}

.edit-form {
    max-width: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Removed duplicate .form-group - using unified definition above */

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.2);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

/* Payment Modal */
.payment-modal {
    width: 500px;
}

.payment-info {
    background: var(--color-background);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.payment-info p {
    margin: 0.5rem 0;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-payment {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.custom-payment input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    color: var(--color-text);
}

/* Delete Modal */
.delete-modal {
    width: 450px;
}

.delete-warning {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.warning-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.warning-text p {
    margin: 0.5rem 0;
}

.warning-note {
    color: var(--color-danger);
    font-weight: 600;
}

.delete-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Button styles */
/* Button styles are now consolidated at the beginning of this file (lines 941-1090) */

/* Enhanced table styles */

/* Specific column widths to prevent wrapping */
.id-cell {
    width: 60px;
    min-width: 60px;
}

.name-cell {
    min-width: 150px;
    max-width: 200px;
}

.email-cell {
    min-width: 180px;
    max-width: 250px;
}

.phone-cell {
    min-width: 120px;
    max-width: 140px;
}

.date-cell {
    min-width: 100px;
    width: 100px;
}

.price-cell {
    min-width: 80px;
    width: 80px;
    text-align: right;
}

.payment-cell {
    min-width: 120px;
    width: 120px;
}

.status-cell {
    min-width: 110px;
    width: 110px;
}

.actions-cell {
    min-width: 140px;
    width: 140px;
}

/* Text overflow handling */
.email,
.phone {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.email:hover,
.phone:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.name-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.name-wrapper > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Payment badges */
.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.payment-badge.payment-paid {
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.payment-badge.payment-partial {
    background: rgba(255, 152, 0, 0.1);
    color: var(--color-warning);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.payment-badge.payment-unpaid {
    background: rgba(244, 67, 54, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Payment warning dot for cancelled reservations with payments */
.payment-warning-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff3333;
    border-radius: 50%;
    margin-left: 0.25rem;
    position: relative;
    flex-shrink: 0;
    cursor: help;
    animation: pulse 2s infinite;
}

.payment-warning-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ff3333;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 51, 51, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Cancelled payment text for reservations without payment issues */
.cancelled-payment-text {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    opacity: 0.5;
}

/* Sort icons styling */
.sort-icon {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-left: 0.25rem;
}

/* Action buttons enhancements */
.btn-action.payment {
    color: var(--color-warning);
}

.btn-action.payment:hover {
    background: rgba(255, 152, 0, 0.1);
}

/* Enhanced responsive handling */
@media (max-width: 1200px) {
    .admin-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-table {
        min-width: 1000px;
    }

    /* Allow some wrapping on smaller screens */
    .email-cell {
        min-width: 150px;
    }

    .name-cell {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .modal-content {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }

    .calendar-grid {
        gap: 1px;
    }

    .calendar-day {
        font-size: 0.8rem;
    }
}

/* Email Modal */
.email-modal {
    width: 700px;
    max-height: 90vh;
}

.email-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.email-tab {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    color: var(--color-text-muted);
}

.email-tab.active,
.email-tab:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.email-templates {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-background);
    border-radius: 8px;
}

.email-templates label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

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

.btn-template {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

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

.email-form {
    margin-bottom: 2rem;
}

.email-history {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.email-history h4 {
    margin: 0 0 1rem 0;
    color: var(--color-primary);
}

.email-list {
    max-height: 300px;
    overflow-y: auto;
}

.email-item {
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: var(--color-surface);
}

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

.email-date {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.email-subject {
    font-weight: 600;
    flex: 1;
    margin: 0 1rem;
}

.email-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.email-status.status-sent {
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-success);
}

.email-status.status-failed {
    background: rgba(244, 67, 54, 0.1);
    color: var(--color-error);
}

.email-preview {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}
/* ================================================
   Gallery Administration Styles
   ================================================ */

/* Gallery Grid Layout */
.galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gallery-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--color-text);
}

.gallery-description {
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--color-background-alt);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.gallery-path {
    font-family: monospace;
    font-size: 0.85rem;
    background: rgba(var(--color-primary-rgb), 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--color-primary);
}

.gallery-actions {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Photos Grid */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-background-alt);
}

.photo-item {
    background: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: move;
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.photo-item.sortable-ghost {
    opacity: 0.3;
}

.photo-item.sortable-chosen {
    transform: rotate(5deg);
}

.photo-preview {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid var(--color-border);
    display: block;
}

.photo-edit-preview {
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--color-background-alt);
    border-radius: 8px;
    padding: 1rem;
}

.photo-edit-preview img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.photo-info {
    padding: 0.75rem;
}

.photo-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photo-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--color-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--color-background-alt);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.05);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.upload-text {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.upload-hint {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.upload-progress {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Modal Enhancements for Gallery */
.gallery-modal .modal-content {
    max-width: 600px;
}

.photo-modal .modal-content {
    max-width: 500px;
}

.upload-modal .modal-content {
    max-width: 700px;
}

/* Form Layouts */
.form-row-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.form-row-thirds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Visibility Toggle */
.visibility-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.visibility-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.visibility-indicator.visible {
    background: var(--color-success);
}

.visibility-indicator.hidden {
    background: var(--color-text-muted);
}

/* Status Messages for Gallery */
.gallery-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.gallery-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.gallery-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: var(--color-danger);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.gallery-message.info {
    background: rgba(33, 150, 243, 0.1);
    color: var(--color-info);
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* Loading States */
.gallery-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--color-text-muted);
}

.photo-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .galleries-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
        padding: 1rem;
    }

    .gallery-actions {
        flex-direction: column;
    }

    .form-row-split,
    .form-row-thirds {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }
}

/* Dark Mode Enhancements */
[data-theme="dark"] .gallery-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .gallery-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .photo-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .photo-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Gallery overlay enhancements for photo titles and descriptions */
.overlay-description {
    margin-top: 0.5rem;
    opacity: 0.9;
    font-size: 0.8rem;
    line-height: 1.3;
    max-width: 200px;
    text-align: center;
}

/* Ensure gallery images are properly sorted */
.gallery-grid .gallery-item {
    order: var(--sort-order, 0);
}

/* Content Manager Styles */
.content-manager {
    padding: 2rem;
}

.content-header {
    margin-bottom: 2rem;
}

.content-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    color: var(--color-text);
}

.content-header p {
    margin: 0;
    color: var(--color-text-muted);
}

.content-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    min-height: 500px;
}

.page-selector {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    border: 1px solid var(--color-border);
}

.page-selector h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--color-text);
}

.page-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.page-item:hover {
    background: var(--color-background-alt);
    border-color: var(--color-border);
}

.page-item.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.page-item.active .page-name {
    color: white;
}

.page-icon {
    font-size: 1.2rem;
}

.page-name {
    font-weight: 500;
    color: var(--color-text);
}

.content-editor {
    background: var(--color-surface);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.editor-header {
    padding: 1.5rem;
    background: var(--color-background-alt);
    border-bottom: 1px solid var(--color-border);
}

.editor-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: var(--color-text);
}

.content-form {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.services-editor {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
    background: var(--color-background-alt);
}

.service-item {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-name,
.service-price {
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-surface);
}

.btn-remove {
    background: var(--color-danger);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

.btn-remove:hover {
    background: #dc2626;
}

.btn-add {
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: background 0.2s ease;
}

.btn-add:hover {
    background: var(--color-primary-dark);
}

.no-selection {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    min-height: 400px;
}

.no-selection-content {
    text-align: center;
    color: var(--color-text-muted);
}

.no-selection-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-selection-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--color-text);
}

.no-selection-content p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .page-selector {
        order: 2;
    }

    .content-editor,
    .no-selection {
        order: 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Map & Navigation Section */
.map-navigation-section {
    background: var(--color-background);
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-provider-switch {
    display: flex;
    background: var(--color-background-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.25rem;
}

.provider-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.provider-btn.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.15);
}

.provider-btn:hover:not(.active) {
    background: var(--color-background);
    color: var(--color-foreground);
}

.map-navigation-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

/* Interactive Map */
.map-container {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.1);
}

.map-controls {
    display: flex;
    background: var(--color-background-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem;
}

.map-mode-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.map-mode-btn.active {
    background: var(--color-primary);
    color: white;
}

.map-mode-btn:hover:not(.active):not(:disabled) {
    background: var(--color-background);
    color: var(--color-foreground);
}

.map-mode-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.map-frame {
    position: relative;
    height: 400px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Navigation Panel */
.navigation-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quick-navigation,
.travel-instructions {
    background: var(--color-background-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
}

.quick-navigation h3,
.travel-instructions h3 {
    margin: 0 0 1.5rem 0;
    color: var(--color-foreground);
    font-size: 1.1rem;
    font-weight: 600;
}

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

.input-group {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.input-group .form-input {
    flex: 1;
    border-radius: 12px;
    padding: 0.875rem 1rem;
}

.btn-gps {
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.85rem;
}

.btn-gps:hover:not(:disabled) {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.btn-gps:disabled {
    background: var(--color-border);
    color: var(--color-text-secondary);
    cursor: not-allowed;
}

.route-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.route-actions .btn-primary,
.route-actions .btn-outline {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* Travel Instructions */
.instruction-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.instruction-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.instruction-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    flex-shrink: 0;
}

.instruction-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--color-foreground);
    font-size: 1rem;
    font-weight: 600;
}

.instruction-content p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .map-navigation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navigation-panel {
        order: -1;
    }
}

@media (max-width: 768px) {
    .map-navigation-section {
        padding: 2rem 0;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        margin-bottom: 2rem;
    }

    .map-provider-switch {
        align-self: center;
    }

    .quick-navigation,
    .travel-instructions {
        padding: 1.5rem;
    }

    .map-frame {
        height: 300px;
    }

    .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .route-actions {
        flex-direction: column;
    }

    .map-controls {
        flex-direction: column;
        gap: 0.25rem;
    }

    .map-mode-btn {
        flex: none;
    }
}
