/* Global styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom right, #0F2027, #203A43, #2C5364);
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(15, 32, 39, 0.9);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #92FE9D;
    transform: scale(1.1);
}

/* Menu toggle (hamburger) styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Section styles */
section {
    padding: 4rem 2rem;
    text-align: center;
    background: transparent;
}

section h2 {
    background: linear-gradient(to right, #00C9FF, #92FE9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-card {
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 1rem;
    margin: 1rem;
    border-radius: 15px;
    background-color: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    display: inline-block;
    width: 240px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.service-card .service-icon {
    font-size: 3rem;
    color: #00C9FF;
    margin-bottom: 0.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.service-card p {
    font-size: 0.95rem;
    color: #CCCCCC;
}

/* Contact form styles */
#contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 0.75rem;
    border: 2px solid #00C9FF;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    background-color: rgba(255,255,255,0.1);
    color: #FFFFFF;
    backdrop-filter: blur(8px);
}

#contact-form button {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background: linear-gradient(to right, #00C9FF, #92FE9D);
    color: #121212;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

/* Footer styles */
footer {
    padding: 1rem 2rem;
    text-align: center;
    background: rgba(15, 32, 39, 0.9);
    color: #fff;
    backdrop-filter: blur(8px);
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 80px;
        right: 0;
        background: rgba(15, 32, 39, 0.95);
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    nav.active {
        height: 270px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        gap: 1.2rem;
    }

    .menu-toggle {
        display: flex;
    }
}

/* CTA button */
.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #00C9FF, #92FE9D);
    color: #121212;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

#hero {
    position: relative;
    width: 100%;
    height: 100vh; /* kap komplet ekranin */
    background-image: url('./assets/pexels-seven11nash-380768.jpg');
    background-size: cover; /* mbulon komplet hero section-in */
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; /* vertikalisht në qendër */
    justify-content: center; /* horizontalisht në qendër */
    text-align: center;
    color: white;
}

#hero .overlay {
    background-color: rgba(0, 0, 0, 0.4); /* pak layer i errët që ta bëjë tekstin më të lexueshëm */
    padding: 40px;
    border-radius: 10px;
}

#hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.inline-logo {
    width: 100vh; /* mund ta bësh më të madhe sipas dëshirës */
    vertical-align: middle;
    display: inline-block;
}

#hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #ff6600;
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 1.2em;
}

.cta-btn:hover {
    background-color: #e65c00;
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 2em; /* më e vogël për mobile */
    }

    .inline-logo {
        width: 200px; /* më e vogël për mobile */
    }

    #hero p {
        font-size: 1.1em; /* më e vogël për mobile */
        padding: 0 10px;
    }

    .cta-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 1.8em; /* akoma më e vogël për telefon shumë të vogël */
    }

    .inline-logo {
        width: 300px;
    }

    #hero p {
        font-size: 1em;
    }

    .cta-btn {
        padding: 10px 18px;
        font-size: 0.95em;
    }
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    color: #FFFFFF;
    width: 100px;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
}

.tech-item:hover {
    box-shadow: 0 0 15px 5px #0ff;
}

.tech-item i,
.tech-item img {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    width: 60px;
    height: 60px;
    object-fit: contain;
    animation: floatIcon 4s ease-in-out infinite;
    transition: animation-duration 0.3s ease;
}

.tech-item:hover i,
.tech-item:hover img {
    animation-duration: 1.5s;
    animation-name: floatIconHover;
}

/* Shto animacione specifike per Node.js dhe React */
.technologies > .tech-item:nth-child(5) i {
    animation-delay: 0.5s;
    animation-name: floatIconNodeReact;
}

.technologies > .tech-item:nth-child(5):hover i {
    animation-name: floatIconHoverNodeReact;
    animation-duration: 1.2s;
}

.technologies > .tech-item:nth-child(6) i {
    animation-delay: 1s;
    animation-name: floatIconNodeReact;
}

.technologies > .tech-item:nth-child(6):hover i {
    animation-name: floatIconHoverNodeReact;
    animation-duration: 1.2s;
}

/* Animacion i levizjes vertikale */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Animacion hover me levizje dhe rrotullim */
@keyframes floatIconHover {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(10deg);
    }
    50% {
        transform: translateY(-10px) rotate(-10deg);
    }
    75% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Animacion për Node.js dhe React - levizje horizontale dhe vertikale */
@keyframes floatIconNodeReact {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -15px);
    }
    50% {
        transform: translate(-10px, -5px);
    }
    75% {
        transform: translate(10px, -15px);
    }
}

@keyframes floatIconHoverNodeReact {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, -20px) rotate(15deg);
    }
    50% {
        transform: translate(-15px, -10px) rotate(-15deg);
    }
    75% {
        transform: translate(15px, -20px) rotate(15deg);
    }
}

/* Për imazhet e design dhe marketing */
.design-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}
