/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #333333;
    --light-gray: #666666;
    --accent: #17A2B8;
    --accent-hover: #138496;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000 !important;
    color: #ffffff !important;
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent mobile zoom and touch behaviors */
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    /* Prevent horizontal overflow on mobile */
    width: 100%;
    box-sizing: border-box;
}

a {
    color: #ffffff !important;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Force white text on all common elements */
h1, h2, h3, h4, h5, h6, p, span, div, li, td, th {
    color: #ffffff !important;
}

.site-title a {
    color: #ffffff !important;
}


.site-title .fa-camera {
    margin-left: 0.5rem !important;
    font-size: 0.85em !important;
    opacity: 0.8 !important;
    color: #ffffff !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.main-nav a {
    color: #ffffff !important;
}

/* Ensure all icons are visible */
i, .fa, .fas, .far, .fab, .fal, .fad, .fat, .fass {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* Navigation icons specifically */
.main-nav i, .social-links i, .share-menu i, .collections-menu i {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Mobile menu toggle icon */
.mobile-menu-toggle {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.5rem !important;
    cursor: pointer !important;
}

.mobile-menu-toggle i {
    color: #ffffff !important;
    font-size: 1.2rem !important;
}

/* Dropdown chevron icons */
.fas.fa-chevron-down, .fa-chevron-down {
    color: #ffffff !important;
    margin-left: 0.5rem !important;
}


@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* General button styling to ensure visibility */
button {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

button:hover {
    background-color: #666666 !important;
    color: #ffffff !important;
}

/* Dark theme styling for form elements */
select, input, textarea {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #666666 !important;
    padding: 0.5rem !important;
    border-radius: 4px !important;
}

select:focus, input:focus, textarea:focus {
    border-color: #ffffff !important;
    outline: none !important;
}

/* Style select dropdown options */
select option {
    background-color: #000000 !important;
    color: #ffffff !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.site-header {
    background-color: #000000 !important;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-title a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-title a:hover {
    color: #17A2B8 !important;
    opacity: 1;
}

.site-title::after {
    content: '\f030';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--white);
    font-size: 1.6rem;
}

.main-nav {
    position: relative;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
}

.nav-menu a:hover {
    color: #17A2B8 !important;
    opacity: 1;
}

/* Share Dropdown */
.share-dropdown {
    position: relative;
}

.share-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-dropdown:hover .share-menu,
.share-dropdown.active .share-menu,
.share-menu:hover {
    display: block;
}

.share-menu li {
    padding: 0;
}

.share-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    text-transform: none;
    font-size: 0.9rem;
}

.share-menu a:hover {
    background-color: #17A2B8;
    color: #ffffff !important;
    opacity: 1;
}

.share-menu i {
    margin-right: 0.5rem;
    width: 20px;
}

.threads-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

/* Collections Dropdown */
.collections-dropdown {
    position: relative;
}

.collections-trigger i {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    opacity: 0.8;
}

.collections-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.collections-dropdown:hover .collections-menu,
.collections-menu:hover {
    display: block;
}

.collections-menu li {
    padding: 0;
}

.collections-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    text-transform: none;
    font-size: 0.9rem;
}

.collections-menu a:hover {
    background-color: #17A2B8;
    color: #ffffff !important;
    opacity: 1;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: 2rem 0 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #666666 !important;
    font-weight: 200 !important;
    letter-spacing: 1px;
}

/* ===================================
   COLLECTIONS GRID
   =================================== */
.collections-section {
    padding: 4rem 0 6rem;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.collection-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    border: 1px solid var(--gray);
    height: 100%;
    border-radius: 8px;
}

.collection-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition);
}

.collection-overlay h3 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
}

.collection-overlay p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
    opacity: 0;
    transition: var(--transition);
    margin-bottom: 0.3rem;
}

.collection-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 0.5rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    opacity: 1;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.collection-card:hover .collection-btn {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

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

.collection-card:hover .collection-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.9) 100%);
}

.collection-card:hover .collection-overlay p {
    opacity: 1;
}

/* ===================================
   ALBUMS GRID (Collection Pages)
   =================================== */
.albums-section {
    padding: 4rem 0 6rem;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Year Tabs */
.year-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem auto 0.75rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 700px;
    row-gap: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Band Filter Dropdown */
.band-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto 2.5rem;
    max-width: 700px;
    gap: 0.75rem;
}

.band-filter::before {
    content: 'Filter by Artist:';
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.band-filter select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 0.65rem 2.5rem 0.65rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    min-width: 200px;
    letter-spacing: 0.3px;
}

.band-filter select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
}

.band-filter select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.2);
}

.band-filter select option {
    background: #1a1a1a;
    color: var(--white);
}

