* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    height: 100%;
}

:root {
    --dark-bg: #132a35;
    --dark-card: rgba(15, 50, 65, 0.8);
    --dark-hover: rgba(24, 72, 95, 0.88);
    --text-white: #f6fbff;
    --text-gray: #b5cfe0;
    --accent-color: #9ae8ff;
    --accent-color-strong: #1db0c9;
    --accent-color-muted: rgba(154, 232, 255, 0.65);
    --danger-color: #f06272;
    --button-primary-bg: linear-gradient(135deg, #1db0c9 0%, #9ae8ff 100%);
    --button-primary-hover: linear-gradient(135deg, #1590a7 0%, #7fd3ed 100%);
    --button-primary-text: #07171f;
    --glass-shadow: 0 25px 65px rgba(3, 28, 40, 0.28);
    --outline-glow: 0 0 0 2px rgba(154, 232, 255, 0.45);

    /* Menu and Layout Variables */
    --menu-width: 280px;
    --container-max: 1200px;
    --container-pad: 24px;
    --left-gutter: 0px;

    /* Customizable Colors tuned for the Sarasota teal backdrop */
    --menu-bg-color: rgba(20, 78, 98, 0.62);
    --menu-text-color: #f4f7f9;
    --menu-accent-color: #9ae8ff;
    --container-bg-color: rgba(18, 70, 92, 0.45);
    --container-border-color: rgba(255, 255, 255, 0.42);
    --container-text-color: #f8fdff;
    --site-background-image: url('/site_bg.avif');
    --site-background-overlay: linear-gradient(180deg, rgba(11, 48, 63, 0.48), rgba(34, 108, 132, 0.28));
}

/* Glass Effect Class (Reusable)
 * 
 * This creates a transparent "glass" effect that shows the background image through:
 * - Uses CSS variables for consistent theming across the site
 * - backdrop-filter: blur(6px) saturate(120%) blurs and enhances the background behind
 * - Combined effect: The background darkens while backdrop-filter creates the glass blur
 * 
 * To adjust opacity: Change --container-bg-color in :root or via Site Settings
 * To adjust blur: Change blur(6px) value - higher = more blur
 */
.glass {
    background: var(--container-bg-color);
    border: 1px solid var(--container-border-color);
    box-shadow: var(--glass-shadow);
    border-radius: 14px;
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    color: var(--container-text-color);
}

/* Alternative glass style with darker background (commented for reference)
 * Uncomment and use if you need more opacity/readability:
 * .glass {
 *     background: rgba(0, 0, 0, 0.35);
 *     border: 1px solid rgba(255, 255, 255, 0.12);
 *     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
 *     border-radius: 14px;
 *     backdrop-filter: blur(6px) saturate(120%);
 *     -webkit-backdrop-filter: blur(6px) saturate(120%);
 * }
 */

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, rgba(19, 42, 53, 0.95), rgba(27, 88, 110, 0.9));
    color: var(--text-white);
}

/* Viewport Wrapper (Controls left gutter for menu) */
.viewport {
    width: 100vw;
    padding-left: var(--left-gutter);
    transition: padding-left 300ms ease;
    box-sizing: border-box;
    overflow-x: hidden;
}

body.menu-open {
    --left-gutter: var(--menu-width);
    overflow-x: hidden;
}

/* Container (Shared by header and content box) */
.container {
    width: 100%;
    max-width: var(--container-max);
    padding: 0 var(--container-pad);
    margin: 0 auto;
    box-sizing: border-box;
}

/* Sidebar Navigation (Off-canvas menu with glass effect) */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--menu-width);
    background: var(--menu-bg-color);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 900;
    padding: 100px 24px 30px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 30px rgba(0, 0, 0, 0.4);
    transform: translateX(-100%);
    transition: transform 300ms ease;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 12px 12px 0;
}

body.menu-open .sidebar {
    transform: translateX(0);
}

.nav-menu {
    list-style: none;
    flex: 1;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    color: var(--menu-text-color);
    opacity: 0.85;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
}

/* Modern gradient overlay on hover */
.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(133, 196, 228, 0.22), rgba(9, 62, 82, 0.12));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

/* Active indicator line */
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, var(--menu-accent-color), rgba(9, 62, 82, 0.7));
    border-radius: 0 3px 3px 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 12px rgba(133, 196, 228, 0.45);
}

.nav-link:hover {
    background: rgba(133, 196, 228, 0.15);
    color: var(--menu-text-color);
    transform: translateX(6px);
    border-color: rgba(133, 196, 228, 0.25);
    box-shadow: 0 12px 30px rgba(6, 32, 44, 0.35),
                0 0 0 1px rgba(133, 196, 228, 0.18);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover::after {
    transform: translateY(-50%) scaleY(1);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(133, 196, 228, 0.24), rgba(9, 62, 82, 0.18));
    color: var(--menu-text-color);
    border-color: rgba(133, 196, 228, 0.35);
    box-shadow: 0 12px 30px rgba(6, 32, 44, 0.4),
                0 0 0 1px rgba(133, 196, 228, 0.25),
                inset 0 1px 0 rgba(233, 245, 250, 0.12);
    font-weight: 600;
}

.nav-link.active::before {
    opacity: 1;
}

.nav-link.active::after {
    transform: translateY(-50%) scaleY(1);
    height: 70%;
    box-shadow: 0 0 16px rgba(133, 196, 228, 0.6);
}

.sidebar-footer {
    margin-top: auto;
    padding: 24px 22px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    background: linear-gradient(180deg, rgba(6, 24, 32, 0.16) 0%, rgba(6, 24, 32, 0.05) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sidebar-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(8, 36, 48, 0.28);
    padding: 6px;
    box-shadow: 0 8px 20px rgba(6, 24, 32, 0.45);
}

.sidebar-footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-footer-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.1px;
    color: var(--menu-text-color);
    text-transform: uppercase;
}

.sidebar-footer-tagline {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(228, 242, 247, 0.55);
}

.sidebar-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-footer-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(8, 36, 48, 0.3);
    border: 1px solid rgba(133, 196, 228, 0.22);
    color: var(--menu-text-color);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.sidebar-footer-contact-link:hover {
    transform: translateY(-2px);
    background: rgba(12, 46, 60, 0.45);
    border-color: rgba(133, 196, 228, 0.4);
    box-shadow: 0 12px 26px rgba(6, 24, 32, 0.45);
}

.sidebar-footer-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(133, 196, 228, 0.18);
    color: var(--accent-color);
    flex-shrink: 0;
}

.sidebar-footer-contact-icon svg {
    width: 19px;
    height: 19px;
}

.sidebar-footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.2;
}

.sidebar-footer-contact-label {
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(224, 239, 245, 0.65);
}

.sidebar-footer-contact-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--menu-text-color);
}

.sidebar-footer-socials {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.sidebar-footer-social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.6px;
    background: rgba(8, 36, 48, 0.25);
    border: 1px solid rgba(133, 196, 228, 0.22);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sidebar-footer-social:hover {
    transform: translateY(-2px);
    background: rgba(12, 46, 60, 0.42);
    border-color: rgba(133, 196, 228, 0.38);
    box-shadow: 0 8px 18px rgba(6, 24, 32, 0.42);
}

.sidebar-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    letter-spacing: 0.4px;
}

