/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    background: #f59e0b;
    padding: 10px 15px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
    overflow: visible; /* allow bubble to show outside */
}
#cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    transform: translate(40%, -40%); /* keeps it "outside" visually */
    background: red;
    font-weight: bold;
}
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body {
    position: relative;
    font-family: "Poppins", sans-serif;
    background: #fff; /* fallback nëse foto nuk ngarkohet */
    z-index: 0;
}
body::before {
    content: "";
    position: fixed; /* qëndron gjithmonë në sfond */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/bletat.png") center center repeat;
    background-size: contain; /* shtrihet në gjithë faqen */
    opacity: 0.04; /* ndrysho për transparencë */
    z-index: -1; /* pas gjithë përmbajtjes */
}
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    text-align: center;
    max-width: 1200px;
    width: 100%;
}
.feature-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 4px solid #f59e0b;
    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
}
.feature-item h3 {
    margin-top: 10px;
    font-family: Arial, sans-serif;
}
.feature-item div {
    margin: auto;
} /* Header */
header {
    display: flex;
    justify-content: space-between;
    height: 70px;
    align-items: center;
    padding: 15px 10%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
header nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
header nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
.btn-login {
    background: #f59e0b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
}
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}
.rounded-edge {
    top: 0;
    right: 0;
    aspect-ratio: 2/3;
    clip-path: ellipse(100% 85% at 100% 50%);
    background: #e58d2d;
} /* Hero */
.hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px 0px 10%;
    overflow: hidden; /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
}
.hero-bg {
    position: absolute;
    top: 0;
    left: -150px;
    width: 500px;
    height: 500px;
    background: url("./images/bg.png") repeat;
    background-size: 150px;
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}
.hero-text {
    max-width: 50%;
}
.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #f59e0b;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}
.hero-img {
    background-image: url("../images/bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 400px;
    height: 400px;
}
.hero-img img {
    max-width: 400px;
}
/* Navbar fillimisht i fshehur */

#navbar {
    display: flex;
    flex-direction: row;
    color: black;
    width: fit-content;
    height: fit-content;
}
#navbar.active {
    transform: translateX(0); /* rrëshqet brenda */
    opacity: 1;
    pointer-events: auto;
} /* Linkat brenda */
#navbar ul {
    flex-direction: row;
    gap: 20px;
    padding: 0;
    margin: 0;
}
#navbar ul li a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
}
#navbar ul li a:hover {
    color: #f59e0b;
    transform: translateX(5px);
} /* Hamburger */
.hamburger {
    font-size: 28px;
    cursor: pointer;
    display: none;
    transition: transform 0.3s ease;
}
.hamburger.active {
    transform: rotate(90deg);
} /* Vetëm në mobile */

.about {
    display: flex;
    align-items: center;
    padding: 60px 10%;
    gap: 40px; /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
}
.hexagon {
    width: 300px;
    aspect-ratio: 1/1;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    overflow: hidden;
}
.hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hexagon-border {
    width: 320px;
    aspect-ratio: 1/1;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    background: #f8a72e; /* Ngjyra e borderit */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px; /* Trashësia e borderit */
    box-sizing: border-box;
    transition: 0.5s ease; /* Animacioni */
} /* Efekti kur kalon miu */
.hexagon-border:hover {
    box-shadow: 0 0 25px rgba(248, 167, 46, 0.7); /* Glow ngjyrë mjalti */
    transform: scale(1.05); /* Pak zmadhim */
}
.hexagon {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    overflow: hidden;
}
.hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}
.hexagon-border:hover img {
    transform: scale(1.1); /* Zoom i lehtë në foto */
} /* Products */
.products {
    text-align: center;
    justify-content: center;
    padding: 60px 10%;
    background: url("../images/bg.png");
    background-size: contain;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.product-card:hover {
    box-shadow: 0 0 25px rgba(248, 167, 46, 0.7);
    transform: scale(1.02);
    transition: 0.5s ease;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}
.product-card {
    background-image: url("../images/bg.png");
    background-size: cover;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
}
.product-card img {
    max-width: 100%;
}
button {
    background-image: url("../images/bg.png");
    background-size: contain;
}
.footer-social h4 {
    color: #f59e0b;
} /* Partners */
.partners {
    text-align: center;
    padding: 60px 10%;
    background: transparent;
}
.partners h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    color: #4a3c1a;
}
.social-icon {
    display: flex;
    gap: 10px;
    font-size: 20px;
    justify-content: center;
}
.social-icon i {
    color: white;
    transition: color 0.3s ease;
}
.social-icon i:hover {
    color: #d97706;
    cursor: pointer;
}
.footer-links h4 {
    color: #f59e0b;
}
.footer-links a:hover {
    color: #f59e0b !important;
}
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366 !important;
    color: white !important;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
    text-decoration: none;
}
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.partner-card {
    position: relative;
    height: 200px;
    background-image: url("../images/bg.png");
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 20px rgba(248, 167, 46, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card {
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important; /* vijë e hollë rreth */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important; /* hije e butë */
    color: white !important;
}
.card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(248, 167, 46, 0.5);
}
.card-header {
    position: relative; /* duhet për pseudo-elementin absolute */
    overflow: hidden; /* nëse background nuk duhet të dalë jashtë */
    height: 250px;
}
.card-body {
    color: #f59e0b !important;
}
.card-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1; /* transparenca e sfondit */
    background: url("../images/bletat.png");
    background-size: contain;
    z-index: 1;
}
.card-header img {
    position: relative;
    z-index: 2; /* mbi pseudo-elementin */
}
.partner-info {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    width: 100%;
    text-align: center;
}
.partner-info h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.partner-info p {
    margin: 0;
    font-size: 0.9rem;
} /* Floating Cart Button */
.floating-cart {
    position: fixed;
    color: white;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    width: 60px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    background: #f59e0b;
    padding: 10px 15px;
    opacity: 0;
    transform: scale(0);
}
.floating-cart.show {
    opacity: 1;
    transform: scale(1);
}
.floating-cart:hover {
    background-color: #d97706;
    transform: scale(1.1);
} /* Footer */
.lab-report {
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
  background: linear-gradient(
                rgba(229, 142, 38, 0.9),
                rgba(246, 185, 58, 0.9)
            ),
            url("../images/bg.png");
  background-size: cover;
  background-position: center;
}

