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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1.2s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1.2s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Realisations Hero Section */
.realisations-hero {
    padding: 150px 20px 40px;
    background-color: #fdfdfd;
    text-align: center;
}

.realisations-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.realisations-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1.5rem;
}

.realisations-hero-description {
    font-size: 1.25rem;
    color: #666666;
    line-height: 1.8;
}

/* Projects Section */
.projects-section {
    padding: 40px 20px 80px;
    background-color: #ffffff;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-info {
    padding: 25px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.75rem;
}

.project-description {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 20px;
    background-color: #fdfdfd;
}

.gallery-content {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 1rem;
}

.gallery-description {
    font-size: 1.1rem;
    color: #666666;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    cursor: pointer;
}

/* Gallery Modal/Lightbox */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 5px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.gallery-close:hover {
    transform: scale(1.2);
    color: #cccccc;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    padding: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
    user-select: none;
    line-height: 1;
}

.gallery-arrow:hover {
    transform: translateY(-50%) scale(1.2);
    color: #cccccc;
}

.gallery-arrow-left {
    left: 30px;
}

.gallery-arrow-right {
    right: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .realisations-hero {
        padding: 120px 20px 60px;
    }

    .realisations-hero-title {
        font-size: 2.5rem;
    }

    .realisations-hero-description {
        font-size: 1.1rem;
    }

    .projects-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .gallery-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
    }

    .gallery-item img {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .realisations-hero {
        padding: 100px 20px 0px;
    }

    .realisations-hero-title {
        font-size: 2rem;
    }

    .realisations-hero-description {
        font-size: 1rem;
    }

    .projects-section {
        padding: 60px 20px;
    }

    .project-image {
        height: 250px;
    }

    .project-info {
        padding: 20px;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.95rem;
    }

    .gallery-section {
        padding: 60px 20px;
    }

    .gallery-title {
        font-size: 1.75rem;
    }

    .gallery-description {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .gallery-item img {
        height: 300px;
    }

    .gallery-close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }

    .gallery-arrow {
        font-size: 40px;
        padding: 15px;
    }

    .gallery-arrow-left {
        left: 10px;
    }

    .gallery-arrow-right {
        right: 10px;
    }

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

