/* -------------MAIN PAGE----------------- */

@font-face {
  font-family: 'MojaCzcionka';
  src: url('../font/uni-sans.heavy-caps.otf') format('opentype');
}
body {
  font-family: 'MojaCzcionka';
  background-color: rgb(13, 13, 13);
}
/* ------------- NAVBAR----------------- */

.custom-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
  background-color: transparent;
}
.custom-navbar.scrolled {
  background-color: rgba(3, 3, 3, 0.562);
}
.custom-navbar .navbar-nav {
  text-align: center;
}
.custom-navbar .nav-link {
  padding: 0 15px;
  font-weight: 500;
  color: white !important;
}
.custom-navbar .navbar-brand {
  color: white !important;
}
.custom-navbar h2 {
  color: white;
  font-size: 24px;
  text-align: center;
  flex-grow: 1; 
  padding-left: 155px;
}
.custom-navbar .d-flex{
  margin-right: 15px;
}
.custom-navbar .d-flex img {
  width: 25px; 
  height: 25px; 
  transition: transform 0.3s ease;
}
.custom-navbar .d-flex img:hover {
  transform: scale(1.2); 
}
.clickable {
  cursor: pointer;
}

@media (max-width: 576px) {
  .custom-navbar h2 {
    font-size: 18px;
    text-align: left;
    padding-left: 15px;
    flex-grow: 0;  
  }

  .custom-navbar .d-flex img {
    width: 22px;
    height: 22px;
  }
}

/* ------------- PHOTOGRAPHY - CATEGORIES ----------------- */
  

  .categories {
    margin-top: 80px;
    background-color: #0d0d0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  

  .categories-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  

  .category {
    position: relative;
    width: 300px;
    height: 350px;
    overflow: hidden;
    text-decoration: none;
    display: block;
  }
  

  .category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }
  

  .category:hover img {
    opacity: 1;
  }
  

  .label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .category:hover .label {
    opacity: 0;
  }


@media (max-width: 1024px) {
    .categories-row {
      justify-content: center;
      gap: 16px;
    }
  
    .category {
      width: 45vw;
      height: 300px;
    }
  
    .label {
      font-size: 18px;
    }
  }
  
  @media (max-width: 767px) {
    .categories {
      gap: 20px;
      padding: 20px 10px;
    }
  
    .categories-row {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
  
    .category {
      width: 90vw;
      height: 250px;
    }
  
    .label {
      font-size: 16px;
    }
  }  

/* -------------SEKCJA 6 (LOGO SLIDER)----------------- */

.logo-slider {
    position: relative;
    overflow: hidden;
    background-color: rgb(13, 13, 13);
    padding: 40px 0 20px;
    max-width: 70%;
    margin: 0 auto;
    z-index: 1;
  }
  
  .logo-slider::before,
  .logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }
  
  .logo-slider::before {
    left: 0;
    background: linear-gradient(to right, rgb(13, 13, 13) 0%, transparent 100%);
  }
  
  .logo-slider::after {
    right: 0;
    background: linear-gradient(to left, rgb(13, 13, 13) 0%, transparent 100%);
  }
  
  .logo-slider h2 {
    text-align: center;
    color: white;
    margin-top: 80px;
    margin-bottom: 80px;
    font-size: 36px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  
  .logo-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 40s linear infinite;
    align-items: center;
  }
  
  .logo-track img {
    height: 80px;
    margin: 0 40px;
    opacity: 1.0;
    transition: opacity 1.3s ease-in-out;
  }
  
  @keyframes scrollLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  /* ------------- SEKCJA 7 (FOOTER) ----------------- */
  footer {
    text-align: center; 
    color: white;
    position: relative; 
    width: 100%;
    padding-top: 25px;
    padding-bottom: 1px;
    font-size: 10px;
    padding-top: 60px;
    padding-top: 150px;
}

.apex-button {
  display: inline-block;
  border: none;
  background: none;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer;
}

.apex-button:hover {
  color: royalblue;
}

/* ------------- (DYMEK) ----------------- */
.chat-bubble-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: 'MojaCzcionka', sans-serif;
}

.chat-toggle {
  background-color: #3d5afe;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.chat-toggle:hover {
  transform: scale(1.1);
}
.chat-form {
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.5s ease;
  flex-direction: column;
  background-color: #1e1e1e;
  padding: 30px;
  width: 400px;
  max-height: 90vh;           
  overflow-y: auto; 
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  position: fixed;              
  bottom: 90px;
  right: 20px;
  max-width: 90vw;               
  box-sizing: border-box;      
  overflow: hidden; 
  z-index: 1000;
}

/* Gdy otwarte */
.chat-form.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: flex;
}
.chat-form input,
.chat-form textarea {
  background-color: #2a2a2a;
  border: none;
  border-radius: 2px;
  padding: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 14px;
  width: 100%;
}
.chat-form textarea {
  background-color: #2a2a2a;
  border: none;
  border-radius: 2px;
  padding: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 14px;
  width: 100%;
  height: 140px; 
  resize: vertical;
}
.chat-form form button {
  background-color: #3d5afe;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 80%;
  margin: 20px auto 0 auto;
  display: block;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: white;
}

.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}
.chat-phone {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background-color: #3d5afe;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
  z-index: 9999;
  flex-direction: column;
  overflow: visible;
}

.phone-number {
  opacity: 0; 
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  bottom: 70px;
  right: 0;
  background-color: #1e1e1e;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 30px;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.phone-number a {
  color: white;
  text-decoration: none;
}

.phone-number a:hover {
  text-decoration: none;
}
.chat-phone:hover {
  transform: scale(1.1);
}
.phone-number.open {
  opacity: 1; 
  transform: translateY(0); 
  pointer-events: auto; 
}

/* Popup Styles */
.popup {
  display: none; 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  width: 80%;
  max-width: 300px;
  background-color: rgba(0, 0, 0, 0.8); 
  color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  z-index: 1001; 
  animation: fadeIn 0.5s ease-out; 
}


.popup-content {
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.popup-content .close {
  font-size: 30px;
  position: absolute;
  top: -20px;
  right: -10px;
  cursor: pointer;
  color: white;
  transition: transform 0.3s ease;
}

.popup-content .close:hover {
  transform: scale(1.2); 
}

#popup-message {
  font-size: 18px;
  font-weight: bold;
}

/* Animacja fadeIn */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.grecaptcha-badge { 
  left: 20px !important; 
  bottom: 20px !important; 
  right: auto !important; 
}