.sidebar-footer-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-footer-link:hover {
    color: var(--accent-color-strong);
}

.sidebar-footer-badge {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(8, 36, 48, 0.32);
    border: 1px solid rgba(133, 196, 228, 0.3);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.sidebar-footer-badge:hover {
    transform: translateY(-2px) scale(1.07);
    border-color: rgba(133, 196, 228, 0.48);
    background: rgba(12, 46, 60, 0.46);
    box-shadow: 0 12px 22px rgba(6, 24, 32, 0.4);
}

.sidebar-footer-badge-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .sidebar-footer {
        padding: 20px 16px 28px;
        gap: 16px;
    }

    .sidebar-footer-socials {
        gap: 18px;
    }

    .sidebar-footer-social {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .sidebar-footer-links {
        font-size: 12px;
        gap: 8px;
    }

    .sidebar-footer-badge {
        width: 28px;
        height: 28px;
    }

    .sidebar-footer-badge-logo {
        width: 20px;
        height: 20px;
    }
}

.footer-nav {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-links {
    font-size: 12px;
    color: var(--text-gray);
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-admin-link {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(8, 36, 48, 0.3);
    border: 1px solid rgba(133, 196, 228, 0.2);
    color: var(--menu-text-color);
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-contact-link:hover {
    transform: translateY(-2px);
    background: rgba(12, 46, 60, 0.45);
    border-color: rgba(133, 196, 228, 0.38);
    box-shadow: 0 12px 28px rgba(6, 24, 32, 0.45);
}

.footer-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(133, 196, 228, 0.18);
    color: var(--accent-color);
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 19px;
    height: 19px;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    line-height: 1.25;
}

.footer-contact-label {
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(224, 239, 245, 0.65);
}

.footer-contact-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--menu-text-color);
    word-break: break-word;
}

.footer-admin-status {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-admin-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.3px;
}

.footer-admin-text strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.84);
}

.footer-admin-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-admin-divider {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 0.3px;
}

.footer-admin-access {
    display: inline-flex;
    justify-content: center;
}

.admin-link {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admin-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .sidebar-footer {
        padding: 20px 16px 28px;
        gap: 16px;
    }

    .sidebar-footer-socials {
        gap: 18px;
    }

    .sidebar-footer-social {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .sidebar-footer-links {
        font-size: 12px;
        gap: 8px;
    }

    .sidebar-footer-badge {
        width: 28px;
        height: 28px;
    }

    .sidebar-footer-badge-logo {
        width: 20px;
        height: 20px;
    }

    .footer-contact-link {
        padding: 10px 12px;
    }

    .footer-contact-icon {
        width: 34px;
        height: 34px;
    }

    .footer-contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-contact-value {
        font-size: 12px;
    }
}

.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: rgba(8, 36, 48, 0.28);
    border: 1px solid rgba(133, 196, 228, 0.18);
    border-radius: 18px;
    padding: 36px 40px;
    box-shadow: 0 18px 45px rgba(6, 34, 46, 0.32);
    color: var(--container-text-color);
}

.privacy-intro {
    font-size: 16px;
    line-height: 1.7;
}

.privacy-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.privacy-section h2 {
    font-size: 20px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.privacy-section ul {
    margin-left: 20px;
    display: grid;
    gap: 8px;
    list-style: disc;
}

.privacy-section li {
    line-height: 1.6;
}

.privacy-section a {
    color: var(--accent-color);
    text-decoration: none;
}

.privacy-section a:hover {
    color: var(--accent-color-strong);
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 28px 22px;
        gap: 22px;
    }

    .privacy-section h2 {
        font-size: 18px;
    }

    .privacy-intro {
        font-size: 15px;
    }
}

/* Menu Toggle (Hamburger/X - Top-left with safe padding) */
.menu-toggle {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1001;
    background: var(--container-bg-color);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-white);
    border: 1px solid var(--container-border-color);
    padding: 0 22px;
    cursor: pointer;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: auto;
    height: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    border-color: rgba(255, 255, 255, 0.2);
}

.menu-toggle:active {
    transform: scale(0.98);
}

.menu-toggle.active,
body.menu-open .menu-toggle {
    background: rgba(133, 196, 228, 0.22);
    border-color: rgba(133, 196, 228, 0.35);
    box-shadow: 0 8px 32px rgba(8, 42, 56, 0.35),
                0 0 0 1px rgba(133, 196, 228, 0.28) inset;
}

.menu-toggle.active:hover,
body.menu-open .menu-toggle:hover {
    background: rgba(133, 196, 228, 0.28);
    border-color: rgba(133, 196, 228, 0.45);
    box-shadow: 0 12px 40px rgba(8, 42, 56, 0.42),
                0 0 0 1px rgba(133, 196, 228, 0.32) inset;
}

