/* Project Hero Section */
.project-hero {
    display: flex;
    padding: 4rem 5%;
    background-color: var(--secondary-color);
    border-radius: 20px;
    margin: 2rem;
    gap: 4rem;
    align-items: center;
}

.project-hero-content {
    flex: 1;
}

.project-title {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.project-subtitle {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.2s;
}

.project-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.4s;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-color);
    margin-top: 0.5rem;
}

.project-hero-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInRight 0.8s forwards;
    animation-delay: 0.6s;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Details Section */
.project-details {
    padding: 4rem 5%;
    background-color: var(--secondary-color);
    border-radius: 20px;
    margin: 2rem;
}

.details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detail-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Project Gallery Section */
.project-gallery {
    padding: 4rem 5%;
    background-color: var(--secondary-color);
    border-radius: 20px;
    margin: 2rem;
}

.project-gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 47, 63, 0.95) 0%,
        rgba(0, 47, 63, 0.8) 50%,
        rgba(0, 47, 63, 0) 100%
    );
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-hero {
        flex-direction: column;
        padding: 2rem 5%;
        margin-top: 80px;
    }

    .project-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }

    /* Ensure navbar is consistent with other pages */
    .navbar {
        padding: 1rem 5%;
        background: #000000;
    }
    
    /* Hamburger Styling for consistency */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background-color: white;
        transition: all 0.3s ease-in-out;
    }

    /* Mobile Navigation - Using right side slide out for consistency with styles.css */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #000000;
        padding-top: 80px;
        transition: 0.3s ease-in-out;
        z-index: 1000;
        flex-direction: column;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .dropdown {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .nav-links .dropdown a {
        display: block;
        padding: 15px 25px;
        width: 100%;
        color: white;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #111111;
        width: 100%;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
} 