/* Base styles and variables */
:root {
    /* Light mode (default) */
    --background: #ffffff;
    --text-primary: #121212;
    --text-secondary: #707070;
    --accent: #222222;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #f9f9f9;
    --placeholder-bg: #f0f0f0;
    --border-color: rgba(0, 0, 0, 0.05);
    --spinner-bg: #f3f3f3;
    --spinner-fg: #222;
    --lightbox-bg: rgba(0, 0, 0, 0.9);
    --lightbox-text: #ffffff;
    --toggle-icon: '🌙';
    
    /* RGB versions for advanced styling */
    --background-rgb: 255, 255, 255;
    --text-primary-rgb: 18, 18, 18;
    --text-secondary-rgb: 112, 112, 112;
    --accent-rgb: 34, 34, 34;
    
    /* Common variables */
    --transition-speed: 0.3s;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
}

/* Dark mode colors */
[data-theme="dark"] {
    --background: #121212;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --accent: #ffffff;
    --nav-bg: rgba(18, 18, 18, 0.95);
    --card-bg: #1e1e1e;
    --placeholder-bg: #2a2a2a;
    --border-color: rgba(255, 255, 255, 0.1);
    --spinner-bg: #333333;
    --spinner-fg: #f0f0f0;
    --lightbox-bg: rgba(0, 0, 0, 0.95);
    --lightbox-text: #ffffff;
    --toggle-icon: '☀️';
    
    /* RGB versions for dark mode */
    --background-rgb: 18, 18, 18;
    --text-primary-rgb: 240, 240, 240;
    --text-secondary-rgb: 160, 160, 160;
    --accent-rgb: 255, 255, 255;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Disable text selection */
    user-select: none;
}

/* Temporary Banner */
.temp-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    z-index: 99;
    opacity: 0.9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.temp-banner:hover {
    opacity: 1;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.8s ease-out;
}

.loader-logo {
    opacity: 0;
    animation: fade-in 1s ease forwards, fade-out 1s ease 2s forwards;
}

.loader-logo-image {
    height: 180px;
    width: auto;
    object-fit: contain;
}

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

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--spacing-lg) * 0.8) var(--spacing-xl);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--nav-bg);
    backdrop-filter: blur(5px);
    transition: all var(--transition-speed) ease;
    height: 100px;
    overflow: visible;
}

.logo {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    overflow: visible;
}

.logo-image {
    height: 42px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.logo-text {
    height: 105px;
    width: auto;
    object-fit: contain;
}

.light-mode-logo {
    display: block;
}

.dark-mode-logo {
    display: none;
}

[data-theme="dark"] .light-mode-logo {
    display: none;
}

[data-theme="dark"] .dark-mode-logo {
    display: block;
}

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

nav ul li {
    margin-left: var(--spacing-lg);
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: opacity var(--transition-speed) ease;
}

nav ul li a:hover {
    opacity: 0.7;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 1px;
    width: 100%;
    background-color: var(--text-primary);
    transition: transform var(--transition-speed) ease;
}

/* Main Content and Gallery */
main {
    padding: 140px var(--spacing-lg) var(--spacing-lg);
    min-height: calc(100vh - 100px);
}

.category-filter-container {
    position: relative;
    margin-bottom: 25px;
    overflow: hidden;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fade-in 0.8s ease 2.2s forwards;
    padding: 5px 10px 10px;
}

.filter-indicator {
    display: none;
    text-align: center;
    margin-top: 4px;
    height: 14px;
}

.filter-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    animation: bounce 1.5s infinite;
    opacity: 0.6;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-3px) rotate(45deg);
    }
}

.category-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.category-btn:hover {
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.category-btn.active {
    background-color: var(--text-primary);
    color: var(--background);
    font-weight: 500;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    opacity: 0;
    transform: translateY(10px);
    animation: fade-in 0.8s ease 2.5s forwards;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.gallery-item.visible {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item {
    position: relative;
}

.placeholder-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--placeholder-bg);
    z-index: 1;
    overflow: hidden;
}

.placeholder-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.4) 50%, 
        rgba(255,255,255,0) 100%);
    animation: shimmer 2s infinite;
    transform: translateX(-100%);
}

@keyframes shimmer {
    100% {
        transform: translateX(50%);
    }
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease, opacity 0.5s ease;
    pointer-events: none; /* Prevent right-click on image */
    z-index: 2;
    will-change: opacity, filter; /* Optimize for animations */
    backface-visibility: hidden; /* Prevent flickering */
}

.gallery-item {
    --loading-progress: 0%;
}

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

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border: 3px solid var(--spinner-bg);
    border-top-color: var(--spinner-fg);
    animation: spin 1s linear infinite;
}

.spinner:after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 25px;
    margin-top: -12.5px;
    margin-left: -12.5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #666;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.gallery-item.loading {
    cursor: default;
}

.gallery-item.error .placeholder-bg {
    background-color: var(--placeholder-bg);
    opacity: 0.7;
}

.gallery-item.error .placeholder-bg::after {
    content: '!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #999;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lightbox-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

/* Load more button for mobile gallery */
.load-more-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin: 30px 0 40px;
    position: relative;
}

.load-more-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: var(--border-color);
}