/* Badge sipër */
.lab-report .badge {
  display: inline-block;
  background: #f59e0b;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Masonry container centers gallery in viewport */
.masonry-container {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    min-height: 100vh;       /* full viewport height */
    padding: 20px;
    box-sizing: border-box;
}

/* Masonry gallery */
.masonry-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* small spacing between images */
    justify-content: center;
}

.masonry-gallery .item {
    display: block;
    width: 150px;  
    height: 150px; 
    overflow: hidden;
    border-radius: 8px;
    flex: 0 0 auto;
}

.masonry-gallery .item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keep aspect ratio, fill container */
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.masonry-gallery .item img:hover {
    transform: scale(1.05);
}

/* Lightbox full-size */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Responsive for tablets */
@media (max-width: 900px) {
    .masonry-gallery .item {
        width: 120px;
        height: 120px;
    }
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .masonry-gallery .item {
        width: 100px;
        height: 100px;
    }
}





/* Butoni toggle */
.lab-report .toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
  padding: 8px 14px;
  font-size: 14px;
  background: #f59e0b;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lab-report .toggle:hover {
  background: #d97706;
}

.lab-report .toggle .icon {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* Pjesa që fshihet */
.lab-report .details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}

/* Kur hapet */
.lab-report .details.show {
  max-height: 2000px; /* mjafton e madhe që të shfaqet e gjitha */
  opacity: 1;
}

.lab-report .toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 30px 10%;
    background: url("../images/bg.png");
    background-size: contain;
    color: white;
}
footer a {
    color: white;
    text-decoration: none;
}
footer img {
    max-width: 120px;
}
.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
} /* Responsive */

.btn-add-cart {
    border: 1px solid white;
    background: #f59e0b;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}
.btn-add-cart:hover {
    color: white;
    background: #f59e0b;
    transition: 0.3s ease;
}
.hero-mobile{
    display: none;
}
/* Për desktop e fsheh */
@media only screen and (min-width: 769px) {
    .hero-mobile {
        display: none;
    }
}
@media (max-width: 700px) {
    header nav {
        display: none; /* hidden by default */
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px; /* below header */
        right: 10%;
        padding: 20px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none; /* prevent clicking when hidden */
    }

    header nav.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .hero {
        display: none;
    }
    .hamburger {
        display: flex;
        font-size: 28px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    .porosit {
        background-color: white;
        color: #f59e0b;
    }
    .hero {
        background: url("../images/bg.png");
        background-size: contain;
        height: auto;
        padding: 0;
    }
    .hero,
    .about,
    footer {
        flex-direction: column;
        text-align: center;
        color: #f59e0b !important;
    }
    .hero-text h1 {
        padding-top: 10px;
        color: white !important;
        font-size: 15px !important;
    }
    .hero-text {
        max-width: 100%;
        color: white !important;
    }
    .about-text {
        max-width: 100%;
        color: #f59e0b !important;
    }
    .footer-social h4 {
        margin-top: 10px;
    }
    #navbar {
        width: fit-content !important;
    }
    #navbar ul {
        display: flex;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
    }
    .hero-mobile {
        display: block;
        text-align: center;
        color: white;
        /* background: url("../images/bg.png");
        background-color: contain;
        background: linear-gradient(
            to bottom,
            rgba(246, 185, 59, 0.95),
            transparent 100%
        ); */
        background: linear-gradient(
                rgba(229, 142, 38, 0.9),
                rgba(246, 185, 58, 0.9)
            ),
            url("../images/bg.png");
        background-size: cover;
        background-position: center;
        padding: 70px 20px;
        height: 100vh;
        height: 100svh;
    }

    .hero-mobile h1 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .hero-mobile p {
        font-size: 16px;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .hero-mobile .btn {
        display: inline-block;
        background: #f39c12;
        color: white;
        padding: 12px 28px;
        border-radius: 8px;
        font-weight: 600;
        transition: 0.3s;
    }
    .hero-mobile img {
        max-width: 300px;
        margin-top: 20px;
    }

    .hero-mobile .btn:hover {
        background: #d35400;
        transform: scale(1.05);
    }
} /* About */
