/* Qlobal Dəyişənlər və Sıfırlama */
:root {
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --accent-color: #0076ff;
    --text-main: #111111;
    --text-muted: #555555;
    --border-color: #eaeaea;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Naviqasiya */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
    text-transform: uppercase;
    z-index: 1001;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

/* 3 Xətt Mobil Düymə */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
    border-radius: 2px;
}

/* Düymələr */
.cta-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.cta-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 118, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Bölməsi */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #f0f5ff 0%, #ffffff 100%);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--text-main);
}

.gradient-text {
    color: var(--accent-color);
    background: linear-gradient(45deg, #0076ff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-btn {
    background: var(--accent-color);
    color: #ffffff;
    padding: 14px 38px;
    font-size: 16px;
}

/* Yeni Haqqımızda Səhifə Stili */
.about-page {
    min-height: 80vh;
    padding: 160px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #f0f5ff 0%, #ffffff 100%);
}

.about-page-container {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.about-page-content {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.9;
    text-align: justify;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.about-page-content p {
    margin-bottom: 20px;
}

/* Xidmətlər Bölməsi */
.services {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 70px;
    position: relative;
    font-weight: 700;
    color: var(--text-main);
}

.section-title span {
    color: var(--accent-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 45px 35px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 118, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    background: #ffffff;
}

.icon-box {
    width: 65px;
    height: 65px;
    background: rgba(0, 118, 255, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--accent-color);
}

.icon-box i {
    font-size: 26px;
    color: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover .icon-box i {
    color: #ffffff;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Əlaqə Bölməsi */
.contact {
    padding: 120px 20px;
    background: #fdfdfd;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.contact-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.contact p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 17px;
}

.contact-btn {
    background: var(--accent-color);
    color: #ffffff;
    padding: 15px 40px;
    font-size: 17px;
}

/* Footer */
footer {
    background: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* Mobil Adaptasiya (Responsive) */
@media (max-width: 768px) {
    .header-btn {
        display: inline-block; /* Mobildə yuxarıdakı tək düymə qalsın */
        padding: 6px 16px;
        font-size: 14px;
    }

    .menu-toggle {
        display: flex; /* 3 xətt düyməsi */
        margin-left: 15px;
    }

    .nav-container {
        padding: 15px 20px;
    }

    /* Mobil açılan menyu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 20px;
    }

    /* Düymə animasiyaları */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 30px;
        margin-bottom: 50px;
    }
    .about-page {
        padding-top: 120px;
    }
    .about-page-content {
        padding: 25px;
        font-size: 16px;
        text-align: center;
    }
}