﻿/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.page-container {
    padding: 60px 0;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #2f2f2f;
    text-decoration: none;
}

.logo span {
    color: #6b7a3a; /* Olive */
}

.main-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

    .main-nav a:hover {
        color: #6b7a3a;
    }

/* Footer */
.site-footer {
    background: #f3f3f3;
    padding: 50px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.footer-brand span {
    color: #6b7a3a;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #333;
}

    .footer-links a:hover {
        color: #6b7a3a;
    }

.footer-legal p {
    font-size: 14px;
    color: #555;
}

/* ============================
   RESPONSIVE HEADER
   ============================ */

/* زر الهامبرغر */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #333;
        border-radius: 3px;
    }

/* إخفاء القائمة في الجوال */
@media (max-width: 768px) {

    .main-nav ul {
        display: none;
        flex-direction: column;
        background: #fff;
        padding: 20px;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        border: 1px solid #eee;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

        .main-nav ul.active {
            display: flex;
        }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-flex {
        position: relative;
    }
}
