@import url('https://fonts.cdnfonts.com/css/plus-jakarta-sans');

/* ================================================================= 
                            CSS VARIABLES & RESET
 ================================================================= */
:root {
    /* Colors */
    --primary-dark: #0a0a0a;
    --secondary-dark: #252525;
    --tertiary-dark: #3a3939;
    --accent-gold: #b8b6b1;
    --accent-light: #f5f5f5;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #000 0%, #181818 100%);
    --gradient-secondary: linear-gradient(45deg, #1a1a1a 0%, #2a2a2a 100%);
    --gradient-accent: linear-gradient(135deg, #f5f5f5 0%, #b8b6b1 100%);
    --gradient-hero: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(26,26,26,0.5));
    
    /* Layout */
    --border-radius: 8px;
    --shadow-primary: 0 30px 60px rgba(0, 0, 0, 0.3);
    --shadow-secondary: 0 15px 35px rgba(0, 0, 0, 0.3);
    
    /* Typography */
    --font-custom: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.4s var(--transition-smooth);
    --transition-slow: 0.8s var(--transition-smooth);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 5px;
    transition: background var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}

/* Utility Classes */
.py-6 { padding-top: 6rem; }
.text-no-decoration { 
    color: var(--text-secondary);
    text-decoration: none;
}

/* ================================================================= 
                            NAVIGATION
 ================================================================= */
.navbar {
    background: rgba(10, 10, 10, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-family: var(--font-custom);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    letter-spacing: 1px;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.85rem;
    font-family: var(--font-custom);
    transition: all var(--transition-fast);
    padding: 0 0 !important;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-gold) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
    width: 80%;
}

/* ================================================================= 
                            HERO SECTION
 ================================================================= */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-family: var(--font-custom);
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #b8b6b1 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    line-height: 1.1;
    letter-spacing: -2px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    font-family: var(--font-custom);
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-medium);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-primary {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    box-shadow: 
        0 10px 30px rgba(184, 182, 177, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 
        0 8px 15px rgba(184, 182, 177, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--primary-dark);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(184, 182, 177, 0.5);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -100%;
    background: var(--gradient-accent);
    transition: left var(--transition-medium);
    z-index: -1;
}

.btn-hero-secondary:hover {
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(184, 182, 177, 0.3);
    border-color: transparent;
}

.btn-hero-secondary:hover::before {
    left: 0;
}

/* ================================================================= 
                            SECTIONS & CONTENT
 ================================================================= */
.section {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 182, 177, 0.3), transparent);
}

.section-title {
    font-family: var(--font-custom);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    position: relative;
    display: inline-block;
    letter-spacing: 1.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    font-family: var(--font-custom);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}

/* ================================================================= 
                            ABOUT SECTION
 ================================================================= */
.about-image-container {
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(184, 182, 177, 0.1);
    overflow: hidden;
    background: var(--gradient-secondary);
}

.about-image {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
    filter: grayscale(10%);
    will-change: transform;
}

.about-image-container:hover .about-image {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.about-text {
    font-size: 1.05rem;
    font-family: var(--font-custom);
    line-height: 1.9;
    color: var(--text-secondary);
}

.about-text:first-of-type {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding-left: 30px;
}

.about-text:first-of-type::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-gold);
    font-family: var(--font-display);
}

.about-stats {
    display: flex;
    gap: 3rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-family: var(--font-custom);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    font-family: var(--font-custom);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.5rem;
}

/* ================================================================= 
                            GALLERY & FILTERS
 ================================================================= */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 182, 177, 0.3);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font-custom);
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    border-color: transparent;
    box-shadow: 
        0 10px 25px rgba(184, 182, 177, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ================================================================= 
                            MASONRY GRID
 ================================================================= */
.masonry-container,
.album-masonry-container {
    width: 100%;
    overflow: hidden;
    clear: both;
}

.masonry-item,
.album-masonry-item {
    width: calc(33.333% - 17px);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: all 0.5s var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    float: left;
    background: var(--secondary-dark);
    margin-bottom: 32px;
}

.album-masonry-item {
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.masonry-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(184, 182, 177, 0.1);
    z-index: 10;
}

.album-masonry-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.masonry-item img,
.album-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all var(--transition-slow);
    filter: brightness(0.9);
    will-change: transform;
}

.masonry-item:hover img {
    transform: scale(1);
    filter: brightness(1.1);
}

.album-masonry-item:hover img {
    transform: scale(1.03);
}

/* Masonry Overlay */
.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%);
    opacity: 0;
    transition: all 0.5s var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s var(--transition-smooth) 0.1s;
    width: 100%;
}

.masonry-item:hover .overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.overlay-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    display: block;
}

.overlay-content h4 {
    font-family: var(--font-custom);
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.overlay-content p {
    font-size: 0.9rem;
    font-family: var(--font-custom);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Album Preview */
.album-preview {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.3rem;
    opacity: 0;
    transition: all 0.5s var(--transition-smooth) 0.2s;
    pointer-events: none;
    width: fit-content;
    justify-content: center;
}

.masonry-item.has-album:hover .album-preview {
    opacity: 1;
    transform: translate(-50%, -60%);
}

.album-preview-img {
    width: 7.5rem !important;
    height: 10.5rem !important;
    border: 4px solid var(--text-primary);
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-fast);
}

.album-preview-img:nth-child(1) { transform: rotate(-15deg); }
.album-preview-img:nth-child(2) { transform: rotate(0deg) translateY(-10px); }
.album-preview-img:nth-child(3) { transform: rotate(15deg); }

.masonry-item.has-album:hover .album-preview-img:nth-child(1) {
    transform: rotate(-15deg) translateX(-5px);
}
.masonry-item.has-album:hover .album-preview-img:nth-child(3) {
    transform: rotate(15deg) translateX(5px);
}

/* Album Item Overlay */
.album-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.album-masonry-item:hover .album-item-overlay {
    opacity: 1;
}

.album-item-overlay i {
    color: var(--accent-gold);
    font-size: 2rem;
}

/* Category Tags */
.category-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================================================= 
                            ALBUM DETAIL PAGE
 ================================================================= */
.album-main-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-primary);
    background: var(--secondary-dark);
    transition: transform var(--transition-fast);
}

