* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: sans-serif;
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: hidden;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* čierna s priesvitnosťou */
    z-index: 1;
}

.hero-text {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 3rem;
    transform: translateY(-50%);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    z-index: 2;
}

.slideshow .slide {
    z-index: 0;
}


.valencia-yellow {
    background-color: #ffffff;
}

.valencia-green {
    background-color: #edcc9d;
}

.valencia-blue {
    background-color: #ffffff;
}

.valencia-red {
    background-color: #edcc9d;
}

.valencia-orange {
    background-color: #ffffff;
}

.valencia-beige {
    background-color: #edcc9d;
}

.valencia-coral {
    background-color: #ffffff;
}

.gallery-box {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .main-photo img {
    width: 100%;
    max-height: 50vh;
    border-radius: 6px;
    object-fit: cover;
  }
  
  .side-photos {
    display: flex;
    gap: 10px;
  }
  
  .side-photos img {
    flex: 1;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
  }
  
  .bottom-photos {
    display: flex;
    gap: 10px;
  }
  
  .bottom-photos img,
  .bottom-photos .more-photo {
    flex: 1;
    height: 100px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
  }
  
  .more-photo .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .bottom-photos img {
    object-fit: cover;
  }
  

.section {
    padding: 12vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section.split {
    flex-direction: row;
    justify-content: space-between;
}

.section .text {
    flex: 1;
    padding: 2rem;
    text-align: left;
    color: #333;
}

.section .text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

.section .text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.section .text ul {
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
    list-style: none;
    position: relative;
}

.section .text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.section .text ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #555;
    font-weight: bold;
    font-size: 1.1rem;
}


.section {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.center {
    display: flex;
    align-items: center;
    justify-content: center;
}


.text-one {
    width: 40vw;
    text-align: left;

}


.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.gallery-thumb {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    object-fit: contain;
    cursor: pointer;
}

.image-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: sans-serif;
}

.features-card {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 10px;
    text-align: left;
    border: 3px solid #ba945d;
  }
  
  .features-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* presne 4 stĺpce */
    gap: 20px 30px;
    align-items: center;
  }
  
  .feature {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .feature img {
    width: 24px;
    height: 24px;
  }

  table.accessories {
    width: 100%;
    border-collapse: collapse;
    padding: 0;
    margin-top: 2vh;
  }

  table.accessories td, table.accessories th {
    width: 33%;
  }

  table.accessories th {
    padding: 3px 0px;
    color: #ba945d;
  }

  table.accessories td {
    padding: 3px 5px;
  }
  
  
  .toggle-button {
    margin-top: 20px;
    border: none;
    background: none;
    color: #ba945d;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.6vh;
    text-decoration: underline;
  }
  
  .hidden {
    display: none;
  }

  .left-padding ol {
    list-style-type: decimal; /* číslovanie */
    list-style-position: outside; /* čísla sa zobrazia vnútri boxu */
    padding-left: 1.5rem;
  }
  

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}


.close, .prev, .next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

.close {
    top: 20px;
    right: 30px;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
}

.lightbox-loader {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.tips {
    max-width: 40vw;
}

.tips p {
    text-align: left;
    margin: 2vh 0 0 0;
}

.left-padding {
    text-align: left;
    padding-left: 10px;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



@media (max-width: 768px) {
    .section.split {
        flex-direction: column;
    }
    .hero-text {
        font-size: 2rem;
    }

    .section {
        height: auto;
    }

    .lightbox {
        padding-top: 0;
        display: none; /* zachováva pôvodný display */
    }

    .lightbox-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .close {
        right: 0px;
    }
    
    .prev {
        left: 0px;
    }
    
    .next {
        right: 0px;
    }
    
   

    .section {
        padding: 2vh 2vw;
    }

    .text-one {
        width: 100%;
    }

    .text2 {
        margin: 0 auto;
        max-width: 100%;
        padding: 0 4vw;
        box-sizing: border-box;
      }
      
    .main-photo {
        max-width: 96vw;
        min-width: auto;
    }

    .main-photo img {
        max-width: 96vw;
        min-width: auto;
    }

    .gallery-box {
        padding: 0 0vw;
    }
      
    .side-photos {
        max-width: 96vw;
    }

    .side-photos img {
        max-width: 30vw !important;
        min-width: auto;
    }

    .bottom-photos img {
        max-width: 22vw !important;
        min-width: auto;
    }
      
    .image-container,
    .image-wrapper,
    .image-wrapper img {
        max-width: 100vw;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .image-wrapper img {
        display: block;
    }


    table.accessories td, table.accessories th, div.feature {
        max-width: 33%;
        width: 33%;
      }

      table.accessories td, table.accessories th {
        min-width: 30vw;
        }

    .features-card {
        max-width: 96vw;
        overflow: hidden;
    }

    div.feature span {
        font-size: 1.5vh;
    }

    .tips {
        max-width: 90vw;
    }

}


