@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

html, body {
    overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

.intro-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000000;
  top: 0;
  left: 0;
  z-index: 10;
}

.intro-animation div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border: 16px solid #E63946;
  border-radius: 50%;
  width: 600px;
  height: 600px;
  background: #0D1B2A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.intro-animation div:before,
.intro-animation div:after {
  position: absolute;
  content: "";
  top: 48%;
  left: 0;
  width: 102%;
  height: 20px;
  transform-origin: center center; /* natáhne se z levého kraje */
  transform: scaleX(var(--line-scale, 0));
  background: #E63946;
}

.intro-animation div:before {
  rotate: -45deg; /* pouze statická rotace */
}

.intro-animation div:after {
  rotate: 45deg;
}


.intro-animation div p {
  color: #cbd5e1;
  font-size: 160px;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 768px){
  .intro-animation div{
    width: 400px;
    height: 400px;
  }

  .intro-animation div p {
    font-size: 100px;
  }

  .intro-animation div:before,
  .intro-animation div:after {
    width: 103%;
    left: -2%;
  }
}


/***********************************************************************************************************************************************************************************/
header nav {
  background-color: #0D1B2A;
  position: relative;
  z-index: 1;
}

/* Desktop menu */
header nav ul {
  height: 88px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

header nav ul li {
  list-style: none;
  font-size: 22px;
  color: whitesmoke;
  font-family: "Quicksand", sans-serif;
}

/* Hamburger icon */
.hamburger {
  display: none;
  font-size: 32px;
  color: whitesmoke;
  cursor: pointer;
  padding: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  header nav ul {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 27, 42, 0.97);
    z-index: 9999; /* 👈 úplně nad vším */;
    gap: 20px;
  }

  .hamburger {
    display: block;
    font-size: 32px;
    padding: 20px;
    position: relative;
    z-index: 10000; /* 👈 ještě výš, aby bylo klikatelné */
    justify-self: flex-end;
  }

  header nav ul.active {
    display: flex;
  }
}


