/* ======================================
   Getarvia.rest — Main stylesheet
   ======================================
   Palette:
   --bg: #0f2a5a
   --heading/accent/button: #d2f1ef
   --text: #faffff
   --button-text: #0f2a5a
   --button-hover-bg: #faffff
====================================== */

:root {
  --bg: #0f2a5a;
  --heading: #d2f1ef;
  --text: #faffff;
  --accent: #d2f1ef;
  --btn-text: #0f2a5a;
  --btn-hover-bg: #faffff;
  --muted: rgba(250, 255, 255, 0.85);
  --card-bg: rgba(255, 255, 255, 0.03);
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 14px;
  --container-max: 1200px;
  --shadow-strong: 0 16px 40px rgba(0,0,0,0.45);
}

/* Base Reset */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

/* Headings */
.getarvia-rest h1,
.getarvia-rest h2,
.getarvia-rest h3,
.getarvia-rest h4,
.getarvia-rest h5 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.getarvia-rest h2::after,
.getarvia-rest h3::after,
section .getarvia-rest-section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* Section Titles */
.getarvia-rest-section-title {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 1rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Links */
.getarvia-rest a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.getarvia-rest a:hover,
.getarvia-rest a:focus,
.getarvia-rest .active {
  color: var(--accent);
}

/* Buttons */
.getarvia-rest-btn,
.getarvia-rest .btn {
  display: inline-block;
  background: var(--accent);
  color: var(--btn-text);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}
.getarvia-rest-btn:hover,
.getarvia-rest .btn:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.getarvia-rest-btn:active { transform: translateY(0); }

/* Outline Button */
.getarvia-rest-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.06);
  padding: .6rem 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.getarvia-rest-btn-outline:hover {
  background: rgba(255,255,255,0.03);
  color: var(--heading);
  border-color: rgba(210,241,239,0.2);
}

/* Layout Containers */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 18px; }
.getarvia-rest section { padding: 4rem 1.5rem; }

/* Navbar */
.getarvia-rest-navbar {
  background: var(--bg);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(210, 241, 239, 0.2);
}
.getarvia-rest-navbar .navbar-brand { display: block; margin: 0 auto; }
.getarvia-rest-logo { height: 80px; max-width: 220px; width: auto; }
.getarvia-rest-navbar .navbar-nav { justify-content: center; gap: 1.5rem; }
.getarvia-rest-navbar .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.3s ease;
}
.getarvia-rest-navbar .nav-link:hover,
.getarvia-rest-navbar .nav-link.active { color: var(--accent); }
.navbar-toggler {
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 1rem;
}

/* Navbar Responsive */
@media (min-width: 768px) {
  .getarvia-rest-navbar .navbar-links { display: block !important; }
  .getarvia-rest-navbar .navbar-nav { flex-direction: row !important; }
}
@media (max-width: 767px) {
  .getarvia-rest-logo { height: 65px; }
  .getarvia-rest-navbar .navbar-nav {
    flex-direction: column !important;
    gap: 0.75rem;
    margin-top: 1rem;
  }
}

