/* ============ PAGE HERO ============ */
.page-hero {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(131, 56, 236, 0.1) 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(131, 56, 236, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============ BREADCRUMB ============ */
.breadcrumb-nav {
    background: var(--bg-light);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.breadcrumb {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.breadcrumb a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============ GALLERY SECTION ============ */
.section-gallery {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.section-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(131, 56, 236, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-gallery > * {
    position: relative;
    z-index: 1;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 70px;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.1);
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.gallery-item.hidden {
    display: none;
    animation: none;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.12);
    filter: brightness(1.1) saturate(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.9) 0%, rgba(131, 56, 236, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    backdrop-filter: blur(3px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.lightbox-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.6rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--primary-color);
}

.lightbox-btn:hover {
    transform: scale(1.25);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.gallery-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-item h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.gallery-type {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
}

.gallery-type i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* ============ INSTAGRAM SECTION ============ */
.section-instagram {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.section-instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(131, 56, 236, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-instagram > * {
    position: relative;
    z-index: 1;
}

.instagram-header {
    text-align: center;
    margin-bottom: 70px;
}

.instagram-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.instagram-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 400;
}

.instagram-header .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.instagram-post {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: white;
    animation: fadeInUp 0.6s ease-out;
    border: 1px solid rgba(0, 212, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.instagram-post:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.instagram-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.instagram-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.instagram-post:hover .instagram-image img {
    transform: scale(1.12);
    filter: brightness(1.1) saturate(1.1);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.9) 0%, rgba(131, 56, 236, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    gap: 20px;
    backdrop-filter: blur(3px);
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-stats {
    display: flex;
    gap: 25px;
    justify-content: center;
    color: white;
}

.instagram-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.instagram-stat i {
    font-size: 1.5rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    color: #E1306C;
    font-size: 1.4rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.instagram-link:hover {
    transform: scale(1.2);
    background: #E1306C;
    color: white;
}

.instagram-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.instagram-caption {
    font-size: 0.9rem;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.6;
}

.loading-spinner {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.loading-spinner i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ============ CTA SECTION ============ */
.section-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(131, 56, 236, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.section-cta > * {
    position: relative;
    z-index: 1;
}

.cta-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-white);
    padding: 70px 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 18px;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: white;
    border-color: var(--text-light);
    transform: translateY(-3px);
}

/* ============ LIGHTBOX CUSTOMIZATION ============ */
.lb-outerContainer {
    border-radius: var(--border-radius);
    background: rgba(0, 0, 0, 0.95) !important;
}

.lb-container {
    border-radius: var(--border-radius);
    padding: 0 !important;
}

.lb-data {
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.8) !important;
}

.lb-data .lb-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lb-caption {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.lb-close {
    color: white !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.lb-close:hover {
    opacity: 1;
}

.lb-nav a {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lb-nav a:hover {
    opacity: 1;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(135deg, #1a1f35 0%, #16213e 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: white;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 212, 255, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .instagram-feed {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-gallery {
        padding: 60px 0;
    }

    .gallery-filters {
        gap: 10px;
        margin-bottom: 50px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .gallery-image-wrapper {
        height: 240px;
    }

    .section-instagram {
        padding: 60px 0;
    }

    .instagram-header h2 {
        font-size: 2rem;
    }

    .instagram-header p {
        font-size: 1rem;
    }

    .instagram-feed {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .instagram-image {
        height: 240px;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 50px 0;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .breadcrumb-nav {
        padding: 12px 0;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .section-gallery {
        padding: 40px 0;
    }

    .gallery-filters {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-image-wrapper {
        height: 200px;
    }

    .gallery-item h3 {
        font-size: 1rem;
    }

    .gallery-info {
        padding: 16px;
    }

    .section-instagram {
        padding: 40px 0;
    }

    .instagram-header h2 {
        font-size: 1.5rem;
    }

    .instagram-header p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .instagram-feed {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .instagram-image {
        height: 220px;
    }

    .instagram-stats {
        gap: 15px;
    }

    .instagram-stat {
        font-size: 0.95rem;
    }

    .lightbox-btn,
    .instagram-link {
        transform: scale(0.9);
    }

    .lightbox-btn:hover,
    .instagram-link:hover {
        transform: scale(1.1);
    }

    .section-cta {
        padding: 50px 0;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .cta-box h2 {
        font-size: 1.3rem;
    }

    .cta-box p {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}