/* Fonts: Playfair Display (headings), Inter (body) */
:root {
  --bg: #0a0a0a;
  --bg-elev: #1a1a1a;
  --text: #f5f5dc;
  --muted: #d4af37;
  --gold: #ffd700;
  --gold-strong: #ffed4e;
  --accent: #8b4513;
  --egyptian-blue: #0066cc;
  --egyptian-red: #cc0000;
  --card: #1e1e1e;
  --border: #3a3a3a;
  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -20%, rgba(255,215,0,0.15), transparent 50%), 
              radial-gradient(800px 600px at 20% 80%, rgba(0,102,204,0.08), transparent 50%), 
              var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,11,0.7); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Playfair Display", serif; font-weight: 700; letter-spacing: .5px; }
.brand.small span { font-size: 16px; }
.brand .logo { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }

.site-nav { display: flex; align-items: center; }
.site-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.site-nav a { padding: 10px 12px; border-radius: 10px; color: var(--muted); }
.site-nav a:hover { color: var(--text); background: #1a1a1a; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border); background: transparent; border-radius: 10px; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle .bar { display: block; width: 18px; height: 2px; background: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--border); transition: transform .06s ease, background .2s ease, color .2s ease, border .2s ease; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, var(--gold), var(--gold-strong)); color: #1a1a1a; border: none; font-weight: 700; }
.btn-gold:hover { filter: brightness(1.03); }
.btn-ghost { 
  background: rgba(255, 255, 255, 0.1); 
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.btn-ghost:hover { 
  background: rgba(199, 164, 74, 0.2);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero */
.hero { 
  position: relative; 
  min-height: 80vh; 
  display: grid; 
  place-items: center; 
  overflow: hidden;
  background: #0a0a0a; 
}
.hero-media { 
  position: absolute; 
  inset: 0; 
  background: url('../img/pexels-dwi-endah-kusumawati-22468636-34422417.jpg') no-repeat center 20%; 
  background-size: cover;
  background-color: #0a0a0a;
  filter: brightness(0.9) saturate(1.1);
  transition: transform 0.5s ease-out;
}
.hero::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: 
    radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%),
    radial-gradient(800px 400px at 20% 10%, rgba(255,215,0,0.15), transparent 40%), 
    radial-gradient(600px 300px at 80% 20%, rgba(0,102,204,0.1), transparent 50%); 
  pointer-events: none; 
  z-index: 1;
  backdrop-filter: brightness(0.9);
}
.hero-content { position: relative; text-align: center; padding: 120px 0; }
.headline { 
  font-family: "Cinzel", serif; 
  font-size: clamp(40px, 6vw, 76px); 
  line-height: 1.05; 
  margin: 0 0 14px; 
  color: #f8e6b0; /* Lighter gold for better visibility */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8), 
               -1px -1px 3px rgba(0,0,0,0.8),
               0 0 10px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}
.subhead { 
  color: #f0f0f0; /* Brighter text color */
  font-size: clamp(16px, 2.1vw, 20px); 
  margin: 0 0 24px; 
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  position: relative;
  z-index: 2;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 80px 0; }
.section-title { font-family: "Playfair Display", serif; font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 14px; }
.section .center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }

.checks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); }

.about-card, .reserve-card, .map-card, .contact-card { background: linear-gradient(180deg, rgba(199,164,74,0.08), rgba(199,164,74,0)); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 18px; }
.about-stats .stat { display: block; font-size: 28px; font-weight: 700; color: var(--gold-strong); font-family: "Playfair Display", serif; }
.about-stats .label { color: var(--muted); font-size: 12px; }

/* Menu */
.tabs { display: flex; gap: 8px; justify-content: center; margin: 16px 0 22px; }
.tab { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: #141414; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"], .tab.is-active { background: #1a1a1a; color: var(--text); border-color: #333; }
.tab-panels { max-width: 760px; margin: 0 auto; }
.panel { display: none; }
.panel.is-active { display: block; }
.menu-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.menu-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; background: #121212; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.menu-list .dots { height: 1px; border-bottom: 1px dotted #555; margin: 0 10px; }
.price { color: var(--gold-strong); font-weight: 700; }
.fine-print { color: #9a9a9a; font-size: 12px; margin-top: 10px; }

/* Gallery */
.gallery-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  gap: 20px; 
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-grid figure { 
  position: relative;
  aspect-ratio: 4/3; 
  overflow: hidden; 
  border-radius: 16px; 
  border: 1px solid var(--border);
  margin: 0;
  padding: 0;
}

.gallery-grid img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center;
  filter: saturate(.9) contrast(1.05); 
  transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.1);
}

/* Ensure consistent image display */
.gallery-grid figure:nth-child(4) img {
  object-position: center 30%;
}

/* Reserve */
.reserve-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
label { color: var(--muted); font-size: 13px; }
input, select, textarea { 
  width: 100%; 
  padding: 12px 14px; 
  border-radius: 10px; 
  border: 1px solid var(--border); 
  background: #0f0f0f; 
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

/* Custom Date Input Styling */
input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4af37'%3e%3cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

input[type="date"]:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 1px var(--gold);
}

/* Hide the default calendar icon in WebKit browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Style the dropdown calendar */
input[type="date"]::-webkit-datetime-edit {
  color: var(--text);
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: var(--text);
  padding: 0;
}

/* For Firefox */
input[type="date"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input:focus, select:focus, textarea:focus { outline: 1px solid var(--gold); }

/* Hours */
.hours { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 8px; }
.hours li { display: flex; justify-content: space-between; background: #121212; border: 1px solid var(--border); padding: 10px 12px; border-radius: 10px; }
.address { color: var(--muted); }
.map-card iframe { width: 100%; height: 320px; border: 0; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.3); transition: transform 0.3s ease; }
.map-card iframe:hover { transform: scale(1.02); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 6px; }
.link { color: var(--gold-strong); }
.link:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #0f0f0f; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 0; }

/* Egyptian Decorative Elements */
.egyptian-border {
  position: relative;
  padding: 20px;
  border: 3px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(45deg, rgba(255,215,0,0.05), rgba(0,102,204,0.05));
}

.egyptian-border::before,
.egyptian-border::after {
  content: "𓂀";
  position: absolute;
  font-size: 24px;
  color: var(--gold);
  top: -12px;
  background: var(--bg);
  padding: 0 8px;
}

.egyptian-border::before { left: 20px; }
.egyptian-border::after { right: 20px; }

.hieroglyphic-accent {
  position: relative;
}

.hieroglyphic-accent::before {
  content: "𓂧 𓂀 𓂧";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  color: var(--gold);
  background: var(--bg);
  padding: 0 10px;
}

.god-section {
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(0,102,204,0.05));
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  position: relative;
}

.god-section::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0px;
  color: var(--gold);
  background: var(--bg);
  padding: 0 15px;
}

.pharaoh-crown {
  display: inline-block;
  font-size: 32px;
  margin-right: 8px;
  color: var(--gold);
}

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Responsive */
@media (max-width: 920px) {
  .grid-2, .reserve-inner { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .site-nav ul { position: absolute; right: 20px; top: 72px; background: #0f0f0f; border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: none; flex-direction: column; width: min(86vw, 320px); }
  .site-nav ul.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}


