/**
 * Main Theme Stylesheet
 * Version: 1.0.0
 * Description: Unified CSS for homepage, about, contact, blog posts, and comments
 * Author: Reb7awy Team
 */

/* ============================================
   0. ACCESSIBILITY - SKIP LINK
   ============================================ */
.skip-link {
    position: absolute !important;
    top: -100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #667eea !important;
    color: #fff !important;
    padding: 12px 24px !important;
    z-index: 10000 !important;
    border-radius: 0 0 8px 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: top 0.3s ease !important;
}

.skip-link:focus {
    top: 0 !important;
    outline: 3px solid #fff !important;
    outline-offset: 2px !important;
}

/* ============================================
   1. GLOBAL VARIABLES & RESETS
   ============================================ */
:root {
    /* Primary Colors - Modern 2026 */
    --reb7awy-primary: #667eea;
    --reb7awy-secondary: #764ba2;
    --reb7awy-accent: #f093fb;
    
    /* Dark Theme Colors */
    --reb7awy-bg-dark: #0f172a;
    --reb7awy-bg-card: #1e293b;
    --reb7awy-bg-hover: #334155;
    
    /* Text Colors */
    --reb7awy-text-primary: #f1f5f9;
    --reb7awy-text-secondary: #cbd5e1;
    --reb7awy-text-muted: #94a3b8;
    
    /* Borders & Shadows */
    --reb7awy-border: rgba(255, 255, 255, 0.1);
    --reb7awy-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --reb7awy-glow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Dark Background for entire site */
body {
    background: var(--reb7awy-bg-dark) !important;
    color: var(--reb7awy-text-primary) !important;
    overflow-x: hidden !important;
}

html {
    overflow-x: hidden !important;
}

#page {
    background: var(--reb7awy-bg-dark) !important;
    overflow-x: hidden !important;
}

/* Fix container overflow */
.container,
.container-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ============================================
   2. HEADER & NAVIGATION - RTL OPTIMIZED
   ============================================ */

/* Main Header - Compact & Clean */
.site-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .navbar {
    padding: 10px 40px;
}

.site-header .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 95%;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    padding: 0;
}

.navbar-brand:hover {
    transform: scale(1.03);
    color: white !important;
}

.navbar-brand .site-logo {
    height: 35px;
    width: auto;
}

.navbar-brand i {
    font-size: 1.4rem;
    color: var(--reb7awy-primary);
}

.site-name {
    background: linear-gradient(135deg, var(--reb7awy-primary), var(--reb7awy-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Menu - RTL Support */
.navbar-nav {
    gap: 5px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 18px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link:hover {
    background: rgba(102, 126, 234, 0.2);
    color: white !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active,
.navbar-nav .current-menu-item .nav-link {
    background: rgba(102, 126, 234, 0.3);
    color: white !important;
}

/* Navbar Actions - Cart & User */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Cart Icon */
.nav-cart-link {
    position: relative;
    color: white !important;
    font-size: 1.2rem;
    padding: 8px 12px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-cart-link:hover {
    background: rgba(102, 126, 234, 0.2);
    color: white !important;
    transform: scale(1.08);
}

.cart-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

/* User Account Link - RTL - Direct Link */
.nav-user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white !important;
    text-decoration: none;
    padding: 6px 14px !important;
    border-radius: 20px;
    background: rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-user-link:hover {
    background: rgba(102, 126, 234, 0.3);
    color: white !important;
    transform: translateY(-2px);
}

.nav-user-link .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.5);
    object-fit: cover;
}

.nav-user-link .user-name {
    font-weight: 500;
}

/* Login Button */
.btn-login {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-login:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    color: white !important;
    transform: translateY(-2px);
}

/* Register Button */
.btn-register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(102, 126, 234, 0.6);
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-register:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 22px;
    height: 22px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .site-header .navbar {
        padding: 10px 20px;
    }
    
    .site-header .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }
    
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(102, 126, 234, 0.2);
        margin-top: 10px;
        padding: 15px;
        border-radius: 12px;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        width: 100%;
        text-align: right;
    }
    
    .navbar-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(102, 126, 234, 0.2);
    }
    
    .nav-cart-link,
    .nav-user-link,
    .btn-login {
        width: 100%;
        justify-content: center;
    }
}

/* Fix Bootstrap Conflicts */
.site-header .navbar-nav .nav-item {
    list-style: none;
}

.site-header .navbar-nav > li > a {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 18px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.site-header .navbar-nav > li > a:hover {
    background: rgba(102, 126, 234, 0.2) !important;
    color: white !important;
}


/* ============================================
   3. HOMEPAGE SECTIONS
   ============================================ */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--reb7awy-primary) 0%, var(--reb7awy-secondary) 100%);
    padding: 80px 0;
    border-radius: 0 0 50px 50px;
    margin-bottom: 60px;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section p {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
}

