/* FK Yamiz Restaurant - Main Stylesheet */

/* Import Brand Colors */
@import url('colors.css');

/* General Styles */
body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary);
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    text-align: center;
    color: var(--primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* Header & Navigation */
.navbar-brand img {
    margin-right: 10px;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-bottom: 2rem;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for better text visibility */
}

.hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    display: inline-block;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent); /* Brand accent color border */
}

.hero-title {
    font-size: 3.5rem; /* Larger font size */
    font-weight: 800; /* Bolder font weight */
    margin-bottom: 1rem;
    color: var(--accent); /* Using brand accent color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Text shadow for better visibility */
}

.hero-subtitle {
    font-size: 1.8rem; /* Larger subtitle */
    margin-bottom: 2rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Text shadow for better visibility */
}

/* Menu Items */
.menu-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.menu-item-content {
    padding: 20px;
}

.menu-item-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.menu-item-price {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.menu-item-description {
    color: #6c757d;
    margin-bottom: 15px;
}

/* Category Pills */
.category-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.category-pill {
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-pill.active {
    background-color: var(--accent);
    color: var(--text-dark);
}

/* Cart */
.cart-item {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-summary {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Order Form */
.order-form {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.feature-box {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 15px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-info-item i {
    margin-right: 10px;
    color: var(--accent);
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--text-dark) !important;
    text-decoration: none;
}

/* Admin Dashboard */
.dashboard-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.dashboard-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.dashboard-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.dashboard-card-value {
    font-size: 2rem;
    font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
}


/* RTL Specific Styles */
.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* Add Tajawal font for Arabic */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');
