:root {
    --primary-dark: #121f3d;
    --secondary: #c8a456;
    --secondary-hover: #b38a4a;
    --light: #f8f9fb;
    --gray-600: #555;
    --gray-200: #f2f2f2;
    --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.header-inner-page {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.services-hero {
    position: relative;
    padding: 150px 0 110px;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.services-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
}

.services-hero h1:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.services-hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 25px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('/res/img/wave-light.svg') no-repeat;
    background-size: cover;
}

/* Servicii Section */
.services-section {
    padding: 30px 0 90px;
    background-color: var(--light);
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 1.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 15px auto 0;
}

/* Custom Services Grid - Layout îmbunătățit cu carduri mai mici */
.custom-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Gap redus */
    margin: 0 auto;
    max-width: 1100px; /* Lățime totală redusă */
    align-items: stretch;
}

/* Custom Service Card - Dimensiuni reduse */
.custom-service-card {
    background-color: #fff;
    border-radius: 10px; /* Rază de bordură redusă */
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.custom-service-card:hover {
    box-shadow: var(--card-hover-shadow);
}

/* Custom Service Image - Înălțime redusă */
.custom-service-image {
    position: relative;
    overflow: hidden;
    height: 160px; /* Înălțime redusă pentru imagini */
    border-bottom: 2px solid var(--secondary); /* Bordură mai subțire */
}

.custom-service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-service-card:hover .custom-service-image img {
    transform: scale(1.05);
}

/* Custom Service Content - Padding redus */
.custom-service-content {
    padding: 18px 16px; /* Padding redus */
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Titlul serviciului - Dimensiune redusă */
.custom-service-content h3 {
    font-size: 1.2rem; /* Font size redus */
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px; /* Margine redusă */
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.custom-service-content h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px; /* Lățime redusă */
    height: 2px;
    background-color: var(--secondary);
    border-radius: 1px;
}

/* Linia decorativă sub titlu */
.custom-service-content .service-divider {
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    margin: 0 auto 12px;
}

/* Paragraful de descriere - Text mai mic */
.custom-service-content p {
    font-size: 0.9rem; /* Font size redus */
    color: #4a4a4a;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buton de acțiune pentru fiecare card (opțional) */
.service-card-action {
    margin-top: 15px;
    text-align: center;
}

.btn-service {
    display: inline-block;
    background-color: var(--gray-200);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-service:hover {
    background-color: var(--secondary);
    color: white;
}

/* Contact Banner */
.contact-banner {
    padding: 70px 0;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
}

.contact-banner-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.contact-banner-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-banner-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn i {
    margin-right: 10px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary-dark);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .custom-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    
    .custom-service-image {
        height: 150px;
    }
}

@media (max-width: 991px) {
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .services-hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .custom-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 700px;
    }
    
    .contact-banner-content h2 {
        font-size: 1.7rem;
    }
    
    .custom-service-image {
        height: 150px;
    }
}

@media (max-width: 767px) {
    .services-hero {
        padding: 120px 0 90px;
    }
    
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-hero p {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .custom-services-grid {
        grid-template-columns: 1fr;
        max-width: 440px; /* Lățime redusă pentru mobile */
    }
    
    .custom-service-image {
        height: 180px;
    }
    
    .contact-banner {
        padding: 50px 0;
    }
    
    .contact-banner-content h2 {
        font-size: 1.6rem;
    }
    
    .contact-banner-content p {
        font-size: 1rem;
    }
    
    
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
}

/* Stilizări pentru a evidenția cardurile recomandate sau speciale (opțional) */
.custom-service-card.featured {
    border-top: 3px solid var(--secondary);
}

/* Stiluri pentru a îmbunătăți aspectul la hover, fără animații complexe */
.custom-service-card:hover .custom-service-content {
    background-color: #fcfcfc;
}