/* Import base styles from index.css */
@import url('index.css');

/* Gallery-specific styles */
.gallery-hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1724 0%, #1a1f2c 100%);
    overflow: hidden;
    padding: 2rem;
    padding-top: 120px;
}

.gallery-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.gallery-hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff3366, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 51, 102, 0.1) 0%, transparent 50%);
    z-index: 1;
}



/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #0f1724 0%, #1a1f2c 100%);
    padding: 4rem 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-image,
.gallery-video {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
}

.gallery-video video {
    width: 100%;
    height: 300px;
    border-radius: 15px 15px 0 0;
    display: block;
    background: #000;
}

.video-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1a1f2c 0%, #0f1724 100%);
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 51, 102, 0.3);
}

.placeholder-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.placeholder-content h4 {
    color: #ff3366;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.placeholder-content p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.4;
}

.placeholder-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #ff3366;
}

.image-title,
.video-title {
    padding: 1.5rem;
    text-align: center;
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.image-title h3,
.video-title h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ff3366;
}

.image-title p,
.video-title p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
    animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff3366;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 20px 0;
    font-size: 1.2rem;
}

/* Gallery CTA Section */
.gallery-cta {
    background: linear-gradient(135deg, #1a1f2c 0%, #0f1724 100%);
    padding: 4rem 0;
    text-align: center;
}

.gallery-cta .cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.gallery-cta .cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-primary,
.cta-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-primary {
    background: linear-gradient(45deg, #ff3366, #ff0000);
    color: white;
    border: 2px solid transparent;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 51, 102, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff3366;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2.5rem;
    }

    .gallery-hero p {
        font-size: 1rem;
    }

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

    .gallery-cta .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .modal-content {
        width: 95%;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-hero {
        padding-top: 100px;
    }

    .gallery-hero h1 {
        font-size: 2rem;
    }

    .gallery-section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    .gallery-image,
    .gallery-video {
        height: 250px;
    }
}
