/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background-color: #251D1B;
    line-height: 1.6;
  }
  
  /* Nawigacja */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: transparent;
    z-index: 1000; /* Aby hamburger i overlay były nad innymi elementami */
  }

  .navbar.scrolled{
    background-color: rgba(37, 29, 27, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
.navbar.inactive{
  z-index: -1;
}

  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo {
    max-width: 120px;
    margin-right: 0.5rem;
  }

  .logo.center{
    position: absolute;
    top: 15%;
  left: 50%;
  transform: translateX(-50%);
  }
  
  /* Lista nawigacyjna - domyślnie widoczna na desktopie */
  .nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
  }
  
  .nav-links li a {
    color: #BB994D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .nav-links li a:hover {
    text-shadow: #BB994D 0px 0px 5px;
  }

  .nav-links li i{
    margin-right: 0.5rem;
    color: transparent;
  }

  .nav-links li a:hover i{
  color: #BB994D;
  }
  
  /* Hamburger-menu */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: #BB994D;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  /* Styl nakładki menu na pełną stronę */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #251D1B;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  
  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-overlay li {
    margin: 1rem 0;
    list-style: none;
  }
  
  .nav-overlay li a {
    color: #BB994D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 2rem;
  }

  .nav-overlay li a:hover {
    text-shadow: #BB994D 0px 0px 5px;
  }
  
  /* Sekcja Hero */
  .hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
      url('/assets/baner2.jpg') center/cover no-repeat;
    display: flex;
    align-items: end;
    justify-content: center;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  .hero-content {
    max-width: 600px;
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 8rem;
    margin-bottom: 0.1rem;
    font-family: 'whisper', cursive;
    color: #BB994D;
    animation: slideDown 1s ease-in-out;
    line-height: 1;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-style: italic;
  }
  
  .cta-button {
    display: inline-block;
    background-color: #BB994D;
    color: #251D1B;
    padding: 0.8rem 0.8rem;
    margin-bottom: 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    border-radius: 25px;
    transform: rotate(180deg);
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover p {
    color: #fff;
    transform: scale(1.5);
  }
  
  /* Pozostałe sekcje */
  section {
    padding: 3rem 1rem;
  }

  .about-section p{
    margin-bottom: 1rem;
  }

  .signature{
    font-family: "Whisper", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    text-align: right;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  
  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #BB994D;
  }

  /* Hodowla*/
  .bredding-section {
    background-color: #fefaf6;
    color: #251D1B;
  }

  .bredding-section .container {
    max-width: 1000px;
    margin: 0 auto;
  }

  .bredding-section p{
    margin-bottom: 1rem;
  }

  .bredding-section ul {
    list-style: none;
  }

  .bredding-section i{
    margin: 0 10px;
  }

  
  /* Galeria */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 2px solid #BB994D;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.05);
  }



  .gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(218, 165, 32, 0.4); 
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
  }

  .gallery-item:hover .gallery-overlay {
    opacity: 1;
    cursor: pointer;
  }

  .gallery-item .gallery-overlay i {
    color: white;
    font-size: 2rem;
  }

  .gallery-item:active .gallery-overlay {
    background: rgba(218, 165, 32, 0.6); 
    transition: background 0.1s ease;
  }

  .gallery-item:active img {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  .lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .close, .arrow {
    position: absolute;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
  }

  .close { 
    top: 20px; 
    right: 30px; 
  }

.arrow.left { 
  left: 20px; 
  top: 50%; 
  transform: translateY(-50%); 
}

.arrow.right 
{ right: 20px; 
  top: 50%; 
  transform: translateY(-50%); 
}

  .lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
  }

  .gallery-bubble {
    opacity: 0;
    transform: scale(0.6) translateY(50px);
    transition: all 0.8s ease-out;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  
  .gallery-bubble.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  
  /* Oferta */
  .oferta-section {
    padding: 60px 20px;
    background-color: #fefaf6;
    color: #251D1B;
  }
  
  .oferta-section .container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .oferta-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .oferta-section .intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .oferta-block {
    margin-bottom: 40px;
  }
  
  .oferta-block h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #5b3f36;
  }

  .oferta-block p.important {
  font-weight: bold;
  }
  
  .oferta-block ul {
 list-style: none;
  }

  ul.paw-list li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.5em;
  }

  ul.paw-list li::before {
    font-family: "Font Awesome 6 Free";
    content: "\f1b0";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #251D1B;
  }

  .oferta-block .special {
    margin: 10px 0;
  }

  .oferta-block i{
    margin: 0 10px;
  }

  .oferta-block .breeds-window{
    max-width: 350px;
    padding: 10px;
    background-color: rgba(91, 63, 54, 0.2);
    border-radius: 5px;
    display: none;
  }

  .oferta-block .breeds-window.active{
    display: block;
  }

  .oferta-alert-box {
    background-color: rgba(91, 63, 54, 0.2);
    border-left: 6px solid #5b3f36;
    padding: 25px 20px;
    margin-top: 40px;
    border-radius: 8px;
    color: #251D1B;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .oferta-alert-box h4 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #5b3f36;
  }

  .oferta-section .openRules{
    font-weight: 600;
    color: #251D1B;
    cursor: pointer;
  }

  .oferta-section .openRules:hover{
    text-decoration: underline;
  }
  
  @media screen and (max-width: 768px) {
    .oferta-section {
      padding: 40px 15px;
    }
  
    .oferta-section h2 {
      font-size: 1.8rem;
    }
  
    .oferta-block h3 {
      font-size: 1.2rem;
    }
  }