.year-tab {
    padding: 0.75rem 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: -1px !important;
}

.year-tab:hover {
    color: #17A2B8 !important;
    background: transparent !important;
}

.year-tab.active {
    color: #17A2B8 !important;
    border-bottom-color: #17A2B8 !important;
    font-weight: 500 !important;
    background: transparent !important;
}

.page-title {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
    font-weight: 300;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-bottom: 2rem !important;
}

.back-button:hover {
    background-color: #17A2B8 !important;
    border-color: #17A2B8 !important;
    color: #ffffff !important;
}

/* Album bottom navigation */
.album-bottom-navigation {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.album-bottom-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.album-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.75rem;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.album-nav-btn:hover:not(:disabled) {
    background-color: #17A2B8 !important;
    border-color: #17A2B8 !important;
    color: #ffffff !important;
}

.album-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.album-nav-left {
    order: 1;
}

.album-nav-right {
    order: 3;
}

.back-button-center {
    order: 2;
    margin: 0 1rem;
}

.nav-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.album-nav-btn i {
    font-size: 0.6rem;
}

@media (max-width: 768px) {
    .album-nav-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.6rem;
    }
    
    .nav-label {
        display: none;
    }
    
    .album-nav-btn i {
        font-size: 0.5rem;
    }
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.album-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: var(--transition);
}

.album-card:hover {
    border-color: #17A2B8;
}

.album-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: var(--transition);
}

