body {
    min-height: 100vh;
    background-color: #FAFAFA;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
}


.photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 4rem 2rem;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.section-title span {
    display: block;
    color: #0077b6;
    font-weight: 700;
}

.gallery {
    max-width: 1200px;
    columns: 3;
    column-gap: 1rem;
}

.gallery div {
    break-inside: avoid;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery div.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery video:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 992px) {
    .gallery {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .gallery {
        columns: 1;
    }
}


.btn-contact {
    display: inline-block;
    position: relative;
    padding: 12px 28px;
    background: #C2B280;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-start {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-start a {
    text-decoration: none;
    align-items: center;
    color: #fff;
}

.btn-work {
    display: block;
}

.btn-contact:hover {
    background-color: #d4c47c;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(194, 178, 128, 0.7);
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}

.btn-contact:hover::before {
    left: 100%;
}

.container-testimonials {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
    max-width: 1200px;
    background-color: #F5F5F5;
    padding: 40px 20px;
    gap: 40px;
    border-radius: 10px;
}

.testimonage {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonage img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
}


.temoinage {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F0EEE8;
    width: 100%;
    max-width: 480px;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.testimonial-form h2 {
    color: #1C1C1C;
    text-align: center;
    margin-bottom: 10px;
}

.testimonial-form p {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.testimonial-form .casillas {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.testimonial-form .casillas input,
.testimonial-form .casillas textarea {
    border-radius: 5px;
    border: none;
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    font-size: 1rem;
}

.testimonial-form .casillas textarea {
    height: 100px;
    resize: none;
}

@media (max-width: 992px) {
    .container-testimonials {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .testimonage,
    .temoinage {
        width: 100%;
    }

    .testimonage img {
        width: 70%;
        margin-bottom: 20px;
    }

    .testimonial-form {
        width: 80%;
    }
}

@media (max-width: 820px) {
    .section-title {
        text-align: center;
        font-size: 2.2rem;
        font-weight: 600;
        color: #1E1E1E;
        margin-bottom: 2rem;
        line-height: 1.3;
    }

    .section-title span {
        display: block;
        color: #0077b6;
        font-weight: 700;
    }

    .container-testimonials {
        margin: 30px 10px;
        padding: 15px;
    }

    .testimonage img {
        width: 90%;
    }

    .testimonial-form {
        width: 100%;
        padding: 20px;
    }

    .testimonial-form .casillas input,
    .testimonial-form .casillas textarea {
        width: 100%;
    }

    .rating>label {
        font-size: 25px;
    }

    .btn-contact {
        width: 100%;
    }
}