.hamburger-icon {
    position: relative;
    width: 26px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.hamburger-line {
    width: 100%;
    height: 3.5px;
    background: var(--text-white);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.menu-toggle:hover .hamburger-line {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.menu-toggle.active .hamburger-line,
body.menu-open .menu-toggle .hamburger-line {
    background: var(--text-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.menu-toggle.active .hamburger-line:nth-child(1),
body.menu-open .menu-toggle .hamburger-line:nth-child(1) {
    transform: translateY(9.25px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2),
body.menu-open .menu-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
    width: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3),
body.menu-open .menu-toggle .hamburger-line:nth-child(3) {
    transform: translateY(-9.25px) rotate(-45deg);
}

/* Overlay backdrop when menu is open - removed, content will slide instead */
.sidebar-overlay {
    display: none;
}

/* Main Content */
.main-content {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow-y: visible;
    overflow-x: hidden;
}

/* Global Background - Applied to all pages */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: var(--site-background-overlay), var(--site-background-image);
    background-position: center center, center center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    z-index: -2;
    margin: 0;
    padding: 0;
}

/* Homepage - Show original image brightness without dark overlays */
body.home-page-active::before {
    background-image: var(--site-background-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Homepage - Remove dark body background overlay */
body.home-page-active {
    background: transparent;
}

/* Home Page - Fullscreen Hero */
#home {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 0;
}

.hero-section {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-overlay {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
}

/* Home footer alignment and contact chips (always visible on home) */
.home-footer {
    display: none;
}

body.home-page-active .home-footer {
    position: fixed;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.footer-contact {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    pointer-events: auto;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(133, 196, 228, 0.3);
    min-height: 40px;
    white-space: nowrap;
    text-decoration: none;
}

.contact-chip:hover,
.contact-chip:visited,
.contact-chip:active {
    text-decoration: none;
}

.contact-chip-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(133, 196, 228, 0.18);
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-chip-icon-svg {
    width: 20px;
    height: 20px;
}

.contact-chip-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.contact-chip-label {
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(228, 242, 247, 0.7);
}

.contact-chip-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
}

.header-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    text-align: right;
}

.header-contact .contact-chip {
    width: auto;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.site-logo {
    max-width: 200px;
    width: auto;
    height: auto;
    margin-bottom: 0;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.5));
    display: block;
    object-fit: contain;
}

.logo-main {
    font-size: 56px;
    font-weight: 300;
    color: var(--accent-color);
    font-style: italic;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    white-space: nowrap;
}

.logo-sub {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-white);
    letter-spacing: 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
    white-space: nowrap;
}

.logo-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    white-space: nowrap;
    letter-spacing: 2px;
    text-transform: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    color: var(--text-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.contact-item .icon {
    font-size: 24px;
    color: var(--accent-color);
}

/* Page Container */
.page {
    display: none;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    background: transparent;
    width: 100%;
}

.page.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    overflow: visible;
}

/* Content Box (Main content panel with glass effect) */
.page-container {
    position: relative;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 40px var(--container-pad);
    box-sizing: border-box;
    overflow: visible;
}

/* Apply glass effect to content box */
.page-container:not(#home .page-container) {
    background: linear-gradient(145deg, rgba(30, 94, 118, 0.55), rgba(92, 178, 203, 0.32));
    border: 1px solid var(--container-border-color);
    box-shadow: var(--glass-shadow);
    border-radius: 14px;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    color: var(--container-text-color);
}

.page-container .container {
    padding: 0;
    max-width: 100%;
}

#home .page-container {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
    position: relative;
    min-height: 100vh;
}

.page-title {
    font-size: 42px;
    margin-bottom: 40px;
    color: var(--container-text-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 15px;
    text-shadow: 0 8px 30px rgba(154, 232, 255, 0.35);
}

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.inventory-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 36px;
    background: rgba(9, 46, 60, 0.45);
    border: 1px solid rgba(133, 196, 228, 0.24);
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(6, 34, 46, 0.32);
    text-align: center;
    color: var(--container-text-color);
}

.inventory-empty-title {
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.inventory-empty-text {
    max-width: 520px;
    line-height: 1.6;
    font-size: 15px;
    color: rgba(230, 244, 249, 0.82);
}

.inventory-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid rgba(133, 196, 228, 0.4);
    background: linear-gradient(135deg, rgba(133, 196, 228, 0.32), rgba(12, 60, 78, 0.38));
    color: var(--menu-text-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.inventory-empty-button:hover {
    transform: translateY(-2px);
    border-color: rgba(133, 196, 228, 0.55);
    box-shadow: 0 16px 32px rgba(6, 34, 46, 0.45);
}

@media (max-width: 768px) {
    .inventory-empty {
        padding: 36px 24px;
    }

    .inventory-empty-title {
        font-size: 20px;
    }

    .inventory-empty-text {
        font-size: 14px;
    }
}

.car-card {
    background: var(--dark-card);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.car-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--dark-hover);
}

.car-info {
    padding: 20px;
}

.car-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.car-details {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.car-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 10px;
}

.car-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
}

.status-available {
    background: #28a745;
    color: white;
}

.status-pending {
    background: #ffc107;
    color: #212529;
}

.status-sold {
    background: #6c757d;
    color: white;
}

.status-coming_soon {
    background: #ffc107;
    color: #212529;
}

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

.modal-content {
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-radius: 14px;
    margin: 50px auto;
    padding: 40px;
    max-width: 800px;
    position: relative;
}

.car-detail-modal {
    max-width: 1100px;
    padding: 45px 50px 40px;
}

.car-detail-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.car-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.car-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.car-detail-main-image {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.car-detail-main-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.car-detail-main-image img:hover {
    opacity: 0.9;
}

.car-detail-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.car-detail-thumb {
    border: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.car-detail-thumb img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.car-detail-thumb.active,
.car-detail-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.car-detail-thumb.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    pointer-events: none;
}

.car-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.car-detail-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.car-detail-title {
    font-size: 32px;
    color: var(--text-white);
    line-height: 1.2;
}

.car-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.car-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.car-detail-price {
    font-size: 26px;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.car-detail-price span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    background: rgba(255, 255, 255, 0.04);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.car-spec-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.car-spec-label {
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.car-spec-value {
    font-size: 16px;
    color: var(--text-white);
}

.car-detail-description {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
}

.car-request-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.car-request-panel {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.car-request-panel.active {
    display: flex;
}

.car-request-panel h3 {
    font-size: 20px;
    color: var(--text-white);
}

.car-request-panel p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
}

.car-request-form {
    display: grid;
    gap: 15px;
}

.request-form-row {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.car-request-form input,
.car-request-form textarea,
.car-request-form button {
    width: 100%;
}

.car-request-success {
    display: none;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(40, 167, 69, 0.18);
    border: 1px solid rgba(40, 167, 69, 0.35);
    color: #9ef7b0;
    font-size: 15px;
}

.car-request-success.visible {
    display: block;
}

.car-request-error {
    display: none;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(240, 98, 114, 0.18);
    border: 1px solid rgba(240, 98, 114, 0.45);
    color: #ffd5da;
    font-size: 15px;
}

.car-request-error.visible {
    display: block;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-white);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
}

/* Image Lightbox Modal */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.image-lightbox.active {
    display: flex;
}

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

.lightbox-container {
    position: relative;
    width: 90%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
}

.lightbox-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.lightbox-close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2010;
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--accent-color);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2010;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    transform: translateY(-50%);
}

.lightbox-nav-prev {
    left: 40px;
}

.lightbox-nav-next {
    right: 40px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 2010;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-white);
    font-size: 14px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    font-size: 13px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s;
}

.checkbox-group label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-add-option {
    padding: 8px 16px;
    background: rgba(133, 196, 228, 0.18);
    color: var(--text-white);
    border: 1px solid rgba(133, 196, 228, 0.4);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-add-option:hover {
    background: rgba(133, 196, 228, 0.32);
    border-color: rgba(133, 196, 228, 0.55);
}

input, textarea, select {
    padding: 12px;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-white);
    font-size: 16px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: var(--outline-glow);
}

select {
    cursor: pointer;
}

select option {
    background: var(--dark-bg);
    color: var(--text-white);
}

button, .btn-primary {
    padding: 12px 24px;
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--glass-shadow);
}

button:hover, .btn-primary:hover {
    background: var(--button-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 22px 48px rgba(8, 42, 56, 0.40);
}

.btn-cancel {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 10px;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* About & Contact Pages */
.about-content {
    max-width: 800px;
    line-height: 1.8;
    font-size: 18px;
    color: var(--text-gray);
}

.about-content p {
    margin-bottom: 20px;
}

/* Services Page Styles */
.services-intro {
    max-width: 900px;
    margin-bottom: 50px;
    line-height: 1.8;
    font-size: 18px;
    color: var(--text-gray);
}

.services-intro p {
    margin: 0;
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-header-subtitle {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 12px;
    font-weight: 300;
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.service-card {
    background: linear-gradient(135deg, var(--dark-card), rgba(14, 46, 60, 0.8));
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(133, 196, 228, 0.15);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 48px rgba(133, 196, 228, 0.25);
    border-color: rgba(133, 196, 228, 0.4);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--dark-hover);
    position: relative;
}

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

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

.service-content {
    padding: 24px;
    text-align: center;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 0 8px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-subtitle {
    font-size: 18px;
    color: var(--accent-color);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.services-contact-cta {
    margin-top: 80px;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(21, 144, 167, 0.15), rgba(8, 42, 56, 0.6));
    border-radius: 20px;
    border: 2px solid rgba(133, 196, 228, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.services-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.services-cta-title {
    font-size: 32px;
    color: var(--text-white);
    margin: 0 0 16px 0;
    font-weight: 600;
}

.services-cta-text {
    font-size: 18px;
    color: var(--text-gray);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.services-contact-text {
    font-size: 22px;
    color: var(--text-white);
    margin: 0 0 24px 0;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.services-contact-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--accent-color), #1590a7);
    color: var(--dark-bg);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 8px 24px rgba(133, 196, 228, 0.3);
}

.services-contact-button:hover {
    background: linear-gradient(135deg, #1590a7, var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(133, 196, 228, 0.5);
}

/* Contact Page Redesign */
.contact-content {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    margin-top: 30px;
    align-items: start;
}

.contact-info-card {
    padding: 0;
    min-width: 300px;
    max-width: 400px;
}

.contact-form-card {
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-section-title {
    font-size: 24px;
    color: var(--container-text-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--menu-accent-color);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 28px;
    min-width: 40px;
    text-align: center;
    line-height: 1;
}

.contact-info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-text strong {
    color: var(--container-text-color);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-info-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
}

.btn-bring-me-here {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 20px;
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.btn-bring-me-here:hover {
    background: var(--button-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(8, 42, 56, 0.42);
}

.btn-bring-me-here:active {
    transform: translateY(0);
}

.btn-bring-me-here .btn-icon {
    font-size: 18px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--container-text-color);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--menu-accent-color);
    box-shadow: var(--outline-glow);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

.btn-submit {
    padding: 14px 30px;
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--button-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(8, 42, 56, 0.42);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-section-title {
        font-size: 20px;
    }
}

/* Admin Styles */
.admin-login-form {
    max-width: 400px;
    margin: 50px auto;
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-nav-main {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.admin-nav-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-nav-btn {
    padding: 10px 20px;
    background: rgba(8, 36, 48, 0.65);
    color: var(--text-white);
    border: 1px solid rgba(133, 196, 228, 0.18);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    box-shadow: var(--glass-shadow);
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
    background: var(--accent-color-muted);
    color: #05202d;
    box-shadow: 0 18px 36px rgba(8, 42, 56, 0.35);
}

.admin-nav-btn-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(8, 36, 48, 0.65);
    color: var(--text-white);
    border: 1px solid rgba(133, 196, 228, 0.18);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    box-shadow: var(--glass-shadow);
}

.admin-nav-btn-icon:hover {
    background: var(--accent-color-muted);
    color: #05202d;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(8, 42, 56, 0.35);
}

.admin-nav-btn-icon.active {
    background: var(--accent-color);
    color: #04161f;
}

.admin-nav-btn-icon .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.admin-nav-btn-icon .text {
    font-size: 13px;
}

.admin-nav-btn-icon:hover .icon {
    transform: rotate(90deg);
}

.admin-nav-btn-icon[data-section="site-settings"]:hover .icon {
    transform: rotate(45deg);
}

.admin-nav-btn-icon[id="logoutBtn"]:hover .icon {
    transform: translateX(2px);
}

.admin-nav-btn-icon.active {
    background: var(--accent-color);
    color: #04161f;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(30, 60, 75, 0.6);
    border: 1px solid rgba(194, 228, 242, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(194, 228, 242, 0.4);
    background: rgba(30, 60, 75, 0.8);
    transform: translateY(-2px);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.stat-card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.stat-icon {
    font-size: 28px;
    line-height: 1;
}

.stat-card-value {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent-color);
    margin: 15px 0;
    line-height: 1;
}

.stat-card-details {
    font-size: 14px;
    color: rgba(230, 238, 242, 0.7);
    text-align: left;
}

.stat-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.stat-detail-row span:first-child {
    color: rgba(230, 238, 242, 0.6);
}

.stat-detail-row span:last-child {
    color: var(--accent-color);
    font-weight: 600;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 10px 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-cars-list {
    display: grid;
    gap: 20px;
}

.admin-car-item {
    background: var(--dark-card);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-car-actions {
    display: flex;
    gap: 10px;
}

.btn-edit, .btn-delete, .btn-sold, .btn-pending {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-edit {
    background: #007bff;
    color: white;
}

.btn-delete {
    background: var(--danger-color);
    color: white;
}

.btn-sold {
    background: #28a745;
    color: white;
}

.btn-pending {
    background: #ffc107;
    color: #212529;
}

.error-message {
    color: var(--danger-color);
    margin-top: 10px;
    display: none;
}

.request-sections {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.request-column {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.request-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.request-column-header h3 {
    color: var(--text-white);
    font-size: 20px;
}

.request-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
    background: rgba(133, 196, 228, 0.22);
    color: #d1ecfb;
}

.request-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.request-card {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.request-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.request-card-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.request-car-name {
    font-size: 18px;
    color: var(--text-white);
}

.request-type-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.request-type-badge.rent {
    background: rgba(59, 130, 246, 0.25);
    color: #9ecaff;
}

.request-type-badge.sale {
    background: rgba(16, 185, 129, 0.25);
    color: #7be3c2;
}

.request-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
    text-transform: capitalize;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.request-status-badge.new {
    background: rgba(133, 196, 228, 0.22);
    color: #d1ecfb;
}

.request-status-badge.contacted {
    background: rgba(245, 158, 11, 0.25);
    color: #ffd8a0;
}

.request-status-badge.ongoing {
    background: rgba(59, 130, 246, 0.25);
    color: #a8d4ff;
}

.request-status-badge.closed {
    background: rgba(16, 185, 129, 0.25);
    color: #9ff2cf;
}

.request-status-badge.accepted {
    background: rgba(22, 163, 74, 0.28);
    color: #bbf7d0;
}

.request-status-badge.rejected {
    background: rgba(248, 113, 113, 0.28);
    color: #fecaca;
}

.request-status-badge.deleted {
    background: rgba(148, 163, 184, 0.28);
    color: #e5e7eb;
}

.request-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 18px;
}

.request-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.request-meta-label {
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.request-meta-value {
    font-size: 15px;
    color: var(--text-white);
}

.request-message {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.6;
}

.request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.request-actions label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.request-status-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.request-empty {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.request-pagination {
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-button:hover:not([disabled]) {
    background: rgba(255, 255, 255, 0.16);
}

.pagination-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    flex: 1;
}

/* Request Detail Modal */
#requestDetailModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}

#requestDetailModal.active {
    opacity: 1;
}

.request-detail-modal {
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(7, 23, 31, 0.96);
    position: relative;
    border-radius: 12px;
    padding: 24px;
    margin: 20px;
}

.close-request-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-white);
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.close-request-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.request-detail-modal .request-card {
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
}

/* Request Price Display */
.request-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
}

/* Rental Price Section - Editable */
.request-price-section {
    margin: 24px 0;
    padding: 24px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(154, 232, 255, 0.25);
    border-radius: 12px;
}

.request-price-header {
    margin-bottom: 24px;
}

.request-price-header h3 {
    margin: 0 0 8px 0;
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
}

.price-section-description {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Price Calculation Flow */
.price-calculation-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(154, 232, 255, 0.15);
}

.price-calculation-step {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    min-width: 120px;
    text-align: center;
}

.price-step-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.price-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(29, 176, 201, 0.2);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.price-step-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
}

.price-step-value .price-unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 4px;
}

.price-step-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.price-calculation-step.price-step-base {
    background: rgba(29, 176, 201, 0.1);
    border: 1px solid rgba(29, 176, 201, 0.3);
}

.price-calculation-step.price-step-discount {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.price-calculation-step.price-step-discount .price-step-value.discount-amount {
    color: rgba(40, 167, 69, 0.9);
}

.price-calculation-step.price-step-total {
    background: rgba(29, 176, 201, 0.2);
    border: 2px solid rgba(29, 176, 201, 0.5);
    min-width: 160px;
}

.price-calculation-step.price-step-total .price-step-label {
    color: rgba(255, 255, 255, 0.9);
}

.price-calculation-step.price-step-total .price-step-icon {
    background: rgba(29, 176, 201, 0.4);
    color: var(--accent-color);
}

.price-total-large {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--accent-color) !important;
}

.price-calculation-arrow {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.price-calculation-arrow.price-arrow-final {
    font-size: 1.8rem;
    color: var(--accent-color);
}

/* Price Adjustment Section */
.price-adjustment-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(154, 232, 255, 0.2);
}

.price-adjustment-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.price-adjustment-title svg {
    color: var(--accent-color);
}

.price-adjustment-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-input-group label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.price-input-group label small {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.price-input-prefix,
.price-input-suffix {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    pointer-events: none;
}

.price-input-prefix {
    left: 12px;
    z-index: 1;
}

.price-input-suffix {
    right: 12px;
    z-index: 1;
}

.price-input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(154, 232, 255, 0.3);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.price-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 2px rgba(29, 176, 201, 0.2);
}

.price-input-wrapper:has(.price-input-prefix) .price-input {
    padding-left: 28px;
}

.price-input-wrapper:has(.price-input-suffix) .price-input {
    padding-right: 36px;
}

.btn-clear-price {
    position: absolute;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 50%;
    color: rgba(220, 53, 69, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.btn-clear-price:hover {
    background: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.6);
    transform: scale(1.1);
}

.btn-clear-price svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .price-calculation-flow {
        flex-direction: column;
        align-items: stretch;
    }
    
    .price-calculation-arrow {
        transform: rotate(90deg);
        margin: 4px 0;
    }
    
    .price-calculation-step {
        width: 100%;
    }
    
    .price-adjustment-controls {
        grid-template-columns: 1fr;
    }
}

/* Request Notes Section */
.request-notes-section {
    margin: 24px 0;
}

.request-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.request-notes-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: all 0.2s ease;
}

.request-notes-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(154, 232, 255, 0.2);
}

.request-notes-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Request Fuel Level Section */
.request-fuel-section {
    margin: 24px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(154, 232, 255, 0.2);
    border-radius: 8px;
}

.request-fuel-select {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(154, 232, 255, 0.3);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.request-fuel-select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 2px rgba(29, 176, 201, 0.2);
}

/* Request Photos Section */
.request-photos-upload-section {
    margin: 24px 0;
}

.request-photos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.btn-camera {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(154, 232, 255, 0.15);
    border: 1px solid rgba(154, 232, 255, 0.3);
    border-radius: 8px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-camera:hover {
    background: rgba(154, 232, 255, 0.25);
    border-color: rgba(154, 232, 255, 0.5);
    transform: translateY(-1px);
}

.btn-camera svg {
    width: 18px;
    height: 18px;
}

.request-photo-upload-input {
    display: none;
}

.request-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.request-photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
}

.request-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.request-photo:hover {
    transform: scale(1.05);
}

.request-photo-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.request-photo-item:hover .request-photo-delete {
    opacity: 1;
}

.request-photo-delete:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

/* Print Contract Button */
.btn-print-contract {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #1db0c9 0%, #9ae8ff 100%);
    border: 1px solid rgba(154, 232, 255, 0.3);
    border-radius: 8px;
    color: #07171f;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-print-contract:hover {
    background: linear-gradient(135deg, #1590a7 0%, #7fd3ed 100%);
    box-shadow: 0 4px 12px rgba(29, 176, 201, 0.3);
    transform: translateY(-1px);
}

.btn-print-contract svg {
    width: 16px;
    height: 16px;
}

/* Global Confirm Modal */
.confirm-modal {
    max-width: 420px;
    width: 100%;
    text-align: center;
    background: rgba(7, 23, 31, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(194, 228, 242, 0.35);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.65);
}

.confirm-modal p {
    font-size: 17px;
    color: var(--text-white);
    margin-bottom: 22px;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Rental Requests Calendar */
.rental-calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 16px 0 20px;
}

.rental-calendar-month {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
}

.calendar-nav-btn {
    padding: 6px 12px;
    font-size: 14px;
}

.rental-calendar-container {
    margin-top: 10px;
    overflow-x: auto;
}

.rental-calendar-table {
    min-width: 600px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
}

.rental-calendar-header-row,
.rental-calendar-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
}

.rental-calendar-car-header,
.rental-calendar-car {
    padding: 10px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rental-calendar-grid {
    display: grid;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.rental-calendar-grid.header {
    background: rgba(255, 255, 255, 0.03);
}

.calendar-day-label {
    padding: 6px 0;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
}

.calendar-day-label .day-num {
    display: block;
    font-weight: 600;
}

.calendar-day-label .day-short {
    display: block;
    font-size: 10px;
    opacity: 0.8;
}

.calendar-day-label.weekend {
    background: rgba(148, 163, 184, 0.08);
}

.calendar-day-label.today {
    background: rgba(56, 189, 248, 0.15);
}

.calendar-request-bar {
    position: absolute;
    top: 8px;
    height: 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 11px;
    color: #e0f2fe;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.calendar-bar-new {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.85), rgba(191, 219, 254, 0.95));
}

.calendar-bar-contacted {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.9), rgba(251, 191, 36, 0.95));
}

.calendar-bar-accepted {
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.9), rgba(45, 212, 191, 0.95));
}

.calendar-bar-rejected {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.9), rgba(252, 165, 165, 0.95));
}

.calendar-bar-closed {
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.9), rgba(209, 213, 219, 0.95));
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --menu-width: min(80vw, 320px);
        --container-pad: 16px;
    }
    
    .menu-toggle {
        left: 16px;
        top: 16px;
        width: 48px;
        height: 48px;
    }
    
    .sticky-header {
        padding: 15px 0;
    }
    
    .sticky-header .header-container {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 var(--container-pad);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
    }

    .header-logo {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .header-logo .logo-text {
        font-size: 22px;
        letter-spacing: 1.2px;
    }
    
    .header-contact {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
        text-align: right;
    }
    
    .header-contact .contact-chip {
        width: 100%;
    }
    
    .page-container {
        padding: 30px 0;
    }
    
    .container {
        padding: 0 var(--container-pad);
    }

    .hero-overlay {
        padding: 0;
    }
    
    .contact-chip {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 12px;
        width: 100%;
    }

    .header-contact {
        align-items: stretch;
    }

    .footer-contact {
        justify-content: flex-start;
    }

    .contact-chip-icon {
        width: 30px;
        height: 30px;
    }

    .contact-chip-icon-svg {
        width: 16px;
        height: 16px;
    }

    .contact-chip-text {
        align-items: flex-start;
    }

    .contact-chip-label {
        text-align: center;
    }

    .contact-chip-value {
        text-align: center;
    }

    .header-logo {
        max-width: calc(100% - 20px);
    }
    
    .page-container {
        padding: 30px 16px;
    }

    .site-logo {
        max-width: 150px;
    }

    .logo-main {
        font-size: 32px;
    }

    .logo-sub {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .logo-text {
        font-size: 18px;
        margin-top: 10px;
        letter-spacing: 1px;
    }

    .contact-item {
        font-size: 14px;
    }

    .page {
        padding: 20px 10px;
    }

    .page-container {
        padding: 30px 20px;
        border-radius: 8px;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .car-detail-modal {
        padding: 35px 30px;
    }

    .car-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .car-detail-main-image img {
        height: 300px;
    }

    .car-detail-thumbnails {
        justify-content: flex-start;
    }

    .car-detail-thumb img {
        width: 88px;
        height: 60px;
    }

    .request-sections {
        grid-template-columns: 1fr;
    }
    
    .request-pagination {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination-info {
        width: 100%;
    }
    
    .service-image {
        height: 200px;
    }
    
    .services-intro {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .admin-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-nav-main {
        width: 100%;
    }

    .admin-nav-right {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }

    .admin-nav-btn-icon .text {
        display: none;
    }

    .admin-nav-btn-icon {
        padding: 8px 12px;
        min-width: 40px;
        justify-content: center;
    }
}

/* Settings Tabs */
.settings-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
    flex-wrap: wrap;
}

.settings-tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    bottom: -2px;
}

.settings-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.settings-tab.active {
    color: var(--accent-color, #85c4e4);
    border-bottom-color: var(--accent-color, #85c4e4);
}

.settings-tab-content {
    display: none;
}

.settings-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* API Feed Boxes */
.api-feed-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.api-url {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    user-select: all;
    cursor: text;
}

.api-url:hover {
    background: rgba(0, 0, 0, 0.4) !important;
}

/* Site Settings Form */
.site-settings-form {
    max-width: 900px;
    margin: 0 auto;
}

.settings-group {
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-group h3 {
    margin-bottom: 20px;
    color: var(--text-white);
    font-size: 20px;
    border-bottom: 2px solid var(--menu-accent-color);
    padding-bottom: 10px;
}

.settings-note {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.settings-group .form-group textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(154, 232, 255, 0.3);
    border-radius: 6px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

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

.settings-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-gray);
    font-weight: 500;
}

.settings-group input[type="text"],
.settings-group input[type="email"],
.settings-group input[type="file"] {
    width: 100%;
    padding: 12px;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-white);
    font-size: 16px;
}

.settings-group input[type="color"] {
    width: 60px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    background: none;
}

.settings-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.settings-group input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

#currentLogoPreview img,
#currentBgPreview img {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Hide legacy home identity card (we now use simple overlay instead) */
#homeIdentityPanel {
    display: none !important;
}

.home-identity-panel {
    position: fixed;
    top: 40px;
    left: 260px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 28px;
    color: var(--text-white);
    z-index: 850;
    pointer-events: none;
    text-align: center;
    max-width: 320px;
    border-radius: 16px;
    background: rgba(5, 15, 25, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-identity-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 15, 25, 0.55) 0%,
        rgba(5, 15, 25, 0.35) 45%,
        rgba(5, 15, 25, 0.12) 100%
    );
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
}

body.home-page-active .home-identity-panel {
    display: flex;
}

.home-identity-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

/*.home identity old styles removed in favor of simple overlay*/

.home-identity-logo {
    width: 96px;
    height: auto;
    pointer-events: auto;
    display: block;
}

.home-identity-title {
    font-family: 'Rajdhani', 'Exo 2', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    pointer-events: auto;
    color: var(--text-white);
}

.home-identity-tagline {
    font-size: 0.95rem;
    opacity: 0.85;
    pointer-events: auto;
}

.home-identity-divider {
    height: 1px;
    width: 100%;
    margin-top: 4px;
    background: linear-gradient(90deg, rgba(133, 196, 228, 0.08), rgba(133, 196, 228, 0.55), rgba(133, 196, 228, 0.08));
}

.home-identity-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: clamp(70px, 16vh, 110px);
}

.home-identity-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(8, 36, 48, 0.55);
    border: 1px solid rgba(133, 196, 228, 0.32);
    text-decoration: none;
    color: var(--text-white);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.home-identity-link:hover {
    transform: translateY(-3px);
    background: rgba(12, 46, 60, 0.82);
    border-color: rgba(133, 196, 228, 0.5);
    box-shadow: 0 18px 36px rgba(6, 32, 44, 0.45);
}

.home-identity-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(133, 196, 228, 0.28), rgba(70, 140, 170, 0.18));
    color: var(--accent-color);
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(133, 196, 228, 0.22);
}

.home-identity-icon svg {
    width: 22px;
    height: 22px;
}

.home-identity-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-identity-label {
    font-size: 12px;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    color: rgba(228, 242, 247, 0.72);
}

.home-identity-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.3px;
}

@media (max-width: 1200px) {
    .home-identity-panel {
        left: clamp(40px, 10vw, 180px);
        top: clamp(40px, 10vh, 120px);
        max-width: 320px;
        width: auto;
        border-radius: 16px;
    }
}

@media (max-width: 900px) {
    .home-identity-panel {
        position: static;
        margin: 20px auto 12px;
        display: flex;
        max-width: 320px;
        width: auto;
        padding: 20px 28px;
        border-radius: 16px;
    }

    body.home-page-active .home-identity-panel {
        display: flex;
    }

    .home-identity-links {
        margin-top: 48px;
    }
}

@media (max-width: 600px) {
    .home-identity-panel {
        max-width: calc(100% - 28px);
        width: auto;
        margin: 16px 14px 10px;
        padding: 18px 20px;
        border-radius: 14px;
    }

    .home-identity-logo {
        width: 80px;
    }

    .home-identity-title {
        font-size: 0.95rem;
        letter-spacing: 0.12em;
    }

    .home-identity-name {
        font-size: 20px;
        letter-spacing: 1.8px;
        word-break: break-word;
        max-width: 100%;
    }

    .home-identity-panel .logo-text {
        font-size: 15px;
        letter-spacing: 0.8px;
        line-height: 1.3;
    }

    .home-identity-label {
        font-size: 11px;
        letter-spacing: 0.6px;
    }

    .home-identity-value {
        font-size: 16px;
        letter-spacing: 0.2px;
    }

    .home-identity-text {
        gap: 2px;
    }
}

.sidebar-footer-logo-button {
    align-self: flex-start;
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(8, 36, 48, 0.28);
    border: 1px solid rgba(133, 196, 228, 0.25);
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.sidebar-footer-logo-button:hover {
    transform: translateY(-2px);
    border-color: rgba(133, 196, 228, 0.45);
    background: rgba(12, 46, 60, 0.42);
    box-shadow: 0 12px 28px rgba(6, 24, 32, 0.45);
}

.sidebar-footer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.sidebar-footer-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.sidebar-thumb {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 36, 48, 0.25);
    border: 1px solid rgba(133, 196, 228, 0.22);
    color: var(--menu-text-color);
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sidebar-thumb:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(12, 46, 60, 0.45);
    border-color: rgba(133, 196, 228, 0.38);
    box-shadow: 0 12px 24px rgba(6, 24, 32, 0.42);
}

.sidebar-thumb svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    .sidebar-footer {
        padding: 18px 18px 24px;
        gap: 14px;
    }

    .sidebar-footer-thumbnails {
        gap: 10px;
    }

    .sidebar-thumb {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .sidebar-thumb svg {
        width: 20px;
        height: 20px;
    }
}

.menu-toggle-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-toggle-label-close {
    display: none;
}

.menu-toggle:hover .menu-toggle-label {
    color: #fff;
}

body.menu-open .menu-toggle .menu-toggle-label-menu,
.menu-toggle.active .menu-toggle-label-menu {
    display: none;
}

body.menu-open .menu-toggle .menu-toggle-label-close,
.menu-toggle.active .menu-toggle-label-close {
    display: inline-flex;
}

@media (max-width: 600px) {
    .menu-toggle {
        top: 18px;
        left: 18px;
        height: 54px;
        padding: 0 18px;
        gap: 12px;
    }

    .menu-toggle-label {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hamburger-icon {
        width: 24px;
        height: 20px;
    }

    .hamburger-line {
        height: 3px;
    }
}

@media (max-width: 768px) {
    .menu-toggle-label {
        display: none !important;
    }
}

.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(960px, calc(100% - 32px));
    z-index: 9999;
    display: none;
    background: rgba(6, 24, 32, 0.85);
    border: 1px solid rgba(133, 196, 228, 0.28);
    box-shadow: 0 18px 45px rgba(9, 44, 58, 0.45);
    border-radius: 18px;
    padding: 24px 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-white);
}

.cookie-consent.visible {
    display: block;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-consent-content {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent-text {
    flex: 1 1 520px;
}

.cookie-consent-text strong {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--accent-color);
}

.cookie-consent-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(230, 239, 245, 0.9);
}

.cookie-consent-link {
    color: var(--accent-color);
    text-decoration: none;
}

.cookie-consent-link:hover {
    color: var(--accent-color-strong);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-button {
    min-width: 180px;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 20px 22px;
        width: calc(100% - 24px);
        bottom: 16px;
    }

    .cookie-consent-text {
        flex: 1 1 100%;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-button {
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* Rental Calendar Tableau View */
.rental-view-toggle {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.view-toggle-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.view-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.view-toggle-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.rental-calendar-container {
    margin-top: 24px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.calendar-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.calendar-month-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.rental-calendar-tableau {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
}

.calendar-tableau-wrapper {
    min-width: 100%;
}

.calendar-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.calendar-header-row {
    position: sticky;
    top: 0;
    background: rgba(14, 46, 60, 0.95);
    z-index: 10;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.calendar-car-header {
    min-width: 200px;
    max-width: 200px;
    padding: 12px;
    font-weight: 600;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.calendar-dates-header {
    display: flex;
    flex: 1;
}

.calendar-date-header {
    flex: 1;
    min-width: 60px;
    padding: 8px 4px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-date-header.weekend {
    background: rgba(255, 255, 255, 0.03);
}

.calendar-date-header .date-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
}

.calendar-date-header .date-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.calendar-car-row {
    min-height: 50px;
    position: relative;
    display: flex;
    align-items: center;
}

.calendar-car-name {
    min-width: 200px;
    max-width: 200px;
    padding: 12px;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    min-height: 60px;
}

.calendar-car-name[style*="grid-row"] {
    align-items: center;
}

.calendar-car-name-empty {
    min-width: 200px;
    max-width: 200px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.01);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar-dates-row {
    display: flex;
    flex: 1;
    position: relative;
}

.calendar-booking-container {
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 4px 0;
}

.calendar-date-cell {
    flex: 1;
    min-width: 60px;
    min-height: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding: 4px;
    cursor: default;
}

.calendar-date-cell.weekend {
    background: rgba(255, 255, 255, 0.02);
}

/* Booking bars as parallelograms - skewed shape, designed to match grid aesthetic */
.booking-bar {
    position: absolute;
    height: 28px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    min-width: 24px;
    /* Parallelogram shape using clip-path - skewed to the right */
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
    /* Ensure bars are always visible */
    opacity: 1;
    visibility: visible;
    /* Match grid aesthetic with subtle borders and shadows */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    /* Subtle backdrop blur effect to match grid */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.booking-bar:hover {
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        0 0 0 2px rgba(154, 232, 255, 0.2);
    transform: translateY(-50%) scale(1.02);
}

/* Status colors for booking bars - parallelogram shape with grid-compatible styling */
.booking-bar.status-new {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.85) 0%, rgba(0, 123, 255, 0.75) 100%);
    border-color: rgba(0, 123, 255, 0.4) !important;
    opacity: 1 !important;
}

.booking-bar.status-contacted {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.85) 0%, rgba(0, 123, 255, 0.75) 100%);
    border-color: rgba(0, 123, 255, 0.4) !important;
    opacity: 1 !important;
}

.booking-bar.status-ongoing {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.85) 0%, rgba(23, 162, 184, 0.75) 100%);
    border-color: rgba(23, 162, 184, 0.4) !important;
    opacity: 1 !important;
}

.booking-bar.status-accepted {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.85) 0%, rgba(40, 167, 69, 0.75) 100%);
    border-color: rgba(40, 167, 69, 0.4) !important;
    opacity: 1 !important;
}

.booking-bar.status-rejected {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.85) 0%, rgba(220, 53, 69, 0.75) 100%);
    border-color: rgba(220, 53, 69, 0.4) !important;
    opacity: 0.95 !important;
}

