/* 
  Fluorite Optic - Front Landing CSS - Final Cleaned Version
  تم تنظيف وتوحيد كل الستايلات + إخفاء الأزرار الغير مرغوبة على التلفون
*/

:root {
  --teal: #00A896;
  --teal-dark: #0e8c7a;
  --teal-light: #e6f6f4;
  --mint: #CCFBF1;
  --pink: #FCE7F3;
  --blue: #3B82F6;
  --sky: #06B6D4;
  --gold: #F59E0B;
  --gold-bg: #FEF3C7;
  --gold-text: #92400E;
  --text: #0F172A;
  --muted: #64748B;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Tajawal', sans-serif; }
html { overflow-x: hidden; max-width: 100%; }
body { background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6; max-width: 100vw; position: relative; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 2px 0;
  transition: box-shadow 0.3s;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 16px;
  min-height: 68px;
  width: 100%;
  max-width: 100%;
}
.logo {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-weight: 600; font-size: 15px; color: var(--muted); transition: .2s; }
.nav a:hover, .nav a.active { color: var(--teal); }
.header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; flex-wrap: nowrap; }

/* Buttons */
.btn {
  border: none;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(0,168,150,0.25);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { background: white; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-lg-outline { padding: 14px 24px; }
.btn-full { width: 100%; margin-top: 12px; }

/* زر القائمة - pure CSS */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.mobile-toggle span { display: block; width: 22px; height: 2.5px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ========== Hero ========== */
.hero { background: linear-gradient(135deg, #ECFDF5 0%, #FDF2F8 100%); padding: 70px 0 50px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,168,150,0.08), transparent); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero-content h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 900; line-height: 1.15; margin-bottom: 16px; color: var(--text); }
.hero-subtitle { font-size: 18px; color: var(--muted); margin-bottom: 10px; }
.hero--with-image { background-size: cover; background-position: center; color: white; }
.hero--with-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(15,23,42,0.6), rgba(15,23,42,0.4)); z-index: 0; }
.hero--with-image .hero-grid { z-index: 1; }
.hero--with-image .hero-content h1, .hero--with-image .hero-subtitle { color: white; text-shadow: 2px 2px 8px rgba(0,0,0,0.8); }
.badge-free { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-bg); color: var(--gold-text); border: 1px solid #FDE68A; border-radius: 30px; padding: 8px 16px; font-weight: 700; font-size: 13px; margin-bottom: 18px; animation: float 3s ease-in-out infinite; }
.badge-free i { background: #F59E0B; color: white; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.hero-address { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 16px 0; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; width: fit-content; max-width: 100%; color: var(--teal); word-break: break-word; }
.hero--with-image .hero-address { background: rgba(255,255,255,0.9); }
.icon-teal { color: var(--teal); }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-lg); }
.hero-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hero-card-header h3 { font-size: 16px; }
.hero-card-header a { color: var(--teal); font-size: 13px; font-weight: 700; }
.products-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.mini-product { background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; gap: 10px; align-items: center; }
.mini-product img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: white; border: 1px solid var(--border); }
.mini-product .n { font-weight: 700; font-size: 13px; }
.mini-product .pr { font-size: 12px; color: var(--teal); font-weight: 700; }
.mini-product.is-loading { opacity: 0.6; }

/* Sections */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-head h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.07); }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-light); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.service-description { font-size: 14px; color: var(--muted); margin-top: 6px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.product-card { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: .3s; }
.product-img { height: 160px; background: #f8fafc; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 10px; right: 10px; background: var(--gold-bg); color: var(--gold-text); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 20px; border: 1px solid #FDE68A; }
.product-body { padding: 16px; }
.product-brand { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.product-name { font-weight: 700; margin: 4px 0; }
.product-desc { font-size: 12px; color: var(--muted); margin: 6px 0; line-height: 1.4; }
.product-price { color: var(--teal); font-weight: 800; font-size: 18px; }

/* Booking */
.booking { background: linear-gradient(135deg, #f0fdfa 0%, #fdf2f8 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 32px; }
.booking-form { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-md); }
.booking-form-title { margin-bottom: 16px; font-size: 18px; font-weight: 800; }
.booking-button { width: 100%; margin-top: 18px; padding: 14px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; outline: none; transition: .2s; font-family: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,150,0.12); }
.location-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.location-card-title { margin-bottom: 16px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.info-row { display: flex; gap: 12px; margin-bottom: 16px; }
.info-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-light); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-row b { display: block; font-size: 13px; font-weight: 600; }
.info-text { font-size: 14px; color: var(--muted); margin-top: 4px; }
.info-text-small { font-size: 14px; color: var(--muted); margin-top: 4px; }
.info-link, .link-teal { color: var(--teal); font-weight: 700; }

/* Footer */
.footer { background: #0F172A; color: white; padding: 50px 0 20px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.footer-logo { max-height: 65px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); background: transparent; }
.footer-section-title, .footer-contact-title { margin-bottom: 16px; font-size: 15px; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #94a3b8; font-size: 14px; }
.footer-links a:hover { color: var(--teal); }
.footer-welcome { color: #94a3b8; font-size: 14px; margin-top: 16px; }
.footer-contact-info { display: grid; gap: 10px; font-size: 14px; color: #94a3b8; }
.footer-contact-info div { display: flex; align-items: center; }
.footer-contact-info i { margin-left: 8px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: .2s; }
.social a:hover { background: var(--teal); color: white; }
.footer-copyright { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 32px; padding-top: 18px; text-align: center; color: #64748b; font-size: 13px; }

@keyframes float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)} }

/* ===== التعديل المطلوب: إخفاء زر الحجز وزر القائمة ===== */
.booking-btn,
.mobile-toggle,
.header-booking-btn {
  display: none !important;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .services { grid-template-columns: 1fr 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; padding: 0; border: none; box-shadow: none; background: transparent; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .header { padding: 2px 0; }
  .header-inner { min-height: 56px; gap: 10px; flex-wrap: wrap; }
  .header .logo { height: 52px; max-width: 130px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 8px 12px; font-size: 13px; }
  .nav { width: 100%; order: 3; justify-content: center; gap: 18px; padding-top: 8px; border-top: 1px solid var(--border); margin-top: 4px; }
  .nav a { font-size: 14px; }
  .hero { padding: 32px 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .products-preview { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .services { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-logo { max-height: 48px; }
}

@media (max-width: 380px) {
  .header .logo { height: 36px; max-width: 110px; }
}
