
.services-section {
    padding: 8rem 0;
    background-color: var(--bg-color);
    transition: background-color 0.4s ease;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.services-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}


.services-grid .service-card:nth-child(1) {
    grid-column: span 2;
}


.services-grid .service-card:nth-child(6) {
    grid-column: span 2;
}

.service-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.service-card:hover {
    border-color: var(--text-color);
}

.service-card-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}


.services-grid .service-card:nth-child(1) .service-card-img,
.services-grid .service-card:nth-child(6) .service-card-img {
    aspect-ratio: 21/9;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.service-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.service-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.service-card-body p {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.55;
    line-height: 1.6;
    flex: 1;
}

.service-card-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-color);
    opacity: 0.4;
    transition: opacity 0.2s ease;
    margin-top: 0.4rem;
}

.service-card-link .material-symbols-outlined {
    font-size: 14px !important;
}
.service-card:hover .service-card-link {
    opacity: 0.85;
}


.service-page {
    min-height: 100vh;
    padding-top: 70px;
}

.service-hero {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
}

.service-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 2.5rem 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-hero-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.service-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    max-width: 800px;
}


.service-content {
    padding: 5rem 0 8rem;
}

.service-content-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-desc {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.service-desc p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.9;
}


.service-highlights h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

.service-highlights ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-highlights li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.65;
}

.service-highlights li .material-symbols-outlined {
    font-size: 18px !important;
    opacity: 0.5;
    flex-shrink: 0;
}


.service-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 2rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
    width: 100%;
}

.service-contact-btn:hover {
    opacity: 0.85;
}

.service-contact-btn .material-symbols-outlined {
    font-size: 20px !important;
}


@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid .service-card:nth-child(1),
    .services-grid .service-card:nth-child(6) {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .services-section {
        padding: 4rem 0;
    }

    .services-container {
        padding: 0 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid .service-card:nth-child(1),
    .services-grid .service-card:nth-child(6) {
        grid-column: span 1;
    }

    .service-hero {
        height: 50vh;
    }

    .service-hero-overlay {
        padding: 2.5rem 1.5rem 2rem;
    }

    .service-content-container {
        padding: 0 1.2rem;
    }
}
