/* AURA LIFE - Unified Styles */
:root {
    --primary: #80566a;
    --primary-dark: #6a4757;
    --primary-light: #9a7285;
    --secondary: #e5bbc7;
    --secondary-light: #f5e8ec;
    --white: #fff;
    --cream: #fdfbfa;
    --gray-100: #f3f0ef;
    --gray-200: #e8e4e2;
    --gray-400: #a8a099;
    --gray-600: #5c5550;
    --gray-700: #3d3835;
    --gray-800: #262321;
    --font: 'Tajawal', sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 4px 30px rgba(128,86,106,0.12);
    --shadow-lg: 0 20px 60px rgba(128,86,106,0.2);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--cream); color: var(--gray-700); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-logo img {
    height: 50px;
    width: auto;
}
.site-logo span {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}
.main-nav {
    display: flex;
    gap: 30px;
}
.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
[dir="ltr"] .main-nav a::after { right: auto; left: 0; }
.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}
.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 15px;
    transition: var(--transition);
}
.header-btn:hover, .header-btn.active {
    background: var(--primary);
    color: var(--white);
}
.lang-btn {
    width: auto;
    padding: 0 15px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--gray-600);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.mobile-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 1600;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border-radius: 30px 0 0 30px;
}
[dir="ltr"] .mobile-menu {
    right: auto;
    left: 0;
    transform: translateX(-100%);
    border-radius: 0 30px 30px 0;
}
.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu-header {
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 30px 0 0 0;
}
[dir="ltr"] .mobile-menu-header {
    border-radius: 0 30px 0 0;
}
.mobile-menu-header img {
    height: 38px;
}
.mm-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
}
.mobile-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
}
.mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}
.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}
.mobile-nav a i {
    width: 24px;
    font-size: 18px;
    color: var(--primary);
}
.mobile-nav a:hover, .mobile-nav a.active {
    background: var(--secondary-light);
    color: var(--primary);
}
.mobile-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 10px;
}
.mobile-footer a {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}
.mobile-footer .btn-primary {
    background: var(--primary);
    color: var(--white);
}
.mobile-footer .btn-outline {
    background: var(--gray-100);
    color: var(--primary);
}

@media (max-width: 992px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
}

/* ============ FOOTER ============ */
.footer, .site-footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: rgba(255,255,255,0.9);
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}
.footer .hero-waves, .site-footer .hero-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.3;
}
.footer .hero-wave, .site-footer .hero-wave {
    position: absolute;
    width: 200%;
    height: 200px;
    opacity: 0.1;
}
.footer .hero-wave svg, .site-footer .hero-wave svg {
    width: 100%;
    height: 100%;
}
.footer .hero-wave:nth-child(1), .site-footer .hero-wave:nth-child(1){bottom:0;opacity:0.1}
.footer .hero-wave:nth-child(2), .site-footer .hero-wave:nth-child(2){bottom:40px;opacity:0.07}
.footer-main, .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}
.footer-brand{text-align:right}
[dir="ltr"] .footer-brand{text-align:left}
.footer-logo-img, .footer-brand img {
    height: 55px;
    margin-bottom: 15px;
}
.footer-logo-text, .footer-brand > span {
    display: block;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--white);
}
.footer-desc {
    font-size: 13px;
    line-height: 1.9;
    opacity: 0.85;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}
.footer-links h4, .footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-links h4::after, .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}
[dir="ltr"] .footer-links h4::after, [dir="ltr"] .footer-col h4::after { right: auto; left: 0; }
.footer-links a, .footer-col a {
    display: block;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 10px;
    transition: var(--transition);
}
.footer-links a:hover, .footer-col a:hover {
    opacity: 1;
    color: var(--secondary);
}
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .footer-main, .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    .footer-logo-img { margin: 0 auto 15px; }
    .footer-social { justify-content: center; }
    .footer-links, .footer-col { text-align: center; }
    .footer-links h4::after, .footer-col h4::after { right: 50%; transform: translateX(50%); }
}

@media (max-width: 576px) {
    .footer-main, .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand { grid-column: span 1; }
    .footer-links, .footer-col {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 25px;
    }
    .footer-links:last-child, .footer-col:last-child { border-bottom: none; }
    .footer-links a, .footer-col a {
        display: inline-block;
        margin: 5px 10px;
    }
}

/* ============ TOAST ============ */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gray-800);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s;
    z-index: 9999;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-notification.success { background: #10b981; }
.toast-notification.error { background: #ef4444; }
.toast-notification.warning { background: #f59e0b; }

/* ============ PAGE HEADER ============ */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 130px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-hero .hero-waves, .hero-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}
.page-hero .hero-wave, .hero-wave {
    position: absolute;
    width: 200%;
    height: 200px;
}
.page-hero .hero-wave svg, .hero-wave svg {
    width: 100%;
    height: 100%;
}
.page-hero .hero-wave:nth-child(1), .hero-wave:nth-child(1) { bottom: 0; opacity: 0.06; }
.page-hero .hero-wave:nth-child(2), .hero-wave:nth-child(2) { top: 0; opacity: 0.04; }
.page-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    position: relative;
    z-index: 2;
}
.page-hero .container {
    position: relative;
    z-index: 2;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--secondary-light);
}
.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
