/*ZÁKLAD*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(180deg, #6b3d7e 0%, #4a2563 30%, #3a1f52 60%, #1a0f2e 100%);
    background-attachment: fixed;
    color: #f0f0f0;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    
}

h2, h3 {

font-family: "Cinzel Decorative", serif;


}

/*MENU*/
.main-nav {
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgb(27, 17, 40);
  backdrop-filter: blur(2px);
}

.main-nav.hide {
  transform: translateY(-100%);
}


.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo { 
  display: flex; 
  align-items: center; 
  gap: 0.6rem; 
  font-family: "Cinzel Decorative", serif;
   font-weight: 700; 
   font-style: normal;
   font-size: 1.3rem;
    color: #fdfbff;
    letter-spacing: 2px;
   
}

.nav-logo {
  height: 3.5rem;   
  width: auto;
  object-fit: contain;
}


.nav-links {
 list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
 text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #c77dff;
}

/*HAMBURGER MENU*/
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  margin-left: auto; 
  position: relative;
  right: 0;

  
}


.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/*RESPONZIVITA*/
@media (max-width: 768px) {

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
  }

  .logo {
    flex: 1;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    
    flex-direction: column;
    align-items: center;

    background: rgba(15,11,20,0.98);
    padding: 1rem 0;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.3s ease;
  }

  .nav-links.active {
    max-height: 400px;
    opacity: 1;
  }

  .nav-links li {
    padding: 0.6rem 0;
  }
}


