@import '_base.css'; 

/* HERO BACKGROUND */
.hero-background-kontakt { 
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-image: url('../images/kontakt/kontakt_Main.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

/* HERO SECTION CONTAINMENT - ALL SCREENS */
#hero {
  min-height: auto;
  height: auto;
  overflow: visible;
  margin-bottom: 40px;
  padding-bottom: 20px;
  position: relative;
  z-index: 52;
}

/* HERO CONTENT CONTAINER */
.hero-content-kontakt {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 60px 40px;
  box-sizing: border-box;
  min-height: auto;
  height: auto;
  overflow: visible;
}

/* BUSINESS CARD CONTAINER */
#page-title-kontakt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 90%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a8dde 100%);
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(226,0,116,0.10);
}

/* BUSINESS CARD TITLE */
#page-title-text {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 24px 0;
  text-align: center;
}

/* CONTACT INFO CONTAINER */
.main-content-kontakt {
  width: 100%;
  text-align: center;
}

/* CONTACT INFO ITEMS */
.main-content-kontakt .content-paragraph {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.main-content-kontakt .content-paragraph:last-child {
  margin-bottom: 0;
}

.main-content-kontakt .content-paragraph i {
  font-size: 18px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.main-content-kontakt .content-paragraph a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.main-content-kontakt .content-paragraph a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* SPACING ELEMENTS */
.verticalspacer {
  min-height: 40px;
  clear: both;
}

#partners-section {
  position: relative;
  z-index: 10;
  clear: both;
  margin-top: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 960px) {
  .hero-content-kontakt {
    padding: 30px 20px 40px 20px;
  }
  
  #page-title-kontakt {
    max-width: calc(100% - 40px);
    padding: 30px 20px;
  }
  
  #page-title-text {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .main-content-kontakt .content-paragraph {
    font-size: 15px;
    margin-bottom: 14px;
    gap: 10px;
  }
  
  .main-content-kontakt .content-paragraph i {
    font-size: 16px;
    width: 18px;
  }
}

@media (max-width: 768px) {
  .hero-content-kontakt {
    padding: 25px 15px 35px 15px;
  }
  
  #page-title-kontakt {
    max-width: calc(100% - 30px);
    padding: 25px 15px;
  }
  
  #page-title-text {
    font-size: 24px;
    margin-bottom: 18px;
  }
  
  .main-content-kontakt .content-paragraph {
    font-size: 14px;
    margin-bottom: 12px;
    gap: 8px;
  }
  
  .main-content-kontakt .content-paragraph i {
    font-size: 15px;
    width: 16px;
  }
}

@media (max-width: 560px) {
  .hero-background-kontakt {
    display: none;
  }
  
  .hero-content-kontakt {
    margin: 20px;
    padding: 30px 20px;
    max-width: calc(100% - 40px);
  }
  
  #page-title-kontakt {
    max-width: 100%;
    padding: 25px 20px;
    border-radius: 12px;
    margin: 0 auto;
  }
  
  #page-title-text {
    font-size: 22px;
    margin-bottom: 16px;
  }
}

@media (max-width: 400px) {
  #hero {
    margin-bottom: 50px;
    padding-bottom: 30px;
  }
  
  .hero-content-kontakt {
    padding: 20px 15px 30px 15px;
    margin: 15px auto 20px auto;
    max-width: calc(100% - 30px);
    z-index: 52;
  }
  
  #page-title-kontakt {
    padding: 20px 15px;
    margin-bottom: 0;
  }
  
  #page-title-text {
    font-size: 20px;
    margin-bottom: 16px;
  }
  
  .main-content-kontakt .content-paragraph {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .main-content-kontakt .content-paragraph i {
    margin-bottom: 2px;
    font-size: 14px;
  }
  
  .verticalspacer {
    min-height: 60px;
    margin-top: 20px;
  }
  
  #partners-section {
    margin-top: 20px;
    padding-top: 20px;
  }
}

/* SCHEMAT IMAGE STYLING (from wnetrze-wyposazenie.html) */
.schemat-img {
  max-width: 25%;
  width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 10px;
  transition: max-width 0.3s cubic-bezier(0.4,0,0.2,1);
}

@media (max-width: 1200px) {
  .schemat-img {
    max-width: 35%;
  }
}
@media (max-width: 960px) {
  .schemat-img {
    max-width: 45%;
  }
}
@media (max-width: 768px) {
  .schemat-img {
    max-width: 60%;
  }
}
@media (max-width: 560px) {
  .schemat-img {
    max-width: 90%;
  }
}
