/* Ümumi stillər */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f9ff;
    color: #1c1c1c;
}

/* Hero bölməsi */
.hero {
    background: url('assets/hero-bg.jpg') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 0.3em;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.button {
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Xidmətlər bölməsi */
.services {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.services h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-item {
    background: #f0f4fb;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-item h3 {
    color: #007bff;
}

/* Əlaqə bölməsi */
.contact {
    padding: 60px 20px;
    background-color: #eaf0f8;
    text-align: center;
}

.contact h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

footer {
    padding: 20px;
    background-color: #1b2a40;
    color: white;
    text-align: center;
}

/* ==== MOBİL UYUĞUNLAŞDIRMA (Responsive Dizayn) ==== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .service-items {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 90%;
    }

    .contact p {
        font-size: 1em;
    }
}

.navbar {
    background-color: #1b2a40;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.logo {
    font-size: 1.2em;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #00bfff;
}

/* Hero bölməsinə boşluq verək */
.hero {
    margin-top: 70px;
}

.hamburger {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #1b2a40;
        border-radius: 10px;
        padding: 10px;
        z-index: 999;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}


/* ===== HOVER EFFECTLƏR ===== */

.service-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.button {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.5);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil fade-in üçün animasiya */
@media (max-width: 768px) {
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUpMobile 0.8s ease forwards;
    }

    @keyframes fadeInUpMobile {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.button:active {
    transform: scale(0.98);
    background-color: #004a99;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