/* GLITTER EFFECTS */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #e0bbff, rgba(224, 187, 255, 0)),
        radial-gradient(2px 2px at 60px 70px, #d4a5ff, rgba(212, 165, 255, 0)),
        radial-gradient(1px 1px at 50px 50px, #f0f0f0, rgba(240, 240, 240, 0)),
        radial-gradient(1px 1px at 130px 80px, #e0bbff, rgba(224, 187, 255, 0)),
        radial-gradient(2px 2px at 90px 10px, #d4a5ff, rgba(212, 165, 255, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: glitterFloat 20s linear infinite;
    opacity: 0.4;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(1px 1px at 10px 20px, #f0f0f0, rgba(240, 240, 240, 0)),
        radial-gradient(1px 1px at 40px 60px, #e0bbff, rgba(224, 187, 255, 0)),
        radial-gradient(2px 2px at 130px 120px, #d4a5ff, rgba(212, 165, 255, 0)),
        radial-gradient(1px 1px at 80px 40px, #f0f0f0, rgba(240, 240, 240, 0)),
        radial-gradient(1px 1px at 120px 10px, #e0bbff, rgba(224, 187, 255, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: glitterFloat 25s linear infinite reverse;
    opacity: 0.3;
}

@keyframes glitterFloat {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-200px);
    }
}


header, footer, section {
    position: relative;
    z-index: 1;

    }

    @media (max-width: 768px) {
    body::before {
        opacity: 0.2;
    }

    body::after {
        opacity: 0.15;
    }
}

   /* HLAVIČKA */
  header {
  background-color: #2d1b4e;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
   align-items: center;
   box-shadow: 0 4px 15px rgba(212, 165, 255, 0.3);
   position: sticky;
    top: 0;
    z-index: 100;
        }



   /* SEKCE */
        section {
            padding: 4rem 3rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        section h2 {
            font-size: 2.5rem;
            color: #d4a5ff;
            margin-bottom: 2rem;
            text-align: center;
            text-shadow: 0 0 10px rgba(212, 165, 255, 0.5);
        }

        /* GAMEBOOK*/
        .book-mockup-section {
            display: flex;
            gap: 3rem;
            align-items: center;
        }

        .book-mockup {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .book-mockup img {
            width: 250px;
            height: 350px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(212, 165, 255, 0.4);
            transition: transform 0.3s ease;
        }

        .book-mockup img:hover {
            transform: scale(1.05);
        }

        .book-content {
            flex: 1;
        }

        .book-content h3 {
            font-size: 2rem;
            color: #d4a5ff;
            margin-bottom: 1rem;
        }

        .book-content p {
            color: #c0c0c0;
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        /* AUTOR PŘÍBĚHU */
        .author-story-section {
            display: flex;
            gap: 3rem;
            align-items: center;
            padding: 3rem;
            
        }

        .author-story-content {
            flex: 1;
        }

        .author-story-content h2 {
            font-size: 2.5rem;
            color: #d4a5ff;
            margin-bottom: 1.5rem;
            text-shadow: 0 0 10px rgba(212, 165, 255, 0.5);
        }

        .author-story-content p {
            color: #c0c0c0;
            margin-bottom: 1rem;
            line-height: 1.8;
            font-size: 1.1rem;
        }

        .author-story-image {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .author-story-image img {
            width: 100%;
            max-width: 300px;
            box-shadow: 0 10px 30px rgba(212, 165, 255, 0.4);
            transition: transform 0.3s ease;
        }

        .author-story-image img:hover {
            transform: scale(1.05);
        }

        
 /* SLAVLEGEND STUDIO */
.brand-section {
    background-image: url('backgrounds/studio.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 3rem;
    border-radius:15px;
    text-align: center;
    margin: 6rem auto;
    box-shadow: 0 10px 40px rgba(212, 165, 255, 0.2);
    position: relative;
}

.brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 15, 46, 0.8) 0%, rgba(58, 36, 81, 0.7) 50%, rgba(74, 53, 101, 0.8) 100%);
    border-radius: 15px;
    z-index: 0;
}

.brand-section h2 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    color: #d4a5ff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(212, 165, 255, 0.6);
}

.brand-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.brand-text {
    text-align: left;
}

.brand-text h3 {
    font-size: 2.2rem;
    color: #d4a5ff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.brand-text p {
    font-size: 1.1rem;
    color: #c0c0c0;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

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

.brand-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    box-shadow: 0 10px 30px rgba(212, 165, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #d4a5ff;
}

.brand-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(212, 165, 255, 0.6);
}

.brand-divider {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4a5ff, transparent);
    margin: 3rem auto;
}

/*RESPONZIVITA*/

@media (max-width: 768px) {
    .brand-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .brand-text {
        text-align: center;
    }

    .brand-text h3 {
        font-size: 1.8rem;
    }

    .brand-image img {
        max-width: 280px;
    }
}
        /* GALERIE ILUSTRACÍ */
        .gallery-section {
            padding: 4rem 3rem;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 2rem;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            height: 300px;
            box-shadow: 0 5px 15px rgba(212, 165, 255, 0.2);
            transition: transform 0.3s ease;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(212, 165, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            font-size: 1.3rem;
            font-weight: bold;
            color: #d4a5ff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        /* PROCES SLIDESHOW*/
        .slideshow-container {
            position: relative;
            max-width: 800px;
            margin: 2rem auto;
            background-color: #2d1b4e;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(212, 165, 255, 0.3);
        }

        .slide {
            display: none;
            text-align: center;
            animation: fadeIn 0.5s;
        }

        .slide.active {
            display: block;
        }

        .slide img {
            width: 100%;
            height: auto;
            max-height: 400px;
            object-fit: cover;
        }

        .slide-description {
            padding: 1.5rem;
            background-color: rgba(212, 165, 255, 0.1);
            color: #d4a5ff;
            font-size: 1.1rem;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            margin-top: -22px;
            padding: 16px;
            color: #d4a5ff;
            font-weight: bold;
            font-size: 18px;
            transition: 0.3s ease;
            border-radius: 3px;
            background-color: rgba(45, 27, 78, 0.7);
            user-select: none;
        }

        .next {
            right: 0;
        }

        .prev {
            left: 0;
        }

        .prev:hover, .next:hover {
            background-color: #d4a5ff;
            color: #2d1b4e;
        }

        .dots {
            text-align: center;
            padding: 1rem;
        }

        .dot {
            cursor: pointer;
            height: 12px;
            width: 12px;
            margin: 0 5px;
            background-color: #d4a5ff;
            border-radius: 50%;
            display: inline-block;
            transition: 0.3s ease;
            opacity: 0.5;
        }

        .dot.active {
            opacity: 1;
        }


/* RECENZE */
.reviews-section {
    background-color: rgba(212, 165, 255, 0.05);
    border-radius: 10px;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-container {
    position: relative;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.reviews-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    flex: 1;
    max-width: 1100px;
}

.review-card {
    background-color: #2d1b4e;
    border: 2px solid #d4a5ff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 165, 255, 0.5);
}

.review-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid #d4a5ff;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(212, 165, 255, 0.3);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-username {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d4a5ff;
    margin-bottom: 0.5rem;
}

.review-stars {
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    color: #d4a5ff;
    margin-bottom: 1rem;
    min-height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.review-text {
    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

.review-arrow {
    flex-shrink: 0;
    background-color: #d4a5ff;
    color: #2d1b4e;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.review-arrow:hover {
    background-color: #f0f0f0;
    box-shadow: 0 0 20px rgba(212, 165, 255, 0.6);
    transform: scale(1.1);
}

.review-arrow-left {
    order: -1;
}

.review-arrow-right {
    order: 1;
}

/*RESPONZIVITA*/

@media (max-width: 1200px) {
    .reviews-carousel {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .review-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .reviews-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .reviews-container {
        gap: 1rem;
    }

    .review-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .reviews-carousel {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .reviews-container {
        gap: 1rem;
    }

    .review-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}


/* ZPĚTNÁ VAZBA*/
.questionnaire {
    background-color: rgba(212, 165, 255, 0.05);
    border-radius: 10px;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.question-item {
    margin-bottom: 2rem;
}

.question-item label {
    display: block;
    margin-bottom: 0.5rem;
    color: #d4a5ff;
    font-weight: bold;
}

.question-item input[type="radio"],
.question-item input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #d4a5ff;
}

.question-item select {
    width: 300px;
    padding: 0.8rem;
    background-color: #2d1b4e;
    color: #f0f0f0;
    border: 2px solid #d4a5ff;
    border-radius: 5px;
    font-size: 1rem;
    transition: box-shadow 0.3s ease;
}

.question-item select:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(212, 165, 255, 0.5);
}

.question-item textarea {
    width: 100%;
    padding: 1rem;
    background-color: #2d1b4e;
    color: #f0f0f0;
    border: 2px solid #d4a5ff;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: box-shadow 0.3s ease;
}

.question-item textarea:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(212, 165, 255, 0.5);
}

.questionnaire form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.questionnaire button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2.2rem;
  border: 2px solid #c77dff;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  background: transparent;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
}

.questionnaire button:hover {
   background: #c77dff;
  box-shadow: 0 0 20px #c77dff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
    .question-item select {
        width: 100%;
    }

    .questionnaire button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* KONTAKT*/
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contact-form h2 {
    grid-column: 1/3;
    margin: 0 0 2rem 0;
    font-size: 2.5rem;
    color: #d4a5ff;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 165, 255, 0.5);
    width: 100%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    background-color: #2d1b4e;
    color: #f0f0f0;
    border: 2px solid #d4a5ff;
    border-radius: 5px;
    font-family: inherit;
    transition: box-shadow 0.3s ease;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(212, 165, 255, 0.5);
}

.contact-form button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2.2rem;
  border: 2px solid #c77dff;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  background: transparent;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;

}

.contact-form button:hover {
background: #c77dff;
  box-shadow: 0 0 20px #c77dff;
  transform: translateY(-2px);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(212, 165, 255, 0.2);
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form h2 {
        grid-column: 1;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
    }

    .map-container iframe {
        height: 300px;
    }
}

        /* PATIČKA*/
        footer {
            background-color: #2d1b4e;
            padding: 2rem;
            text-align: center;
            border-top: 2px solid #d4a5ff;
            color: #c0c0c0;
        }

        footer .logo {
            display: block;
            margin-bottom: 1rem;
        }

        footer p {
            margin: 0.5rem 0;
        }

        /* RESPOONZIVITA */
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                gap: 1rem;
            }

            nav ul {
                flex-direction: column;
                gap: 0.5rem;
                text-align: center;
            }

            .book-mockup-section,
            .author-story-section,
            .contact-section {
                flex-direction: column;
            }

            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .brand-content {
                grid-template-columns: 1fr;
            }

            section {
                padding: 2rem 1.5rem;
            }

            section h2 {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }

            nav ul {
                flex-direction: column;
                gap: 0.3rem;
            }

            nav a {
                font-size: 0.9rem;
            }
        }