/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
  background: linear-gradient(180deg, #0b0b0b, #121212);
  color: #ffffff;
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   HEADER
========================= */
.site-header {
  width: 100%;
  padding: 20px 20px 40px;
  display: flex;
  justify-content: center;
}

.header-inner {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 100px;
  margin-right: 18px; /* Abstand zum Titel */
  position: relative;
  top: 6px;
}

.site-header h1 {
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Spacer hält Titel exakt mittig */
.header-spacer {
  width: calc(100px + 18px);
}

/* =========================
   CONTAINER
========================= */
.container {
  width: 100%;
  max-width: 420px; /* Mobile default */
  padding: 32px 20px;
  margin-bottom: 40px;
  background: #181818;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

/* =========================
   CARDS
========================= */
.card {
  background: #1f1f1f;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* =========================
   LOCATION
========================= */
.location {
  font-size: 14px;
  opacity: 0.8;
}

/* =========================
   TITLES & COUNTDOWN
========================= */
#title {
  font-size: 24px;
  letter-spacing: 0.5px;
  color: #cccccc;
}

.highlight {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffd700;
}

.countdown {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* =========================
   PRAYER TIMES
========================= */
#prayer-times {
  display: flex;
  flex-direction: column;
}

#prayer-times div {
  display: flex;
  justify-content: space-between;
  padding: 12px 10px;
  font-size: 16px;
  border-bottom: 1px solid #2a2a2a;
}

#prayer-times div:last-child {
  border-bottom: none;
}

#prayer-times div:hover {
  background: #2a2a2a;
}

/* =========================
   LANGUAGE SWITCH
========================= */
.language-switch {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.language-switch button {
  background: #333;
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
}

.language-switch button:hover {
  background: #444;
}

/* =========================
   MANUAL LOCATION
========================= */
.manual-location input {
  width: calc(50% - 10px);
  margin: 0 5px 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #555;
  background: #121212;
  color: #fff;
}

.manual-location button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: #ffd700;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.manual-location button:hover {
  background: #e6c200;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 420px) {
  .site-logo { height: 68px; margin-right: 7px; }
  .site-header h1 { font-size: 48px; }
  .header-spacer { width: calc(56px + 10px); }
}

/* =========================
   TABLET
========================= */
@media (min-width: 421px) and (max-width: 1024px) {
  .site-logo { height: 80px; margin-right: 14px; }
  .site-header h1 { font-size: 64px; }
  .header-spacer { width: calc(80px + 14px); }

  .container {
    max-width: 720px;
    padding: 40px 36px;
  }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1025px) {
  .site-logo { height: 120px; margin-right: 18px; }
  .site-header h1 { font-size: 96px; }
  .header-spacer { width: calc(120px + 18px); }

  .container {
    max-width: 1100px;
    padding: 56px 56px;
  }
}

/* =========================
   ULTRA-WIDE / TV
========================= */
@media (min-width: 1921px) {
  .site-logo { height: 150px; margin-right: 22px; }
  .site-header h1 { font-size: 130px; }
  .header-spacer { width: calc(150px + 22px); }

  .container {
    max-width: 1400px;
    padding: 72px 64px;
  }
}

/* =========================
   RTL SUPPORT
========================= */
body[dir="rtl"] {
  direction: rtl;
  text-align: center;
}

.site-logo {
  pointer-events: none;     /* Kein Rechtsklick / kein Visual Search */
  user-select: none;        /* Kein Markieren */
  -webkit-user-drag: none;  /* Kein Drag */
}