/*Regulamin*/
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(37, 29, 27, 0.8);
    backdrop-filter: blur(4px);
  }
  
  .modal-content {
    background-color: #fffaf6;
    margin: 10% auto;
    padding: 20px;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    color: #251d1b;
    font-family: 'Arial', sans-serif;
    position: relative;
  }
  
  .modal-content h2 {
    margin-top: 0;
    color: #5b3f36;
    font-size: 1.5rem;
  }

  .modal-content span{
    font-style: italic;
  }
  
  .modal-content ol {
    padding-left: 1.2rem;
  }
  
  .modal-content li {
    margin-bottom: 0.8rem;
  }
  

  .close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.5rem;
    color: #5b3f36;
    cursor: pointer;
    font-weight: bold;
  }
  .close-btn:hover {
    color: #a35c4d;
  }
  
  /* Kontakt */
.contact-section .container p{
  text-align: center;
}

  .contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
  }

  .contact-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
    margin-top: 1rem;
  }

  .contact-box a{
    text-decoration: none;
    color: #fff;
  }

  .icon{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #BB994D;
    margin-bottom: 1rem;
  }

  .icon i{
    color: #251D1B;
    font-size: 1.5rem;
  }

  @media (max-width: 965px) {
    .contact-wrapper {
      flex-direction: column;
      gap: 2rem;
    }
  
    .contact-box {
      width: 100%;
      height: auto;
    }
  }

  .map-section {
    position: relative;
    text-align: center;
    margin: 50px 0;
  }
  
  .map-container {
    width: 100%;
    height: 400px;
    position: relative;
    background-color: #eee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .custom-map {
    width: 100%;
    height: 100%;
    display: none;
  }
  
  .load-map-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #5b3f36;
    color: #fff;
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 10;
  }

/* Cookie banner */
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #251D1B;
    color: #fff;
    padding: 15px 20px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .cookie-banner a {
    color: #EAC57A;
    text-decoration: underline;
  }
  
  .cookie-buttons button {
    background: #EAC57A;
    color: #251D1B;
    border: none;
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
  }
  
  .cookie-banner.hidden {
    display: none;
  }

  
  /* Stopka */
  .footer {
    box-shadow: 0 4px 6px #EAC57A;
    text-align: center;
    padding: 1rem;
  }
  
  .footer .container{
    margin-top: 1rem;
  }
  
  .footer p {
    color: #BB994D;
  }

  .footer a {
    color: #BB994D;
    text-decoration: none;
    font-size: 2rem;
    transition: all 0.3s ease;
  }

  .footer a:hover {
    text-shadow: #BB994D 0px 0px 5px;
  }

  .footer .creator {
    font-size: 0.6rem;
    color: #908d8d;
    margin-top: 1rem;
  }

  .footer .creator a {
    color: #966AAE;
    text-decoration: none;
    font-size: 0.8rem;
  }
  
  /* Animacje */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  



  /* Responsywność oraz styl hamburgera i overlay */

  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
  
    .hamburger {
      display: flex;
    }
  

    .nav-overlay {
      display: flex;
    }
  }
  
  /* Animacja hamburgera do X */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  