/* Project Page Specific Styles */

/* Project Hero Section */
.project-hero {
    /*background: linear-gradient(rgba(255, 254, 254, 0.3), rgba(0, 0, 0, 0.308));
    background-size: cover;*/
    background-position: bottom;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 6rem 2rem 4rem 2rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.project-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    height: fit-content;
    min-height: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-title {
    font-size: 3rem;
    font-weight: bold;
    color: #fefefe;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: sticky;
    top: 60px;
    z-index: 10;
    margin: 0;
    padding-bottom: 0.5rem;
}

.project-subtitle {
    font-size: 1.5rem;
    color: #666;
    max-width: 800px;
    margin: 2rem auto 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(20px) saturate(180%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Project Details Section */
.project-details {
    background: #ffffff;
    padding: 5rem 2rem;
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Project Left Column - Meta Information */
.project-left {
    display: flex;
    flex-direction: column;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.meta-item {
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.meta-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 0.5rem;
}

.meta-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

/* Project Right Column - Description */
.project-right {
    display: flex;
    flex-direction: column;
}

.project-description h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-description h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 2rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.project-description p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-description ul {
    margin: 1rem 0 2rem 0;
    padding-left: 2rem;
}

.project-description li {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Project Images Section */
.project-images {
    background: white;
    padding: 5rem 2rem;
    text-align: center;
}

.project-images-container {
    max-width: 1200px;
    margin: 0 auto;
}

.project-images .section-header {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    color: #333;
}

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

.image-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.image-card:hover {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.image-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.modal-placeholder {
    width: 80vw;
    height: 70vh;
    max-width: 1000px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 8px;
}

.modal-placeholder-text {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 3rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.modal-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    user-select: none;
    transition: background-color 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next {
    right: 20px;
}

.prev {
    left: 20px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-hero {
        padding: 4rem 1rem 3rem 1rem;
    }
    
    .project-title {
        font-size: 2.5rem;
        top: 80px;
        padding-top: 1rem;
    }
    
    .project-subtitle {
        font-size: 1.2rem;
        padding: 0.75rem 1.25rem;
    }
    
    .project-details {
        padding: 3rem 1rem;
    }
    
    .project-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-images {
        padding: 3rem 1rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .image-card {
        height: 250px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-placeholder {
        width: 90vw;
        height: 60vh;
    }

    .prev, .next {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .close {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}