* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #e5e5e5;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #000000;
    border-bottom: 1px solid #111;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

.lang {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-left: auto;
}

.lang a {
    text-decoration: none;
    color: #bdbdbd;
    transition: color 0.3s ease;
}

.lang a:hover {
    color: #ffd54a;
}

.lang strong {
    color: #ffd54a;
}

/* HERO */
.hero {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: url('images/tesla1.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 60px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0.45)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding-top: 40px;
}


.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 20px;
    color: #d0d0d0;
    max-width: 520px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 32px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #ffd54a;
    color: #111111;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(255, 213, 74, 0.25);
    font-size: 18px;
    padding: 20px 36px;
}

.btn-primary:hover {
    background: #ffca1a;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    background: transparent;
    padding: 18px 32px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

/* glow effect */
.btn-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
}

/* hover */
.btn-secondary:hover {
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary:hover::before {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4),
                0 0 24px rgba(255, 255, 255, 0.2);
}

/* ABOUT SECTION*/
.about-section {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text {
    position: relative;
}

.about-text h2 {
    font-size: 64px;
    color: #fff;
    margin: 0 0 30px;
    line-height: 0.95;
    max-width: 420px;
}

.about-text p {
    color: #d0d0d0;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 620px;
}

.about-inline-logo {
    position: absolute;
    right: 140px;
    top: 40px;
    height: 300px;
    opacity: 0.15;
    pointer-events: none;
}

.about-middle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-middle img {
    height: 120px;
    opacity: 0.9;
}

.about-image {
    display: flex;
    justify-content: flex-end;
}

.about-image img {
    width: 100%;
    max-width: 520px;
    height: 560px;
    object-fit: cover;
    display: block;
}

/* WHY SECTION */
.why-eb-section {
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.why-eb-header {
    max-width: 760px;
    margin-bottom: 50px;
}

.section-accent {
    display: inline-block;
    color: #ffd54a;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.why-title {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

/* brand line */
.brand {
    display: inline-block;
    transform: translateY(2px);
    font-weight: 700;
    letter-spacing: 0;
}

.electric {
    color: #1fb6ff;
}

.bee {
    color: #ffd54a;
}

.why-eb-header h2 {
    font-size: 52px;
    line-height: 1.05;
    margin: 0 0 18px;
    color: #ffffff;
}

.why-eb-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #bdbdbd;
    margin: 0;
}

.why-eb-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.why-eb-card {
    background: linear-gradient(180deg, #171717 0%, #101010 100%);
    border: 1px solid #242424;
    border-top: 3px solid #ffd54a;
    border-radius: 12px;
    padding: 28px 22px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-eb-card:hover {
    transform: translateY(-6px);
    border-color: #3a3a3a;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.why-eb-number {
    font-size: 28px;
    font-weight: 800;
    color: #ffd54a;
    margin-bottom: 20px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.why-eb-card h3 {
    font-size: 22px;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 14px;
}

.why-eb-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #b7b7b7;
    margin: 0;
}

/* GENERAL SECTIONS */
section {
    padding: 90px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    max-width: none;
}

h2 {
    color: #ffffff;
    font-size: 34px;
    margin: 0 0 20px;
}

.section-text {
    color: #bdbdbd;
    font-size: 16px;
    max-width: 800px;
}

/* WHY TESLA */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.features div {
    background: #1a1a1a;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid #262626;
    color: #d8d8d8;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.features div:hover {
    transform: translateY(-4px);
    border-color: #3a3a3a;
}

/* TESLA CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #262626;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #3b3b3b;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 22px;
}

.card-content h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 22px;
}

.card-content p {
    margin: 0;
    color: #aeaeae;
    font-size: 15px;
}

/*DRIVERS*/
.join-title {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 600;
    margin-bottom: 20px;
}

.drivers-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 90px;
    align-items: start;
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.drivers-left h2 {
    font-size: 72px;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.05;
}

.drivers-left h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ffd54a;
    margin-top: 18px;
}

.drivers-left p {
    font-size: 18px;
    color: #d0d0d0;
    max-width: 500px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.drivers-right {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding-top: 85px;
}

.driver-item {
    max-width: 430px;
    transition: transform 0.3s ease;
}

.driver-item:hover {
    transform: translateY(-4px);
}

.driver-item .line {
    width: 40px;
    height: 3px;
    background: #ffd54a;
    margin-bottom: 15px;
}

.driver-item h3 {
    font-size: 24px;
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1.25;
}

.driver-item p {
    color: #a8a8a8;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 400px;
}

/* CONTACT */
.contact-box {
    background: #161616;
    border: 1px solid #262626;
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.contact-box p {
    margin: 10px 0;
    color: #d0d0d0;
    font-size: 16px;
}

.contact-box a {
    color: #ffd54a;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

.contact-card {
    position: relative;
    overflow: hidden;
}

.contact-logo {
    position: absolute;
    right: 60px;
    top: 55%;
    transform: translateY(-50%);
    height: 140px;
    opacity: 0.3;
    pointer-events: none;
}

/* FOOTER */
footer {
    padding: 35px 20px 45px;
    text-align: center;
    border-top: 1px solid #202020;
    color: #7c7c7c;
    font-size: 14px;
}

/* TABLET */
@media (max-width: 992px) {
    header {
        padding: 20px 30px;
    }

    .hero {
        padding: 0 30px;
    }

    section {
        padding: 80px 30px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero p {
        font-size: 17px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 80px 30px;
    }

    .about-inline-logo {
        position: absolute;
        right: 200px;
        top: 70px;
        height: 180px;
        opacity: 0.15;
        pointer-events: none;
    }

     .about-middle {
         display: none;
     }

     .about-text h2 {
        font-size: 48px;
        max-width: 100%;
     }

     .about-text p {
        font-size: 17px;
        max-width: 100%;
     }

     .about-image {
        justify-content: flex-start;
     }

     .about-image img {
        max-width: 100%;
        height: 420px;
     }

    .why-title {
        font-size: 42px;
        line-height: 1.1;
    }

    .brand {
        transform: translateY(1px);
    }

     .why-eb-grid {
             grid-template-columns: repeat(3, 1fr);
         }

    .drivers-section {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        padding: 80px 40px;
    }

    .drivers-right {
        gap: 40px;
        padding-top: 30px; /* mai mic decât desktop */
    }

    .driver-item {
        max-width: 100%;
    }

    .driver-item h3 {
        font-size: 20px;
    }

    .driver-item p {
        font-size: 15px;
        max-width: 100%;
    }

    .drivers-left h2 {
        font-size: 48px;
    }

    .join-title {
        font-size: 44px;
        line-height: 1.08;
        margin-bottom: 24px;
    }

    .join-title {
        font-size: 44px;
        line-height: 1.1;
    }

    .contact-box {
        padding: 25px;
    }

    .contact-logo {
        right: 30px;
        height: 100px;
        opacity: 0.08;
    }

    .contact-box p {
        font-size: 15px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    header {
        padding: 18px 20px;
    }

.logo img {
        height: 40px;
    }

    .lang {
        font-size: 13px;
        gap: 8px;
    }

    .hero {
        min-height: 100vh;
        padding: 0 20px;
        background-position: center center;
    }

    .hero::after {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.58)
        );
    }

    .hero-content {
        max-width: 100%;
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 280px;
    }

    .btn {
        width: 100%;
        font-size: 15px;
        padding: 16px;
    }

    .about-section {
        padding: 65px 20px;
    }

    .about-text {
        position: relative;
    }

    .about-inline-logo {
        height 200px;
        right: 140px;
        opacity: 0.15;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.7;
        position: relative;
        z-index: 2;
    }

    .about-image img {
        height: 300px;
    }

    /*why section*/
    .why-eb-section {
            padding: 65px 20px;
        }
    .why-title {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .brand {
        display: inline-block;
        font-weight: 700;
        letter-spacing: 0;
        transform: none;
    }

    .electric,
    .bee {
        display: inline;
    }

        .why-eb-number {
                font-size: 32px;
                top: 15px;
                right: 15px;
            }

        .why-eb-header h2 {
            font-size: 34px;
        }

        .why-eb-header p {
            font-size: 15px;
        }

        .why-eb-grid {
            grid-template-columns: 1fr;
            gap: 18px;
        }

        .why-eb-card {
            padding: 22px 18px;
        }

        .why-eb-card h3 {
            font-size: 20px;
        }

        .why-eb-card p {
            font-size: 14px;
        }

    section {
        padding: 65px 20px;
    }

    h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .section-text {
        font-size: 15px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .features div {
        padding: 18px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .card img {
        height: 210px;
    }

    .card-content {
        padding: 18px;
    }

    .card-content h3 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 14px;
    }

    .join-title {
        font-size: 34px;
        line-height: 1.1;
    }

    .contact-box {
        padding: 22px;
    }

    .contact-box p {
        font-size: 15px;
    }

    .contact-box {
        padding: 20px;
    }

    .contact-logo {
        display: none;
    }

    .contact-box p {
        font-size: 14px;
        line-height: 1.6;
    }

    footer {
        font-size: 13px;
        padding: 30px 16px 40px;
    }

    .drivers-section {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 70px 20px;
    }

        .drivers-left h2 {
            font-size: 36px;
        }

        .drivers-left p {
            font-size: 15px;
        }

    .drivers-right {
        padding-top: 0;
        gap: 35px;
    }

    .driver-item {
        max-width: 100%;
    }

    .driver-item h3 {
        font-size: 18px;
    }

    .driver-item p {
        font-size: 14px;
        line-height: 1.6;
    }

    .join-title {
        font-size: 34px;
        line-height: 1.1;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    header {
        padding: 16px;
    }

    .about-inline-logo {
        display: none;
    }

    .logo {
        font-size: 17px;
    }

    .lang {
        font-size: 12px;
    }

    .hero {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 14px;
    }

    section {
        padding: 55px 16px;
    }

    h2 {
        font-size: 24px;
    }

    .why-title {
        font-size: 28px;
        line-height: 1.15;
    }

    .brand {
        font-weight: 700;
    }

    .card img {
        height: 190px;
    }

    .drivers-section {
        padding: 60px 16px;
    }

    .join-title {
        font-size: 28px;
    }

    .drivers-right {
        gap: 30px;
    }

    .contact-box {
        padding: 18px;
    }

    .contact-logo {
        display: none;
    }
}