:root {
  --primary-color: #e09766;
  --secondary-color: #f8c8a0;
}

body {
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
}



/* HERO */
.hero-section h1 {
  color: #000 !important;
}

.hero {
  background-image: url('space.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section {
  padding-top: 150px; /* zostawia miejsce pod navbarem */
  padding-bottom: 60px;
  background-color: #fff3e6; /* jasne, pomarańczowe tło */
}

.hero-section h1 {
  color: #e09766; /* mocny pomarańczowy tytuł */
}

.hero-section .btn-primary {
  background-color: #e09766;
  border-color: #e09766;
}

.hero-section .btn-primary:hover {
  background-color: #c87e4d;
  border-color: #c87e4d;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  z-index: 2;
  position: relative;
}

/* SEKCJA TECHNOLOGIA */
.bg-primary-light {
  background-color: var(--secondary-color);
}
section {
  scroll-margin-top: 80px; /* Dopasuj do wysokości navbaru */
}
.section-title,
.tech-toggle {
  color: var(--primary-color);
}

.tech-card {
  transition: all 0.3s;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 1rem;
  background-color: #fff;
  margin-bottom: 1rem;
}

.tech-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tech-toggle {
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.tech-toggle .arrow {
  display: inline-block;
  margin-left: 8px;
  font-size: 1rem;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.tech-card.active .arrow {
  transform: rotate(180deg);
}

.tech-subtext {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 4px;
}

.tech-card .tech-list {
  margin-top: 0.75rem;
  display: none;
}

.tech-card.active .tech-list {
  display: block;
}

.product-items {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
}

.product-items li a {
  display: block;
  padding: 6px 10px;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.product-items li a:hover {
  background-color: rgba(224, 151, 102, 0.1); /* lekkie podświetlenie */
  color: #c16830;
  text-decoration: none;
}

/* KAFELKI GOTOWYCH ZESTAWÓW */
.solution-card {
  cursor: pointer;
  transition: transform 0.3s ease;
  background-color: #fff;
}

.solution-card:hover {
  transform: translateY(-4px);
}

.solution-card-content {
  transition: filter 0.3s ease;
}

.solution-card:hover .solution-card-content {
  filter: blur(2px);
}

.solution-card-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(255, 255, 255, 0.6);
}

.solution-card:hover .solution-card-overlay {
  opacity: 1;
}

.arrow-icon {
  font-size: 2.8rem;
  color: #e09766;
  transition: transform 0.3s ease;
}



/* WIDGET TELEFONU */
.phone-widget {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1000;
}

.phone-icon {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-75 {
  max-width: 75%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.phone-icon:hover {
  transform: scale(1.1);
}

.phone-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-dropdown {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  top: 60px;
  right: 0;
  background-color: white;
  color: black;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
  text-align: center;
  min-width: 200px;
  z-index: 999;
}

.phone-widget.show .phone-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.phone-dropdown p {
  margin: 0 0 10px;
  font-weight: bold;
}

.phone-dropdown .btn {
  font-size: 0.9rem;
}

/* PRZYCISKI KONTAKTOWE */
.btn-contact {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: white;
  transition: all 0.2s ease-in-out;
}

.btn-contact:hover {
  background-color: #c97f4f;
  border-color: #c97f4f;
  color: white;
}

/* MODAL – zawartość zdjęciowa */
#productModalBody img {
  max-height: 300px;
  object-fit: contain;
  width: 100%;
  border-radius: 6px;
}

/* STOPKA */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.product-item-link {
  display: block;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: white;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.product-item-link:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.product-item-link img {
  max-width: 100px;
  height: auto;
  margin-bottom: 8px;
}

.product-item-link p {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin: 0;
  font-weight: 500;
}

.modal-body {
  padding: 2rem 2.5rem;
}

/* Zmniejszenie tabeli i wycentrowanie jej */
.modal-body table {
  width: 90%;
  max-width: 700px;
  margin: 30px auto;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #000;
}

.modal-body th,
.modal-body td {
  border: 1px solid #000;
  padding: 10px;
  text-align: center;
  font-size: 0.95rem;
}

.modal-body th {
  background-color: #f2f2f2;
}

.modal-body .item_img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 6px;
}
/*FAQ*/
.faq-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.faq-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-toggle {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0;
}

.faq-toggle .arrow {
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.3s;
  color: #888;
}

.faq-card.active .arrow {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding-top: 0.75rem;
  font-size: 0.95rem;
  color: #333;
}

.faq-card.active .faq-content {
  display: block;
}

.navbar-nav .nav-link {
  position: relative;
  color: #f0f0f0;
  font-weight: 500;
  padding-bottom: 5px;
  transition: color 0.3s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #f8c8a0; /* pastelowy pomarańcz */
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #ffffff;
}

.navbar-nav .nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  max-height: 80px; /* zwiększa ogólną wysokość navbara */
}

@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 75px;
  }
}
.navbar-brand img {
  margin: 0;
  min-height: 55px; /* jeśli używasz logo jako obrazka */
  max-height: 85px;
}
.navbar-collapse {
  background-color: rgba(0, 0, 0, 0.95); /* ciemne, półprzezroczyste tło */
  padding: 1rem;
  border-radius: 0 0 10px 10px;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #e09766;
}

.footer-company-info {
  background-color: #212529; /* taki sam jak stopka */
  border-top: 1px solid #343a40;
}

.footer-company-info i {
  color: #adb5bd; /* szare, subtelne ikony */
}

.footer-company-info a {
  color: #ffffff;
}

.footer-company-info a:hover {
  color: #ffc107; /* lekki akcent na hover */
}

.footer-slim {
  background-color: #e09766; /* Pomarańczowy jak wcześniej */
}

.faq-content img {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}
.faq-content2 {
  max-width: 80% !important;
  width: 100%;
}

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.text-orange {
  color: #e09766 !important;
}


.click-icon {
  font-size: 1.5rem;
  color: #e09766; /* mocny pomarańczowy */
  margin-top: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.feature-box:hover .click-icon {
  transform: scale(1.3);
}

.feature-box {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.application-tile {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* wyśrodkowanie w pionie */
  align-items: center;     /* wyśrodkowanie w poziomie */
  text-align: center;
}

.application-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.application-arrow {
  font-size: 1.5rem;
  color: var(--primary-color, #e09766);
  margin-top: 10px;
}

.tile-inner {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.application-tile:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

.application-tile:hover .application-arrow {
  opacity: 1;
  transform: translateX(5px);
}

.application-arrow {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 1.25rem;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  color: var(--primary-color); /* lub np. #e09766 */
}

.check-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #28a745; /* Bootstrap success green */
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 3px;
  line-height: 20px;
  font-size: 14px;
  content: "✔";
}

.check-icon::before {
  content: "✓";
  display: inline-block;
}

.feature-box {
  height: 100%;
}

#applications .row {
  align-items: stretch;
}

/* --- Responsive Enhancements --- */

@media (max-width: 576px) {
  .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    border-radius: 0 0 10px 10px;
  }

  .navbar-brand img {
    max-height: 32px;
  }

  .hero-section {
    text-align: center;
  }

  .application-tile {
    margin-bottom: 1rem;
  }

  .solution-card h5 {
    font-size: 1rem;
  }

  .solution-card {
    padding: 1rem;
  }
}

/* Utrwalenie logo w navbarze */
.navbar-brand img {
  max-height: 40px;
  height: auto;
  width: auto;
  margin: 2px 6px;
}

/* --- Interaktywne kafelki --- */

.application-tile {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.application-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.application-arrow {
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  color: var(--primary-color, #e09766);
  margin-top: 0.5rem;
}

.application-tile:hover .application-arrow {
  transform: translateX(5px);
}

/* --- Smartfonowa widoczność interakcji --- */

.application-tile {
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
}

.application-arrow {
  font-size: 1.2rem;
  color: var(--primary-color, #e09766);
  margin-top: 1rem;
  opacity: 1;
  text-transform: uppercase;
  font-weight: bold;
}

/* Widoczna animacja pojawienia się na smartfonie */
@media (max-width: 768px) {
  .application-tile {
    animation: pulseIn 0.5s ease-in;
  }
}

@keyframes pulseIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Ujednolicenie koloru rozwijanego menu z navbarem */
.navbar-collapse {
  background-color: #212529 !important; /* kolor Bootstrap 'bg-dark' */
}

.blur-active {
  filter: blur(4px);
  transition: filter 0.3s ease;
  pointer-events: none; /* zapobiega klikaniu w tle */
}

#blur-wrapper.blur-active {
  filter: blur(4px);
  transition: filter 0.3s ease;
  pointer-events: none;
}