* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.logo-img{
    width: 5%;
    border-radius: 50px;
    margin-right:2%;
    margin-left: 1%;
}
nav.navbar.navbar-expand-lg {

    width: 100% !important;
    z-index: 9999 !important;
    background-color: #f8f9fa !important; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    
}
.first-div{
    padding-top: 10%;
    background-image: url(landing.png);
    height: 70ch;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -10%;
     display: flex;
  justify-content: center; 
  align-items: center;   
  text-align: center;
  color: white;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a4a5e; 
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}
nav{
    position: fixed;
}

.hero-buttons .btn-primary {
    background-color: #68b7de; 
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-right: 15px;
    transition: 0.3s;
}

.hero-buttons .btn-secondary {
    border: 2px solid #68b7de;
    color: #68b7de;
    padding: 10px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-buttons .btn-primary:hover {
    background-color: #78e6db;
}

.pharmacy-container {
    padding: 60px 10%;
    background-color: #f9f9f9; 
}
:root {
    --brand-color: #68b7de; 
    --text-dark: #333;
    --border-light: #eee;
}

.pharmacy-section {
    padding: 50px 5%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* Респонзивна мрежа */
.products-container {
    display: grid;
    /* Ова прави 4 колони на десктоп, 2 на таблет, 1 на мобилен */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.product-card {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.img-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.rating {
    color: #ffcc00;
    font-size: 14px;
    margin-bottom: 8px;
}

.product-details h3 {
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
    min-height: 40px; /* За да бидат насловите порамнети */
}

.price-range {
    color: var(--brand-color); /* Твојата боја за цената */
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 15px;
}

.buy-btn {
    background: none;
    border: 1px solid var(--brand-color);
    color: var(--brand-color);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.buy-btn:hover {
    background: var(--brand-color);
    color: white;
}

/* Стил за пагинацијата долу */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    text-decoration: none;
    color: #777;
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: 0.3s;
}

.pagination a.active {
    background-color: var(--brand-color);
    color: white;
    border-color: var(--brand-color);
}

.pagination a:hover:not(.active) {
    background-color: #f5f5f5;
}
.container-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 60px 10%;
    background: #f9f9f9;
    gap: 40px;
}

.container-flex.reverse {
    flex-direction: row-reverse; /* Ја менува страната на сликата и текстот */
    background: #fff;
}

.info-text {
    flex: 1;
}

.info-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.info-image {
    flex: 1;
    max-width: 500px;
}

.info-image img {
    width: 100%;
    border-radius: 15px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.full-footer {
    width: 100%;
    background-color: #f8f9fa; 
    border-top: 1px solid #ddd;
    padding-top: 50px;
    margin-top: 50px;
    color: #333;

}


.footer-inner {
    max-width: 1200px; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 20px 40px 20px;
}

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #68b7de;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #68b7de;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #555;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #68b7de;
}

.secure-badge {
    margin-top: 15px;
    background: #e7f3ff;
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
    color: #68b7de;
    display: inline-block;
}

.footer-copyright {
    width: 100%;
    background-color: #eee;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #777;
}
.logo-img2{
    width: 30%;
    border-radius: 60px;
    margin-bottom: 10px;
    margin-top: -5%;
}

/* Контејнер за сортирање */
.sorting-container {
    display: flex;
    justify-content: flex-end; /* Го носи менито на десната страна */
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* Стилизирање на самиот select box */
#sort-products {
    padding: 10px 15px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none; /* Го трга стандардниот изглед на пребарувачот */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23333" d="M5 7l5 5 5-5z"/></svg>'); /* Сопствена стрелка */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    padding-right: 40px;
    min-width: 220px;
}

/* Ефект кога ќе се кликне (фокус) */
#sort-products:focus {
    border-color: #007bff; /* Сина боја како на сликата */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

/* Стилизирање на опциите внатре во менито */
#sort-products option {
    padding: 10px;
    background-color: #fff;
    color: #333;
}


/* Прилагодување за мобилни уреди */
@media (max-width: 768px) {
    .sorting-container {
        justify-content: center; /* Го центрира на мобилен */
        margin: 10px auto;
    }
    
    #sort-products {
        width: 100%; /* Го шири преку цел екран на мали телефони */
        max-width: 300px;
    }
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .container-flex, .container-flex.reverse {
        flex-direction: column; 
        text-align: center;
    }
}
@media screen and (max-width: 768px) {
.logo-img{
    width: 20%;
}
}

.floating-cart {
    color: rgba(0, 0, 0, 0.55) !important; 
    transition: color 0.3s ease;
    text-decoration: none;
    margin-right: 13%;
}

.floating-cart:hover {
    color: #68b7de !important; 
}


@media (max-width: 991px) {
    .floating-cart {
        position: fixed !important;
        bottom: 25px !important;
        right: 20px !important;
        background-color: #68b7de !important; 
        color: white !important;
        padding: 12px 20px !important;
        border-radius: 50px !important;
        z-index: 10000 !important;
        display: flex !important; 
        align-items: center;
        box-shadow: 0px 6px 20px rgba(0,0,0,0.25) !important;
        margin-right: 0;
    }

   
    .floating-cart svg {
        fill: white !important;
    }
}