/* ==========================================
   1. PÍSMA A ZÁKLADNÍ NASTAVENÍ
   ========================================== */

/* Načtení vlastní kaligrafie */
@font-face {
  font-family: 'MujPodpisFont';
  src: url('Fonts/Ofinitti.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

body {
  background-color: #f7f5f0;
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/* ==========================================
   2. HERO SEKCIA & HLAVIČKA
   ========================================== */

.hero-container {
  max-width: 1300px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 60px 20px 40px 20px;
}

.author-tag {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #777777;
  margin-bottom: 20px;
}

.main-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #222222;
  margin-bottom: 20px;
}

.signature {
  font-family: 'MujPodpisFont', cursive;
  font-size: 4.2rem;
  color: #68b0c5;
  display: inline-block;
  transform: translateY(-15px) rotate(-8deg);
  margin-top: 5px;
}

.category-tag {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 40px;
}

/* Foto koláž (CSS Grid) */
.gallery-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr 1fr 0.8fr;
  gap: 15px;
  align-items: center;
  margin-bottom: 40px;
}

.photo-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.photo-col img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Asymetrické výšky fotek v koláži */
.col-1 img { height: 180px; }
.col-2 .img-top { height: 110px; }
.col-2 .img-bottom { height: 130px; }
.col-3 img { height: 320px; } /* Dominantní středová fotka */
.col-4 .img-top { height: 130px; }
.col-4 .img-bottom { height: 110px; }
.col-5 img { height: 160px; }

.description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  line-height: 1.8;
  text-transform: uppercase;
  color: #888888;
}

/* ==========================================
   3. SEKCIA O MNĚ
   ========================================== */

.about-section {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 40px auto;
  padding: 0 20px;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.about-content {
  text-align: left;
}

.section-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #222222;
  margin-bottom: 30px;
  line-height: 1.2;
}

.about-text p {
  font-size: 0.88rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: #555555;
  margin-bottom: 20px;
  font-weight: 300;
}

.about-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 32px;
  border: 1px solid #222222;
  color: #222222;
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.about-btn:hover {
  background-color: #222222;
  color: #f7f5f0;
}

/* ==========================================
   4. HORIZONTÁLNÍ GALERIE (SLIDER)
   ========================================== */

.portfolio-slider-section {
  width: 100%;
  background-color: rgba(133, 169, 172, 0.08);
  color: #e5e5e5;
  padding: 90px 0 90px 5%;
  margin-top: 60px;
}

.portfolio-slider-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 100%;
}

.slider-text-col {
  flex: 0 0 280px;
  text-align: left;
}

.slider-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: #111111;
  margin-bottom: 20px;
}

.slider-desc {
  font-size: 0.78rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #666666;
}

.slider-gallery-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gallery-track-container {
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 300px;
  height: 420px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.85);
  color: #111;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.arrow-btn:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 10px; }
.next-btn { right: 25px; }

/* Obrácená sekce galerie */
.portfolio-slider-section-reverse {
  width: 100%;
  background-color: rgba(254, 254, 254, 0.08);
  color: #e5e5e5;
  padding: 90px 5% 90px 0;
}

.portfolio-slider-container-reverse {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 100%;
}

/* ==========================================
   5. UKÁZKOVÉ GALERIE & RECENZE
   ========================================== */

.galleries-section {
  width: 100%;
  background-color: #f7f5f0;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.galleries-container {
  max-width: 1250px;
  width: 100%;
  text-align: center;
}

.galleries-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: #222222;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.galleries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  align-items: start;
}

.gallery-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.gallery-card-title {
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #444444;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 18px;
  min-height: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: color 0.3s ease;
}

.gallery-card-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-title { color: #000000; }
.gallery-card:hover .gallery-card-img img { transform: scale(1.05); }

/* Recenze */
.reviews-section {
  width: 100%;
  background-color: rgba(133, 169, 172, 0.08);
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.reviews-container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.reviews-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: #222222;
  margin-bottom: 60px;
  letter-spacing: 0.05em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 70px;
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-stars {
  color: #d4a359;
  font-size: 1.1rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.review-text {
  font-size: 0.82rem;
  line-height: 1.8;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #555555;
  font-weight: 300;
  max-width: 480px;
}

/* ==========================================
   6. CENÍK & SPECIÁLNÍ BALÍČKY
   ========================================== */

.pricing-section {
  width: 100%;
  padding: 110px 20px;
  display: flex;
  justify-content: center;
  background: 
    linear-gradient(rgba(247, 245, 240, 0.4), rgba(247, 245, 240, 0.88)),
    url('image-224.jpg') center/cover no-repeat fixed;
}

.pricing-container {
  max-width: 1150px;
  width: 100%;
  text-align: center;
}

.pricing-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: #222222;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.pricing-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 60px;
}

.pricing-grid-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
  align-items: stretch;
}

.pricing-card {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.88)),
    url('image-4.jpg') center/cover no-repeat;
  padding: 40px 30px 35px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 24px 0px 24px 0px;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.pricing-card.featured {
  border: 1px solid #222222;
  background: #fcfbf9;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222222;
  color: #f7f5f0;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 14px;
}

.card-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #222222;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hours-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #888888;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.card-desc {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #666666;
  font-weight: 300;
  margin-bottom: 25px;
  min-height: 55px;
}

