/* --- KAPKA --- */
.kapka-kontejner {
  /* Filtr drop-shadow vykreslí stín kolem celého nepravidelného tvaru */
  filter: drop-shadow(0px 5px 8px rgba(0,0,0,0.5));
}

.kapka {
  position: relative;
  /* Tmavě modrá drží do 33 % a pak plynule přechází do světle modré */
  background: linear-gradient(to bottom, #000080 0%, #000080 33%, #0080FF 100%);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.kapka::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25px;
  width: 25px;
  height: 25px;
  background: radial-gradient(circle at bottom left, transparent 25px, #000080 25.5px);
}

.kapka::after {
  content: "";
  position: absolute;
  top: 0;
  right: -25px;
  width: 25px;
  height: 25px;
  background: radial-gradient(circle at bottom right, transparent 25px, #000080 25.5px);
}

/* Styl pro přepsání vnitřního HTML fontu na plastickou bílou */
.kapka p font {
  color: #FFFFFF !important;
  text-shadow: 
    0px 1px 0px #D5D5D5,
    0px 2px 0px #C5C5C5,
    0px 3px 0px #B5B5B5,
    0px 4px 1px rgba(0,0,0,0.3),
    0px 5px 5px rgba(0,0,0,0.4);
}

/* --- NAVIGACE STANIC --- */
.stations-nav {
  width: 1500px;
  margin: 10px auto 0 auto;
  border-collapse: separate;
  border-spacing: 5px 0; 
  font-family: Arial, sans-serif;
}

/* Buňka jako pevný bod pro křidélka */
.station-cell {
  position: relative;
  height: 45px;
  padding: 0 !important;
  overflow: visible;
  vertical-align: bottom;
}

/* Křidélka jsou fixní na spodku TD a nehýbou se */
.station-cell::before, .station-cell::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 5px;
  z-index: 1;
}

.station-cell::before {
  left: -5px;
  background: radial-gradient(circle at top left, transparent 5px, #000080 5.5px);
}

.station-cell::after {
  right: -5px;
  background: radial-gradient(circle at top right, transparent 5px, #000080 5.5px);
}

/* Modré tělo - světle modrá drží až do 33 % a pak plynule tmavne */
.cell-body {
  background: linear-gradient(to bottom, #0080FF 0%, #0080FF 33%, #000080 100%);
  height: 45px;
  border-radius: 8px 8px 0 0;
  transition: transform 0.2s, filter 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Efekt vysunutí celého těla při najetí na buňku */
.station-cell:hover .cell-body {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

/* Styl odkazů uvnitř těla */
.cell-body a {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.text-white { color: #FFFFFF !important; }
.text-silver { color: #C0C0C0 !important; }


/* --- WEBKAMERY --- */
.kapka-kontejner-webcam {
  filter: drop-shadow(0px 5px 8px rgba(0,0,0,0.5));
  margin-top: 2px;
}

.kapka-webcam {
  position: relative;
  background: linear-gradient(to bottom, #000080 0%, #000080 33%, #0080FF 100%);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  width: 1430px;
  margin: 0 auto;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.kapka-webcam::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25px;
  width: 25px;
  height: 25px;
  background: radial-gradient(circle at bottom left, transparent 25px, #000080 25.5px);
}

.kapka-webcam::after {
  content: "";
  position: absolute;
  top: 0;
  right: -25px;
  width: 25px;
  height: 25px;
  background: radial-gradient(circle at bottom right, transparent 25px, #000080 25.5px);
}

.webcam-wrapper {
  width: 1430px;
  margin: 0px auto 20px auto;
  font-family: Verdana, sans-serif;
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 12px;
}

.hrbreak {
  background: linear-gradient(to bottom, #0080FF 0%, #000080 100%);
  background-color: #0080FF;
  color: #FFFFFF !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.header-main {
  text-align: center;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.webcam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.cam-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
  transition: transform 0.2s ease;
}

.cam-card:hover {
  transform: translateY(-3px);
}

.label-box {
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

.label-box a {
  color: #FFFFFF !important;
  text-decoration: none;
}

.video-box {
  background: #000;
  line-height: 0;
}

.video-box iframe {
  width: 100%;
  border: none;
  display: block;
}

.arrow {
  opacity: 0.7;
  margin: 0 5px;
}

/* --- METEOPRESS ČR / WINDY --- */
.meteo-container {
  width: 1460px;
  margin: 0 auto;
  font-family: Verdana, Geneva, sans-serif;
  border-collapse: separate;
  border-spacing: 10px 0;
}

.meteo-card-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 15px;
}

.hrbreak-grad {
  background: linear-gradient(to bottom, #000080 0%, #000080 25%, #0080FF 100%) !important;
  background-color: #0080FF !important;
  border-radius: 10px 10px 0 0;
  padding: 11px 10px;
  color: #FFFFFF !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
}

.hrbreak-grad a {
  text-decoration: none !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14px;
  display: block;
}

.hrbreak-grad a:hover {
  text-decoration: underline !important;
}

.modern-content {
  background-color: #FFFFFF;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  vertical-align: top;
  padding: 15px 0;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.meteo-container img {
  border-radius: 5px;
}

/* --- PLOVOUCÍ MINI-NAVIGACE --- */
html {
  scroll-behavior: smooth;
}

.quick-nav {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #0080FF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  overflow: hidden;
  width: auto;
  min-width: 130px;
}

.quick-nav-title {
  background: linear-gradient(to bottom, #000080 0%, #0080FF 100%);
  color: #FFFFFF;
  font-weight: bold;
  padding: 8px 12px;
  text-align: center;
  font-size: 11px;
  cursor: pointer;
  user-select: none;
}

.quick-nav-links {
  display: none;
  width: 170px;
}

.quick-nav:hover .quick-nav-links {
  display: block;
}

.quick-nav a {
  display: block;
  padding: 6px 10px;
  color: #000080 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #eeeeee;
  font-weight: bold;
  transition: background 0.15s, color 0.15s;
}

.quick-nav a.nav-edge {
  background-color: #f0f6ff;
  text-align: center;
}

.quick-nav a:nth-last-child(2) {
  border-bottom: none;
}

.quick-nav a:last-child {
  border-bottom: none;
  background: linear-gradient(to bottom, #0080FF 0%, #000080 100%);
  color: #FFFFFF !important;
}

.quick-nav a:hover {
  background: #0080FF;
  color: #FFFFFF !important;
}

.quick-nav a:last-child:hover {
  background: #000080;
  color: #FFFFFF !important;
}