/* Hero */
.getarvia-rest-hero {
  padding: 64px 0;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../images/hero.jpg") center/cover no-repeat;
  position: relative;
}
.getarvia-rest-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,42,90,0.45);
}
.getarvia-rest-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  padding: 26px;
}
.getarvia-rest-hero-heading {
  color: var(--heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.0vw, 3.2rem);
  margin: 0 0 12px 0;
  line-height: 1.05;
  text-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.getarvia-rest-hero-text { color: var(--muted); font-size: 1.05rem; }

/* Cards & Features */
.getarvia-rest-feature-card {
  background: var(--glass);
  color: var(--text);
  border-radius: 12px;
  padding: 22px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.getarvia-rest-feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.getarvia-rest-feature-card h4 { color: var(--heading); margin-bottom: 8px; }

.getarvia-rest-brief-card {
  background: rgba(210, 241, 239, 0.08);
  border: 1px solid rgba(210, 241, 239, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.getarvia-rest-brief-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

/* Games Section Container */
.getarvia-rest-games {
  background: #0a0a0a;
  padding: 3rem 1rem;
}

/* Section Title */
.getarvia-rest-section-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Game Frame Container */
.getarvia-rest-game-frame {
  position: relative;
  width: 100%;
  max-width: 900px; /* Fixed max width */
  margin: 0 auto;
  aspect-ratio: 3 / 2; /* Maintains 900x600 ratio */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Iframe fills the container perfectly */
.getarvia-rest-game-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #000;
}

/* Responsive scaling for smaller screens */
@media (max-width: 900px) {
  .getarvia-rest-game-frame {
    width: 100%;
    height: calc(100vw * 2 / 3); /* 16:10 ratio scaling */
  }
}


/* Reviews */
.getarvia-rest-review-card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 22px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
  transition: transform .25s ease, box-shadow .25s ease;
  backdrop-filter: blur(6px);
}
.getarvia-rest-review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
.getarvia-rest-review-card i { color: var(--accent); font-size: 1.35rem; margin-bottom: 10px; }
.getarvia-rest-review-card p { color: var(--muted); line-height: 1.6; }

/* Footer */
.getarvia-rest-footer {
  padding: 32px 0 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.02));
  border-top: 1px solid rgba(255,255,255,0.02);
}
.getarvia-rest-footer-logo { height: 70px; width: auto; display: inline-block; }
.getarvia-rest-footer-link { color: var(--muted); text-decoration: none; font-weight: 600; }
.getarvia-rest-footer-link:hover { color: var(--accent); text-decoration: underline; }
.getarvia-rest-footer-heading { color: var(--heading); font-weight: 700; }
.getarvia-rest-footer-text { color: var(--muted); max-width: 820px; margin: 0 auto; }

/* Scroll Top */
.getarvia-rest-scroll-top {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--btn-text);
  border: none;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 46px;
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}
.getarvia-rest-scroll-top:hover {
  background: var(--bg);
  color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}
.getarvia-rest-scroll-top:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Forms */
input, textarea, select {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.04);
  padding: .6rem .8rem;
  border-radius: 8px;
}
a, button { outline-color: rgba(210,241,239,0.22); }
a:focus, button:focus {
  box-shadow: 0 0 0 6px rgba(210,241,239,0.06);
  border-radius: 10px;
}

/* Contact */
.getarvia-rest-contact {
  background: var(--bg);
  color: var(--text);
}
.getarvia-rest-contact-intro {
  max-width: 700px;
  margin: 0 auto;
  color: var(--heading);
  font-size: 1.05rem;
}
.getarvia-rest-contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(210, 241, 239, 0.15);
  backdrop-filter: blur(8px);
}
.getarvia-rest-contact-card .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(210,241,239,0.2);
  color: var(--text);
  border-radius: 8px;
  padding: 0.75rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.getarvia-rest-contact-card .form-control:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--heading);
  box-shadow: 0 0 8px rgba(210,241,239,0.4);
  outline: none;
}
.getarvia-rest-contact-card .form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--heading);
}

/* Legal Sections */
.getarvia-rest-legal {
  background: var(--bg);
  color: var(--text);
}
.getarvia-rest-legal-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}
.getarvia-rest-legal-text strong { color: var(--heading); }
.getarvia-rest-legal p { margin-bottom: 1.2rem; }

/* Age Popup */
#getarvia-age-popup.getarvia-rest-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 90, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}
.getarvia-rest-popup-card {
  background: var(--text);
  color: var(--bg);
  max-width: 520px;
  width: 100%;
  border-radius: 20px;
  padding: 2rem 2.2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: popup-bounce 0.35s ease;
}
.getarvia-rest-popup-card h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 1rem;
}
.getarvia-rest-popup-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 1.8rem;
}
.getarvia-rest-popup-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
@keyframes popup-bounce {
  0% { opacity: 0; transform: scale(0.9) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 480px) {
  .getarvia-rest-popup-card { padding: 1.5rem 1.2rem; }
  .getarvia-rest-popup-card h2 { font-size: 1.5rem; }
  .getarvia-rest-popup-card p { font-size: 0.95rem; }
}

/* Responsive Tweaks */
@media (max-width: 767px) {
  .getarvia-rest-hero { padding: 40px 0; min-height: 46vh; }
  .getarvia-rest-hero-heading { font-size: 1.6rem; }
  .getarvia-rest-feature-card,
  .getarvia-rest-brief-card { padding: 16px; }
  .getarvia-rest-navbar .navbar-brand img { max-height: 60px; }
}
