/* General Styles */
:root {
    --primary-color: #4a6572;
    --secondary-color: #f9aa33;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --dark-color: #344955;
    --light-color: #f5f7fa;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-color);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.rtl {
    direction: rtl;
    text-align: right;
}

body.ltr {
    direction: ltr;
    text-align: left;
}

/* Header & Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Banner */
.banner-container {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.banner-image {
    height: 300px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.5s ease;
}

.banner-container:hover .banner-image {
    transform: scale(1.02);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.menu-card {
    border: 1px solid #e0e0e0;
}

.menu-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-card:hover .card-img-top {
    transform: scale(1.05);
}

.offer-card {
    position: relative;
    overflow: hidden;
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
}

.ending-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
}

.stat-card {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(74, 101, 114, 0.25);
}

/* Badges */
.badge {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Countdown Timer */
.countdown-timer {
    font-family: 'Courier New', monospace;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1rem;
    min-width: 80px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
}

.countdown-label {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.countdown-separator {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 3rem 0;
    border-radius: 0 0 30px 30px;
    margin-top: -1rem;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

body.rtl .section-title::after {
    left: auto;
    right: 0;
}

/* Category Sections */
.category-section {
    margin-bottom: 3rem;
}

.category-title {
    color: var(--primary-color);
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
}

body.rtl .category-title::after {
    left: auto;
    right: 0;
}

/* Image Gallery */
.image-gallery {
    margin-top: 1rem;
}

.gallery-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(249, 170, 51, 0.3);
}

/* Pricing */
.price {
    font-weight: bold;
    color: var(--primary-color);
}

.original-price {
    font-size: 0.875rem;
}

.offer-price {
    color: var(--success-color);
}

/* Social Icons */
.social-icons a {
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-image {
        height: 200px;
    }
    
    .banner-overlay h1 {
        font-size: 2rem;
    }
    
    .banner-overlay p {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand span {
        display: none;
    }
    
    .banner-image {
        height: 150px;
    }
    
    .hero-section .display-5 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
}



.social-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.social-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-section .section-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}



/* Social Media Cards Styling */
.social-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

.social-image-container {
    height: 120px;
    overflow: hidden;
}

.social-image {
    transition: transform 0.5s ease;
}

.social-card:hover .social-image {
    transform: scale(1.05);
}

.social-overlay {
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover .social-overlay {
    opacity: 1;
}

.social-name-bg {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

/* For smaller screens */
@media (max-width: 768px) {
    .social-image-container {
        height: 100px;
    }
}



