/* CSS Custom Properties (Variables) for Color Scheme */
:root {
    /* Primary Colors - Based on the dark grey-blue to black palette */
    --color-primary-dark: #0f180e;     /* Pure black (far right) */
    --color-primary-light: #c0c0c0;    /* Pure white for contrast */
    
    /* Secondary Colors */
    --color-secondary-pale: #6b6b6b;    /* Medium-dark blue-grey (far left) */
    --color-secondary-medium: #858585;  /* Darker blue-grey (second from left) */
    --color-secondary-light: #1a1a1a;   /* Very dark grey (second from right) */

    --color-accent-hover: #3a3a3a;      /* Slightly lighter for hover states */
    
    /* Semantic Colors */
    --color-background: var(--color-primary-dark);
    --color-text-primary: var(--color-primary-light);
    --color-text-secondary: var(--color-secondary-pale);
    --color-text-muted: var(--color-secondary-medium);
    --color-border: var(--color-secondary-light);
    --color-hover: var(--color-accent-hover);
}

/* Global Styles */
body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text-primary);
    font-family: 'Montserrat', Arial, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Image Security - Prevent Downloading */
img {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    /* Remove pointer-events: none to maintain accessibility */
}

/* Prevent text selection on most elements but allow it where needed */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection only for specific elements that need it */
.navbar .nav-links a,
.mobile-menu-links a,
.footer-links a,
.social-link,
.about-content,
.hero-text-content,
.featured-text-content,
.timeline-caption,
.paradox-text-content,
.storiesxcoming-description,
.galleryunderconstruction-description {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Navigation Bar Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: var(--color-background);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 44px;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar .logo {
    display: flex;
    align-items: center;
    height: 28px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    padding: 4px;
    overflow: hidden;
}

.navbar .logo img {
    height: 28px;
    width: auto;
    display: block;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar .logo:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    flex: 1;
    margin: 0 20px;
}

.navbar .nav-links a {
    color: var(--color-text-primary) !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    position: relative !important;
    padding: 8px 12px !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.navbar .nav-links a:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.05) !important;
}

.navbar .nav-links a:active {
    transform: scale(0.95) !important;
    transition: transform 0.1s ease !important;
}

/* Active state for current page */
.navbar .nav-links a.active {
    color: var(--color-text-primary) !important;
    font-weight: 500 !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3) !important;
    animation: gentlePulse 2s ease-in-out infinite !important;
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
    }
    50% {
        opacity: 0.9;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
    }
}



.navbar .spacer {
    display: none;
}

/* Removed unused .navbar .social styles */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hamburger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.hamburger:hover::before {
    opacity: 1;
}

.hamburger span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
    border-radius: 1px;
    background: var(--color-text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.hamburger:hover span {
    background: var(--color-text-primary);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Hamburger animation when menu is open */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 700px) {
    .navbar .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    display: none;
    position: absolute;
    top: 44px;
    right: 16px;
    left: auto;
    width: 220px;
    min-width: 160px;
    max-width: 90vw;
    background: linear-gradient(135deg, var(--color-text-primary) 0%, #f8f8f8 100%);
    color: var(--color-background);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    overflow: hidden;
}

.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.mobile-menu-overlay.open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

/* Removed unused mobile menu close button styles */

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
    gap: 0;
}

.mobile-menu-links a {
    color: var(--color-background);
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    border-radius: 0;
}

.mobile-menu-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-background), var(--color-border));
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.mobile-menu-links a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-background);
    transform: translateX(4px);
}

.mobile-menu-links a:hover::before {
    transform: scaleY(1);
}

.mobile-menu-links a .arrow {
    font-size: 0.9rem;
    margin-left: 8px;
    display: inline-block;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.mobile-menu-links a:hover .arrow {
    opacity: 1;
    transform: translateX(2px);
}

.mobile-menu-links.compact {
    padding: 8px 0;
    gap: 0;
}

.mobile-menu-links.compact a {
    font-size: 0.95rem;
    padding: 10px 20px;
    letter-spacing: 0.2px;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
}

.mobile-menu-links.compact a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-links.compact a:last-child::after {
    display: none;
}

.mobile-menu-links.compact a:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--color-background);
    transform: translateX(4px);
}

.mobile-menu-links.compact a:hover::before {
    transform: scaleY(1);
}

/* Enhanced mobile menu animations */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.mobile-menu-overlay.open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: slideInFromTop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-links a {
    animation: fadeInScale 0.3s ease forwards;
}

/* Add subtle pulse effect to hamburger when menu is open */
.hamburger.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Enhanced mobile menu backdrop */
.mobile-menu-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
    z-index: -1;
}

/* Smooth transitions for all interactive elements */
.mobile-menu-links a,
.mobile-menu-links.compact a,
.hamburger,
.close-mobile-menu {
    will-change: transform, opacity, background;
}

/* Add subtle hover sound effect simulation */
.mobile-menu-links a:active,
.mobile-menu-links.compact a:active {
    transform: translateX(4px) scale(0.98);
    transition: transform 0.1s ease;
}

/* Removed unused .dropdown-hamburger styles */

/* Footer Section */
.footer {
    position: relative;
    width: 100%;
    background: var(--color-background);
    color: var(--color-text-primary);
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-section {
    flex: 1;
    max-width: 300px;
}

.footer-title {
    color: var(--color-text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-text-primary);
}

.footer-description {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-text-primary);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin-bottom: 20px;
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Responsive Design for Footer */
@media (max-width: 900px) {
    .footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .footer-section {
        max-width: 100%;
        width: 100%;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-links a,
    .social-link {
        font-size: 0.9rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
}




