/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Amiri:wght@400;700&family=Inter:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
    /* Brand Colors (derived from logo) */
    --primary-color: #264A31; /* Deep Forest Green */
    --primary-light: #366645;
    --secondary-color: #C5A059; /* Rich Gold */
    --secondary-light: #d4af37;
    
    /* Neutral Colors */
    --dark-color: #222222;
    --light-color: #FDFDFB; /* Soft off-white */
    --gray-color: #F0F0F0;
    --text-color: #333333;
    --text-muted: #666666;
    
    /* Utilities */
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* LTR vs RTL Typography */
body[dir="ltr"] {
    font-family: 'Inter', sans-serif;
}
body[dir="ltr"] h1, body[dir="ltr"] h2, body[dir="ltr"] h3 {
    font-family: 'Playfair Display', serif;
}

body[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}
body[dir="rtl"] h1, body[dir="rtl"] h2, body[dir="rtl"] h3 {
    font-family: 'Amiri', serif;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 75px; /* Adjust according to logo */
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 4rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}
.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}
.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #4ade80;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 3rem 5%;
    margin-top: 4rem;
}
footer a {
    color: var(--secondary-color);
    text-decoration: none;
}
footer a:hover {
    color: #fff;
}