.album-main-image-container:hover {
    transform: scale(1.02);
}

.album-main-image {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: cover;
    transition: opacity var(--transition-fast);
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
    color: white;
    font-size: 2rem;
}

.album-main-image-container:hover .lightbox-overlay {
    opacity: 1;
}

.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-family: var(--font-custom);
    z-index: 2;
}

.album-description h2 {
    font-family: var(--font-custom);
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.album-description .lead {
    font-size: 1.2rem;
    font-family: var(--font-custom);
    color: var(--text-secondary);
    line-height: 1.8;
}

.album-details {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    color: var(--text-secondary);
    line-height: 1.8;
}

.detail-item i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.text-gold {
    color: var(--accent-gold);
}

.album-highlights {
    margin-top: 15px;
}

.album-highlights h4 {
    color: var(--text-primary);
    font-family: var(--font-display);
}

.text-info-m {
    color: var(--accent-gold);
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px; /* mezera mezi ikonou a textem */
    padding-left: 0; /* už není potřeba */
}

.highlights-list li i {
    position: static; /* nebo úplně odeberte */
    color: var(--accent-gold);
}

/* ================================================================= 
                            LIGHTBOX MODALS
 ================================================================= */
.lightbox-modal {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border: none !important;
}

.lightbox-modal .modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 20px 30px;
}

.lightbox-modal .modal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 20px 30px;
}

.lightbox-modal .modal-title {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-modal .btn-close {
    font-size: 1.2rem;
    opacity: 0.8;
    filter: invert(1);
    transition: opacity var(--transition-fast);
}

.lightbox-modal .btn-close:hover {
    opacity: 1;
}

.lightbox-image {
    max-height: 90vh !important;
    max-width: 100% !important;
    object-fit: contain !important;
    cursor: pointer;
    transition: opacity var(--transition-fast);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#lightboxCounter {
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Modal Animations */
.modal.fade .modal-dialog {
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.modal.fade:not(.show) .modal-dialog {
    transform: scale(0.9);
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

/* Lightbox Navigation */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 1051;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-nav-btn:hover {
    background: rgba(184, 182, 177, 0.9);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

.lightbox-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-nav-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    transform: translateY(-50%) scale(1);
    box-shadow: none;
}

/* ================================================================= 
                            CONTACT SECTION
 ================================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.contact-item:hover {
    background: rgba(184, 182, 177, 0.08);
    border-color: rgba(184, 182, 177, 0.5);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(184, 182, 177, 0.1);
}

.contact-icon {
    font-size: 2.8rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 1rem;
    transition: all var(--transition-medium);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-custom);
}

.contact-info {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: var(--font-custom);
    transition: color var(--transition-fast);
}

.contact-item:hover .contact-info {
    color: var(--accent-gold);
}

/* ================================================================= 
                            FOOTER & SOCIAL
 ================================================================= */
.footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 182, 177, 0.5), transparent);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.03) rotate(5deg);
    border-color: transparent;
}

.footer-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: var(--font-custom);
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ================================================================= 
                            LOADING & ANIMATIONS
 ================================================================= */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loading-spinner::after {
    animation: spin 1.5s linear infinite reverse;
    border-top-color: var(--accent-light);
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ================================================================= 
                            BACK TO TOP
 ================================================================= */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-secondary);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-fast);
    visibility: hidden;
}

#backToTop.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-5px);
}

/* ================================================================= 
                            RESPONSIVE DESIGN
 ================================================================= */
/* Tablet & Desktop */
@media (max-width: 992px) {
    .masonry-item,
    .album-masonry-item {
        width: calc(50% - 12.5px);
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: clamp(3rem, 8vw, 5rem);
    }
    
    .album-main-image-container {
        margin-bottom: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .masonry-item,
    .album-masonry-item {
        width: 100%;
        float: none;
        margin-bottom: 25px;
    }
    
    .navbar-brand {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .album-description {
        padding-left: 0 !important;
    }
    
    .album-details {
        padding: 1.5rem;
    }
    
    .lightbox-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    
    .lightbox-modal .modal-header,
    .lightbox-modal .modal-footer {
        padding: 15px 20px;
    }
    
    .lightbox-modal .modal-title {
        font-size: 1rem;
    }
    
    .lightbox-image {
        max-height: 85vh !important;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .filter-controls {
        gap: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 7vw, 4rem);
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Performance Optimizations */
.masonry-item img,
.album-masonry-item img,
.about-image {
    will-change: transform;
}

/* Viewport Height Changes (for developer tools) */
@media screen and (max-height: 600px) {
    .masonry-item,
    .album-masonry-item {
        margin-bottom: 20px;
    }
}

@media screen and (max-height: 400px) {
    .masonry-item,
    .album-masonry-item {
        margin-bottom: 15px;
    }
}

/* ================================================================= 
                            ACCESSIBILITY & MOTION
 ================================================================= */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: #ffffff;
        --accent-gold: #ffff00;
    }
}

/* Dark Mode (if system preference) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .filter-controls,
    .loading-overlay,
    .footer,
    #backToTop {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .masonry-item,
    .album-masonry-item {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}