* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #0a0a0a;
    --secondary: #1a1a1a;
    --accent: #ff2a6d;
    --text: #ffffff;
    --text-secondary: #b0b0b0;
    --success: #00ff88;
    --warning: #ffaa00;
    --error: #ff4444;
}

body {
    background-color: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background with your background.png image */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        url('/assets/background.png') center/cover no-repeat,
        radial-gradient(circle at 20% 30%, rgba(255, 42, 109, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 42, 109, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* Remove the old midnight text effect */
.midnight-text {
    display: none;
}

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

/* Header Styles - KEEP SAME HEIGHT */
.header {
    padding: 15px 0; /* Reduced from 20px to keep header compact */
    position: sticky;
    top: 0;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

/* Header Logo Styles - BIGGER LOGO but header stays same height */
.header-logo {
    height: 45px; /* Perfect size - bigger but fits in compact header */
    width: auto;
    transition: all 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 42, 109, 0.5));
}

/* Remove the old logo text and icon */
.logo h1 {
    display: none;
}

.logo-icon {
    display: none;
}

/* Dashboard header logo */
.dashboard-header .header-logo {
    height: 40px; /* Slightly smaller for dashboard */
    margin-right: 12px;
}

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

.dashboard-header .logo h1 {
    display: block;
    font-size: 1.2rem;
    margin: 0;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--accent);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: #e02060;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 42, 109, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--secondary);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.modal-header h2 {
    color: var(--accent);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text);
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

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

/* Dashboard Styles */
.dashboard-page {
    min-height: 100vh;
}

.dashboard-header {
    background-color: rgba(10, 10, 10, 0.9);
    padding: 15px 0; /* Reduced to match main header */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-nav {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    margin-bottom: 30px;
}

.dashboard-nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-nav a {
    color: var(--text);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.dashboard-nav a.active, .dashboard-nav a:hover {
    background-color: var(--accent);
    color: white;
}

.dashboard-section {
    display: none;
    padding: 20px 0;
}

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

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

.stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo Background - Keep this for the watermark effect */
.logo-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    max-width: 400px;
    max-height: 400px;
    opacity: 0.1;
    filter: grayscale(100%) brightness(50%);
    animation: float 6s ease-in-out infinite;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 70%);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

/* Gallery Section - Transparent background */
.gallery-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Gallery title with blurred background */
.gallery-title {
    text-align: center;
    color: #ff2a6d;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 42, 109, 0.3);
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

/* Paragraph text with blurred background */
.gallery-subtitle {
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 42, 109, 0.3);
    line-height: 1.6;
}

/* Rest of your gallery CSS remains the same */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 42, 109, 0.3);
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h3 {
    color: #ff2a6d;
    margin: 0 0 5px 0;
    font-size: 1.3rem;
}

.gallery-overlay p {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-cta {
    text-align: center;
    padding: 40px;
    background: rgba(255, 42, 109, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 42, 109, 0.3);
}

.gallery-cta p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
/* Footer Styles */
.footer {
    background-color: rgba(10, 10, 10, 0.9);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.footer-content {
    text-align: center;
    color: var(--text-secondary);
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 15px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .dashboard-nav ul {
        flex-direction: column;
    }

    .logo-image {
        max-width: 250px;
        max-height: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.7);
    }
    
    .header-logo {
        height: 40px; /* Slightly smaller on mobile but still bigger */
    }
}
#shop-status-badge {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.shop-status-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.shop-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 42, 109, 0.4);
}

/* Employee Directory Cards */
.directory-card {
    transition: all 0.3s ease;
    cursor: pointer;
    background: #2a2a2a;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.directory-card:hover {
    transform: translateY(-5px);
    border-color: #ff2a6d;
    box-shadow: 0 10px 30px rgba(255, 42, 109, 0.3);
}

/* Directory Modal Styles */
.directory-filter {
    transition: all 0.3s ease;
    padding: 10px 20px;
    background: #333;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
}

.directory-filter:hover {
    background: #ff2a6d !important;
    color: white !important;
    transform: translateY(-2px);
}

.directory-filter.active {
    background: #ff2a6d !important;
    color: white !important;
}

/* Employee Profile Modal */
.employee-profile-modal {
    background: #1a1a1a;
    border: 2px solid #ff2a6d;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.employee-profile-modal h2 {
    color: #ff2a6d;
    margin-bottom: 20px;
}

/* Loading Spinner for Directory */
.directory-loading {
    text-align: center;
    padding: 40px;
}

.directory-loading i {
    color: #ff2a6d;
    font-size: 3rem;
    animation: spin 1s linear infinite;
}

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

/* Search Input in Directory */
#directorySearch {
    transition: all 0.3s ease;
    width: 100%;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

#directorySearch:focus {
    outline: none;
    border-color: #ff2a6d;
    box-shadow: 0 0 10px rgba(255, 42, 109, 0.3);
}

/* Employee Stats Cards in Directory */
.employee-stat-card {
    background: rgba(255, 42, 109, 0.1);
    border: 1px solid #ff2a6d;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.employee-stat-card h3 {
    color: #ff2a6d;
    margin: 0;
    font-size: 1.5rem;
}

.employee-stat-card p {
    color: white;
    margin: 5px 0 0;
}

/* Directory Grid Layout */
.employees-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Duty Status Indicators */
.duty-badge-on {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
}

.duty-badge-off {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
}

/* Employee Info Sections */
.employee-info-section {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #ff2a6d;
}

.employee-info-section label {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 5px;
    display: block;
}

.employee-info-section .value {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive adjustments for directory */
@media (max-width: 768px) {
    .employees-directory-grid {
        grid-template-columns: 1fr;
    }
    
    .directory-filter {
        flex: 1;
        text-align: center;
    }
    
    .directory-filter-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Shop Status Indicator */
#shop-status-indicator {
    animation: fadeIn 0.3s ease;
}

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

/* Team Cards */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 42, 109, 0.3);
}

/* Employee Avatar Upload */
.avatar-upload {
    position: relative;
    display: inline-block;
}

.avatar-upload input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
