main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 850px;
}

body {
    font-family: Montserrat, sans-serif;
    color: #1D1D1D;
    display: flex;
    flex-direction: column;
    height: auto;
    padding-bottom: 300px;
    overflow: visible;
    overflow-x: hidden;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    animation: bgCinematic 25s ease-in-out infinite alternate;
}

@keyframes bgCinematic {
    0% {
        transform: scale(1) translate(0,0);
    }
    50% {
        transform: scale(1.05) translate(-1%, -1%);
    }
    100% {
        transform: scale(1.1) translate(1%, 1%);
    }
}

header {
    display: flex;
    justify-content: center;
    gap: 25%;
    align-items: center;
    padding: 20px 80px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.logo {
    height: 50px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 25px;
    border-radius: 20px;
    background-color: #b36a2e; /* mai închis decât donate */
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 0.8s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

nav ul li:nth-child(1) a { animation-delay: 0.3s; }
nav ul li:nth-child(2) a { animation-delay: 0.5s; }
nav ul li:nth-child(3) a { animation-delay: 0.7s; }

nav ul li a:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    background-color: #944d1e; /* hover și mai închis */
}

@keyframes fadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.donate-button, .start-button {
    padding: 10px 50px;
    background-color: #DF9846;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 25px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 0.8s ease forwards;
    animation-delay: 0.9s;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.start-button {
    padding: 20px 60px;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.content {
    z-index: 1;
    position: absolute;
    top: 40%;
    left: 20%;
    transform: translateY(-50%);
    text-align: left;
    width: 30%;
}

.content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.car {
    position: absolute;
    top: 150px;
    right: 10%;
    height: auto;
    max-width: 40%;
    z-index: 0;
    opacity: 0;
    transform: translateX(200px);
    animation: slideIn 1s ease forwards 1s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

* {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

.blocks-container {
    display: flex;
    margin-bottom: 30px;
    justify-content: center;
}

.block {
    position: relative;
    width: 350px;
    height: 350px;
    margin-left: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.block.visible {
    opacity: 1;
    transform: translateY(0);
}

.block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.block-text {
    position: absolute;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}

.block h1 {
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    width: 80%;
}

.download-block {
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    margin-left: 65px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.download-block:hover img {
    transform: scale(1.1);
}

.download-block:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.download-text {
    position: absolute;
    font-size: 18px;
    color: white;
    text-align: center;
    z-index: 1;
    pointer-events: none;
}

.info-text {
    margin-top: 10%;
    text-align: center;
    font-size: 18px;
    color: #000;
    font-weight: bold;
    line-height: 1.6;
    display: flex;
    justify-content: center;
}

.info-text p {
    margin: 15px 0;
}

img, .no-select {
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

@media screen and (max-width: 1400px) {
    header {
        padding: 20px 40px;
    }

    .nav-container {
        gap: 40px;
    }

    nav ul {
        gap: 30px;
    }
}

@media screen and (max-width: 1200px) {
    header {
        padding: 20px 30px;
    }

    .nav-container {
        gap: 30px;
    }

    nav ul {
        gap: 20px;
    }

    .blocks-container {
        flex-direction: column;
        gap: 100px;
        align-items: center;
    }

    .block {
        margin-left: 0;
    }

    .content {
        width: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .car {
        display: none;
    }

    .info-text {
        padding-left: 0;
        width: 90%;
        margin: 0 auto;
        padding-top: 150px;
    }
}

@media screen and (max-width: 768px) {
    header {
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0;
    }

    nav ul li a {
        margin-left: 0;
    }

    .content {
        width: 90%;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
        margin: 40px auto;
    }

    .content h1 {
        font-size: 32px;
    }

    .content p {
        font-size: 18px;
    }

    .car {
        display: none;
    }

    .block {
        width: 90%;
        max-width: 350px;
        margin-top: 100px;
    }

    .download-block {
        margin-left: auto;
        margin-right: auto;
    }

    main {
        flex-direction: column;
        padding-bottom: 30px;
    }

    .blocks-container {
        margin-top: 20px;
    }

    body {
        padding-bottom: 100px;
    }
}

@media screen and (max-width: 480px) {
    .content h1 {
        font-size: 24px;
    }

    .content p {
        font-size: 16px;
    }

    .donate-button, .start-button {
        padding: 8px 30px;
        font-size: 16px;
    }

    .start-button {
        padding: 15px 40px;
    }

    .block-text {
        font-size: 18px;
    }

    .block h1 {
        font-size: 14px;
    }

    .info-text {
        font-size: 16px;
    }
}

/* Бургер меню */
.burger-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
    padding: 10px;
}

.burger-icon {
    width: 28px;
    height: 22px;
    position: relative;
    transition: all 0.3s ease;
}

.burger-icon span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #1D1D1D;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.burger-icon span:nth-child(1) {
    top: 0;
    transform-origin: left center;
}

.burger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: center;
}

.burger-icon span:nth-child(3) {
    bottom: 0;
    transform-origin: left center;
}

/* Анимация бургера при открытии */
.burger-menu.active .burger-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: -1px;
    left: 4px;
}

.burger-menu.active .burger-icon span:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}

.burger-menu.active .burger-icon span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: -1px;
    left: 4px;
}

@media screen and (max-width: 768px) {
    .burger-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 100px 20px 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 999;
    }

    .nav-container.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 50px;
    }

    nav ul li a {
        font-size: 24px;
        position: relative;
        transition: color 0.3s ease;
    }

    nav ul li a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #DF9846;
        transition: width 0.3s ease;
    }

    nav ul li a:hover::after {
        width: 100%;
    }

    .donate-button {
        margin-top: 30px;
        transform: scale(1);
        transition: transform 0.3s ease;
    }

    .donate-button:hover {
        transform: scale(1.05);
    }
}

/* ==================== ANIMAȚII ==================== */

/* Titlu și buton fade-in la încărcare */
.content h1, 
.content .start-button {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.content .start-button {
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover efecte pentru buton start */
.start-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.start-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
