/* =========================================
   === RESETĂRI ȘI SETĂRI DE BAZĂ === 
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Container principal */
.container {
    width: 85%;
    max-width: 1300px;
    margin: auto;
}

/* =========================================
   === HEADER, LOGO & NAVIGAȚIE (PC) === 
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;

    /* Magia pentru Sticky */
    position: sticky;
    top: 0;
    z-index: 1000;

    /* Efect modern de sticlă (blur pe fundal când dai scroll) */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

/* Stilizare Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* --- Stilizare Logo Imagine --- */
.logo-img {
    height: 50px; /* Poți mări sau micșora această valoare (ex: 60px, 40px) */
    width: auto;
    display: block;
}

.logo-img-footer {
    height: 60px; /* Dimensiunea pentru logo-ul din footer */
    width: auto;
    display: block;
    margin-bottom: 15px;
}

/* Meniu Navigație (PC) */
nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: #444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 5px;
    transition: color 0.3s;
}

nav a.active {
    border-bottom: 3px solid #555;
    color: #333;
}

nav a:hover {
    color: #d32f2f;
}

/* === BUTON HAMBURGER (Ascuns pe PC) === */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

/* === MENIU DROPDOWN (PC) === */
.dropdown {
    position: relative;
    display: inline-block;
    margin-bottom: 7px;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #ffffff;
    min-width: 230px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    top: 130%;
    left: 0;
    border-radius: 6px;
    border-top: 3px solid #d32f2f;
    transition: all 0.3s cubic-bezier(0.4, 0.2, 0.2, 1);
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    top: 100%;
}

.dropdown-content a {
    color: #444;
    padding: 12px 25px;
    text-decoration: none;
    display: block;
    margin-left: 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.dropdown-content a:last-child { border-bottom: none; }

.dropdown-content a:hover {
    background-color: #fcfcfc;
    color: #d32f2f;
    padding-left: 30px;
}

/* =========================================
   === SECȚIUNI GENERALE (Index) === 
   ========================================= */

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background: #222;
    overflow: hidden;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    pointer-events: none;
}

