/* style.css — Light theme + responsive (mobile & iPad) */

/* Root Variables - Light Theme */
:root {
  --primary-color: #ffd86d;
  --secondary-color: #cd9f5a;
  --light-bg: #ffffff;
  --lighter-bg: #f8f9fb;
  --text-color: #1f2430;
  --text-muted: #6b7280;
  --accent-color: #ff8906;
  --gold-color: #ffd700;
  --silver-color: #c0c0c0;
  --border-color: #e6e8ee;
  --transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --inner-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--lighter-bg);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Selection */
::selection { background-color: var(--primary-color); color: #1f1f1f; }

/* Scrollbar (Webkit) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #eef0f5; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 5px;
}

/* Container */
.container-1 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sections */
section {
  padding: 90px 0;
  position: relative;
  background: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 16px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  margin: 0 auto 20px;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(255, 216, 109, 0.3);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Buttons */
button { cursor: pointer; transition: var(--transition); font-family: 'Tajawal', sans-serif; border: none; outline: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: #1f1f1f;
  box-shadow: 0 5px 20px rgba(255, 216, 109, 0.35);
  border: 1px solid rgba(205, 159, 90, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 216, 109, 0.55);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 0;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  transition: var(--transition);
  z-index: -1;
}
.btn-primary:hover::before { left: 0; width: 100%; }

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
}
.btn-outline:hover {
  background: var(--primary-color);
  color: #1f1f1f;
  border-color: transparent;
}

/* Navbar (Light) */
.navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(16, 24, 40, 0.06);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar.scrolled { padding: 8px 0; background-color: rgba(255, 255, 255, 0.95); }

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  transition: var(--transition);
}

.nav-brand { display: flex; align-items: center; }
.nav-icon { width: 32px; height: 32px; margin-left: 12px; color: var(--primary-color); transition: var(--transition); }

.nav-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-color);
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu { display: flex; align-items: center; }

.nav-link {
  color: var(--text-muted);
  font-weight: 700;
  padding: 10px 16px;
  margin: 0 4px;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  font-size: 1rem;
}
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transition: var(--transition);
}
.nav-link:hover { color: var(--text-color); }
.nav-link:hover::before { width: 100%; left: 0; }
.nav-link.active { color: var(--text-color); }
.nav-link.active::before { width: 100%; }

/* Mobile Toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.nav-toggle span {
  display: block; width: 28px; height: 3px;
  background-color: var(--text-color);
  margin: 5px 0; transition: var(--transition); border-radius: 3px;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 85%;
    max-width: 420px;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    transition: var(--transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-left: 1px solid var(--border-color);
  }
  .nav-menu.active { right: 0; }
  .nav-link { margin: 12px 0; font-size: 1.1rem; padding: 10px 22px; }
  .nav-toggle { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

/* Construction Block (kept light) */
.construction-container {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  animation: fadeIn-scale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.construction-text {
  font-size: 2rem;
  font-weight: 600;
  color: #3b3f46;
  margin: 180px 0;
  position: relative;
  padding-bottom: 1rem;
}
.construction-text::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  background: linear-gradient(90deg, #ffc400, #b37400);
  border-radius: 2px;
}

/* Footer (Light) */
.footer {
  background-color: #ffffff;
  color: var(--text-color);
  padding: 80px 0 30px;
  position: relative;
  border-top: 1px solid var(--border-color);
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 228, 109, 0.18) 0%, rgba(255, 228, 109, 0) 70%);
  z-index: 1;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
  position: relative; z-index: 2;
}
.footer-brand { display: flex; align-items: center; margin-bottom: 18px; }
.footer-icon { width: 36px; height: 36px; margin-left: 12px; color: var(--primary-color); }
.footer-title {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-description { color: var(--text-muted); margin-bottom: 22px; font-size: 1rem; line-height: 1.8; }

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: #f3f4f7; border-radius: 50%; color: var(--text-muted);
  transition: var(--transition); border: 1px solid var(--border-color);
}
.social-link:hover { background: var(--primary-color); color: #1f1f1f; transform: translateY(-3px); }

.footer-heading {
  font-size: 1.25rem; margin-bottom: 18px; color: #8a6d1f;
  position: relative; padding-bottom: 12px; font-weight: 800;
}
.footer-heading::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 50px; height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 3px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: var(--text-muted); text-decoration: none; transition: var(--transition); display: flex; align-items: center;
}
.footer-links a::before {
  content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  margin-left: 10px; font-size: 0.78rem; color: var(--primary-color); transition: var(--transition);
}
.footer-links a:hover { color: var(--text-color); transform: translateX(-6px); }
.footer-links a:hover::before { color: var(--accent-color); }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex; align-items: flex-start; color: var(--text-muted);
  font-size: 1rem; line-height: 1.6;
}
.footer-contact-item svg {
  width: 20px; height: 20px; margin-left: 12px; color: var(--primary-color);
  margin-top: 3px; flex-shrink: 0;
}

.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted); font-size: 0.92rem; position: relative; z-index: 2;
}

/* Back to Top */
.back-to-top {
  position: fixed; bottom: 24px; left: 24px;
  width: 50px; height: 50px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: #1f1f1f; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 20px rgba(255, 216, 109, 0.35);
  z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition);
}
.back-to-top.active { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(255, 216, 109, 0.55); }

/* Keyframes (kept) */
@keyframes fadeIn-scale {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive Breakpoints */
/* ≤1200px (large tablets / small laptops) */
@media (max-width: 1200px) {
  .section-title { font-size: 2.2rem; }
}

/* ≤992px (iPad landscape & common tablets) */
@media (max-width: 992px) {
  section { padding: 80px 0; }
  .section-title { font-size: 2rem; }
  .section-subtitle { font-size: 1.05rem; }
  .container-1 { padding: 0 20px; }
}

/* ≤768px (iPad portrait & most phones in landscape) */
@media (max-width: 768px) {
  .container-1 { padding: 0 18px; }
  .section-title { font-size: 1.9rem; }
  .section-subtitle { font-size: 1rem; }
  .btn { width: 100%; max-width: 260px; }
}

/* ≤576px (phones) */
@media (max-width: 576px) {
  .container-1 { padding: 0 16px; }
  section { padding: 70px 0; }
  .section-title { font-size: 1.7rem; }
  .section-subtitle { font-size: 0.98rem; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .construction-text { margin: 140px 0; font-size: 1.7rem; }
}
