/*
Theme Name: Alfegyptian Pro
Text Domain: alfegyptian-pro
Version: 1.0.0
Description: Premium, completely customizable, bilingual WordPress theme for Anna Lindh Egyptian Network with custom post types for Board and Network members.
Author: Antigravity AI
Author URI: https://google.com
License: GPLv2 or later
Tags: right-to-left, translation-ready, custom-menu, featured-images, full-width-template
*/

/* Core CSS Variables */
:root {
	--gold: #C9A84C;
	--gold-light: #E8D49A;
	--gold-dark: #8A6A1F;
	--navy: #0D1B2A;
	--navy-mid: #1A2D42;
	--navy-light: #243650;
	--cream: #FAF8F3;
	--text-main: #1A1A1A;
	--text-muted: #5C6370;
	--border: rgba(201,168,76,0.2);
	--white: #FFFFFF;
}

body {
	font-family: 'Noto Kufi Arabic', 'Segoe UI', sans-serif;
	background: var(--cream);
	color: var(--text-main);
	font-size: 15px;
	line-height: 1.7;
	overflow-x: hidden;
}

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

/* Reset for basic WP tags */
img {
	max-width: 100%;
	height: auto;
}

/* Ticker Bar */
.ticker-bar { background: var(--navy); color: var(--gold-light); padding: 8px 0; overflow: hidden; font-size: 13px; border-bottom: 1px solid var(--gold-dark); }
.ticker-inner { display: flex; align-items: center; gap: 0; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-label { background: var(--gold); color: var(--navy); font-weight: 600; padding: 0 16px; font-size: 12px; letter-spacing: 0.03em; flex-shrink: 0; position: relative; z-index: 2; }
.ticker-items { display: flex; gap: 40px; flex-shrink: 0; padding: 0 40px; }
.ticker-item::before { content: "✦ "; color: var(--gold); }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* Navbar */
.navbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 72px; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 12px rgba(13,27,42,0.06); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-circle { width: 44px; height: 44px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.logo-text { line-height: 1.3; }
.logo-text .t1 { font-size: 14px; font-weight: 700; color: var(--navy); }
.logo-text .t2 { font-size: 11px; color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; }
.nav-links li { margin: 0; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--text-muted); padding: 8px 14px; border-radius: 6px; transition: all 0.2s; font-weight: 400; }
.nav-links a:hover, .nav-links li.current-menu-item > a { color: var(--navy); background: rgba(13,27,42,0.05); }
.nav-cta { background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: 6px; border: none; cursor: pointer; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-dark); color: var(--white); }

/* Buttons */
.btn-primary { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 14px; padding: 12px 28px; border-radius: 6px; border: none; cursor: pointer; text-decoration: none; transition: all 0.2s; display: inline-block;}
.btn-primary:hover { background: #B8923C; }
.btn-outline { background: transparent; color: rgba(255,255,255,0.8); font-size: 14px; padding: 12px 28px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; text-decoration: none; transition: all 0.2s; display: inline-block;}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { background: transparent; color: var(--navy); font-size: 14px; padding: 12px 28px; border-radius: 6px; border: 1px solid var(--navy); cursor: pointer; text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center;}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* Globals Sections */
.section { padding: 64px 40px; }
.section-header { margin-bottom: 40px; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 10px; background: rgba(201,168,76,0.1); border-radius: 4px; margin-bottom: 10px; }
.section-title { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.section-divider { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 12px; }

/* Article / Page Arc Styles */
.page-hero { background: var(--navy); position: relative; padding: 60px 40px 80px; overflow: hidden; text-align: center; color: var(--white); }
.page-hero-title { font-size: 32px; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 2; }
.page-hero .hero-bg-pattern { position: absolute; inset: 0; opacity: 0.04; background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%), repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%); background-size: 30px 30px; }
.page-hero-arc { position: absolute; bottom: -1px; left: 0; right: 0; height: 40px; background: var(--cream); clip-path: ellipse(55% 100% at 50% 100%); }

.main-content-area { max-width: 900px; margin: 40px auto; padding: 0 20px; font-size: 16px; line-height: 1.9; }

/* Grid systems */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Footer */
.footer { background: #070F1A; padding: 48px 40px 24px; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand .logo-circle { width: 40px; height: 40px; font-size: 16px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.8; max-width: 300px; }
.footer-col h5 { font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }

/* Forms */
input[type="text"], input[type="email"], textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; background: rgba(255,255,255,0.6); font-family: inherit; font-size: 14px; color: var(--navy); margin-bottom: 16px; transition: border-color 0.2s;}
input:focus, textarea:focus { outline: none; border-color: var(--gold); }

/* Responsive Base */
@media (max-width: 768px) {
	.navbar { padding: 0 20px; }
	.nav-links { display: none; }
	.grid-3 { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.section, .footer { padding-left: 24px; padding-right: 24px; }
}