/* HERO */
.hero {
  background: linear-gradient(to bottom, #0D1B2A, #000000);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden; /* ořezávání kyvadla */
}


/* Text nad obrázkem */
.hero .top,
.hero p,
.scroll-indicator {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: whitesmoke;
  font-size: 80px;
  padding: 0 10px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero .top p {
  font-size: 16px;
  color: #cbd5e1 !important;
  text-align: center;
}

.hero .lead {
  position: relative;
  z-index: 2;
  color: #E63946;
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 18px;
  text-align: center;
  max-width: 850px;
  padding: 0 14px;
  line-height: 1.45;
}

/* 📌 Desktop kývání */
@keyframes swing-desktop {
  0%   { transform: translate(-50%, -20%) rotate(-10deg); }
  50%  { transform: translate(-50%, -20%) rotate(10deg); }
  100% { transform: translate(-50%, -20%) rotate(-10deg); }
}

.hero img.kyvadlo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 1000px;
  transform-origin: top center;
  opacity: 0.5;
  animation: swing-desktop 3s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
}

/* 📱 Tablet / Mobile – menší úhel + dolní posun pro stabilitu */
@media (max-width: 1024px) {
  @keyframes swing-tablet {
    0%   { transform: translate(-50%, -20%) rotate(-6deg); }
    50%  { transform: translate(-50%, -20%) rotate(6deg); }
    100% { transform: translate(-50%, -20%) rotate(-6deg); }
  }

  .hero img.kyvadlo {
    width: 900px;
    transform: translate(-50%, -40%);
    animation: swing-tablet 3s ease-in-out infinite alternate;
  }
}

@media (max-width: 768px) {
  @keyframes swing-mobile {
    0%   { transform: translate(-50%, -10%) rotate(-4deg); }
    50%  { transform: translate(-50%, -10%) rotate(4deg); }
    100% { transform: translate(-50%, -10%) rotate(-4deg); }
  }

  .hero img.kyvadlo {
    width: 600px;
    transform: translate(-50%, -35%);
    animation: swing-mobile 3.5s ease-in-out infinite alternate;
  }

  .hero h1 {
    font-size: 50px;
  }
}

@media (max-width: 480px) {
  .hero img.kyvadlo {
    width: 480px;
    transform: translate(-50%, -30%);
    animation: swing-mobile 3.5s ease-in-out infinite alternate;
  }

  .hero h1 {
    font-size: 42px;
  }
}


/* Scroll indicator fix – vždy viditelný */
.scroll-indicator {
  position: absolute;
  bottom: 30px; /* místo 4vh */
  left: 50%;
  transform: translateX(-50%);
  width: 21px;
  height: 35px;
  border: 2px solid #fff;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 5px;
  z-index: 2; /* nad kyvadlem */
}

.scroll-indicator span {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(20px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

/*PRINCIPY*/
.principles-section {
  background: linear-gradient(to top, #0D1B2A, #000000);
  color: whitesmoke;
  padding: 80px 20px;
  text-align: center;
  min-height: 100vh; /* vyplní celé okno na velkých displejích */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.principles-section h2 {
  font-size: 4rem;
  margin-bottom: 50px;
  font-family: "Quicksand", sans-serif;
}

@media (max-width: 480px){
  .principles-section h2 {
    font-size: 3.5rem;
  }
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.principle {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left; /* aby byl text serióznější */
}

.principle span {
    color: #E63946;
}

.principle .number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #E63946; /* červená pro čísla */
  margin-bottom: 15px;
  text-align: center;
}

.principle h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-family: "Quicksand", sans-serif;
  text-align: center;
}

.principle p {
  font-size: 1rem;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    padding: 20px 15px;
  }
}


/*****************************************************************************************************************************************************************************/
/* Media section */
.media-section {
  background: linear-gradient(to bottom, #0D1B2A, #000000);
  color: #f5f7fb;
  padding: 20px 20px;
  text-align: center;
}

.media-section .wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.media-section h2 {
  font-size: 4rem;
  margin-bottom: 25px;
  font-family: "Quicksand", sans-serif;
}

.media-section .intro {
  color: #cbd5e1;
  margin-bottom: 45px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
}

/* Video wrapper (aside) */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 4px solid #E63946; /* červený akcent (ladí s čísly principů) */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}


/* Responsivita */
@media (max-width: 1024px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .video-frame {
    border-width: 6px;
    outline-width: 2px;
    border: 4px solid #E63946;
  }
}

/*********************************************************************************************************************************************************************************/
.kyvadlo-section {
  background: linear-gradient(to top, #0D1B2A, #000000);
  color: #f5f7fb;
  padding: 80px 20px;
  text-align: center;
}

.kyvadlo-section .wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.kyvadlo-section h2 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-family: "Quicksand", sans-serif;
  color: whitesmoke; /* červený akcent */
}

.kyvadlo-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #cbd5e1;
}

/* Citát karta */
.quote-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px 30px;
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.quote-author {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 30px;
  object-fit: cover;
  border: 3px solid #E63946;
}

.quote-text p:nth-child(1) {
  margin-top: 60px;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #E63946 !important;
  text-align: center;
  font-style: italic;
}

.quote-text p:nth-child(2) {
  margin-top: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: #E63946 !important; /* červená, která ladí s číslováním principů */
  font-family: "Quicksand", sans-serif;
  text-align: right; /* aby bylo jasně odlišeno od samotného citátu */
  display: block;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .quote-card {
    flex-direction: column;
    text-align: center;
  }

  .quote-card:hover {
    transform: translateY(-0px);
    box-shadow: none;
  }

  .quote-text p {
    text-align: center;
  }

  .quote-author {
    margin-top: 20px;
  }
}

/********************************************************************************************************************/
.patagonia-section {
  position: relative;
  min-height: 120vh; /* desktop */
  background: url("images/patagoniaBG5.webp") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 20px 60px;
  width: 100%;
  text-align: center;
}

.patagonia-section h2 {
  font-size: 7rem;
  color: whitesmoke;
  margin-bottom: 80px;
  font-family: "Quicksand", sans-serif;
  z-index: 2;
}

/* --- textový blok --- */
.patagonia-section .content p {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  color: whitesmoke;
  padding: 20px 30px;
  border-radius: 12px;
  background: rgba(0,0,0,0.45); 
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}

/* --- video box --- */
.content .video-frame {
  position: relative;
  margin: 40px auto;
  max-width: 720px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  aspect-ratio: 16/9;
}

.content .video-frame iframe {
  width: 100%;
  height: 100%;
}

/* --- info panel --- */
.info-panel {
  width: 100%;
  max-width: 900px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
  color: whitesmoke;
}

.info-panel h3 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  font-family: "Quicksand", sans-serif;
}

.info-content {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.info-item {
  flex: 1 1 160px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.info-item .label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.info-item .value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #E63946;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .patagonia-section h2 {
    font-size: 5.5rem;
  }
}

@media (max-width: 768px) {
  .patagonia-section h2 {
    font-size: 4rem;
  }
  .patagonia-section .content p {
    font-size: 1.2rem;
    padding: 16px 20px;
  }
  .info-panel h3 {
    font-size: 1.3rem;
  }
}




/*******************************************************************************************************************************************************/
.site-footer {
  width: 100%;
  background: #0D1B2A;
  color: whitesmoke;
  padding: 20px 30px;
  font-family: "Quicksand", sans-serif;
  box-sizing: border-box;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 10px;
}

.footer-section {
  flex: 1 1 200px;
  max-width: 600px;
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #E63946;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
}

.footer-section p {
  font-size: 0.85rem;
  margin: 2px 0;
  line-height: 1.4;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: underline;
}

.footer-author {
  flex: 0 0 auto;
  align-self: flex-end;
  color: #cbd5e1;
  font-weight: bold;
  font-size: 14px;
}

.footer-author p {
  font-family: "Quicksand", sans-serif;
}

.footer-author a {
  text-decoration: none;
  font-family: "Quicksand", sans-serif;
  font-style: italic;
}

.footer-author a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 15px;
  }
  .footer-author {
    align-self: flex-start;
    margin-bottom: 15px;
  }
}
