/*
 Theme Name: Astra Child
 Template: astra
 Version: 1.0.0
*/

/* ===============================
   HERO SECTION - FULL WIDTH & RESPONSIVE
   =============================== */

:root {
  --burgundy: #760018;
  --overlay: rgba(118, 0, 24, 0.75);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.hero-layout {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* Left side (background image section) */
.left-side {
  flex: 1;
  background: url('https://larapp3.docutracks.eu/website/wp-content/uploads/2025/04/theater-larissa.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 40px;
}

.hero-content {
  color: white;
  max-width: 500px;
}

.hero-content .logo {
  max-width: 260px;
  margin-bottom: 30px;
}

.hero-content h1 {
  font-size: 38px;
  margin-bottom: 20px;
}

.searchbox {
  display: flex;
  background: white;
  border-radius: 5px;
  overflow: hidden;
  max-width: 100%;
}

.searchbox input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: none;
  outline: none;
}

.searchbox button {
  background-color: var(--burgundy);
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
}

/* Right side (grid with 6 boxes) */
.right-side {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  background-color: var(--burgundy);
}

.box {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-weight: bold;
}

.box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--overlay);
  z-index: 1;
}

.box .content {
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.box .content img {
  width: 36px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* RESPONSIVE layout */
@media (max-width: 991px) {
  .hero-layout {
    flex-direction: column;
    height: auto;
  }

  .left-side,
  .right-side {
    width: 100%;
    height: auto;
  }

  .right-side {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
  }
}
