/* css/meus_servicos.css */

.service-details-page {
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-title {
    text-align: center;
    margin-bottom: 20px;
	display: flex;
	justify-content: space-around;
    flex-direction: row-reverse;
}

.page-title h1 {
    font-size: 2.8rem;
    margin: 0 0 10px;
    color: var(--cor-primaria);
}

.back-to-home {
    text-decoration: none;
    color: var(--cor-texto);
    font-weight: 500;
	 background-color: var(--cor-primaria);
    padding: 6px 12px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.2s ease;
	    height: 26px;
}

.back-to-home:hover {
    color: var(--cor-primaria);
}

/* SEÇÃO DE DESCRIÇÃO PRINCIPAL */
.service-main-description {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Imagem ocupa 1/3, texto 2/3 */
    gap: 25px;
    align-items: center;
    margin-bottom: 40px;
    padding: 25px;
}

.description-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 6px;
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.card {
    background: var(--cor-surface);
    border: 1px solid var(--cor-borda);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--sombra-card);
}

/* Seção do Vídeo */
.video-section {
    padding: 15px;
}

.plyr__video-embed {
    border-radius: 6px;
    overflow: hidden;
}

.video-description {
    margin-top: 20px;
    padding: 0 10px;
    line-height: 1.6;
}

/* Seção de Informações */
.info-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--cor-borda);
    padding-bottom: 10px;
}

.info-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.info-section li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.info-section li i {
    color: var(--cor-primaria);
    font-size: 1.2rem;
    margin-top: 4px;
}

.info-section .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.other-details {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--cor-borda);
}

.other-details h4 {
    margin: 0 0 10px;
}

.other-details p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Seção da Galeria */
.gallery-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

/* Responsividade */
@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr; /* Empilha as colunas */
    }
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2.2rem;
    }
    .service-main-description {
        grid-template-columns: 1fr; /* Empilha imagem e texto */
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
