:root {
    --bg-dark: #121214;
    /* Deep dark background */
    --bg-sidebar: #1C1C1E;
    /* Sidebar background */
    --element-bg: #2C2C2E;
    /* Card/Input backgrounds */

    --accent-green: #38E5B0;
    /* The active nav color */
    --accent-blue: #4092FF;
    /* The add button color */

    --text-primary: #FFFFFF;
    --text-secondary: #8E8E93;

    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 32px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
}

.app-container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    padding: var(--spacing-lg) var(--spacing-md);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
}

.logo-icon {
    color: #40C4FF;
    /* Cyan logo color */
    font-size: 24px;
}

.icon-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-group {
    margin-bottom: 30px;
}

.nav-title {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
    padding-left: 16px;
}

.nav-item {
    list-style: none;
    margin-bottom: 4px;
}

.nav-item a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-weight: 500;
}

.nav-item.active a {
    background: linear-gradient(90deg, #38E5B0 0%, #29C69A 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(56, 229, 176, 0.2);
}

.nav-item a:hover:not(.active a) {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item i {
    font-size: 20px;
    margin-right: 12px;
}

.badge {
    margin-left: auto;
    background: #333;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.badge.blue {
    background-color: #3D64FF;
}

.badge.green {
    background-color: #1DB954;
}

.sidebar-footer {
    margin-top: auto;
}

.promo-card {
    background: linear-gradient(135deg, #6C5DD3 0%, #4092FF 100%);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 8px;
}

.promo-card p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.4;
}

.btn-white {
    background: white;
    color: #4092FF;
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 12px;
    width: 100%;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-white:hover {
    transform: translateY(-1px);
}

.user-profile {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 380px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    font-family: var(--font-heading);
    margin-bottom: 12px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-btn {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(64, 146, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(64, 146, 255, 0.4);
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background-color: var(--bg-dark);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: top;
    margin-bottom: 40px;
    position: relative;
}

.header-left h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: hover 0.2s;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    /* for scrollbar */
}

.tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 15px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.tab.active,
.tab:hover {
    background-color: var(--accent-blue);
    color: white;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.sort-btn {
    background: #2C2C2E;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

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

.media-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.media-card:hover {
    transform: translateY(-4px);
    /* border: 1px solid var(--accent-blue); */
}

.card-image {
    position: relative;
    width: 100%;
    height: 220px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.card-options {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 5;
}

.card-options:hover,
.card-options:focus {
    background-color: var(--accent-blue);
}

.options-menu {
    position: absolute;
    top: 54px;
    right: 16px;
    background: var(--element-bg);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    width: 140px;
    padding: 6px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.options-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
    text-align: left;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.menu-item i {
    font-size: 16px;
    color: var(--text-secondary);
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.card-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    font-weight: 500;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    font-family: var(--font-heading);
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    font-size: 24px;
    margin-right: 12px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        margin-right: 0;
    }

    .icon-btn {
        display: block;
    }

    .header-left {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 100;
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-content {
        padding: 24px;
    }

    .top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

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

/* Services Section */
.services-section {
    margin-top: 60px;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 8px;
    color: white;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

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

.service-card {
    background: linear-gradient(135deg, var(--bg-sidebar) 0%, #292b32 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    transition: transform 0.2s, background 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--element-bg);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 12px;
    color: white;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.btn-book {
    background-color: var(--accent-green);
    color: #121214;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 229, 176, 0.3);
}

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

/* About Section */
.about-section {
    background: linear-gradient(300deg, #1e1f21 10%, transparent 60%);
    margin-top: 100px;
    margin-bottom: 60px;
    border-radius: var(--radius-lg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img {
    width: 100%;
    aspect-ratio: 6/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.section-tag {
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: white;
    /* Changed to white for better visibility */
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Login Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-sidebar);
    width: 100%;
    max-width: 400px;
    padding: 32px;
    border-radius: var(--radius-lg);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: white;
}

.modal-content h2 {
    font-family: var(--font-heading);
    margin-bottom: 24px;
    font-size: 24px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    background: var(--element-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--accent-blue);
}

.full-width {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}