/* Feature Cards */
.feature-card {
    background: var(--reb7awy-bg-card);
    border: 1px solid var(--reb7awy-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--reb7awy-shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--reb7awy-glow);
    border-color: var(--reb7awy-primary);
}

.feature-card h3 {
    color: var(--reb7awy-text-primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--reb7awy-text-secondary);
}

.feature-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--reb7awy-primary), var(--reb7awy-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* ============================================
   3. ABOUT PAGE
   ============================================ */

.about-section {
    background: var(--reb7awy-bg-card);
    border-radius: 30px;
    padding: 50px;
    margin: 40px 0;
    border: 1px solid var(--reb7awy-border);
}

.about-section h2 {
    color: var(--reb7awy-text-primary);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--reb7awy-primary), var(--reb7awy-accent));
    border-radius: 2px;
}

.about-section p {
    color: var(--reb7awy-text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Team Members */
.team-member {
    text-align: center;
    padding: 25px;
    background: var(--reb7awy-bg-dark);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.team-member:hover {
    background: var(--reb7awy-bg-hover);
    transform: scale(1.05);
}

.team-member img {
    border-radius: 50%;
    border: 4px solid var(--reb7awy-primary);
    margin-bottom: 15px;
}

.team-member h4 {
    color: var(--reb7awy-text-primary);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--reb7awy-text-muted);
}

/* ============================================
   4. CONTACT PAGE
   ============================================ */

.contact-form {
    background: var(--reb7awy-bg-card);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid var(--reb7awy-border);
    box-shadow: var(--reb7awy-shadow);
}

.contact-form .form-control,
.contact-form .form-select,
.contact-form textarea {
    background: var(--reb7awy-bg-dark) !important;
    border: 1px solid var(--reb7awy-border) !important;
    color: var(--reb7awy-text-primary) !important;
    border-radius: 12px;
    padding: 15px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus,
.contact-form textarea:focus {
    border-color: var(--reb7awy-primary) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    background: var(--reb7awy-bg-hover) !important;
}

.contact-form label {
    color: var(--reb7awy-text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-info-box {
    background: var(--reb7awy-bg-card);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--reb7awy-border);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    border-color: var(--reb7awy-primary);
    box-shadow: var(--reb7awy-glow);
}

.contact-info-box i {
    font-size: 2.5rem;
    color: var(--reb7awy-primary);
    margin-bottom: 15px;
}

.contact-info-box h4 {
    color: var(--reb7awy-text-primary);
    margin-bottom: 10px;
}

.contact-info-box p {
    color: var(--reb7awy-text-secondary);
    margin: 0;
}

/* ============================================
   5. BLOG POSTS & ARTICLES
   ============================================ */

/* Post Cards */
.blog-post,
.post-card {
    background: var(--reb7awy-bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--reb7awy-border);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.blog-post:hover,
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--reb7awy-glow);
    border-color: var(--reb7awy-primary);
}

.post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-title,
.entry-title {
    color: var(--reb7awy-text-primary) !important;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.post-title a,
.entry-title a {
    color: var(--reb7awy-text-primary) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover,
.entry-title a:hover {
    color: var(--reb7awy-primary) !important;
}

.post-meta,
.entry-meta {
    color: var(--reb7awy-text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-meta a,
.entry-meta a {
    color: var(--reb7awy-primary);
    text-decoration: none;
}

.post-excerpt,
.entry-summary,
.entry-content {
    color: var(--reb7awy-text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Read More Button */
.read-more,
.more-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--reb7awy-primary), var(--reb7awy-secondary));
    color: white !important;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover,
.more-link:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Single Post */
.single-post article,
.single .entry-content {
    background: var(--reb7awy-bg-card);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid var(--reb7awy-border);
}

.single-post .entry-header,
.single .entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--reb7awy-border);
}

.single-post .entry-content,
.single .entry-content {
    color: var(--reb7awy-text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
    color: var(--reb7awy-text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.single-post .entry-content img,
.single .entry-content img {
    border-radius: 15px;
    margin: 20px 0;
    max-width: 100%;
    height: auto;
}

.single-post .entry-content blockquote,
.single .entry-content blockquote {
    background: var(--reb7awy-bg-dark);
    border-right: 4px solid var(--reb7awy-primary);
    padding: 20px 30px;
    border-radius: 10px;
    margin: 30px 0;
    font-style: italic;
    color: var(--reb7awy-text-secondary);
}

.single-post .entry-content code,
.single .entry-content code {
    background: var(--reb7awy-bg-dark);
    color: var(--reb7awy-accent);
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

.single-post .entry-content pre,
.single .entry-content pre {
    background: var(--reb7awy-bg-dark);
    border: 1px solid var(--reb7awy-border);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
}

/* ============================================
   6. COMMENTS SECTION
   ============================================ */

.comments-area {
    background: var(--reb7awy-bg-card);
    border-radius: 30px;
    padding: 50px;
    margin-top: 50px;
    border: 1px solid var(--reb7awy-border);
}

.comments-title {
    color: var(--reb7awy-text-primary);
    margin-bottom: 30px;
    font-size: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: var(--reb7awy-bg-dark);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--reb7awy-border);
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author img {
    border-radius: 50%;
    margin-left: 15px;
    border: 2px solid var(--reb7awy-primary);
}

.comment-author .fn {
    color: var(--reb7awy-text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.comment-metadata {
    color: var(--reb7awy-text-muted);
    font-size: 0.85rem;
}

.comment-metadata a {
    color: var(--reb7awy-text-muted);
    text-decoration: none;
}

.comment-content,
.comment-content p {
    color: var(--reb7awy-text-secondary);
    line-height: 1.7;
}

.reply {
    margin-top: 15px;
}

.comment-reply-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--reb7awy-bg-hover);
    color: var(--reb7awy-primary) !important;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: var(--reb7awy-primary);
    color: white !important;
}

/* Nested Comments */
.children {
    list-style: none;
    padding-right: 40px;
    margin-top: 20px;
}

/* Comment Form */
.comment-respond {
    background: var(--reb7awy-bg-dark);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid var(--reb7awy-border);
}

.comment-reply-title {
    color: var(--reb7awy-text-primary);
    margin-bottom: 20px;
}

.comment-form .form-control,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    background: var(--reb7awy-bg-card) !important;
    border: 1px solid var(--reb7awy-border) !important;
    color: var(--reb7awy-text-primary) !important;
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.comment-form .form-control:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--reb7awy-primary) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    outline: none;
}

.comment-form .form-submit input[type="submit"],
.comment-form .submit {
    background: linear-gradient(135deg, var(--reb7awy-primary), var(--reb7awy-secondary));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form .form-submit input[type="submit"]:hover,
.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ============================================
   7. RATINGS & REVIEWS
   ============================================ */

.star-rating {
    color: #ffd700;
    font-size: 1.2rem;
}

.rating-box {
    background: var(--reb7awy-bg-dark);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--reb7awy-border);
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--reb7awy-primary);
}

.rating-bars {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar-fill {
    flex: 1;
    height: 8px;
    background: var(--reb7awy-bg-card);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--reb7awy-primary), var(--reb7awy-accent));
    border-radius: 4px;
}

.rating-count {
    color: var(--reb7awy-text-muted);
    font-size: 0.9rem;
    min-width: 40px;
}

/* Individual Review */
.review-item {
    background: var(--reb7awy-bg-card);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--reb7awy-border);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-author {
    color: var(--reb7awy-text-primary);
    font-weight: 600;
}

.review-date {
    color: var(--reb7awy-text-muted);
    font-size: 0.85rem;
}

.review-content {
    color: var(--reb7awy-text-secondary);
    line-height: 1.7;
}

/* ============================================
   8. BUTTONS & LINKS
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, var(--reb7awy-primary), var(--reb7awy-secondary)) !important;
    border: none !important;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--reb7awy-primary) !important;
    color: var(--reb7awy-primary) !important;
    background: transparent !important;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--reb7awy-primary) !important;
    color: white !important;
}

a {
    color: var(--reb7awy-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--reb7awy-accent);
}

/* ============================================
   9. PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 12px 20px;
    background: var(--reb7awy-bg-card);
    color: var(--reb7awy-text-primary);
    border: 1px solid var(--reb7awy-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--reb7awy-primary);
    color: white;
    border-color: var(--reb7awy-primary);
}

/* ============================================
   10. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .about-section,
    .contact-form,
    .single-post article,
    .comments-area {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .feature-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .children {
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .post-title,
    .entry-title {
        font-size: 1.4rem;
    }
    
    .comments-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   FOOTER SECTION
   ============================================ */

/* Footer - Minimal Single Row Design */
.site-footer {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    padding: 15px 0;
    margin-top: 40px;
}

.footer-single-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer Logo */
.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 28px;
    width: auto;
}

.footer-brand-text {
    color: var(--reb7awy-text-primary);
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--reb7awy-primary), var(--reb7awy-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer Links Nav */
.footer-links-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-nav a {
    color: var(--reb7awy-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-links-nav a:hover {
    color: var(--reb7awy-primary);
}

/* Footer Copyright */
.footer-copyright {
    color: var(--reb7awy-text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 12px 0;
    }
    
    .footer-single-row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-links-nav {
        gap: 12px;
        justify-content: center;
    }
    
    .footer-links-nav a {
        font-size: 0.85rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
}
