@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Russo+One&display=swap');

body {
    background-color: #000000;
    color: #ffffff;
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    overflow-x: hidden;
}

.jumbotron {
    background-image: url('img/background-home.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: darken;
}

.logo {
    height: 8vh;
    width: 200px;
    opacity: 0.8;
}

h1 {
    position: relative;
    font-size: 4vw;
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h2 {
    font-size: 2vw;
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.navbar {
    background-color: #000000;
}

.btn-white {
    color: rgba(255, 255, 255, 0.525);
    border: 2px solid rgba(255, 255, 255, 0.525);
}

.btn-white:focus {
    border-width: 1px !important;
}

.nav-item{
    width: 20vw;
    text-align: center;
    font-family: "Hanken Grotesk", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 2vw;
    font-weight: 300;
    transition: font-size 0.3s ease-in-out;
}

.nav-item:hover {
    font-size: 2.3vw;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  white-space: nowrap;      
  text-align: center;       
}

.row.gx-4.align-items-stretch > [class*="col-"] {
  display: flex;
}

.box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
}

.box img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  flex: 0 0 350px;        
}

.text-box {
  background-color: #cf2025;
  padding: 16px 18px;
  flex: 1 1 auto;          
  display: flex;
  flex-direction: column;
  justify-content: center;   
  text-align: center;
}

.text-box h4,
.text-box p {
  margin: 0 0 8px 0;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.text-box p:last-child { margin-bottom: 0; }


.about-header {
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-content {
  text-align: justify;
  margin: 0;
  margin-right: 4rem;
}


.about-img {
  width: 70%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footer {
    color: #000000;
    background-color: #ffffff;

}

.header-footer-box, .content-footer-box {
    display: flex;
    justify-content: center;
    text-align: center;
}

.facebook-icon {
    background-image: url("img/facebook.svg"); 
    background-repeat: no-repeat;
    background-size: contain; 
    display: inline-block;
    width: 40px; 
    height: 40px;
    margin-right: 10px;
}

.contact-text {
    text-align: center;
    padding-bottom: 2vh;
}

form {
    display: flex;
    justify-content: space-between; 
    align-items: stretch; 
    gap: 10px; 
}
.contact-left {
    flex: 1; 
    margin-left: 10%;
}
.contact-right {
    display: flex;
    align-items: flex-end;
    justify-content: center; 
}

.send-icon {
    background-image: url("img/send-fill.svg"); 
    background-repeat: no-repeat;
    background-size: contain; 
    display: inline-block;
    width: 40px; 
    height: 40px; 
}


.contact-bottom {
    width: 90%;
    padding-left: 5vw;
    margin-top: 3vh;
}

.contact-box-photo img {
    height: 700px;
    width: 100%;
}

.contact-mail-icon {
    background-image: url("img/contact-mail.svg"); 
    background-repeat: no-repeat;
    background-size: contain; 
    display: inline-block;
    width: 30px; 
    height: 30px; 
    margin-right: 10px;
}

.contact-facebook-icon {
    background-image: url("img/contact-facebook.svg"); 
    background-repeat: no-repeat;
    background-size: contain; 
    display: inline-block;
    width: 30px; 
    height: 30px; 
    margin-right: 10px;
}

.contact-phone-icon {
    background-image: url("img/contact-phone.svg"); 
    background-repeat: no-repeat;
    background-size: contain; 
    display: inline-block;
    width: 30px; 
    height: 30px; 
    margin-right: 10px;
}

.contact-bottom-box {
    display: flex;
    align-items: center;
    margin-bottom: 3vh;
}

.contact-bottom-box{
    display: flex;
    align-items: center;
    margin-bottom: 3vh;
}

.gallery-header {
    font-family: "Hanken Grotesk", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 600;
    display: flex;
    width: 100%;
    height: 100px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
}

.gallery-line hr {
    width: 100%; 
    max-width: 600px;
    margin: auto; 
    height: 2px; 
    color: white; 
    background-color: white; 
    border: none; 
    opacity: 1;
}

.gallery-text {
    display: flex;
    font-size: 1.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}

.gallery-row {
    margin-top: 20px;
    margin-bottom: 30px;
}

.gallery-row img {
    width: 100%; 
    height: auto;
    border-radius: 10px; 
    object-fit: cover;
}

/* === PRICE / CENNIK === */
.price-accordion {
  max-width: 1100px;
  margin: 0 auto;
}

.price-item {
  background: transparent;
  border: none;
  margin-bottom: 14px;
}

/* wiersz (ciemne bordo jak na screenie) */
.price-toggle {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: #3a0707;            /* ciemny pasek */
  color: #fff;
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 0 0 2px #1b0000 inset;
}

/* hover i focus */
.price-toggle:hover,
.price-toggle:focus {
  background: #520c0c;
  color: #fff;
}

/* tytuł usługi */
.price-title {
  font-family: "Hanken Grotesk", serif;
  font-size: 1.4rem;        /* większy rozmiar */
  font-weight: 900;         /* pogrubienie */
  letter-spacing: 0.5px;
  text-align: left;         /* trzyma do lewej */
  display: flex;            /* wyrównanie pionowe */
  align-items: center;      /* środek w pionie */
}

/* prawa plakietka z ceną */
.price-badge {
  justify-self: end;
  background: #7a0d0d;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  min-width: 140px;
  text-align: center;
  
}

/* ikona strzałki w kółku */
.price-icon {
  justify-self: end;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #5b0b0b;
}

.price-icon .bi {
  font-size: 1.25rem;
  transition: transform .2s ease;
}

/* obrót przy otwarciu */
.price-toggle.opened .bi {
  transform: rotate(180deg);
}

/* panel treści (szare zaokrąglone pole) */
.price-body {
  background: #7f7f7f;
  color: #000;
  border-radius: 10px;
  margin: 14px 0 0 0;
  padding: 22px;
  line-height: 1.5;
}

.price-accordion,
.price-accordion .price-title,
.price-accordion .price-badge,
.price-accordion .price-body {
    font-family: "Hanken Grotesk", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* ukryj domyślną strzałkę Bootstrapa w accordion-button */
.accordion-button::after {
  background-image: none !important;
  content: none !important;
}

/* (opcjonalnie) wyłącz też cienie/obramowanie Bootstrapa na przycisku */
.accordion-button {
  box-shadow: none !important;
}

.copyright {
  background-color: #000;  /* czarne tło */
  color: #fff;             /* biały tekst */
  text-align: center;
  padding: 12px 0;
  font-size: 0.9rem;
}

/* Zmień domyślne kolory akordeonu Bootstrapa */
:root {
  --bs-accordion-active-bg: #3a0707;   /* Twój bordowy pasek */
  --bs-accordion-active-color: #fff;
  --bs-accordion-btn-focus-border-color: transparent;
}

/* Wyrównanie tła gdy element jest otwarty (ważniejsze niż bootstrap) */
.accordion-button:not(.collapsed) {
  background: #3a0707 !important;
  color: #fff !important;
}

/* Zgaś niebieską poświatę/obrys przy focus/kliknięciu */
.accordion-button:focus {
  box-shadow: none !important;
}

/* Na iOS potrafi też pojawić się tap-highlight */
* { -webkit-tap-highlight-color: transparent; }

@media (max-width: 768px) {
    h1 {
        font-size: 7vw;
    }
    h2 {
        font-size: 5vw;
    }
    .box {
        margin-bottom: 2rem;
    }

    .navbar-toggler {
        background-color: #000000;
    }

    .navbar {
        background-color: rgba(255, 255, 255, 0.0);
        transition: background-color 0.3s ease-in-out;
    }

    .navbar-black {
        background-color: black !important;
    }

    .nav-item { 
        font-size: 5vw;
        width: auto;
        padding-top: 1vh;
        padding-bottom: 1vh;
    }

    .col-md-4 {
    margin-bottom: 1.5rem;  /* przerwa między kolumnami */
  }

    .section-title {
    white-space: normal;   
    font-size: 1.5rem;     
    line-height: 1.3;
    padding: 0 10px;       
  }

    .about-header {
        padding-top: 0%;
        font-size: 5vw;
        text-align: center;
    }

    .about-content {
        padding-right: 5%;
        padding-left: 5%;
        margin-right: 0;
    }

    .about-img {
    width: 90%;
    margin-bottom: 1.5rem;
  }
    
    .contact-box-photo {
        display: none;
    }

    .contact-left {
        flex: 1; 
        margin-left: 5%;
    }

    .contact-line hr {
        width: 10px;
    }

    .gallery-row {
        margin: 0;
    }

    .gallery-row img {
        margin: 10px;
    }

     .price-toggle {
    display: grid;
    grid-template-columns: 1fr auto auto; /* ZOSTAJE 3 kolumny */
    align-items: center;
    column-gap: 10px;                      /* ciaśniej */
    padding: 14px 16px;                    /* trochę mniejszy padding */
  }
  .price-title {
    font-size: 1rem;       /* minimalnie mniejsze, żeby się mieściło */
    line-height: 1.2;
    min-width: 0;          /* pozwól się ścieśniać */
    word-break: break-word;
  }

  .price-badge {
    padding: 8px 12px;     /* mniejsza plakietka */
    min-width: 96px;       /* ale niech się nie „łamie” */
    justify-self: end;     /* do prawej krawędzi swojej kolumny */
  }
  .price-icon {
    width: 36px;
    height: 36px;
    justify-self: end;     /* ikona też do prawej */
  }

  .jumbotron {
    position: relative;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;   /* start od góry */
    align-items: center;
    text-align: center;
    padding: 50px 15px 0;          /* podnieś napisy */
  }

  /* obie kolumny w hero zachowują się jak jeden stosowany blok */
  .jumbotron .col-md-6 {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
  }

  /* tło pod napisami + lekkie zaokrąglenie, żeby zawsze były czytelne */
  .jumbotron h2,
  .jumbotron h1 {
    display: inline-block;
    padding: 8px 12px;
    background: rgba(0,0,0,0.55);
    border-radius: 10px;
    color: #fff;
  }

  .jumbotron h2 {
    font-size: clamp(18px, 5.2vw, 28px);
    margin-bottom: 70px;           /* odstęp do h1 */
  }

  .jumbotron h1 {
    font-size: clamp(26px, 9vw, 42px);
    line-height: 1.15;
  }
}

