/*
Theme Name: Furas Theme
Theme URI: https://furas.momah.gov.sa
Author: Claude AI
Author URI: https://claude.ai
Description: قالب مشابه لتصميم بوابة فرص الاستثمارية - RTL Arabic Theme
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: furas-theme
Tags: rtl-language, arabic, investment, government, portfolio
*/

/* ==================================================
   FURAS THEME - MAIN STYLES
   ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --teal: #1a9e8f;
  --teal-dark: #0d7a6e;
  --teal-light: #2bbdac;
  --teal-bg: #0e6b5f;
  --dark: #0a0e14;
  --white: #ffffff;
  --gray-light: #f5f7f7;
  --text-dark: #1a1a2e;
}

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

body {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--text-dark);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.site-header {
  background: #fff;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.site-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 55px; height: 55px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a { color: #333; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang-btn {
  background: none;
  border: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  cursor: pointer;
  color: #333;
}

.login-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.login-btn:hover { background: var(--teal-dark); }

/* ===== HERO ===== */
.hero-section {
  background: radial-gradient(ellipse at center, #0d2a2a 0%, #030a0a 70%);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-globe {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a4a5a 0%, #0d2535 30%, #081520 60%, #020a10 100%);
  box-shadow: inset -40px -40px 80px rgba(0,0,0,0.8), 0 0 120px rgba(13,122,110,0.15);
  animation: globeFloat 6s ease-in-out infinite;
}

@keyframes globeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 60px 20px 0;
  animation: fadeUp 0.9s ease-out;
}

.hero-logo-text {
  font-size: 90px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-tagline { font-size: 18px; color: rgba(255,255,255,0.85); margin-top: 10px; }
.hero-tagline-en { font-size: 15px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ===== STATS ===== */
.stats-bar {
  background: linear-gradient(135deg, #0e8a7c, #0a6b5f);
  padding: 40px 80px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

.stat-item {
  text-align: center;
  color: #fff;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding: 0 40px;
}
.stat-item:last-child { border-left: none; }

.stat-number { font-size: 52px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.8); margin-top: 6px; }

/* ===== ABOUT ===== */
.about-section {
  background: linear-gradient(180deg, #0d7a6e 0%, #0a5e55 100%);
  padding: 70px 80px;
  text-align: center;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 50px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
  backdrop-filter: blur(8px);
}
.feature-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.18); }

.card-icon {
  width: 80px; height: 80px;
  border: 2px dashed rgba(255,255,255,0.5);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,0.9);
}

.card-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.card-desc { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.8; }

/* ===== SECTORS ===== */
.sectors-section {
  background: #fff;
  padding: 70px 80px;
  text-align: center;
}

.sectors-title { font-size: 28px; font-weight: 800; color: var(--text-dark); margin-bottom: 50px; }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.sector-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  cursor: pointer; transition: transform 0.2s;
}
.sector-item:hover { transform: translateY(-3px); }

.sector-icon {
  width: 65px; height: 65px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--teal);
  transition: background 0.2s, color 0.2s;
}
.sector-item:hover .sector-icon { background: var(--teal); color: #fff; }
.sector-label { font-size: 12px; font-weight: 500; color: #444; text-align: center; line-height: 1.4; }

/* ===== PARTNERS ===== */
.partners-section {
  background: var(--gray-light);
  padding: 60px 80px;
  text-align: center;
}
.partners-title { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 40px; }
.partners-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.partner-card {
  background: #fff; border-radius: 10px;
  width: 160px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  font-size: 13px; color: #888; font-weight: 600;
  border: 1px solid #eee;
}

/* ===== APP SECTION ===== */
.app-section {
  background: linear-gradient(135deg, #0e6b5f, #0a8a7a);
  padding: 70px 80px;
  display: flex; align-items: center;
  justify-content: center; gap: 80px;
}

.app-content { color: #fff; max-width: 450px; }
.app-title { font-size: 32px; font-weight: 800; line-height: 1.4; margin-bottom: 16px; }
.app-desc { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 30px; }

.store-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; padding: 12px 22px; border-radius: 8px;
  font-family: 'Tajawal', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  transition: background 0.2s;
}
.store-btn:hover { background: rgba(0,0,0,0.5); }

.app-mockup {
  width: 200px; height: 380px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; padding: 20px;
}
.app-mockup-line { width: 100%; height: 10px; background: rgba(255,255,255,0.15); border-radius: 5px; }
.app-mockup-line.short { width: 60%; }
.app-mockup-line.tall { height: 60px; border-radius: 8px; }

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, #0a5e55 0%, #063d36 100%);
  padding: 60px 80px 30px;
  color: rgba(255,255,255,0.85);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 9px; cursor: pointer; }
.footer-col ul li:hover { color: #fff; }

.newsletter-form { display: flex; gap: 8px; margin-top: 10px; }
.newsletter-input {
  flex: 1; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px; padding: 10px 14px;
  color: #fff; font-family: 'Tajawal', sans-serif; font-size: 14px;
}
.newsletter-btn {
  background: var(--teal-light); color: #fff; border: none;
  padding: 10px 18px; border-radius: 6px;
  font-family: 'Tajawal', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer;
}

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 20px 0; }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}

.footer-logos { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 10px 16px;
  font-size: 11px; color: rgba(255,255,255,0.7);
  text-align: center; line-height: 1.5;
}

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); text-align: center; margin-top: 20px; }
.contact-bar { font-size: 30px; font-weight: 900; color: #fff; margin-top: 8px; }
.contact-info { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.8; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== WORDPRESS CONTENT ===== */
.entry-content { max-width: 900px; margin: 60px auto; padding: 0 40px; line-height: 1.9; font-size: 16px; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: var(--teal-dark); margin: 30px 0 15px; }

/* ===== HAMBURGER BUTTON ===== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}
.hamburger-btn:hover { background: rgba(0,0,0,0.06); }
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-overlay.active { display: block; opacity: 1; }

/* ===== MOBILE MENU DRAWER ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 300;
  padding: 70px 24px 40px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }

.mobile-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-close:hover { background: #f0f0f0; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.mobile-nav-links li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s, padding-right 0.2s;
  text-decoration: none;
}
.mobile-nav-links li a:hover { color: var(--teal); padding-right: 6px; }

.mobile-login-btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.mobile-login-btn:hover { background: var(--teal-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid, .opp-cards { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-bar { padding: 30px 40px; }
  .stat-number { font-size: 38px; }
}

@media (max-width: 768px) {
  .site-header { padding: 12px 20px; }
  .desktop-nav { display: none; }
  .hamburger-btn { display: flex; }
  .cards-grid, .opp-cards { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .app-section { flex-direction: column; gap: 40px; }
  .stats-bar { flex-direction: column; padding: 30px 20px; }
  .stat-item { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 20px 0; }
  .hero-logo-text { font-size: 60px; }
}
.cta-section {
  background: linear-gradient(135deg, #0a0e14 0%, #0d2a2a 100%);
  padding: 90px 80px;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-icon {
  width: 80px; height: 80px;
  border: 2px solid #1a9e8f;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #1a9e8f;
  margin: 0 auto 28px;
}

.cta-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
}