.card-features {
  list-style: none;
  padding: 20px 0 0 0;
  margin: 0 0 35px 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.card-features li {
  font-size: 0.78rem;
  line-height: 2.2;
  color: #444444;
  letter-spacing: 0.03em;
  font-weight: 300;
}

.card-price {
  background-color: #f7f5f0;
  padding: 18px 10px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-card.featured .card-price {
  background-color: #222222;
  color: #ffffff;
}

.price-czk {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.price-eur {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #777777;
}

.pricing-card.featured .price-eur { color: #cccccc; }

.pricing-grid-sub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pricing-card.wide-card { padding: 30px; }
.pricing-card.wide-card .card-desc { min-height: auto; }

.card-price-action {
  width: 100%;
  margin-top: auto;
}

.pricing-btn {
  display: inline-block;
  width: 100%;
  padding: 16px 20px;
  background-color: #222222;
  color: #f7f5f0;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #222222;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pricing-btn:hover {
  background-color: transparent;
  color: #222222;
}

/* ==========================================
   7. FAQ & KONTAKTNÍ FORMULÁŘ
   ========================================== */

.faq-section {
  width: 100%;
  background-color: rgba(133, 169, 172, 0.08);
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.faq-container {
  max-width: 750px;
  width: 100%;
  text-align: center;
}

.faq-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: #222222;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.faq-accordion { text-align: left; }
.faq-item { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.faq-item:first-child { border-top: 1px solid rgba(0, 0, 0, 0.08); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #555555;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover { color: #000000; }

.faq-icon {
  transition: transform 0.4s ease;
  flex-shrink: 0;
  margin-left: 15px;
  color: #777777;
}

.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-item.active .faq-question { color: #111111; font-weight: 400; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #666666;
  font-weight: 300;
  padding-bottom: 24px;
}

.faq-item.active .faq-answer { max-height: 300px; }

/* Kontakt */
.contact-section {
  width: 100%;
  background-color: #f7f5f0;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 680px;
  width: 100%;
}

.contact-box {
  background-color: #ffffff;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px 0px 24px 0px;
}

.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: #222222;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.contact-subtitle {
  font-size: 0.78rem;
  color: #888888;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 45px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #cccccc;
  font-family: inherit;
  font-size: 0.85rem;
  color: #222222;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group label {
  position: absolute;
  top: 12px;
  left: 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #999999;
  text-transform: uppercase;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -14px;
  font-size: 0.6rem;
  color: #222222;
  font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom: 1px solid #222222;
}

.contact-submit-btn {
  margin-top: 15px;
  background-color: #555555;
  color: #ffffff;
  border: none;
  padding: 16px 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0px 0px 14px 0px;
}

.contact-submit-btn:hover {
  background-color: #222222;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   8. FOOTER (ZÁPĚTÍ)
   ========================================== */

.site-footer {
  width: 100%;
  background-color: #1a1a1a;
  color: #e5e5e5;
  padding: 80px 20px 30px 20px;
  display: flex;
  justify-content: center;
}

.footer-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand { margin-bottom: 50px; }

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888888;
  font-weight: 300;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-col p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: #aaaaaa;
  font-weight: 300;
  margin: 4px 0;
}

.footer-col a {
  color: #aaaaaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: #ffffff; }
.highlight-text { font-style: italic; color: #888888 !important; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.instagram-icon {
  width: 16px;
  height: 16px;
  stroke: #aaaaaa;
  transition: stroke 0.3s ease;
}

.social-link:hover .instagram-icon { stroke: #ffffff; }

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
}

.footer-bottom {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #666666;
  font-weight: 300;
}

/* ==========================================
   9. GLOBAL RESPONSIVITY (RESPONZIVITA)
   ========================================== */

@media (max-width: 1024px) {
  .galleries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 15px;
  }
}

@media (max-width: 900px) {
  .portfolio-slider-section,
  .portfolio-slider-section-reverse {
    padding: 60px 20px;
  }

  .portfolio-slider-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .portfolio-slider-container-reverse {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 30px;
  }

  .slider-text-col {
    flex: none;
    width: 100%;
  }

  .gallery-item {
    flex: 0 0 240px;
    height: 340px;
  }

  .pricing-grid-main,
  .pricing-grid-sub {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .card-desc { min-height: auto; }
}

@media (max-width: 768px) {
  .main-title { font-size: 2rem; }

  .signature {
    font-size: 3rem;
    transform: translateY(-5px) rotate(-6deg);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .col-3 { grid-column: span 2; }
  .col-3 img { height: 250px; }

  .about-section { margin-top: 50px; }
  .about-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-content { text-align: center; }
  .about-image img { max-height: 400px; }

  .reviews-section,
  .faq-section {
    padding: 60px 20px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reviews-title,
  .faq-title {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .galleries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }

  .gallery-card-img { height: 210px; }
  .gallery-card-title {
    font-size: 0.68rem;
    min-height: auto;
    margin-bottom: 10px;
  }

  .contact-box { padding: 40px 20px; }
  .form-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* COOKIE LIŠTA */
.cookie-banner {
  display: none; /* Ve výchozím stavu skryto, zobrazí JS */
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 600px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px 25px;
  z-index: 9999;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #555555;
  margin: 0;
  font-weight: 300;
}

.cookie-btn {
  background-color: #222222;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

.cookie-btn:hover {
  background-color: #444444;
}

/* Responsivita pro mobilní zařízení */
@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cookie-btn {
    width: 100%;
  }
}