/* ===== Reset & Base Styles ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #111;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Navigation Bar ===== */
.navbar {
    background: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
}
@media (max-width: 768px) {
    .logo{
        font-size: 1.2rem;
        font-weight: 350;
    }
}

.logo span {
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: 10px;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

@media (max-width: 830px) {
    .burger {
        display: flex;
    }
    .nav-links {
        flex-direction: column;
        background: #000;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-links.active {
        max-height: 400px;
    }
    .nav-links li {
        text-align: center;
        padding: 0.6rem 0;
    }
}

/* ===== Hero Section ===== */
.hero-section {
    padding-top: 90px;
    background-image: url("images/MainPage/heroMain.png");
    background-size: cover; /* Розтягує на всю секцію без повторів */
    background-repeat: no-repeat; /* Не дублює фон */
    background-position: center; /* Центрує зображення */
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-content h1{
        font-size: 2rem;
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-btn {
    background: #ffd700;
    color: #000;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-btn:hover {
    background: #e5c100;
}

/* ===== Intro Section ===== */
.intro-section {
    padding: 4rem 2rem;
    background-color: #f7f7f7;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.feature {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 300px;
}

.feature_img{
    width: 16rem;
    height: 16rem;
}

.feature h3 {
    margin: 1rem 0;
    color: #000;
}

/* ===== Call to Action Banner ===== */
.cta-banner {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 3rem 2rem;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.cta-btn {
    background: #ffd700;
    color: #000;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #e5c100;
}

/* ===== Footer ===== */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
}
