/* General Styles */
:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --danger-color: #EF4444;
    --dark-color: #1F2937;
    --light-bg: #F9FAFB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
}

body[dir="rtl"] {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

/* Header */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 8px 16px !important;
}

/* Language Switcher */
.language-switcher .btn {
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
}

.language-switcher .btn-outline-primary.active {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-width: 600px;
    margin: 30px auto;
}

.search-box input {
    border: none;
    outline: none;
    padding: 15px 25px;
    font-size: 16px;
    width: 100%;
}

.search-box button {
    border-radius: 50px;
    padding: 12px 35px;
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
}

.search-box button:hover {
    background: #4338CA;
}

/* Store Card */
.store-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.store-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    background: #F9FAFB;
    padding: 10px;
}

.store-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.store-description {
    color: #6B7280;
    font-size: 0.95rem;
}

/* Coupon Card */
.coupon-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #F3F4F6;
    transition: all 0.3s ease;
}

.coupon-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.15);
}

.coupon-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.discount-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 10px;
}

.verified-badge {
    background: #DBEAFE;
    color: #1E40AF;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.coupon-code {
    background: #F9FAFB;
    border: 2px dashed var(--primary-color);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.coupon-code:hover {
    background: var(--primary-color);
    color: white;
}

.btn-copy {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #4338CA;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .store-logo {
        width: 60px;
        height: 60px;
    }
    
    .store-name {
        font-size: 1.1rem;
    }
}