.arrow {
    font-size: 70px;
    color: white;
    font-weight: 100;
    cursor: pointer;
    pointer-events: auto;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.arrow:hover { transform: scale(1.1); }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 25px;
    height: 8px;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dot.active { background: #d32f2f; }

/* --- BINE AȚI VENIT --- */
.welcome-section {
    text-align: center;
    padding: 70px 0 50px 0;
}

.welcome-section h1 {
    font-size: 32px;
    color: #444;
    font-weight: 700;
}

.red-line {
    width: 60px;
    height: 3px;
    background-color: #d32f2f;
    margin: 20px auto 0 auto;
}

/* --- CARDURI INFO --- */
.info-cards-section {
    background: linear-gradient(to bottom, #ffffff 130px, #f4f4f4 130px);
    padding-bottom: 80px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background-color: #ffffff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.info-card:hover .card-img img { transform: scale(1.05); }

.card-text {
    padding: 30px 20px;
    text-align: center;
}

.card-text h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.highlight { color: #d32f2f; }

.info-card:hover .card-text h3 {
    color: #d32f2f;
}

.card-text p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* --- ȘTIRI INDEX --- */
.news-section {
    background-color: #f4f4f4;
    padding: 20px 0 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: #444;
    text-transform: uppercase;
}

.news-grid-dynamic {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.news-card {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.news-card:hover { transform: translateY(-5px); }

.news-img {
    width: 100%;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img { transform: scale(1.05); }

.featured-card { grid-row: span 2; }
.featured-card .news-img { height: 350px; }
.small-card { display: flex; flex-direction: column; height: 100%; }
.small-card .news-img { height: 200px; }

.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-content h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-list {
    list-style: none;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.news-list li { margin-bottom: 5px; }

.read-more {
    margin-top: auto;
    font-weight: bold;
    color: #222;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.read-more:hover { color: #d32f2f; }

/* --- POP-UP (MODAL) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000; /* Peste tot */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

body.no-scroll { overflow: hidden; }

.modal-content {
    background-color: #fff;
    padding: 30px 40px 20px 40px;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal.show .modal-content { transform: translateY(0); }

#modalBody {
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 10px;
}

#modalBody::-webkit-scrollbar { width: 8px; }
#modalBody::-webkit-scrollbar-track { background: #f4f4f4; border-radius: 4px; }
#modalBody::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
#modalBody::-webkit-scrollbar-thumb:hover { background: #d32f2f; }

.close-btn {
    position: absolute;
    top: 0px;
    right: 15px;
    color: #999;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover { color: #d32f2f; }

#modalTitle {
    margin-bottom: 20px;
    color: #222;
    font-size: 28px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

#modalBody p {
    margin-bottom: 15px;
    color: #444;
    line-height: 1.6;
    font-size: 15px;
}

#modalBody h4 {
    color: #d32f2f;
    margin: 25px 0 10px 0;
    font-size: 18px;
}

/* --- DE CE ECOSTONE (FLIP CARDS) --- */
.why-section {
    background-color: #f4f4f4;
    padding: 80px 0 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.flip-card {
    background-color: transparent !important;
    height: 160px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front,
.flip-card-back {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #fff !important;
    border-radius: 4px;
    padding: 20px !important;
    box-sizing: border-box;
}

.flip-card-front .icon {
    font-size: 35px;
    margin-bottom: 10px;
}

.flip-card-front h3 {
    font-size: 18px;
    color: #222;
    font-weight: bold;
    text-align: center;
}

.flip-card-back {
    transform: rotateY(180deg);
    border-bottom: 4px solid #d32f2f;
}

.flip-card-back p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* --- STATISTICI --- */
.stats-section {
    background-color: #2c2c2c;
    padding: 70px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 55px;
    font-weight: 800;
    color: #4caf50;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-text {
    font-size: 15px;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- RECENZII --- */
.reviews-section {
    background-color: #fcfcfc;
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.review-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 35px 30px 25px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-content {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.review-content h3 {
    font-size: 17px;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.review-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.review-author {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: auto;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    font-size: 15px;
    color: #222;
    margin: 0 0 3px 0;
}

.author-info span {
    font-size: 12px;
    color: #888;
}

/* --- CONTACT BAZĂ --- */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.section-header.left-align { text-align: left; }
.section-header.left-align .red-line { margin: 15px 0 30px 0; }

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background-color: #d32f2f;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.info-text h4 {
    font-size: 16px;
    color: #222;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.info-text a {
    color: #d32f2f;
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: #b71c1c;
    text-decoration: underline;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    font-family: inherit;
    transition: all 0.3s ease;
}

.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: #d32f2f;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(211, 47, 47, 0.1);
}

.modern-form textarea { resize: vertical; }

.captcha-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.captcha-box {
    background: #f1f1f1;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    border: 1px dashed #ccc;
}

.captcha-code {
    font-size: 22px;
    font-weight: bold;
    color: #555;
    letter-spacing: 2px;
    font-family: 'Courier New', Courier, monospace;
    display: block;
}

.submit-btn {
    align-self: flex-start;
    background-color: #d32f2f;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

/* --- FOOTER --- */
.footer-premium-v2 {
    background-color: #161616;
    color: #909090;
    padding-top: 70px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-premium-v2 * { box-sizing: border-box; }

.footer-v2-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.v2-logo {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
    display: inline-block;
}

.v2-logo .eco { color: #4caf50; }
.v2-logo .stone { color: #ffffff; }

.v2-logo-sub {
    color: #666;
    font-size: 8px;
    letter-spacing: 2px;
    border-top: 1px solid #333;
    padding-top: 4px;
    margin-top: 4px;
    text-align: center !important;
}

.v2-desc { color: #888; max-width: 90%; }

.v2-heading {
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.v2-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #d32f2f;
}

.v2-links, .v2-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v2-links li { margin-bottom: 12px; }

.v2-links a {
    color: #909090;
    text-decoration: none;
    transition: all 0.2s ease;
}

.v2-links a:hover {
    color: #d32f2f;
    padding-left: 5px;
}

.v2-contact-list li {
    margin-bottom: 15px;
    color: #909090;
}

.v2-label {
    display: block;
    color: #ffffff;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.v2-contact-list a {
    color: #909090;
    text-decoration: none;
    transition: color 0.2s;
}

.v2-contact-list a:hover { color: #d32f2f; }

.v2-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.v2-social-icons a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 36px;
    height: 36px;
    background-color: #222;
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.v2-social-icons a svg { width: 18px; height: 18px; }

.v2-social-icons a:hover {
    background-color: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.footer-v2-bottom {
    background-color: transparent;
    padding: 15px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #666;
}

.v2-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.v2-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v2-legal a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
}

.v2-legal a:hover { color: #ffffff; }
.v2-dot { color: #444; font-size: 10px; }


/* =========================================
   === PAGINA: AVANTAJE === 
   ========================================= */
.adv-section { padding: 80px 0; }
.adv-bg-light { background-color: #f7f7f7; }
.adv-bg-white { background-color: #ffffff; }

.adv-header {
    text-align: center;
    margin-bottom: 50px;
}

.adv-header h2 {
    font-size: 32px;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 800;
}

.adv-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.adv-checklist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.adv-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #444;
    font-size: 15px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.adv-check-item:hover {
    border-left-color: #d32f2f;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.adv-check-icon {
    color: #d32f2f;
    font-weight: bold;
    margin-top: 1px;
}

.adv-top-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.adv-top-list span { color: #444; font-weight: 600; }
.adv-top-list span i { color: #d32f2f; margin-right: 8px; font-style: normal; }

.adv-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.adv-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border-top: 4px solid #d32f2f;
    transition: transform 0.3s;
}

.adv-card:hover { transform: translateY(-5px); }

.adv-card h4 {
    font-size: 20px;
    color: #222;
    margin-bottom: 15px;
}

.adv-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.adv-section-content {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.adv-subtitle {
    text-align: center;
    color: #222;
    margin-bottom: 40px;
    font-size: 22px;
    font-weight: 700;
}

.adv-red-title {
    color: #d32f2f;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 25px;
}

.adv-text-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.adv-text-list li {
    margin-bottom: 12px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.adv-text-list li::before {
    content: '❯';
    color: #d32f2f;
    font-weight: bold;
}

.adv-highlight-box {
    background: #fdf2f2;
    padding: 20px 25px;
    border-radius: 6px;
    color: #d32f2f;
    font-weight: 600;
    margin: 25px 0;
    border: 1px dashed #f0caca;
}

/* =========================================
   === PAGINA: ȘTIRI & BLOG === 
   ========================================= */
.articles-section { padding: 80px 0; }
.bg-light-gray { background-color: #f9f9f9; }
.bg-white { background-color: #ffffff; }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.article-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 3px solid #d32f2f;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-img img { transform: scale(1.05); }

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-content h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-read-link {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}

.article-read-link:hover { color: #d32f2f; }

.downloads-list {
    max-width: 700px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 18px 25px;
    border: 1px solid #eee;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.download-item:hover {
    background: #fafafa;
    border-left-color: #d32f2f;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    color: #d32f2f;
    transform: translateX(5px);
}

.download-icon {
    color: #888;
    font-size: 18px;
    transition: color 0.3s;
}

.download-item:hover .download-icon { color: #d32f2f; }


/* =========================================
   === PAGINA: REFERINȚE (GALERIE) === 
   ========================================= */
.gallery-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    aspect-ratio: 4 / 3;
    background-color: #eee;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
    cursor: zoom-in;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item img.is-zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 90vw;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    z-index: 9999;
    cursor: zoom-out;
    border-radius: 4px;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.85);
}


/* =========================================
   === PAGINA: CONTACT (LAYOUT SPECIFIC) === 
   ========================================= */
.contact-grid-layout {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.contact-form-stretch {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form-stretch textarea#message {
    flex-grow: 1;
    min-height: 150px;
    margin-bottom: 20px;
    resize: none;
}

.contact-form-stretch .captcha-row,
.contact-form-stretch .submit-btn {
    flex-shrink: 0;
}


/* =========================================
   === 📱 RESPONSIVITATE (TABLETE & MOBILE) === 
   ========================================= */

/* --- TABLETE (Ecrane sub 1024px) --- */
@media (max-width: 1024px) {
    .cards-grid,
    .why-grid,
    .reviews-grid,
    .adv-checklist,
    .articles-grid,
    .gallery-grid,
    .footer-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid-dynamic {
        grid-template-columns: 1fr;
    }

    .featured-card {
        grid-row: auto;
    }
}

/* --- TELEFOANE MOBILE (Ecrane sub 768px) --- */
@media (max-width: 768px) {
    
    /* Marginile containerului devin mai mici */
    .container { width: 92%; }

    /* --- Adaptare Navigație și Hamburger --- */
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav {
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
    }

    /* Meniul glisant din stânga */
    nav {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        background-color: #ffffff;
        width: 100%;
        height: calc(100vh - 73px);
        text-align: center;
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding-top: 30px;
        z-index: 1001;
        overflow-y: auto;
    }

    nav.active { left: 0; }

    /* Link-urile principale din meniu */
    nav > a, .dropdown > a {
        display: inline-block;
        font-size: 18px !important;
        padding: 12px 0 5px 0;
        margin: 0;
    }

    /* --- REPARARE DROPDOWN PENTRU MOBIL (TOUCH) --- */
    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-content {
        position: static !important; 
        display: none !important; /* Ascuns complet pt a nu lăsa spațiu alb */
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        width: 100%;
        background-color: #f9f9f9 !important;
        box-shadow: none !important;
        border: none !important;
        margin-top: 5px;
        padding: 10px 0 !important;
    }

    /* Când primește clasa "active-dropdown" din JS, îl afișăm */
    .dropdown.active-dropdown .dropdown-content {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    
    .dropdown.active-dropdown > a {
        color: #d32f2f !important;
    }

    .dropdown-content a {
        font-size: 15px !important;
        color: #555 !important;
        padding: 12px 20px !important;
        margin: 0;
        width: 80%;
        border-bottom: 1px solid #eaeaea;
    }
    
    .dropdown-content a:last-child {
        border-bottom: none;
    }

    /* --- Alte adaptări pt mobil (Slider, Grile, Formular) --- */
    .hero-slider { height: 50vh; min-height: 350px; }
    .slider-overlay-text h1 { font-size: 24px !important; }
    .welcome-section h1, .section-header h2, .adv-header h2 { font-size: 24px; }
    .slider-arrows { padding: 0 15px; }
    .arrow { font-size: 40px; }
    
    /* Grilele trec pe o singură coloană */
    .cards-grid, .news-grid-dynamic, .why-grid, .reviews-grid, .adv-checklist, 
    .adv-grid-2, .articles-grid, .gallery-grid, .footer-v2-grid, .stats-grid { 
        grid-template-columns: 1fr; 
        gap: 25px; 
    }
    
    .contact-wrapper, .contact-grid-layout { display: flex; flex-direction: column; gap: 40px; }
    .form-row, .captcha-row { grid-template-columns: 1fr; gap: 15px; }
    .contact-form-stretch textarea#message { height: 150px; flex-grow: 0; }
    
    .adv-text-block { padding: 30px 20px; }
    .modal-content { padding: 25px 20px 20px 20px; }
    #modalTitle { font-size: 22px; margin-top: 10px;}
}

/* --- TELEFOANE FOARTE MICI (Ecrane sub 480px) --- */
@media (max-width: 480px) {
    .stat-number { font-size: 45px; }
    .logo-top { font-size: 28px; }

    .v2-bottom-flex {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 10px;
    }

    .v2-legal {
        gap: 10px;
    }

    .v2-bottom-flex * { text-align: center; }
    .legal-links { justify-content: center; }
}


/* =========================================
   === DESIGN MODERN TEHNIC / DESPRE NOI === 
   ========================================= */

.modern-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.modern-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modern-hero-content {
    position: relative;
    z-index: 2;
}

.modern-hero h1 {
    color: #ffffff;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.modern-hero p {
    color: #f1f1f1;
    font-size: 20px;
    margin-bottom: 35px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.modern-btn-outline {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.modern-btn-outline:hover {
    background: #ffffff;
    color: #333333;
}

.modern-features-section {
    padding: 90px 0;
}

.modern-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.modern-section-header h2 {
    font-size: 34px;
    margin-bottom: 10px;
    font-weight: 800;
}

.modern-section-header p {
    font-size: 18px;
    color: #666;
}

.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.modern-feature-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border-bottom: 6px solid #d32f2f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.modern-icon {
    margin-bottom: 25px;
}

.modern-icon svg {
    width: 60px;
    height: 60px;
}

.modern-feature-card h4 {
    font-size: 19px;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.modern-feature-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.modern-split-section {
    padding: 90px 0;
}

/* Containerul pentru imagine si text (pe PC stau stanga-dreapta) */
.modern-split-container {
    display: flex;
    align-items: center; 
    gap: 60px; 
}

.modern-split-image img {
    width: 100%;
    object-fit: cover;
}

.modern-split-text h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.2;
}

.modern-split-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- Media Queries pentru Design Modern --- */
@media (max-width: 1024px) {
    .modern-features-grid { grid-template-columns: repeat(2, 1fr); }
    .modern-feature-card[style] { grid-column: span 1 !important; width: 100% !important; }
}

@media (max-width: 768px) {
    .modern-hero h1 { font-size: 32px; }
    .modern-features-grid { grid-template-columns: 1fr; }
    
    /* Layout split pe mobil - așezare pe verticală */
    .modern-split-container { 
        flex-direction: column !important; 
        gap: 30px !important; 
    }
    
    .modern-split-image {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .modern-split-image img {
        width: 100%;
        height: auto;
    }
    
    .modern-split-text {
        width: 100%;
        text-align: left; 
    }
}
/* =========================================
   === SELECTOR LIMBĂ ===
   ========================================= */

.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 5px;
    z-index: 1005;
}

.language-button {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;

    color: #444;
    padding: 0 0 5px 0;
    margin: 0;

    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.language-button:hover {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    color: #d32f2f;
}

.language-arrow {
    font-size: 9px;
    margin-left: 3px;
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 155px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-top: 3px solid #d32f2f;
    padding: 6px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

.language-dropdown:hover .language-menu,
.language-dropdown.open .language-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.language-option {
    width: 100%;
    display: block;
    border: none;
    background: transparent;
    text-align: left;
    padding: 10px 15px;
    color: #444;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: #f9f9f9;
    color: #d32f2f;
    padding-left: 20px;
}


/* =========================================
   === GOOGLE TRANSLATE ASCUNS COMPLET ===
   ========================================= */

#google_translate_element {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

body > .skiptranslate,
body > div.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

html body {
    top: 0 !important;
    margin-top: 0 !important;
}

.goog-tooltip {
    display: none !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}


/* =========================================
   === LIMBĂ PE MOBIL ===
   ========================================= */

@media (max-width: 768px) {

    .language-dropdown {
        width: 100%;
        margin: 5px 0 15px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .language-button {
        font-size: 17px;
        padding: 10px 18px;
    }

    .language-menu {
        position: static;
        width: 80%;
        margin-top: 5px;
        box-shadow: none;
        border-top: none;
        border-bottom: 1px solid #eee;
        transform: none;
    }

    .language-dropdown:hover .language-menu {
        visibility: hidden;
        opacity: 0;
    }

    .language-dropdown.open .language-menu {
        visibility: visible;
        opacity: 1;
    }

    .language-option {
        text-align: center;
        font-size: 15px;
        padding: 10px;
    }

    .language-option:hover {
        padding-left: 10px;
    }
}