/* =========================================
   VARIABILE & RESETĂRI GENERALE
========================================= */
:root {
    /* Paleta Cromatică */
    --bg-cream: #F8F5EE;
    --green-forest: #4B6A54;
    --gold-subtle: #C8A96B;
    --text-dark: #2C3531;
    --text-light: #5A665F;
    --white: #FFFFFF;
    
    /* Fonturi Premium Google */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   UTLITĂȚI & LAYOUT BAZĂ
========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light { background-color: var(--white); }
.bg-dark { background-color: var(--green-forest); }
.color-light { color: var(--bg-cream); }
.mt-2 { margin-top: 2rem; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* =========================================
   TIPOGRAFIE
========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--green-forest);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -2rem auto 3rem auto;
    color: var(--text-light);
}

/* =========================================
   BUTOANE & MICRO-INTERACȚIUNI
========================================= */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--green-forest);
    color: var(--white);
    border: 1px solid var(--green-forest);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--green-forest);
}

.btn-secondary {
    background-color: transparent;
    color: var(--green-forest);
    border: 1px solid var(--gold-subtle);
}

.btn-secondary:hover {
    background-color: var(--gold-subtle);
    color: var(--white);
    border-color: var(--gold-subtle);
}

/* =========================================
   NAVIGARE (HEADER)
========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(248, 245, 238, 0.95);
    backdrop-filter: blur(10px); /* Efect de glassmorphism elegant */
    z-index: 1000;
    border-bottom: 1px solid rgba(75, 106, 84, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--green-forest);
    font-weight: 600;
}

.logo-slogan {
    font-size: 0.75rem;
    color: var(--gold-subtle);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold-subtle);
}

/* Stilizare pentru pagina curentă în meniu */
.nav-links a.active-nav {
    color: var(--gold-subtle);
    font-weight: 600;
}

.nav-links a.active-nav::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gold-subtle);
    margin-top: 4px;
    position: absolute;
    bottom: -6px;
    left: 0;
    transition: width 0.3s ease;
}

.lang-switch button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--text-light);
    transition: color 0.3s ease;
}

.lang-switch button:hover {
    color: var(--gold-subtle);
}

.lang-switch button.active {
    color: var(--green-forest);
    font-weight: 600;
}

/* =========================================
   HERO SECTION (Acasă)
========================================= */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background-color: #E2DDD3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* =========================================
   SECȚIUNEA DESPRE MINE
========================================= */
.about {
    padding: 100px 0;
}

.about-container {
    max-width: 800px;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-text .highlight {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold-subtle);
    margin-top: 3rem;
    font-style: italic;
}

/* =========================================
   CARDURI (Servicii, Cursuri, Testimoniale)
========================================= */
.services, .courses, .diplomas, .testimonials {
    padding: 100px 0;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-top: 3px solid var(--gold-subtle);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    flex-grow: 1; /* Împinge butonul la baza cardului */
}

/* Badge pentru "În curând" */
.card.disabled {
    opacity: 0.7;
    position: relative;
    pointer-events: none; /* Previne click-urile */
}

.card.disabled:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-top: 3px solid transparent;
}

.status-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gold-subtle);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Carduri Testimoniale Specifice */
.quote {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--green-forest);
    margin-bottom: 1.5rem;
}

.author {
    color: var(--gold-subtle);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: right;
}

/* =========================================
   DIPLOME
========================================= */
.diploma-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.diploma-img-placeholder {
    width: 100%;
    height: 220px;
    background-color: #E2DDD3;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.diploma-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.diploma-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* =========================================
   CONTACT
========================================= */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    color: var(--white);
    align-items: center;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background-color: #3A5241;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
}

/* =========================================
   PAGINI LEGALE
========================================= */
.legal-content h1 {
    font-size: 2rem;
}
.legal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* =========================================
   FOOTER
========================================= */
footer {
    background-color: #1A261D;
    color: #A0AAB2;
    padding: 4rem 0 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-links a, .social-icons a {
    color: #A0AAB2;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover, .social-icons a:hover {
    color: var(--gold-subtle);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE DESIGN (Media Queries)
========================================= */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .hero-content, .contact-wrapper {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navbar adaptare pentru mobil */
    .nav-links {
        display: none; /* Sugestie: Aici se poate implementa un meniu Hamburger via JS */
    }
    
    /* Layout trecere la 1 coloană */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: -2rem;
    }
    
    .hero-image {
        order: -1; /* Pune imaginea deasupra textului pe mobil */
    }
    
    .profile-img {
    width: 100%;
    max-width: 180px; /* Dimensiune redusă pentru un aspect minimalist */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06); /* Umbră ajustată proporțional */
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.profile-img:hover {
    transform: translateY(-5px);
}
   
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .btn-primary, .btn-secondary {
        width: 100%; /* Butoane full-width pe ecrane mici */
    }
}

/* =========================================
   CARDURI SERVICII COMPLETE
========================================= */
.service-card {
    padding: 0;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--gold-subtle);
}

.service-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-subtitle {
    font-size: 0.85rem;
    color: var(--gold-subtle);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
}

.benefits-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li::before {
    content: "✓";
    color: var(--green-forest);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-meta {
    background-color: var(--bg-cream);
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* =========================================
   MENIU MOBIL (Hamburger Icon)
========================================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--green-forest);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none; /* Ascuns implicit pe mobil */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 1rem 0;
        text-align: center;
    }

    .nav-links.active-menu {
        display: flex;
    }

    .nav-links a {
        margin: 1rem 0;
    }
    
    .lang-switch {
        display: none; /* Poate fi mutat în meniul dropdown dacă dorești */
    }
}

/* =========================================
   MODAL PENTRU IMAGINI (Lightbox)
========================================= */
.diploma-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.diploma-img:hover {
    transform: scale(1.03); /* Efect de mărire subtilă la trecerea cu mouse-ul */
}

.modal {
    display: none; /* Ascuns implicit */
    position: fixed;
    z-index: 2000; /* Asigură-te că apare peste meniul de navigare */
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Fundal negru cu opacitate 85% */
    backdrop-filter: blur(5px); /* Efect de blur elegant în spate */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh; /* Se adaptează mereu la înălțimea ecranului */
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: color 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--gold-subtle);
    text-decoration: none;
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
    .close-modal {
        top: 15px;
        right: 25px;
    }
}

/* =========================================
   PAGINA CONTACT (Detalii și Iconițe)
========================================= */
.contact-link {
    color: var(--gold-subtle);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--white);
}

.social-links-contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-links-contact a {
    color: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links-contact a:hover {
    color: var(--gold-subtle);
    transform: translateY(-3px); /* Se ridică puțin când pui mouse-ul */
}

/* =========================================
   TESTIMONIALE - DESIGN PREMIUM
========================================= */
.testimonial-card {
    position: relative;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-bottom: 4px solid var(--gold-subtle); /* Accent vizual elegant la bază */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Semnul de citat de pe fundal */
.testimonial-card::before {
    content: "“";
    font-family: var(--font-heading);
    font-size: 10rem;
    color: rgba(200, 169, 107, 0.08); /* Auriu extrem de discret */
    position: absolute;
    top: -30px;
    left: 20px;
    z-index: -1;
    line-height: 1;
}

.testimonial-content-wrapper {
    flex-grow: 1;
}

.rating-stars {
    color: var(--gold-subtle);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Secțiunea de Autor */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(75, 106, 84, 0.1); /* Linie subtilă despărțitoare */
    padding-top: 1.5rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-forest);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.author-info h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--green-forest);
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}