.album-overlay h3 {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.album-overlay h3 .fa-video {
    margin-left: 0.5rem;
    font-size: 0.8em;
    color: #ff6b6b;
}

.album-info {
    display: none;
}

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

.album-card:hover .album-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.95) 100%);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 4rem 0;
    font-size: 1.2rem;
    color: var(--light-gray);
}

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-section {
    padding: 4rem 0 6rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-sketch {
    text-align: center;
    margin: 3rem 0;
}

.contact-sketch img {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-sketch img:hover {
    opacity: 1;
}

.contact-form {
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--gray);
    border: 1px solid var(--light-gray);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.submit-button:hover {
    background-color: #666666 !important;
    color: #ffffff !important;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4CAF50;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background-color: #000000 !important;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--gray);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    opacity: 0.7;
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    color: #666666 !important;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.legal-links {
    font-size: 0.9rem;
    color: #666666 !important;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.legal-links a {
    color: #666666 !important;
    text-decoration: none;
    transition: var(--transition);
}

.legal-links a:hover {
    color: #ffffff !important;
    opacity: 1;
}

.legal-links .separator {
    margin: 0 0.75rem;
    opacity: 0.7;
}

/* ===================================
   COOKIE NOTICE
   =================================== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: var(--light-gray);
    padding: 1rem;
    font-size: 0.85rem;
    text-align: center;
    border-top: 1px solid var(--gray);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-notice p {
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.cookie-notice-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-notice button {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-notice button:hover {
    background-color: #666666 !important;
    color: #ffffff !important;
}

.cookie-notice a {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-notice {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .cookie-notice-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ===================================
   LEGAL PAGES
   =================================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray);
}

.legal-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--light-gray);
    line-height: 1.6;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--white);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-section a:hover {
    opacity: 0.7;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 992px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

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

    .page-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .site-header .container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
        transition: var(--transition);
    }

    .mobile-menu-toggle:hover {
        opacity: 0.7;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        right: 0;
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        font-size: 1.1rem;
    }

    /* Collections dropdown in mobile */
    .collections-menu {
        position: static;
        display: none;
        background: transparent;
        border: none;
        margin-top: 0;
        padding-left: 1rem;
    }

    .collections-dropdown.active .collections-menu {
        display: block;
    }

    .collections-menu li {
        padding: 0.35rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .collections-menu a {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    /* Share dropdown in mobile */
    .share-menu {
        position: static;
        display: none;
        background: transparent;
        border: none;
        margin-top: 0;
        padding-left: 1rem;
    }

    .share-dropdown.active .share-menu {
        display: block;
    }

    .share-menu li {
        padding: 0.35rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .share-menu a {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    .hero {
        padding: 1.5rem 0 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .collection-overlay h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.4rem;
    }
    
    .site-title::after {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .year-tabs {
        gap: 0.8rem;
        row-gap: 0.3rem;
        margin: 1.5rem auto 0.5rem;
    }

    .year-tab {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .band-filter {
        margin: 0.75rem auto 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .band-filter::before {
        font-size: 0.85rem;
    }

    .band-filter select {
        min-width: 180px;
        font-size: 0.85rem;
        padding: 0.6rem 2rem 0.6rem 0.8rem;
    }
}

/* ===================================
   PHOTO GRID (FOR FLICKR API)
   =================================== */

/* Photos Grid */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Image Protection and Mobile Touch Optimization */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    /* Prevent mobile zoom on image tap */
    touch-action: manipulation;
    /* Prevent image from being larger than container */
    max-width: 100%;
    height: auto;
}

.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 1/1;
    background-color: transparent;
    /* Optimize mobile touch behavior */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.3s ease;
}

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

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===================================
   LIGHTBOX
   =================================== */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    font-size: 1.6rem;
    font-weight: normal !important;
    color: #ffffff !important;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4) !important;
    border: none !important;
    padding: 0 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 6px;
    opacity: 0.4;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-share {
    position: absolute;
    top: -3rem;
    right: 3rem;
    font-size: 1.4rem;
    font-weight: normal !important;
    color: #ffffff !important;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4) !important;
    border: none !important;
    padding: 0 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 6px;
    opacity: 0.4;
}

.lightbox-share:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-share-menu {
    position: absolute !important;
    top: -0.5rem !important;
    right: 3rem !important;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 0.4rem;
    display: none;
    flex-direction: row;
    gap: 0.3rem;
    backdrop-filter: blur(10px);
    opacity: 0.9;
}

.lightbox-share-menu.show {
    display: flex;
}

.lightbox-share-menu a {
    color: var(--white);
    font-size: 1.1rem;
    padding: 0.4rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0.7;
}

.lightbox-share-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--white) !important;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4) !important;
    border: none !important;
    padding: 0.8rem 1.2rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    opacity: 0.4;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
    background: rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    color: var(--white);
    font-size: 1rem;
    max-width: 600px;
}

.lightbox-counter {
    margin-top: 0.5rem;
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    #lightbox {
        padding: 1rem;
    }

    .lightbox-nav {
        font-size: 1.1rem;
        padding: 0;
        background: rgba(0, 0, 0, 0.4) !important;
        border: none !important;
        border-radius: 6px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        transform: translateY(-50%);
        opacity: 0.3;
    }

    .lightbox-nav:hover {
        background: rgba(0, 0, 0, 0.8) !important;
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }

    /* Show arrows on touch/tap for mobile */
    .lightbox-nav:active {
        opacity: 1;
        background: rgba(0, 0, 0, 0.9) !important;
    }

    .lightbox-prev {
        left: 0.3rem;
    }

    .lightbox-next {
        right: 0.3rem;
    }

    .lightbox-close {
        top: -2.5rem;
        font-size: 1.4rem;
        width: 2.2rem !important;
        height: 2.2rem !important;
        opacity: 0.5;
    }

    .lightbox-share {
        top: -2.5rem;
        right: 2.5rem;
        font-size: 1.2rem;
        width: 2.2rem !important;
        height: 2.2rem !important;
        opacity: 0.5;
    }

    .lightbox-share-menu {
        top: 0.3rem;
        right: 2.5rem;
        padding: 0.3rem;
        gap: 0.3rem;
    }

    .lightbox-share-menu a {
        font-size: 1rem;
        padding: 0.4rem;
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

/* Mobile landscape orientation - bigger arrows and full-size photos */
@media (max-width: 768px) and (orientation: landscape) {
    /* Maximize lightbox space for landscape viewing */
    #lightbox {
        padding: 0.5rem;
    }
    
    .lightbox-content {
        max-width: 98%;
        max-height: 98%;
    }
    
    /* Full-size photos in landscape */
    #lightbox-img {
        max-width: 100%;
        max-height: 95vh;
        width: auto;
        height: auto;
    }
    
    /* Bigger arrows for better usability */
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        opacity: 0.4;
    }

    .lightbox-nav:hover {
        transform: translateY(-50%) scale(1.15);
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }
    
    /* Optimize caption and counter positioning */
    .lightbox-caption {
        margin-top: 0.5rem;
        font-size: 0.9rem;
    }
    
    .lightbox-counter {
        font-size: 0.9rem;
    }
    
    /* Optimize photo grid for landscape browsing */
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
}

/* Mobile touch optimization and zoom prevention */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling and wobbling */
    html, body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }
    
    /* Optimize all interactive elements for touch */
    button, a, .photo-card, .lightbox-nav, .lightbox-close, .lightbox-share {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Ensure images don't cause layout shifts */
    img {
        display: block;
        max-width: 100%;
        height: auto;
    }
    
    /* Prevent double-tap zoom on specific elements */
    .photos-grid, .photo-card, .lightbox-content {
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .albums-grid {
        grid-template-columns: 1fr;
    }
}

/* Small mobile landscape - maximize photo viewing */
@media (max-width: 480px) and (orientation: landscape) {
    /* Minimal padding for maximum photo space */
    #lightbox {
        padding: 0.25rem;
    }
    
    .lightbox-content {
        max-width: 99%;
        max-height: 99%;
    }
    
    /* Nearly full viewport for photos */
    #lightbox-img {
        max-width: 100%;
        max-height: 97vh;
    }
    
    /* Compact controls for small landscape screens */
    .lightbox-close, .lightbox-share {
        top: -2rem;
        width: 2rem !important;
        height: 2rem !important;
        font-size: 1.2rem;
    }
    
    .lightbox-caption {
        margin-top: 0.25rem;
        font-size: 0.8rem;
    }
    
    .lightbox-counter {
        font-size: 0.8rem;
    }
}

