/* Base Styles */
:root {
    --primary-color: #ffcc70;
    --text-color: #ffffff;
    --background-dark: #111111;
    --accent-color: #d4af37;
    --overlay-dark: rgba(0, 0, 0, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0 2rem;
}

/* Project Header */
.project-header {
    padding: 8rem 0 3rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.project-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.project-header .subtitle {
    font-size: 1.6rem;
    color: #e0e0e0;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* Project Info */
.project-info {
    padding: 2rem 0;
    margin-bottom: 4rem;
    text-align: center;
}

.info-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.info-item {
    text-align: center;
}

.info-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.info-item p {
    color: #e0e0e0;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Project Gallery */
.project-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery-item {
    margin-bottom: 2rem;
    position: relative;
    background: rgba(17, 17, 17, 0.98);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
    background: #0a0a0a;
    padding: 1rem;
    max-height: 500px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.full-width {
    grid-column: 1 / -1;
    position: relative;
    margin-bottom: 2rem;
}

.full-width img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    background: #0a0a0a;
    padding: 1rem;
}

/* Image Descriptions */
.image-description {
    padding: 1.5rem 2rem;
    background: rgba(17, 17, 17, 0.98);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.image-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.2px;
}

/* Text Section */
.text-section {
    max-width: 800px;
    margin: 2.5rem auto;
    padding: 1.5rem;
    background: rgba(17, 17, 17, 0.95);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-section p {
    color: #f5f5f5;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    font-weight: 300;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.contact-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 1px;
}

.contact-btn:hover {
    background-color: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .project-gallery {
        max-width: 1000px;
    }

    .gallery-item img {
        max-height: 450px;
        padding: 0.8rem;
    }
    
    .full-width img {
        max-height: 550px;
        padding: 0.8rem;
    }
}

@media screen and (max-width: 992px) {
    .project-gallery {
        max-width: 800px;
    }

    .gallery-item img {
        max-height: 400px;
        padding: 0.8rem;
    }
    
    .full-width img {
        max-height: 500px;
        padding: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .project-gallery {
        max-width: 600px;
    }

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

    .gallery-item img {
        max-height: 350px;
        padding: 0.6rem;
    }
    
    .full-width img {
        max-height: 400px;
        padding: 0.6rem;
    }
}

@media screen and (max-width: 576px) {
    .project-gallery {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .gallery-item img {
        max-height: 300px;
        padding: 0.5rem;
    }
    
    .full-width img {
        max-height: 350px;
        padding: 0.5rem;
    }

    .gallery-grid {
        gap: 1rem;
    }
}
