/* Ümumi stil */
* { box-sizing: border-box; margin:0; padding:0; font-family: Arial, sans-serif; }

body { background-color: #ffffff; }

header {
    position: relative;
    background-color: #E8FA43; /* mövcud rəngin */
    padding: 20px;
    text-align: center;
}

header {
    position: relative;
    background-color: yellow; /* mövcud rəng */
    padding: 20px;
    text-align: center;
}

header .header-logo {
    position: absolute;
    bottom: 5px;
    width: 50px;
    height: auto;
}

header .left-logo {
    left: 10px;
}

header .right-logo {
    right: 10px;
}



/* Top bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #ffffff;
    flex-wrap: wrap;
}

button {
    padding: 15px 17px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    background-color: #E8FA43;
    border-radius: 5px;
    flex: 1 1 auto;
    margin: 5px 0;
}

button:hover { background-color: #6ab2d1; }

/* Panel */
.panel {
    display: none;
    position: absolute;
    top: 120px;
    left: 20px;
    background: #6ab2d1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10;
    width: 250px;
}

#cart-panel { right: 20px; left: auto; }

#menu-panel ul li {
    list-style: none;
    padding: 10px;
    cursor: pointer;
}

#menu-panel ul li:hover {
    background-color: #f0f0f0;
}

/* Məhsullar */
.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #ffffff;
    padding: 20px 10px;
}

.product {
    background-color: #ffffff;
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
    width: 380px;
    text-align: center;
}

.product img {
    width: 400%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
}

.product h3 {
    margin: 5px 0;
    font-size: 16px;
}

.product .price {
    color: red;
    font-weight: bold;
    margin: 7px 0;
}

.product button.add-to-cart {
    margin-top: 5px;
    padding: 7px 9px;
    background-color: #E8FA43;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.product button.add-to-cart:hover {
    background-color: #247bba;
}

/* WhatsApp düyməsi */
.whatsapp-btn {
    display: block;
    margin-top: 10px;
    padding: 10px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
}

/* Footer */
footer {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    margin-top: 20px;
}

footer .social-links {
    margin-bottom: 10px;
}

footer .social-links a img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    vertical-align: middle;
}

footer .contact-info p {
    margin: 3px 0;
    font-size: 17px;
    font-weight: bold;
    color: #000000;
}

/* Mobil üçün optimizasiya */
@media (max-width: 768px){
    header { font-size: 1.5em; padding: 15px; }

    .top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .panel {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        margin: 10px 0;
    }

    .product-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .product {
        width: 90%;
        margin: 10px 0;
    }

    button { width: 100%; }

    .product img { height: auto; }
}
.center-logo {
    display: flex;
    justify-content: center;
    margin: 20px 0; /* loqonun məhsulların altından boşluğu */
}

.center-logo img {
    width: 150px; /* lazım olsa ölçüsünü dəyiş */
    height: auto;
}
.map-container {
    margin-top: auto;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}
.product img {
    max-height: 150px; /* istədiyin hündürlüyə görə dəyişə bilərsən */
    width: auto;
    display: block;
    margin: 0 auto;
}
.product img {
    max-height: 250px;   /* hündürlüyü məhdudlaşdırır */
    width: 70%;         /* şəkil kartın eninə uyğun olacaq */
    object-fit: cover;   /* şəkil kartın ölçüsünə uyğun şəkildə kəsilir */
    display: block;
    margin: 0 auto;
}
/* Overlay üçün */
.img-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); /* arxa fon dumanlı */
    backdrop-filter: blur(5px);   /* arxa fonu blur edir */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

/* Overlay aktiv olduqda */
.img-overlay.active {
    visibility: visible;
    opacity: 1;
}
.product img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product img:hover {
    transform: scale(1.1);
}
header h1 {
    font-family: 'Arial Black', sans-serif; /* qalın və aydın font */
    font-size: 48px;
    color: #ffffff; /* əsas rəng */
    -webkit-text-stroke: 1px #000000; /* xarici xətt */
    text-shadow: 
        2px 2px 0 #1f1e1d,   /* ikinci xətt */
        -2px -2px 0 #272725; /* əlavə xətt */
}
.search-container {
    text-align: center;
    margin: 20px 0;
}

#search-input {
    width: 70%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #cccccc;
}
/* Əsas stil */
header {
    position: relative;
    height: 140px; /* bir az hündür saxladıq */
    padding: 0 20px;
}

.header-logo {
    width: 170px; /* daha böyük logo */
    height: auto;
    position: absolute;
    top: 40px;
}

.left-logo {
    left: 20px;
}

.right-logo {
    right: 20px;
}

header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 55px; /* böyük və oxunaqlı */
}

/* Mobil üçün */
@media (max-width: 480px) {
    .header-logo {
        width: 10px; /* hələ də oxunaqlı */
        top: 40px;    /* üst məsafəni qoruduq */
    }

    header h1 {
        font-size: 30px; /* oxunaqlı */
        top: 50%;
        transform: translate(-50%, -50%);
    }

    header {
        height: 120px; /* balanslı hündürlük */
    }
}
