/* About page styles — extracted from about.html inline <style> blocks. */

/* ==========================================================
   Root variables + container + reset
   ========================================================== */
:root {
  --brand: #94621c;
  --bg-1: #06080c;
  --bg-2: #0a0f1a;
  --bg-3: #3a3f46;
  --bg-4: #f2e8d8;
  --silver: #b5b5b5;
  --text: #ededed;
  --muted: #c9cfd6;
  --card: rgba(242, 232, 216, 0.85);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --speed: 220ms;
}
.container {
  padding: 20px;
}
.hidden {
  display: none;
}

/* ==========================================================
   Global scroll / touch fixes
   ========================================================== */
/* === FIX: mobile one-finger scroll (Chrome / Android / WebView) === */
html,
body {
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;

  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: auto !important;

  touch-action: pan-y !important;
}

/* ==========================================================
   About card
   ========================================================== */
/* Matches the dark translucent card style used on hours.html (.panel). */
.about-card {
  background: rgba(15, 18, 24, 0.75);
  color: #f5f7fa;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 22px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 22px auto;
  text-align: center;
  will-change: transform, opacity, filter;
}
.about-card h1 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--brand2, #f0c87a);
  font-size: clamp(26px, 3.5vw, 34px);
}
.about-card p {
  margin: 16px 0;
  line-height: 1.65;
  font-size: 17px;
  color: #d8dde5;
}
.about-card b {
  color: #ffffff;
}
.tagline {
  margin-top: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: #f0c87a;
}
.addr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  margin: 6px 0 20px;
}
.addr a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(148, 98, 28, 0.45);
  padding-bottom: 2px;
}
.addr a:hover {
  color: #fff;
  border-bottom-color: var(--brand);
}
.gm-pin {
  width: 22px;
  height: 22px;
  position: relative;
  rotate: 45deg;
}
.gm-pin::before,
.gm-pin::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 0 50%;
  background: #0000;
  background-image: radial-gradient(circle 6px at 50% 50%, #0000 94%, #ff4747);
}
.gm-pin::after {
  animation: pulse-pin 1s infinite;
  transform: perspective(160px) translateZ(0);
}
@keyframes pulse-pin {
  to {
    transform: perspective(160px) translateZ(80px);
    opacity: 0;
  }
}

/* ==========================================================
   Social icons
   ========================================================== */
/* منع اللمس/التحديد */
* {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* حاوية الأزرار */
.social-container-main {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 0;
  padding: 0 16px;
  max-width: 900px;
}
.social-card-group {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  background: rgba(242, 232, 216, 0.08);
  border: 1px solid rgba(148, 98, 28, 0.35);
  border-radius: 12px;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(181, 181, 181, 0.08);
  backdrop-filter: blur(4px);
  will-change: transform, opacity, filter;
}
.socialContainer {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(148, 98, 28, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: 0.25s ease;
}
.socialContainer:active {
  transform: scale(0.94);
}
.containerOne:hover {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.containerTwo:hover {
  background: #000;
}
.containerThree:hover {
  background: #1877f2;
}
.containerFour:hover {
  background: #25d366;
}
.containerFive:hover {
  background: #ea4335;
}
.socialSvg {
  width: 22px;
  height: 22px;
}
.largeIcon {
  width: 28px;
  height: 28px;
}
.socialSvg path {
  fill: #fff;
}
.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}
@keyframes slide-in-top {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 480px) {
  .social-card-group {
    gap: 12px;
    padding: 14px 16px;
  }
  .socialContainer {
    width: 48px;
    height: 48px;
  }
}

footer.site {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  padding: 24px 16px 36px;
  border-top: 1px solid rgba(181, 181, 181, 0.18);
  margin-top: 30px;
}

/* ==========================================================
   Sidebar styles
   ========================================================== */
/* === Sidebar — نسخة موحّدة (مطابقة للحجز) === */
#sidebar {
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 9999 !important;
  padding: 40px 20px !important;
  animation: fadeIn 0.4s ease !important;
}
#sidebar.show {
  display: flex !important;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === SIDEBAR CLOSE BUTTON (بديل كامل) === */
#sidebar .side-close {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  color: var(--brand2, #f0c87a) !important;
  font-size: 36px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 2100 !important;
  transition:
    transform 0.2s ease,
    color 0.2s ease !important;
}
#sidebar .side-close:hover {
  transform: scale(1.15);
  color: var(--brand, #94621c) !important;
}
