/* ============================================
   Shaheen PWA - Main Stylesheet
   Shared styles for English and Arabic pages
   ============================================ */

/* ============================================
   BASE STYLES
   ============================================ */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  background: url("/assets/bg.svg") no-repeat;
  background-size: cover;
  background-position: center;
  color: #5b5b5b;
  min-height: 100svh;
  margin: 0;
}

h1 {
  font-size: 28px;
}

p {
  font-size: 17px;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1100px;
  padding: calc(20px + env(safe-area-inset-top))
    calc(20px + env(safe-area-inset-right))
    calc(20px + env(safe-area-inset-bottom))
    calc(20px + env(safe-area-inset-left));
  color: #ababab;
  border-radius: 50px;
  width: 100%;
  margin: 0 auto;
  height: 100vh;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.container.exit {
  opacity: 0;
  transform: scale(0.95);
}

/* ============================================
   COMPONENTS
   ============================================ */

/* Logo */
img {
  width: 200px;
  opacity: 50%;
}

/* Glass Effect */
.glass-effect {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(233, 233, 233, 0.37);
}

/* Button Wrapper */
.button-wrapper {
  display: inline-grid;
  justify-content: center;
  gap: 12px;
}

/* Action Buttons (WhatsApp, Email) */
a {
  display: block;
  margin: 10px 0;
  padding: 18px;
  width: 190px;
  background: #5b5b5b;
  color: rgb(255, 255, 255);
  text-decoration: none;
  border-radius: 100px;
  font-size: 15px;
}

a:hover {
  background: #d3d3d3;
}

/* Language Switch Button */
.lang-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 14px 14px;
  border: none;
  border-radius: 50px;
  background: rgba(91, 91, 91, 0.8);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000;
  transition: background 0.3s;
  width: 45px;
  box-shadow: 0 8px 32px 0 rgba(233, 233, 233, 0.37);
}

.lang-btn:hover {
  background: rgba(211, 211, 211, 0.8);
  color: #000;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Small screens (mobile devices) */
@media (max-width: 768px) {
  body {
    background-position: right center;
    height: 100vh;
  }

  .container {
    max-width: 414px;
    height: -webkit-fill-available;
  }

  img {
    width: 280px;
    opacity: 50%;
  }

  a {
    padding: 12px;
    font-size: 18px;
    width: 242px;
  }

  .lang-btn {
    top: 20px;
    left: 20px;
    padding: 10px 10px;
    font-size: 14px;
    background: none;
    box-shadow: none;
  }
}