.booking-bar.status-closed {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.75) 0%, rgba(108, 117, 125, 0.65) 100%);
    border-color: rgba(108, 117, 125, 0.3) !important;
    opacity: 0.9 !important;
}

/* Fallback for any unmapped status - default to blue */
.booking-bar:not(.status-new):not(.status-contacted):not(.status-ongoing):not(.status-accepted):not(.status-rejected):not(.status-closed) {
    background: #007bff !important; /* Blue as default */
    border: none;
    opacity: 1 !important;
}

.booking-bar-label {
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    line-height: 1;
}

.calendar-date-cell.booked.has-overlaps {
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

.calendar-date-cell.booked.has-overlaps:first-of-type {
    border-top: none;
}

.booking-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    margin-bottom: 2px;
    position: relative;
    z-index: 2;
}

.overlap-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.calendar-loading,
.calendar-error,
.calendar-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-white);
    font-size: 16px;
}

.calendar-error {
    color: #ff6b6b;
}

.rental-list-container {
    margin-top: 24px;
}

/* Responsive calendar */
@media (max-width: 1024px) {
    .calendar-car-header,
    .calendar-car-name {
        min-width: 150px;
        max-width: 150px;
        font-size: 13px;
    }

    .calendar-date-header,
    .calendar-date-cell {
        min-width: 50px;
    }

    .calendar-date-header .date-name {
        display: none;
    }
}

