/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #9a3f33; --red-light: #c24b40; --red-dark: #7b2c26;
  --gold: #f9a825; --white: #ecdbc2; --off-white: #f8dcc5;
  --gray: #666; --dark: #1a1a1a; --nav-h: 80px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); background: rgba(236,219,194,0.97); backdrop-filter: blur(10px); display: flex; align-items: center; padding: 0 5%; box-shadow: 0 2px 20px rgba(0,0,0,0.08); justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 52px; }
.nav-logo span { font-family: 'Libre Bodoni', serif; font-weight: 900; font-size: 1rem; color: var(--red-light); letter-spacing: 2px; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--dark); letter-spacing: 1px; text-transform: uppercase; position: relative; padding-bottom: 4px; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--red); transition: width .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--dark); }

/* ── LANG TOGGLE ── */
.lang-toggle { background: transparent; border: 2px solid var(--red); color: var(--red-dark); padding: 7px 14px; border-radius: 8px; font-weight: 800; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; letter-spacing: 1px; transition: all .25s ease; display: flex; align-items: center; gap: 6px; min-width: 60px; justify-content: center; }
.lang-toggle:hover { background: var(--red); color: var(--white); transform: translateY(-1px); }
.lang-toggle:active { transform: scale(0.96); }
.lang-toggle .globe { font-size: 1rem; }

/* ── MOBILE MENU ── */
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--white); z-index: 2000; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--dark); text-decoration: none; }
.mobile-close { position: absolute; top: 24px; right: 24px; font-size: 1.8rem; cursor: pointer; }

/* ── SECTIONS ── */
section { padding: 90px 5%; }
.section-tag { display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); border-left: 3px solid var(--gold); padding-left: 10px; margin-bottom: 14px; }
h2.section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--dark); line-height: 1.2; margin-bottom: 20px; }
.max { max-width: 1100px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 14px 36px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: all .25s; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(236,219,194,0.7); }
.btn-outline:hover { background: rgba(236,219,194,0.15); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-gold:hover { background: #e69c1e; transform: translateY(-2px); }

/* ── PAGE HERO ── */
.page-hero { height: 340px; background: linear-gradient(135deg, rgba(123,44,38,0.9), rgba(154,63,51,0.75)), url('./assets/background.jpg') center/cover; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: var(--nav-h); }
.page-hero h1 { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); }
.page-hero p { color: rgba(236,219,194,0.85); margin-top: 12px; font-size: 1rem; }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(236,219,194,0.7); padding: 60px 5% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-brand img { height: 48px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col a { display: block; text-decoration: none; color: rgba(236,219,194,0.65); font-size: 0.88rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--red-light); }
.footer-col p { font-size: 0.88rem; padding: 4px 0; }
.footer-map { width: 100%; height: 170px; border-radius: 6px; overflow: hidden; margin-top: 8px; border: 2px solid rgba(236,219,194,0.1); }
.footer-map iframe { width: 100%; height: 100%; border: none; filter: grayscale(60%) invert(90%) hue-rotate(180deg); }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; border-top: 1px solid rgba(236,219,194,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: rgba(236,219,194,0.4); }

/* ── SOCIAL CARDS ── */
.social-card { text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.social-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.13); }
.social-icon-wrap { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }

/* ── PRIVACY MODAL ── */
.privacy-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.45); z-index: 4000; padding: 20px; }
.privacy-modal.open { display: flex; }
.privacy-modal .modal-box { background: var(--white); color: var(--dark); max-width: 720px; width: 100%; border-radius: 8px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,0.35); direction: ltr; }
.privacy-modal .modal-box.ar { direction: rtl; text-align: right; }
.privacy-modal .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.privacy-modal .modal-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--dark); }
.privacy-modal .modal-close { background: transparent; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--gray); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s; }
.privacy-modal .modal-close:hover { background: rgba(0,0,0,0.08); }
.privacy-modal .modal-body { max-height: 60vh; overflow: auto; color: var(--gray); line-height: 1.7; font-size: 0.92rem; }
.privacy-modal .modal-body p { margin-bottom: 12px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RTL ── */
[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
[dir="rtl"] .section-tag { border-left: none; border-right: 3px solid var(--gold); padding-left: 0; padding-right: 10px; }
[dir="rtl"] .mobile-close { right: auto; left: 24px; }

/* ── RESPONSIVE ── */
@media(max-width: 1050px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 900px) {
  .nav-links { display: none; } .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lang-toggle { padding: 6px 10px; font-size: 0.75rem; }
}
@media(max-width: 600px) { section { padding: 60px 5%; } }