/* ===================================
   DARK MODE SUPPORT
   =================================== */
/* Default is dark mode, but respect system preferences */
@media (prefers-color-scheme: light) {
    :root {
        --black: #ffffff;
        --white: #000000;
        --gray: #f5f5f5;
        --light-gray: #999999;
        --accent: #000000;
    }
    
    body {
        background-color: var(--black);
        color: var(--white);
    }
    
    .site-header {
        background-color: var(--black);
        border-bottom: 1px solid #e0e0e0;
    }
    
    .collection-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .album-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    
    .photo-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    #lightbox {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .lightbox-content {
        background: #000000;
    }
}

/* Force dark mode for users who prefer it */
@media (prefers-color-scheme: dark) {
    :root {
        --black: #000000;
        --white: #ffffff;
        --gray: #333333;
        --light-gray: #666666;
        --accent: #ffffff;
    }
}

/* ===================================
   SMART IMAGE POSITIONING
   =================================== */
/* For portrait images, focus on upper portion where faces typically are */
.album-image img[src*="portrait"],
.photo-card img[src*="portrait"] {
    object-position: center 25%;
}

/* For landscape images, keep centered */
.album-image img[src*="landscape"],
.photo-card img[src*="landscape"] {
    object-position: center center;
}

/* ===================================
   PHOTO DESCRIPTIONS
   =================================== */

.photo-item {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.photo-item img:hover {
    opacity: 0.9;
}

.photo-info {
    padding: 1rem;
    color: #ffffff;
}

.photo-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    line-height: 1.3;
}

.photo-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: #cccccc;
    font-style: italic;
}

.photo-description:empty {
    display: none;
}

/* Loading and error states */
.loading, .error {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #ffffff;
}

.error {
    color: #ff6b6b;
}

/* ===================================
   LIGHTBOX DESCRIPTIONS
   =================================== */

.lightbox-title {
    color: #ffffff;
    font-size: 0.90rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.lightbox-description {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0.8;
    line-height: 1.4;
    margin-top: 0.2rem;
}

/* ===================================
   TAG DISPLAY IMPROVEMENTS
   =================================== */

/* Ensure proper spacing in tag links */
.tag-link {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Mobile-specific tag improvements */
@media (max-width: 480px) {
    /* On very small screens, hide tag counts to prevent cramping */
    .tag-link span:nth-child(2) {
        display: none;
    }
    
    /* Adjust tag link padding for mobile */
    .tag-link {
        padding: 0.5rem 0.6rem !important;
        font-size: 0.85rem !important;
    }
}

/* Medium mobile screens - keep counts but ensure spacing */
@media (min-width: 481px) and (max-width: 768px) {
    .tag-link {
        padding: 0.55rem 0.7rem !important;
    }
}

/* ===================================
   MOBILE LANDSCAPE FULL-SCREEN
   =================================== */

/* Mobile landscape mode optimizations */
@media screen and (max-height: 500px) and (orientation: landscape) {
    /* Force lightbox to use full viewport */
    #lightbox {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 9999 !important;
    }
    
    /* Hide header and other elements when lightbox is open */
    body.lightbox-open {
        overflow: hidden;
    }
    
    body.lightbox-open .site-header,
    body.lightbox-open .site-footer,
    body.lightbox-open .albums-section {
        display: none !important;
    }
    
    /* Optimize lightbox image for landscape */
    #lightbox-img {
        max-width: 100vw !important;
        max-height: 100vh !important;
        object-fit: contain !important;
    }
    
    /* Position lightbox controls for landscape */
    .lightbox-nav {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .lightbox-close {
        top: 10px !important;
        right: 10px !important;
    }
    
    .lightbox-counter {
        bottom: 10px !important;
        right: 50% !important;
        transform: translateX(50%) !important;
    }
    
    .lightbox-caption {
        bottom: 10px !important;
        left: 10px !important;
        max-width: 50% !important;
    }
}
