/* Stiluri pentru pagina de Repatrieri */

/* Hero section */
.repatriere-hero {
    position: relative;
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18, 31, 61, 0.9), rgba(18, 31, 61, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.repatriere-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('/res/img/wave-light.svg') no-repeat;
    background-size: cover;
    z-index: 2;
}

/* Intro section */
.repatriere-intro {
    background-color: var(--light);
    padding: 50px 0;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* ==========================================
   Stiluri pentru pagina de repatrieri (repatrieri.css)
   ========================================== */

/* Variabile */
:root {
    --primary-dark: #121f3d;
    --secondary: #c8a456;
    --secondary-hover: #b38a4a;
    --light: #f8f9fb;
    --gray-600: #555;
}

/* Header pentru pagini interne */
.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: 160px 0 120px;
    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: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
    margin-top: 5px;
}

.services-hero h1:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 60px;
    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.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.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: 60px 0 80px;
    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: 0 auto;
}

/* Custom Services Grid (ca în exemplul de la servicii) */
.custom-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 20px; /* gap mai mare între carduri */
    margin: 0 auto;
    max-width: 960px; /* limitează lățimea totală pentru a păstra cardurile compacte */
}

/* Card nou pentru țară */
.country-card-new {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.country-header {
    display: flex;
    align-items: center;
    padding: 20px 20px 10px;
    gap: 15px;
}

.country-flag {
    width: 50px;
    min-width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.country-card-new h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #13213d;
    margin: 0;
}

.country-card-new p {
    padding: 0 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
    flex-grow: 1;
    margin: 10px 0 15px;
    text-align: justify;
}

.country-action {
    display: flex;
    justify-content: center;
    padding: 0 20px 20px;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #1e50e2;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 70%;
}

.read-more-btn:hover {
    background-color: #1745c6;
}

/* 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 4px 10px rgba(200, 164, 86, 0.2);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 6px 15px rgba(200, 164, 86, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-dark);
}

/* Paginare */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: white;
    color: var(--gray-700);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-link:hover {
    background-color: var(--secondary);
    color: white;
}

.page-link.active {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 2px 8px rgba(200, 164, 86, 0.3);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .custom-services-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .custom-services-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
    
    .contact-banner-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .services-hero {
        padding: 130px 0 100px;
    }
    
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-hero p {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .custom-services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-banner {
        padding: 60px 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%;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: white;
    color: var(--gray-700);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-link:hover {
    background-color: var(--secondary);
    color: white;
}

.page-link.active {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 2px 8px rgba(200, 164, 86, 0.3);
}

/* CTA Section */
.repatriere-cta {
    background: linear-gradient(to right, rgba(18, 31, 61, 0.9), rgba(18, 31, 61, 0.8)), url('/res/img/background-cta.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn i {
    margin-right: 10px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(200, 164, 86, 0.25);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(200, 164, 86, 0.3);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .repatriere-hero h1 {
        font-size: 2.5rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .repatriere-hero {
        padding: 120px 0 80px;
    }
    
    .repatriere-hero h1 {
        font-size: 2rem;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .countries-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}