html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* TOP BAR */
.top-bar {
    background-color: #1f1f1f;
    color: #fff;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar i {
    margin-right: 6px;
}

/* HEADER */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo img {
    height: 45px;
}

/* NAV */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.nav-links a:hover {
    color: #2ecc71; /* verde din poză */
}

/* HAMBURGER */

.hamburger {
    position: relative;
    width: 32px;
    height: 32px;

    display: none;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.hamburger i {
    position: absolute;
    font-size: 22px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hamburger i.fa-xmark {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

.hamburger.active i.fa-bars {
    opacity: 0;
    transform: rotate(90deg);
}

.hamburger.active i.fa-xmark {
    opacity: 1;
    transform: rotate(0);
}

/* MOBILE MENU */
@media (max-width: 768px) {
     .hamburger {
        display: flex; /* 🔥 apare doar pe mobile */
    }
    
    .nav {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        width: 200px;
        padding: 15px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 2000;

        /* ANIMAȚIE */
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.25s ease;
    }

    .nav-links.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        padding: 10px 20px;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}
/* SECTIUNE SERVICII */
.services {
    display: flex;
    gap: 30px;
    padding: 40px 5vw;

    flex-grow: 1;
    align-items: center;
}

/* CARD GENERAL */
.service-card {
    flex: 1;
    height: 300px;
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

/* POZE */
.service-card.tractari {
    background-image: url("images/tractari_auto.jpeg");
}

.service-card.inchirieri {
    background-image: url("images/inchirieri_auto.jpeg");
}

/* OVERLAY */
.service-card .overlay {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* TEXT */
.service-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 14px;
    opacity: 0.9;
}

/* HOVER DESKTOP */
.service-card:hover {
    transform: scale(1.03);
}

/* RESPONSIVE – MOBILE */
@media (max-width: 768px) {
    .services {
        flex-direction: column;
    }

    .service-card {
        height: 220px;
    }

    .service-card h2 {
        font-size: 22px;
    }
}

/* FOOTER */
.footer {
    background-color: #1f1f1f;
    color: #ffffff;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    padding: 30px 15px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-box {
    flex: 1;
}

.footer-box h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #2ecc71;
}

.footer-box p,
.footer-box a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.footer-box i {
    margin-right: 8px;
    color: #2ecc71;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.map-link:hover,
.footer-box a:hover {
    text-decoration: underline;
}

/* COPYRIGHT */
.footer-bottom {
    background-color: #151515;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 0;
    line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-box {
        align-items: center;
    }
}
/* CALL NOW BUTTON - MOBILE */
.call-now {
    display: none; /* implicit ascuns */
}

/* Doar pe mobil */
@media (max-width: 768px) {
    .call-now {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55px;
        background-color: #2ecc71;
        color: #ffffff;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
        justify-content: center;
        align-items: center;
        gap: 10px;
        z-index: 3000;
    }

    .call-now i {
        font-size: 20px;
    }

    /* ca să nu fie acoperit footer-ul */
    body {
        padding-bottom: 55px;
    }
}
/* DESPRE NOI */
.about {
    padding: 40px 5vw;
}

.about-header span {
    color: #2ecc71;
    font-weight: bold;
    font-size: 14px;
}

.about-header h1 {
    margin-top: 5px;
    font-size: 28px;
}

/* CONTENT */
.about-content {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

.about-image {
    flex: 1.2;
}

.about-text {
    flex: 1;
    font-size: 15px;
}

.about-text h3 {
    margin: 20px 0 10px;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 15px;
}

.about-list strong {
    display: block;
    color: #000;
}

.about-list span {
    color: #555;
    font-size: 14px;
}

/* STATS */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-box h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* TARIFE */
.prices {
    padding: 40px 5vw;
}

.prices-header span {
    color: #2ecc71;
    font-weight: bold;
    font-size: 14px;
}

.prices-header h1 {
    margin-top: 5px;
    font-size: 28px;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* CARD */
.price-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tarif-icon {
    font-size: 48px;
    color: #2ecc71;
    align-self: flex-end;
}

.price-content h3 {
    font-size: 16px;
}

.offer {
    font-size: 13px;
    color: #555;
}

.price {
    margin-top: 5px;
}

.price strong {
    color: #2ecc71;
}

.price-desc {
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-size: 14px;
    color: #444;
}

/* MOBILE */
@media (max-width: 768px) {
    .prices-grid {
        grid-template-columns: 1fr;
    }

    .price-card img {
        align-self: flex-start;
    }
}

/* CONTACT */
.contact {
    padding: 40px 5vw;
}

.contact-header span {
    color: #2ecc71;
    font-weight: bold;
    font-size: 14px;
}

.contact-header h1 {
    margin-top: 5px;
    font-size: 28px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

/* INFO LEFT */
.contact-info .info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.contact-info i {
    font-size: 20px;
    color: #2ecc71;
    min-width: 24px;
}

.contact-info a {
    color: #2ecc71;
    text-decoration: none;
}

.whatsapp {
    margin-left: auto;
    background: #25d366;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

/* RIGHT */
.contact-side h3 {
    margin: 15px 0 10px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social {
    background: #f3f3f3;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.contact-side iframe {
    width: 100%;
    height: 280px;
    border: 0;
    border-radius: 12px;
}

/* STATUS */
.open {
    color: #2ecc71;
    font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp {
        margin-left: 0;
    }
}

/* TRACTARI HERO */
.tractari-hero {
    padding: 80px 5vw;
    text-align: center;

    background-image: 
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("images/tractari_auto_nonstop.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
}

.tractari-hero h1 {
    font-size: 32px;
    font-weight: 700;
}

.tractari-hero p {
    margin: 12px 0 28px;
    font-size: 17px;
}

.hero-call {
    background: #2ecc71;
    color: #fff;
    padding: 14px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

/* SERVICES */
.tractari-services {
    padding: 50px 5vw;
}

.tractari-services h2 {
    margin-bottom: 30px;
    text-align: center;
}

.tractari-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tractari-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
}

.tractari-box i {
    font-size: 30px;
    color: #2ecc71;
    margin-bottom: 10px;
}

/* WHY */
.tractari-why {
    background: #1f1f1f;
    color: #fff;
    padding: 50px 5vw;
    text-align: center;
}

.tractari-why h2 {
    margin-bottom: 20px;
}

.tractari-why ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;        /* 🔥 centrează lista */
    max-width: 600px;     /* control lățime */
    text-align: center;     /* text lizibil */
}

.tractari-why li {
    margin-bottom: 12px;
    font-size: 15px;
}

/* CTA FINAL */
.tractari-cta {
    padding: 50px 5vw;
    text-align: center;
}

.tractari-cta a {
    display: inline-block;
    margin-top: 15px;
    background: #2ecc71;
    color: #fff;
    padding: 14px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
    .tractari-grid {
        grid-template-columns: 1fr;
    }
     .tractari-hero {
        padding: 60px 20px;
    }
    .tractari-hero h1 {
        font-size: 26px;
    }
}

/* INCHIRIERI HERO */
.inchirieri-hero {
    padding: 80px 5vw;
    text-align: center;

    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("images/inchirieri-hero.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
}

.inchirieri-hero h1 {
    font-size: 32px;
    font-weight: 700;
}

.inchirieri-hero p {
    margin: 12px 0 28px;
    font-size: 17px;
}


/* SERVICES */
.inchirieri-services {
    padding: 50px 5vw;
}

.inchirieri-services h2 {
    margin-bottom: 30px;
    text-align: center;
}

.inchirieri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.inchirieri-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
}

.inchirieri-box i {
    font-size: 30px;
    color: #2ecc71;
    margin-bottom: 10px;
}

/* WHY */
.inchirieri-why {
    background: #1f1f1f;
    color: #fff;
    padding: 50px 5vw;

    text-align: center; /* 🔥 titlul centrat */
}

.inchirieri-why h2 {
    margin-bottom: 20px;
}

.inchirieri-why ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;       /* 🔥 centrare */
    max-width: 600px;
    text-align: center;     /* lizibilitate */
}

.inchirieri-why li {
    margin-bottom: 12px;
    font-size: 15px;
}

/* CTA */
.inchirieri-cta {
    padding: 50px 5vw;
    text-align: center;
}

.inchirieri-cta a {
    display: inline-block;
    margin-top: 15px;
    background: #2ecc71;
    color: #fff;
    padding: 14px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
    .inchirieri-grid {
        grid-template-columns: 1fr;
    }

    .inchirieri-hero {
        padding: 60px 20px;
    }

    .inchirieri-hero h1 {
        font-size: 26px;
    }
}

/* MENIU ACTIV */
.nav-links a.active {
    color: #2ecc71;
    position: relative;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: #2ecc71;
}

.service-card,
.price-card,
.tractari-box,
.inchirieri-box {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.price-card:hover,
.tractari-box:hover,
.inchirieri-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* CARDURI MASINI INCHIRIERI */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.car-card {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.car-image {
    position: relative;
}

.car-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.rezerva-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f1f1f;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.rezerva-btn:hover {
    background: #2ecc71;
}

.car-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.car-info h3 {
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
}

.vezi-pret-btn {
    display: block;
    text-align: center;
    background: #f5c518;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
}

.vezi-pret-btn:hover {
    background: #e0b000;
}

.car-details {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 8px;
    font-size: 12px;
    color: #555;
}

.car-details i {
    color: #2ecc71;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }
}