@media (max-width: 768px) {
    .rental-view-toggle {
        margin-left: 0;
        margin-top: 12px;
        width: 100%;
    }

    .view-toggle-btn {
        flex: 1;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .calendar-car-header,
    .calendar-car-name {
        min-width: 120px;
        max-width: 120px;
        font-size: 12px;
        padding: 8px;
    }

    .calendar-date-header,
    .calendar-date-cell {
        min-width: 40px;
    }

    .calendar-date-header .date-number {
        font-size: 12px;
    }

    .booking-label {
        font-size: 10px;
    }
}

/* Custom Confirmation Modal */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 20000; /* Higher than request detail modal (10000) and other modals */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-modal.active {
    display: flex;
    opacity: 1;
}

.custom-modal-content {
    background: rgba(7, 23, 31, 0.98);
    border-radius: 18px;
    border: 1px solid rgba(194, 228, 242, 0.35);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.65);
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.custom-modal.active .custom-modal-content {
    transform: scale(1);
}

.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-modal-title {
    font-size: 20px;
    font-weight: 600;
}

/* Image Preview with Ordering */
.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.image-preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.image-preview-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.image-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-preview-item.main-image {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.image-preview-item.main-image::before {
    content: '★ MAIN';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--accent-color), transparent);
    color: var(--button-primary-text);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
}

