:root {
    --brand-900: #4a2613;
    --brand-800: #6b3219;
    --brand-700: #8b4421;
    --brand-500: #c97a38;
    --sand-100: #fff7ec;
    --sand-200: #f6e6d3;
    --white: #ffffff;
    --radius-xl: 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(201, 122, 56, 0.2);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--brand-700);
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--sand-100);
    padding: 0.2rem;
    box-shadow: 0 8px 20px rgba(139, 68, 33, 0.18);
}

.logo-text {
    font-family: 'El Messiri', 'Cairo', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(246, 230, 211, 0.7), rgba(255, 255, 255, 0.85));
}

.main-nav a {
    color: var(--brand-700);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.02rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: linear-gradient(120deg, var(--brand-500), var(--brand-800));
    box-shadow: 0 10px 20px rgba(139, 68, 33, 0.3);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.header-icons a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sand-100);
    color: var(--brand-700);
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.header-icons a:hover {
    transform: translateY(-2px);
    color: var(--white);
    background: var(--brand-700);
}

.site-footer {
    margin-top: 3.5rem;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background:
        radial-gradient(circle at 18% 25%, rgba(246, 230, 211, 0.22), transparent 45%),
        linear-gradient(120deg, var(--brand-700), var(--brand-900));
    color: var(--white);
}

.footer-inner {
    min-height: 158px;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
}

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 0.2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover {
    color: #ffdcb8;
}

.footer-copy {
    font-size: 0.95rem;
    opacity: 0.95;
}

@media (max-width: 960px) {
    .header-inner {
        min-height: auto;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 18px;
    }

    .main-nav a {
        padding: 0.6rem 0.95rem;
    }

    .logo-text {
        font-size: 1.65rem;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        min-height: 140px;
    }

    .footer-copy {
        text-align: center;
        line-height: 1.8;
    }
}
