﻿

/* HERO SECTION full width, fără spațiu de sus */
.hero-section {
    color: #fff;
    padding: 50px 0; /* ajustezi înălțimea secțiunii */
    min-height: 400px; /* înălțime minimă */
    position: relative; /* sticky nu e necesar aici */
    overflow: hidden;
    width: 100vw; /* ocupă întreaga lățime a viewport-ului */
    margin: 0; /* eliminăm marginile implicite */
}

/* imagine de fundal full width */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* full viewport width */
    height: 100%; /* ocupă tot hero-section */
    background-image: url(Images/legatus-hero-bg_mare.png);
    background-size: cover;
    background-position: center center;
    filter: brightness(0.5);
    z-index: 0;
}

/* container contentului deasupra imaginii */
.hero-content {
    position: relative;
    display: flex;
    align-items: center; /* centru vertical */
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 1;
    padding: 0 50px; /* padding lateral pentru conținut */
    min-height: 300px;
}

/* HERO TEXT */
.hero-text h1 {
    font-size: 60px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 20px;
}

.hero-text .subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-text .description {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #f1f5f9;
}

.btn-hero {
    padding: 12px 30px;
    background-color: #38bdf8;
    color: #020617;
    border-radius: 25px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
    z-index: 2;
}

    .btn-hero:hover {
        background-color: #7dd3fc;
    }

/* HERO IMAGE */
.hero-image img {
    max-width: 450px;
    width: 100%;
    border-radius: 15px;
    z-index: 2;
}


/* mic spațiu între navbar și Hero */
/*body > .navbar {
    margin-bottom: 0;
}

.hero-section::before {
    content: '';
    display: block;
    height: 60px;*/ /* spațiu între navbar și hero */
/*}*/


/* ===== FEATURES ===== */
.features-section {
    padding: 80px 0;
    background: #f1f5f9;
    color: #020617;
}

    .features-section h2 {
        text-align: center;
        font-size: 36px;
        margin-bottom: 50px;
    }

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .feature-card img {
        width: 60px;
        margin-bottom: 20px;
    }

    .feature-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
        color: #0f172a;
    }

    .feature-card p {
        font-size: 14px;
        color: #4b5563;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

/* ===== CTA SECTION ===== */
.cta-section {
    background: #38bdf8;
    color: #020617;
    padding: 60px 0;
    text-align: center;
}

    .cta-section h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }

.btn-cta {
    padding: 12px 40px;
    border-radius: 25px;
    background: #020617;
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-cta:hover {
        background: #111827;
    }

