/* ================================
   Global Reset
================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 10px;
  background: #fff;
  color: #000;
}

/* ================================
   Snow Container (Map + Table)
================================ */
.snow-container {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  padding: 15px;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.snow-map {
  flex: 1 1 45%;
  min-width: 260px;
  max-width: 500px;
}

.snow-map img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: 8px;
}

.snow-table {
  flex: 1 1 45%;
  min-width: 300px;
  max-width: 550px;
  max-height: 350px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .snow-container {
    flex-direction: column;
  }
  .snow-map,
  .snow-table {
    max-width: 100%;
    max-height: none;
  }
}

/* ================================
   Image Row (3 images with titles)
================================ */
.image-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.image-box {
  position: relative;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 220px;
}

.image-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.image-box .title {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding: 5px 12px;
  border-radius: 10px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .image-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .image-box {
    flex: 1 1 100%;
    max-width: 400px;
  }
}

/* ================================
   Layout with main + small images
================================ */
.layout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.layout .image-box {
  position: relative;
  overflow: hidden;
}

.layout .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hover-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 14px;
  text-align: center;
  opacity: 1;
}

.main-image {
  flex: 1.8;
  min-width: 280px;
  height: 314px;
}

.small-images {
  flex: 1.7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-width: 280px;
}

.small-images .image-box {
  aspect-ratio: 16/9;
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }
  .main-image,
  .small-images {
    height: auto;
  }
  .small-images {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================================
   Two Column Section
================================ */
.column {
  float: left;
  width: 50%;
  padding: 0 10px;
}

.row {
  margin: 0 -5px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 600px) {
  .column {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 16px;
  text-align: left;
  background-color: #f1f1f1;
}

/* ================================
   Gallery
================================ */
div.gallery {
  background: rgba(250, 235, 215, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: 200px;
}

div.desc {
  padding: 3px;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  color: #000000;
}

.responsive {
  padding: 0 5px;
  float: left;
  width: 33%;
}

@media only screen and (max-width: 992px) {
  .responsive {
    width: 49.99999%;
    float: left;
  }
}

@media only screen and (max-width: 768px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.blue {
  overflow: hidden;
}

.right-col iframe {
  position: relative;
  top: -50px;
  margin-bottom: -50px;
}

/* ================================
   Small Image Grid
================================ */
.new {
  padding: 0 5px;
  float: left;
  width: 25%;
}

div.poza img {
  width: 100%;
  height: 120px;
}

@media only screen and (max-width: 992px) {
  .new {
    width: 49.99999%;
    float: left;
  }
}

@media only screen and (max-width: 768px) {
  .new {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .new {
    width: 49.99999%;
  }
}

div.titlu {
  font-size: 14px;
  font-style: italic;
  color: #000000;
}

/* ================================
   Responsive Video
================================ */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ================================
   Wrapper with Two Sections
================================ */
.wrapper div {
  min-height: 450px;
  padding: 5px;
}

#one {
  float: left;
  margin-right: 5px;
  width: 800px;
}

#two {
  overflow: hidden;
  margin: 5px;
  min-height: 450px;
}

@media screen and (max-width: 400px) {
  #one {
    float: none;
    margin-right: 0;
    width: auto;
  }
}