.image-preview-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 4px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.image-preview-item:hover .image-preview-controls {
    opacity: 1;
}

.image-preview-btn {
    flex: 1;
    padding: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
}

.image-preview-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    color: var(--accent-color);
}

.image-preview-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.image-preview-btn-up::before {
    content: '▲';
}

.image-preview-btn-down::before {
    content: '▼';
}

.image-preview-btn-main::before {
    content: '★';
}

.image-preview-btn-delete::before {
    content: '✕';
}

.custom-modal-close {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.custom-modal-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.custom-modal-body {
    padding: 28px;
    text-align: center;
}

.custom-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.custom-modal-icon svg {
    width: 48px;
    height: 48px;
}

.custom-modal-icon.warning {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.custom-modal-icon.danger {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.custom-modal-icon.info {
    background: rgba(23, 162, 184, 0.15);
    color: #17a2b8;
}

.custom-modal-message {
    font-size: 16px;
    color: var(--text-white);
    line-height: 1.6;
    margin: 0 0 16px;
}

.custom-modal-details {
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

.custom-modal-details ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.custom-modal-details li {
    margin: 8px 0;
    padding-left: 8px;
    border-left: 2px solid rgba(154, 232, 255, 0.3);
}

.custom-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 28px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-end;
}

.custom-modal-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    min-width: 100px;
}

.custom-modal-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-modal-btn-confirm {
    background: linear-gradient(135deg, #1db0c9 0%, #9ae8ff 100%);
    color: #07171f;
    border: 1px solid rgba(154, 232, 255, 0.3);
}

.custom-modal-btn-confirm:hover {
    background: linear-gradient(135deg, #1590a7 0%, #7fd3ed 100%);
    box-shadow: 0 4px 12px rgba(29, 176, 201, 0.3);
}

.custom-modal-btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e4606f 100%);
    color: white;
}

.custom-modal-btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Service Detail Page Styles */
.service-detail-back-btn {
    background: rgba(61, 161, 194, 0.2);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-detail-back-btn:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.service-detail-back-btn span {
    font-size: 18px;
}

.service-detail-main {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 60px;
    align-items: flex-start;
}

.service-detail-images-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-detail-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-detail-image:hover {
    transform: scale(1.02);
}

.service-detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}

.service-detail-thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-detail-thumbnail:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.service-detail-info {
    color: var(--text-white);
}

.service-detail-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
    line-height: 1.2;
}

.service-detail-short {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-detail-full {
    font-size: 16px;
    color: var(--text-white);
    line-height: 1.8;
    margin-bottom: 35px;
}

.service-detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.service-detail-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 220px;
}

.service-detail-btn-primary {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.service-detail-btn-primary:hover {
    background: lighten(#3da1c2, 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 161, 194, 0.4);
}

.service-detail-btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.service-detail-btn-secondary:hover {
    background: rgba(61, 161, 194, 0.1);
    transform: translateY(-2px);
}

.service-detail-related {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-detail-related h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-white);
}

/* Admin Service Items */
.admin-services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.admin-service-item h4 {
    margin: 0 0 8px 0;
    color: var(--text-white);
    font-size: 16px;
}

.admin-service-item p {
    margin: 5px 0;
    color: var(--text-gray);
    font-size: 14px;
}

.admin-service-actions {
    display: flex;
    gap: 10px;
}

.admin-service-actions .btn-edit,
.admin-service-actions .btn-delete {
    padding: 8px 16px;
    font-size: 14px;
}

/* Service Card Improvements */
.service-card-content {
    padding: 24px;
    text-align: center;
}

.service-icon {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.service-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-btn-read-more {
    padding: 10px 24px;
    background: var(--accent-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-btn-read-more:hover {
    background: var(--button-primary-hover);
    transform: translateY(-2px);
}

/* Service Detail CTA Section */
.service-detail-cta {
    margin-top: 80px;
    padding: 50px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(8, 42, 56, 0.6), rgba(21, 144, 167, 0.2));
    border: 2px solid rgba(133, 196, 228, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-detail-cta-text {
    font-size: 24px;
    color: var(--text-white);
    margin: 0 0 24px 0;
    font-weight: 500;
}

.service-detail-contact-btn {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--accent-color), #1590a7);
    color: var(--dark-bg);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(133, 196, 228, 0.3);
}

.service-detail-contact-btn:hover {
    background: linear-gradient(135deg, #1590a7, #85c4e4);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(133, 196, 228, 0.5);
}

/* Service Detail Related Services */
.service-detail-related {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-detail-related h2 {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 40px;
    text-align: center;
}

/* Responsive Service Detail */
@media (max-width: 768px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-detail-image {
        height: 300px;
    }

    .service-detail-text h2 {
        font-size: 24px;
    }

    .service-detail-cta {
        margin-top: 50px;
        padding: 30px 20px;
    }

    .service-detail-cta-text {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .service-detail-contact-btn {
        padding: 12px 32px;
        font-size: 16px;
    }

    .service-detail-related {
        margin-top: 50px;
        padding-top: 30px;
    }

    .service-detail-related h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
}