:root {
    --primary: #03045e;
    --primary-dark: #0077B6;
    --primary-light: #48CAE4;
    --dark: #1a1a1a;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --light: #CAF0F8;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, #03045e 0%, #0077b6 100%);
    --shadow: 0 10px 40px rgba(0, 168, 232, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 168, 232, 0.25);
}

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

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

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */

.page-hero {
    padding: 60px 0 60px;
    background: linear-gradient(135deg, rgba(3, 4, 94, 0.95) 0%, rgba(0, 119, 182, 0.90) 100%),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85f82e?w=1920') center/cover fixed;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255, 255, 255, 0.03) 60px, rgba(255, 255, 255, 0.03) 120px);
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    animation: slideDown 0.6s ease-out;
}

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

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s;
    padding: 4px 8px;
    border-radius: 6px;
}

.breadcrumb a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.page-title {
    font-size: clamp(32px, 6vw, 54px);
    font-weight: 800;
    color: white;
    margin-bottom: 18px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.8s ease-out 0.4s both;
    opacity: 0;
}

/* ═══════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════ */

.intro-section {
    padding: 70px 0;
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--light), #a7e9f8);
    color: var(--primary);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.intro-content h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.intro-content p {
    font-size: clamp(15px, 3vw, 18px);
    color: var(--gray);
    line-height: 1.8;
}

/* ═══════════════════════════════════
   GALLERY SECTION
   ═══════════════════════════════════ */

.gallery-section {
    padding: 60px 0 80px;
    background: var(--gray-light);
}

/* ═══════════════════════════════════
   FILTERS
   ═══════════════════════════════════ */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    background: white;
    color: var(--gray);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.filter-chip:hover {
    border-color: var(--chip-color, var(--primary));
    color: var(--chip-color, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.filter-chip.active {
    background: var(--chip-color, var(--primary));
    color: white;
    border-color: var(--chip-color, var(--primary));
    box-shadow: 0 6px 20px rgba(3, 4, 94, 0.25);
}

.filter-chip.active .chip-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.chip-count {
    background: var(--gray-light);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

/* ═══════════════════════════════════
   GALLERY GRID
   ═══════════════════════════════════ */

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 2px solid transparent;
}

.gallery-item--large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item--tall {
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(3, 4, 94, 0.15);
    border-color: var(--primary-light);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 4, 94, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    background: var(--badge-color);
    color: white;
    margin-bottom: 10px;
}

.gallery-item__title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.4;
}

.gallery-item__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 6px 0 0;
    line-height: 1.5;
}

.gallery-item__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.gallery-item:hover .gallery-item__zoom {
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */


.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(3, 4, 94, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
    padding: 60px 20px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}



.lightbox__inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lightbox__close,
.lightbox__nav,
.lightbox__image,
.lightbox__info {
    pointer-events: auto;
}

.lightbox__close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox__prev {
    left: -80px;
}

.lightbox__next {
    right: -80px;
}

.lightbox__image {
    text-align: center;
    margin-bottom: 20px;
}

.lightbox__image img {
    max-width: 85vw;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox__info {
    text-align: center;
    color: white;
    max-width: 700px;
}

.lightbox__info h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.lightbox__info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox__prev {
        left: 8px;
    }

    .lightbox__next {
        right: 8px;
    }

    .lightbox__info h3 {
        font-size: 18px;
    }

    .lightbox__info p {
        font-size: 14px;
    }

    .lightbox__image img {
        max-height: 60vh;
    }
}

/* ═══════════════════════════════════
   RESET BUTTON
   ═══════════════════════════════════ */

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(3, 4, 94, 0.25);
    margin-top: 10px;
}

.btn-reset:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(3, 4, 94, 0.35);
}

/* ═══════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════ */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
    animation: ctaGlow 6s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin: 0 auto 28px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
    font-size: clamp(15px, 3vw, 19px);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-light {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-4px);
}

/* ═══════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════ */

.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    font-size: 1.4rem;
    color: #475569;
    margin: 0 0 10px;
}

.empty-state p {
    color: #94a3b8;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */

@media (max-width: 1024px) {
    .gallery-item--large {
        grid-column: span 1;
    }

    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }

    .intro-section {
        padding: 60px 0;
    }

    .gallery-section {
        padding: 40px 0 60px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item--large {
        grid-column: span 2;
    }

    .gallery-item--tall {
        aspect-ratio: 4/3;
    }

    .lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox__prev {
        left: 8px;
    }

    .lightbox__next {
        right: 8px;
    }

    .lightbox__info {
        bottom: -60px;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-buttons {
        flex-direction: column;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 80px 0 50px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--large {
        grid-column: span 1;
    }

    .cta-icon {
        width: 75px;
        height: 75px;
        font-size: 36px;
    }
}
