@import url('common.css');

/* Gallery Title Section */
.gallery-title {
    padding: 5rem 0 3rem;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 100%);
    padding-top: 120px;
}

/* Gallery Grid Section */
.gallery-grid-section {
    padding: 3rem 0 5rem;
    background: linear-gradient(180deg, #1a1f3a 0%, #0a0e27 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.3);
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Gallery Captions Section */
.gallery-captions {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 100%);
}

.captions-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.captions-content p {
    margin-bottom: 1.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--text-light);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--aurora-turquoise);
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    margin: auto;
    display: block;
}

.modal-caption {
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    max-width: 800px;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Gallery Stories Section */
.gallery-stories {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 100%);
}

.stories-content {
    max-width: 1000px;
    margin: 0 auto;
}

.story-block {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.story-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.2);
}

.story-block h3 {
    font-size: 1.5rem;
    color: var(--aurora-turquoise);
    margin-bottom: 1rem;
}

.story-block p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.story-block p:last-child {
    margin-bottom: 0;
}

/* Photography Tips Section */
.photography-tips {
    padding: 5rem 0;
    background: linear-gradient(180deg, #1a1f3a 0%, #0a0e27 100%);
}

.photography-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.photography-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.photography-content h3 {
    font-size: 1.5rem;
    color: var(--aurora-turquoise);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.photography-content h3:first-of-type {
    margin-top: 0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-image {
        height: 300px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 2rem;
    }

    .story-block {
        padding: 1.5rem;
    }

    .photography-content {
        font-size: 1rem;
    }

    .photography-content h3 {
        font-size: 1.3rem;
    }
}

