* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #2563eb;
}

.login-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}

.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.date-display {
    margin-top: 20px;
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.section-title {
    margin-bottom: 30px;
    font-size: 1.8rem;
    border-right: 5px solid #2563eb;
    padding-right: 15px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tab-btn {
    padding: 8px 18px;
    border-radius: 25px;
    border: 1px solid #cbd5e1;
    background: white;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    white-space: nowrap;
}

.tab-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.price-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.item-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.item-info .cat {
    font-size: 0.8rem;
    color: #94a3b8;
}

.item-price {
    text-align: left;
}

.price-val {
    font-size: 1.3rem;
    font-weight: 700;
    color: #15803d;
    display: block;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.blog-img {
    height: 180px;
    background: #e2e8f0 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23cbd5e1" d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/></svg>') center no-repeat;
    background-size: 50px;
}

.blog-img.alt { background-color: #cbd5e1; }

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #1e293b;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.footer {
    background: #1e293b;
    color: #f8fafc;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    position: relative;
}

.close {
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.auth-form input {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
}

.submit-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.divider {
    text-align: center;
    margin: 10px 0;
    color: #64748b;
    font-size: 0.8rem;
}

.google-btn {
    background: #f1f5f9;
    border: 1px solid #d1d5db;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .nav-links li:not(:last-child) {
        display: none;
    }
}