.load-more-btn {
    background-color: var(--text-primary);
    color: var(--background);
    border: none;
    border-radius: 30px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, padding 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: pulse 2s infinite;
}

.load-more-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 14px 35px;
}

.load-more-btn:active {
    transform: translateY(1px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--text-primary-rgb), 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--text-primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--text-primary-rgb), 0);
    }
}

.lightbox.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    z-index: 210;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    pointer-events: none; /* Prevent right-click */
    user-select: none; /* Prevent selection */
    -webkit-user-drag: none; /* Prevent dragging */
}

.lightbox-caption {
    color: var(--lightbox-text);
    text-align: center;
    padding: var(--spacing-md) 0;
    font-size: 0.9rem;
}

.lightbox-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-md);
}

.lightbox-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition-speed) ease;
}

.lightbox-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    padding: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--card-bg);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 1.5rem;
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

.footer-legal {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 15px;
    font-size: 0.8rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0.8;
}

.footer-legal a:hover {
    color: var(--accent);
    opacity: 1;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--accent);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle::after {
    content: var(--toggle-icon);
}

/* Transition for theme changes */
body {
    transition: background-color var(--transition-speed) ease, 
                color var(--transition-speed) ease;
}

/* Home Page Styles */
.home-main {
    padding-top: 100px;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 50px var(--spacing-lg);
    min-height: 75vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hero-image-container {
    flex: 1;
    height: 600px;
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-image: url('Graduation Picture Locations/2023_KAL_4869.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Featured Categories */
.featured-categories {
    padding: 80px var(--spacing-lg);
    text-align: center;
}

.featured-categories h2 {
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 600;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.category-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.category-card h3 {
    margin: 20px 0 10px;
    padding: 0 20px;
    font-size: 1.3rem;
}

.category-card p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px var(--spacing-lg);
    background-color: var(--card-bg);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 600;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 200px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    padding: 0 20px;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    font-style: normal;
    margin-top: 20px;
    font-weight: 500;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--text-primary);
}

/* CTA Section */
.cta {
    padding: 100px var(--spacing-lg);
    text-align: center;
    background-color: var(--background);
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Active Nav Link */
nav ul li a.active {
    font-weight: 500;
    opacity: 1;
    position: relative;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        padding: var(--spacing-md) var(--spacing-lg);
        height: 80px; /* Reduced height */
    }
    
    main {
        padding-top: 100px; /* Reduced top padding */
    }

    .logo-text {
        height: 56px; /* Reduced logo size */
    }
    
    .theme-toggle {
        bottom: 20px;
        right: 20px;
        left: auto;
        width: 40px;
        height: 40px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--background);
        transition: right var(--transition-speed) ease;
        z-index: 150;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: var(--spacing-md) 0;
    }

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

    .category-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-bottom: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .category-filter::-webkit-scrollbar {
        display: none;
    }
    
    .filter-indicator {
        display: block;
    }
    
    .category-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    main {
        padding: 80px var(--spacing-md) var(--spacing-md);
    }
    
    .home-main {
        padding-top: 80px;
    }
    
    .temp-banner {
        left: 20px;
        right: 20px;
        text-align: center;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 20px;
    }
    
    .footer-column {
        margin-bottom: 10px;
    }
    
    /* Home page responsive styles */
    .hero {
        flex-direction: column;
        padding: 30px var(--spacing-md);
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-container {
        width: 100%;
        height: 300px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slider {
        height: 250px;
    }
    
    .testimonial-content {
        font-size: 1.1rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
    
    /* Lightbox adjustments */
    .lightbox-controls {
        position: fixed;
        bottom: 20px;
        left: 0;
        width: 100%;
        transform: none;
        justify-content: center;
    }
    
    .lightbox-content {
        max-width: 100%;
        max-height: 80vh;
    }
}

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

    .lightbox-content img {
        max-height: 75vh;
    }
    
    .temp-banner {
        right: auto;
        bottom: 20px;
        left: 20px;
        max-width: 60%;
        font-size: 0.7rem;
    }
    
    .theme-toggle {
        bottom: 20px;
        left: auto;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    header {
        height: 70px;
        padding: 0 var(--spacing-md);
    }
    
    .logo-text {
        height: 49px;
    }
    
    .menu-toggle {
        width: 20px;
        height: 14px;
    }
    
    main {
        padding-top: 90px;
    }
    
    .category-btn {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
    
    .gallery-item {
        aspect-ratio: 1/1;
    }
    
    .close-btn {
        top: 10px;
        right: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h3 {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }
    
    .footer-links li {
        margin-bottom: 5px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    footer {
        padding: var(--spacing-md);
    }
    
    .footer-bottom {
        margin-top: 15px;
        font-size: 0.8rem;
    }
}

/* Prevent image downloads and right-click */
img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* Hide scrollbar while maintaining functionality */
::-webkit-scrollbar {
    width: 3px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
}

/* Custom context menu to override right-click behavior */
.custom-context-menu {
    position: fixed;
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: var(--spacing-sm);
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.95);
    transform-origin: top left;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

.custom-context-menu.active {
    opacity: 1;
    transform: scale(1);
}

.custom-context-menu p {
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: default;
    color: var(--text-secondary);
}