/* ڕێکخستنی گشتی */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans Arabic', Tahoma, sans-serif;
}

:root {
    --primary-color: #00a884; /* ڕەنگی سەوزی دەرمانخانە */
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-color: #333;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 85%;
    margin: auto;
    max-width: 1200px;
}

/* سەرپەڕە (Header) */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

.btn-admin {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn-admin:hover {
    background-color: var(--primary-color);
}

/* بەشی هیرۆ (Hero Section) */
.hero {
    background: linear-gradient(rgba(0, 168, 132, 0.1), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1586015555751-63bb77f4322a?q=80&w=1200') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-main {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.btn-main:hover {
    background-color: #008f70;
}

/* سەردێڕی بەشەکان */
.section-title {
    text-align: center;
    margin: 50px 0 30px 0;
    font-size: 28px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0 auto;
}

/* خزمەتگوزارییەکان */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.text-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* بەرهەمەکان */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 3px;
    font-weight: bold;
}

.product-img-placeholder {
    background-color: #edf2f7;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #a0aec0;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.product-info .expiry {
    font-size: 13px;
    color: #718096;
    margin-bottom: 15px;
}

.price-section {
    margin-top: auto;
    margin-bottom: 15px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 14px;
    margin-left: 10px;
}

.btn-buy {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: 0.3s;
}

.btn-buy:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* پەیوەندی */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-info i {
    margin-left: 10px;
    color: var(--primary-color);
    width: 20px;
}

.social-icons {
    margin-top: 25px;
}

.social-icons a {
    font-size: 24px;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    outline: none;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-color);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #008f70;
}

/* پێپەڕە (Footer) */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    font-size: 14px;
}

/* گونجاندن بۆ مۆبایل */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero-content h1 {
        font-size: 30px;
    }
}