body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#navbar {
    width: 620px;
    margin: 0 auto;
}

header {
    background: #6a11cb;
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: rgb(106, 17, 203);
    transition: background 0.3s ease;
}

.nav-links a:hover {
    background: #b993d6;
}

.hero {
    background: linear-gradient(135deg, #b993d6, #8ca6db);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 25px;
    margin-bottom: 20px;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #fff;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.section {
    padding: 60px 20px;
    text-align: center;
    border-radius: 25px;
    margin-bottom: 20px;
    background: #f9f9f9;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* About Section Styles */
.about-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #6a11cb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #2575fc;
}

.social-icon i {
    font-size: 1.2rem;
}

.cv-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6a11cb;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cv-button:hover {
    background-color: #2575fc;
}

.cv-button i {
    margin-right: 8px;
}

.project-list, .experience-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-item, .experience-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-item:hover, .experience-item:hover {
    transform: scale(1.05);
}

.project-images {
    position: relative;
    width: 200px; /* Şəkilləri daha böyük et */
    height: 200px;
}

.project-image-back {
    width: 160px; /* Arxa şəkili böyüt */
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    position: absolute;
    top: 20px; /* Arxa şəkili daha aşağı sal */
    left: 20px; /* Arxa şəkili daha sağa çək */
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-image-front {
    width: 160px; /* Ön şəkili böyüt */
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.project-images:hover .project-image-front {
    transform: translateX(-30px); /* Hover zamanı ön şəkili daha çox sola sürüşdür */
}


.project-content {
    flex: 1;
    margin-right: 20px;
}

.experience-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #6a11cb;
}
/* Experience Section Styles */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: scale(1.05);
}

.experience-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-content {
    flex: 1;
    margin-right: 20px;
}

.experience-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.experience-content p {
    font-size: 1rem;
    margin: 5px 0;
    color: #555;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.skill-item {
    background: #6a11cb;
    color: #fff;
    padding: 15px;
    border-radius: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.1);
}

.contact-section {
    background: #f9f9f9;
    padding: 60px 20px;
    border-radius: 25px;
}

.contact-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background: #6a11cb;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #2575fc;
}
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical; /* Şaquli olaraq böyütməyə icazə ver */
    min-height: 100px; /* Minimum hündürlük */
}
footer {
    background: #6a11cb;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 25px;
}

html {
    scroll-behavior: smooth;
}
/* Mobil cihazlar üçün Media Query */
@media (max-width: 768px) {
    /* Ümumi konteyner düzəlişləri */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
        overflow-x: hidden; /* Yana sürüşmənin qarşısını alır */
        margin: 0 auto; /* Saytı mərkəzləşdirir */
    }

    /* Navbar düzəlişləri */
    #navbar {
        width: 100%; /* Navbarı uzun etdik */
        margin: 0 auto; /* Mərkəzləşdirdik */
        padding: 10px;
        box-sizing: border-box;
        background: linear-gradient(135deg, #b993d6, #8ca6db); /* Hero ilə eyni rəng tonu */
        border-radius: 15px; /* Home hissəsi ilə eyni çərçivə */
    }

    .nav-links {
        display: flex;
        flex-wrap: nowrap; /* Yazılar bir sətirdə */
        gap: 5px; /* Yazılar arasındakı məsafə azaldıldı */
        justify-content: center;
        text-align: center;
        overflow-x: auto; /* Yazılar sığmazsa sürüşdürülə bilər */
        padding: 0; /* Çərçivənin içindən çıxardıq */
    }

    .nav-links a {
        padding: 8px 10px; /* Yazıların içərisindəki boşluğu azaltdıq */
        font-size: 12px; /* Yazıları kiçiltdik */
        white-space: nowrap; /* Yazıların qırılmaması üçün */
        background-color: transparent; /* Çərçivənin içindən çıxardıq */
        border-radius: 25px;
        color: #fff;
        transition: background-color 0.3s ease;
        text-align: center;
        box-sizing: border-box;
        margin: 0 2px; /* Yazılar arasındakı məsafəni azaltdıq */
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.2); /* Hover zamanı şəffaf ağ rəng */
    }

    /* Hero section düzəlişləri */
    .hero {
        padding: 40px 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Projects section düzəlişləri */
    .project-item {
        flex-direction: column; /* Şəkillər üstdə, yazılar altında */
        align-items: center;
        text-align: center; /* Yazılar mərkəzdə */
    }

    .project-images {
        width: 200px; /* Şəkillərin ölçüsü eyni qalır */
        height: 200px;
        margin-bottom: 20px;
    }

    .project-image-back,
    .project-image-front {
        width: 100%;
        height: 100%;
        position: absolute; /* Şəkillərin versiyasını dəyişmirik */
    }

    .project-content {
        margin-right: 0;
        text-align: center; /* Yazılar mərkəzdə */
    }

    .project-content h3 {
        font-size: 1.2rem; /* Yazıların ölçüsü kiçildi */
    }

    .project-content p {
        font-size: 0.9rem; /* Yazıların ölçüsü kiçildi */
        text-align: center; /* Yazılar mərkəzdə */
    }

    /* Experience section düzəlişləri */
    .experience-item {
        flex-direction: row; /* Sütun şəklində olmasın */
        align-items: center;
        text-align: left;
    }

    .experience-image {
        width: 60px;
        height: 60px;
    }

    /* Skills section düzəlişləri */
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    /* Contact section düzəlişləri */
    .contact-section {
        text-align: center; /* "Send Your Message" başlığı ortada */
    }

    .contact-form h3 {
        display: none; /* "Send Your Message" başlığı mobil cihazlarda olmayacaq */
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        display: none; /* "Your email", "Your message" və "Submit" funksionallığı mobil cihazlarda olmayacaq */
    }

    /* Footer düzəlişləri */
    footer {
        padding: 10px;
        font-size: 14px;
    }
}

