:root {
    --bg-color: #ffffff;
    --text-color: #1f1f1f;
    --primary-color: #00aaff;
    --secondary-color: #f1f1f1;
    --shadow-color: rgba(0, 0, 0, 0.1)
}

body.dark {
    --bg-color: #121212;
    --text-color: #ffffff;
    --primary-color: #00aaff;
    --secondary-color: #1e1e1e;
    --shadow-color: rgba(255, 255, 255, 0.1)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease
}

.header {
    width: 100%;
    padding: 20px 50px;
    background-color: var(--bg-color);
    box-shadow: 0 4px 10px var(--shadow-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none
}

.navbar {
    display: flex;
    gap: 25px
}

.navbar a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: 0.3s ease
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary-color)
}

#menu-icon {
    font-size: 20px;
    display: none;
    cursor: pointer
}

.menu-light {
    display: flex;
    gap: 15px;
    align-items: center
}

section.home {
    padding-top: 75px;
    padding-left: 10%;
    padding-right: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100vh
}

.home-content {
    flex: 1 1 500px
}

.home-content h5 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--primary-color)
}

.home-content h3 {
    font-size: 1.5rem;
    color: var(--text-color)
}

.home-content h4 {
    font-size: 1.5rem;
    color: var(--primary-color)
}

.home-content span {
    font-weight: 600;
    color: var(--primary-color)
}

.home-image {
    flex: 1 1 300px;
    text-align: center
}

.home-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 20px var(--shadow-color);
}

.social-media {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: flex-start
}

.social-media a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: 0.3s ease
}

.social-media a:hover {
    color: var(--primary-color);
    transform: scale(1.2)
}

section#about {
    padding: 80px 10%;
    background-color: var(--secondary-color)
}

.about-content {
    max-width: 900px;
    margin: 0 auto
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color)
}

.skills {
    padding: 80px 10%;
    background-color: var(--bg-color);
    color: var(--text-color)
}

.skills h2 {
    font-size: 2.5rem;
    margin-bottom: 30px
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px
}

.skill-item {
    padding: 12px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-weight: 500;
    background-color: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: 0.3s ease
}

.skill-item:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.05)
}

.projects {
    padding: 80px 10%
}

.projects h2 {
    text-align: center;
    margin-bottom: 40px
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center
}

.project-card {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: 0.3s;
    object-fit: contain;

    img {
        width: 250px;
        height: 150px;
        object-fit: contain
    }

    .details-button {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        background: var(--primary-color);
        color: white;
        text-decoration: none;
        border-radius: 8px;
        transition: transform 0.2s;
        margin-top: 1rem;
    }

    .details-button:hover {
        transform: translateY(-2px);
    }

    a {
        margin: 7px;

        i {
            font-size: 20px;
            transition: 0.3s ease
        }
    }
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px var(--shadow-color)
}

.contact {
    padding: 20px 10%;
    background-color: var(--secondary-color);
    text-align: center
}

.contact h2 {
    margin-bottom: 30px
}

.contact form {
    max-width: 600px;
    margin: 0 auto
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff0;
    color: var(--text-color)
}

.contact button {
    padding: 10px 25px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: 0.3s ease
}

.contact button:hover {
    background: #008ecc
}

.service-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 35px
}

.service-card {
    margin: 25px
}

section#services {
    padding: 80px 10%;
    background-color: var(--secondary-color)
}

.footer {
    padding: 20px;
    text-align: center;
    background-color: var(--bg-color);
    border-top: 1px solid var(--shadow-color);
    color: var(--text-color)
}

.footer span {
    color: var(--primary-color)
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-in forwards
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1.2s ease-in forwards
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1
    }
}

@media (max-width:768px) {
    .header {
        padding: 15px 20px
    }

    #menu-icon {
        display: block
    }

    .navbar {
        display: none;
        flex-direction: column;
        background-color: var(--bg-color);
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        border-radius: 10px;
        box-shadow: 0 4px 10px var(--shadow-color);
        padding: 15px
    }

    .navbar.active {
        display: flex
    }

    .home {
        flex-direction: column;
        align-items: center;
        text-align: center
    }

    .home-image {
        margin-top: 30px
    }

    .social-media {
        justify-content: center
    }
}
.zoomable {
    transition: transform 0.3s ease;
    cursor: zoom-in;
    position: relative;
    border-radius: 8px;
  }
  
  /* Hover zamanı şəkil böyüsün */
  .zoomable:hover {
    transform: scale(1.05);
  }
  
  /* Modal görünüşü */
  #image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
  }
  
  #image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px black;
    cursor: zoom-out;
  }
  
  /* Mobil üçün "tap to zoom" göstəricisi */
  .zoomable::after {
    content: "📷 Toxunaraq böyüt";
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 12px;
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  
  /* Mobil və hover zamanı göstə */
  @media (hover: none) {
    .zoomable::after {
      opacity: 1;
    }
  }
  
  .zoomable:hover::after {
    opacity: 1;
  }
  