/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: #fff;
}

/* ========== TOP BAR ========== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 40px;
  width: 100%;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.contact-container {
  font-size: 0.9rem;
}
.phone-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.phone-link strong {
  font-weight: 700;
}

/* ========== KONTEJNER GŁÓWNY ========== */
.container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: calc(100vh - 40px); /* wysokość - top-bar */
  margin-top: 40px;
  position: relative;
}

/* ========== PANELE ========== */
.panel {
  flex: 1;
  position: relative;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.3s ease;
}

.panel:hover .overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.left-panel {
  background: url("https://tetameble.pl/sklepowe.jpg") center center / cover no-repeat;
}

.right-panel {
  background: url("https://tetameble.pl/nawymiar.jpg") center center / cover no-repeat;
}

/* ========== OVERLAY ========== */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: background-color 0.3s ease;
}

/* ========== TREŚĆ ========== */
.content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}
.content h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

/* ========== PRZYCISK ========== */
.btn {
  padding: 12px 30px;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #444, #111);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
  background: linear-gradient(135deg, #555, #222);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* ========== SEPARATOR ========== */
.separator {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: rgba(255, 255, 255, 0.8);
  z-index: 2;
}

/* ========== RESPONSYWNOŚĆ ========== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .panel {
    width: 100%;
    height: 50vh;
  }

  .separator {
    display: none;
  }

  .content h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}
