/* ==========================================================================
   FISH PALACE RESTAURANT - LANDING PAGE STYLES
   * Mobile-First, Centered on Large Screens *
   ========================================================================== */

/* Local Font: Kufam with All Weights */
@font-face {
  font-family: 'Kufam';
  src: url('assets/fonts/Kufam-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kufam';
  src: url('assets/fonts/Kufam-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Core Palette based on Design Mockup (No Yellow) */
  --navy-dark: #07152d;
  --navy-mid: #0d2754;
  --navy-accent: #192d82;
  --navy-text: #0b2247;
  
  --pure-white: #ffffff;
  --white-glow: rgba(255, 255, 255, 0.9);
  
  /* Fonts - Pure Kufam with all weights */
  --font-ar: 'Kufam', system-ui, -apple-system, sans-serif;
  --font-en: 'Kufam', system-ui, -apple-system, sans-serif;
  --font-script: 'Great Vibes', cursive;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button, input, select, textarea, a {
  font-family: inherit;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: #030712;
  font-family: var(--font-en);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   PAGE LAYOUT (FULL SCREEN ON ALL DEVICES)
   ========================================================================== */
.viewport-wrapper {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--navy-dark);
}

.screen-container {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Background Image Layer: Covers the entire screen */
.bg-image-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/home-bg.png');
  background-size: cover;
  background-position: center top;
  z-index: 1;
}

/* Gradient Overlay - Royal Navy at Top fading seamlessly to Frosted Mist at Bottom */
.bg-gradient-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 48, 0.82) 0%,
    rgba(8, 23, 52, 0.72) 20%,
    rgba(10, 28, 62, 0.58) 38%,
    rgba(13, 35, 76, 0.45) 52%,
    rgba(22, 52, 102, 0.38) 64%,
    rgba(45, 84, 142, 0.42) 72%,
    rgba(88, 130, 188, 0.52) 79%,
    rgba(138, 174, 222, 0.65) 85%,
    rgba(185, 210, 240, 0.80) 90%,
    rgba(222, 236, 252, 0.92) 95%,
    rgba(244, 248, 255, 0.99) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Main Content Layer - Centered on large screens */
.content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 44px 20px 24px;
}

@media (min-width: 768px) {
  .content-wrapper {
    max-width: 580px;
    padding: 56px 24px 28px;
  }
}

/* ==========================================================================
   BRAND LOGO & MENU TITLE SECTION (assets/title.svg)
   ========================================================================== */
.brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.brand-title-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

@media (min-width: 768px) {
  .brand-title-svg {
    max-width: 480px;
  }
}

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

/* ==========================================================================
   LANGUAGE BUTTONS (العربية / الإنكليزية)
   ========================================================================== */
.actions-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: auto;
  margin-bottom: 28px;
}

.buttons-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 0 10px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--pure-white);
  color: var(--navy-text);
  font-family: var(--font-ar);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  padding: 11px 32px;
  border-radius: 9999px;
  box-shadow: 
    0 8px 24px rgba(7, 24, 52, 0.32),
    0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 135px;
  outline: none;
}

.pill-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    0 12px 28px rgba(7, 24, 52, 0.4),
    0 0 15px rgba(255, 255, 255, 0.6);
  color: var(--navy-accent);
}

.pill-btn:active {
  transform: translateY(1px) scale(0.97);
}

/* ==========================================================================
   CONTACT US CALLOUT & DOTTED ARROW
   ========================================================================== */
.contact-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-left: 20px;
  margin-bottom: 8px;
}

.contact-label {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-text);
  letter-spacing: -0.01em;
  line-height: 1;
}

.dotted-arrow {
  width: 44px;
  height: 38px;
  margin-left: 10px;
  margin-top: 2px;
  opacity: 0.85;
}

/* ==========================================================================
   BOTTOM FOOTER (LOCATION, SOCIALS, PHONES)
   ========================================================================== */
.footer-section {
  position: relative;
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
}

/* Soft ambient haze behind footer to blend seamlessly */
.footer-section::before {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: -24px;
  top: -24px;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(244, 248, 255, 0.7) 0%,
    rgba(215, 233, 252, 0.45) 50%,
    transparent 85%
  );
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}

.footer-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding-top: 6px;
  gap: 8px;
}

/* Column Common Styling */
.info-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--navy-text);
}

/* Left Column: Location */
.location-col {
  flex: 1.1;
  text-align: right;
  direction: rtl;
  font-family: var(--font-ar);
}

.location-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.location-wrapper:hover {
  opacity: 0.8;
}

.loc-pin-svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  fill: var(--navy-text);
  margin-top: 3px;
}

.location-text {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy-text);
}

/* Middle Column: Social Media */
.social-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  direction: ltr;
}

.social-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--navy-text);
  text-decoration: none;
  line-height: 1.3;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.social-item:hover {
  transform: translateX(2px);
  opacity: 0.8;
}

.social-svg {
  width: 12px;
  height: 12px;
  min-width: 12px;
  fill: var(--navy-text);
}

/* Right Column: Phone Numbers */
.phone-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  direction: ltr;
}

.phone-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy-text);
  text-decoration: none;
  line-height: 1.3;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.phone-item:hover {
  transform: translateX(2px);
  opacity: 0.8;
}

.phone-svg {
  width: 11px;
  height: 11px;
  min-width: 11px;
  fill: var(--navy-text);
}

/* Responsive adjustment for extra compact mobile viewports */
@media (max-width: 360px) {
  .brand-title-svg {
    max-width: 320px;
  }
  .pill-btn {
    font-size: 1.1rem;
    padding: 10px 24px;
    min-width: 115px;
  }
  .location-text {
    font-size: 0.65rem;
  }
  .social-item, .phone-item {
    font-size: 0.68rem;
  }
}
