/* Project Page Styles */
.project-page {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    overflow-x: hidden;
}

.project-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.project-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(270deg, #31CB00 0%, #F9F6EE 82%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.project-header .description {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Gallery Styles */
.gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image-container:hover {
    transform: scale(1.02);
}

.main-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(49, 203, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 16/9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(49, 203, 0, 0.4);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.thumbnail.active {
    border: 3px solid #31CB00;
    box-shadow: 0 0 20px rgba(49, 203, 0, 0.6);
}

/* Overlay/Lightbox */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay.active {
    display: flex;
    opacity: 1;
}

.overlay-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.overlay-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    pointer-events: auto;
}

.overlay-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.overlay-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.overlay-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.overlay-nav:hover {
    background: rgba(49, 203, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.overlay-nav.prev {
    left: 30px;
}

.overlay-nav.next {
    right: 30px;
}

/* Back Button */
.back-button {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: #F9F6EE;
    border: 2px solid rgba(49, 203, 0, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.back-button::after {
    content: none !important;
}

.back-button:hover {
    background: rgba(49, 203, 0, 0.2);
    border-color: #31CB00;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 203, 0, 0.3);
}

.back-button i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .project-header h1 {
        font-size: 2rem;
    }

    .project-header .description {
        font-size: 1rem;
    }

    .thumbnail-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-nav.prev {
        left: 10px;
    }

    .gallery-nav.next {
        right: 10px;
    }

    .overlay-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .overlay-nav.prev {
        left: 10px;
    }

    .overlay-nav.next {
        right: 10px;
    }

    .back-button {
        top: 15px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .project-page {
        padding-top: 80px;
    }

    .privacy-policy-content h2 {
        font-size: 1.5rem;
    }
}

/* Privacy Policy Content Styling */
.privacy-policy-content {
    color: #a0a0a0;
    line-height: 1.8;
}

.privacy-policy-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #31CB00 0%, #25a000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.privacy-policy-content p {
    margin-bottom: 20px;
    color: #a0a0a0;
}

.privacy-policy-content ul {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 20px;
    color: #a0a0a0;
}

.privacy-policy-content li {
    margin-bottom: 10px;
}

.privacy-policy-content a {
    color: #31CB00;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-policy-content a:hover {
    color: #25a000;
}

.privacy-policy-content strong {
    color: #fff;
}
