
/* === Mobile Overrides for Uraz Hotel === */
/* Base image responsiveness */
img, video {
  max-width: 100%;
  height: auto;
}

/* Container normalization (if auto-container isn't defined elsewhere) */
.auto-container {
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}

/* Header adjustments */
.header-top .top-left .text,
.header-top .top-right .info-list { font-size: 14px; }

/* Hide the very top strip on small screens to prevent wrapping overflow */
@media (max-width: 575.98px) {
  .header-top { display: none; }
}

/* Logo sizing */
.logo img,
.logo-two img {
  height: auto;
  width: auto;
  max-height: 64px;
}

@media (min-width: 768px) {
  .logo img { max-height: 160px; }
}

/* Navbar (Bootstrap 4) fix: ensure collapsed by default and scrollable */
.navbar-collapse.collapse {
  max-height: 70vh;
  overflow-y: auto;
}

/* Language selector spacing on mobile */
.language-nav {
  gap: 8px;
  display: flex;
}

/* Slider heading sizes */
.slider_h1.h1 span,
.slider_h1 span {
  display: inline-block;
  line-height: 1.2;
  font-size: clamp(20px, 5vw, 40px);
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Swiper slides: ensure min-height manageable on mobile if any */
.overlay-slide {
  background-size: cover;
  background-position: center;
}

/* "Uraz Otel" video + text block on homepage */
.hero-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 100%;
  gap: 24px;
}
@media (max-width: 991.98px) {
  .hero-flex { 
    flex-direction: column !important; 
    gap: 16px !important;
  }
  .hero-flex video {
    width: 100% !important;
    height: auto !important;
  }
  .hero-flex h2 { margin-bottom: 12px !important; }
}

/* Factory section grid images */
.factory-image, .small-factory-image, .room-img, .carousel-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Footer logo size */
.main-footer .logo img { max-height: 48px; }

/* Cookie banner: ensure z-index and wrap */
#cookie-banner {
  z-index: 1060;
}

/* Contact page map responsiveness */
iframe[loading="lazy"][allowfullscreen] {
  border: 0;
  width: 100% !important;
  height: 420px;
}
@media (min-width: 992px) {
  iframe[loading="lazy"][allowfullscreen] { height: 600px; }
}

/* Cards spacing and rounded corners on "Otelimiz" */
.info-card {
  border-radius: 16px !important;
}
.info-card .badge { font-size: 0.9rem; }

/* Prevent horizontal scroll due to long strings */
body, html { overflow-x: hidden; }

/* Ensure images in grid never overflow columns */
.row .col-12 img,
.row .col-6 img,
.row .col-md-4 img,
.row .col-md-6 img,
.row .col-lg-6 img,
.row .col-lg-9 img {
  max-width: 100%;
}
