

html {
  font-size: 18px;
}

body {
  color: #f3eed6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #090a05;
  font-family: 'Outfit', sans-serif; /* Moderní písmo */
}
a {
  transition: all 0.3s ease;
}

a:hover,
a:focus {
  text-decoration: none;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #ced4da;
}

.tm-section-pad-top {
  padding-top: 135px;
}

.tm-section-pad-bottom {
  padding-bottom: 135px;
}

.tm-text-primary {
  color: #bca1d3;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: #090a05;
  background-color: #eab4c8;
  padding: 14px 35px;
  border-radius: 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: #090a05;
  background-color: #bca1d3;
}

/* Navbar */

.tm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
}

.tm-navbar.scroll {
  background-color: #090a05;
  
}

.navbar-brand {
  color: #f3eed6;
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #bca1d3;
}

.tm-navbar.scroll .navbar-brand {
  color: #f3eed6;
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: #f3eed6;
}

.tm-navbar.scroll .tm-nav-link {
  color: #f3eed6;
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #bca1d3;
}

.navbar-toggler {
  border: 1px solid #f3eed6;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: #f3eed6;
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #f3eed6;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #f3eed6;
}

/* Hero */

#hero {
  background-image: linear-gradient(rgba(9, 10, 5, 0.4), rgba(9, 10, 5, 0.4)), url(../img/bcg-top.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* Kompenzace pro fixní navbar */
}


.tm-hero-text-container {
  width: 100%;
  height: 100vh;
  min-height: 800px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tm-hero-text-container-inner {
  margin-top: 0;
}

.tm-hero-title {
  font-size: 22vw;
  font-family: "p22-declaration-pro", sans-serif;
  color: #f3eed6;
  text-shadow: 0 0 70px rgba(188, 161, 211, 0.7);
  margin-top: 15vh;
  margin-bottom: 20px;
  line-height: 0.8;
  white-space: nowrap;
  letter-spacing: -0.02em;
}


.tm-intro-next {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
}

@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }



  .tm-intro-next {
    bottom: 20px;
  }
}

.tm-down-arrow-link {
  display: block;
}

.tm-down-arrow {
  color: #bca1d3;
  cursor: pointer;
  background: transparent;
  border-radius: 50%;
  border: none;
  padding: 10px 22px 8px;
  transition: all 0.3s ease;
  animation: hop 2s infinite ease-in-out;
}

@keyframes hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: #f3eed6;
  background: #bca1d3;
}

/* Introduction */

.tm-section-title {
  font-size: 2.6rem;
  font-weight: normal;
  

}

.tm-intro-text {
  font-size: 1.2rem;
  line-height: 1.4;
}

.tm-icon {
  display: block;
  margin-bottom: 55px;
  color: #bca1d3;
}

/* Work */

.tm-work-description {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
}

.tm-gallery-container {
  padding-top: 70px;
  padding-bottom: 120px;
}

.tm-gallery-item {
  margin: 0;
  height: 450px;
  overflow: hidden;
}

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

/* Odstranění paddingu a borderu pro položky v galerii */
.tm-gallery-item.glass-panel {
    padding: 0;
    border: none;
    background: transparent;
}

.slick-dots {
  bottom: -65px;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #bca1d3;
}

.slick-dots li button:before {
  font-size: 26px;
}

/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  /* margin: 10px 1%;
  min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	width: 48%; */
  background: #bca1d3;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #090a05;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 800;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: transparent;
  max-width: none;
}

figure.effect-honey img {
  opacity: 0.9;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 0.5;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #bca1d3;
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.5em 1em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* Contact */

#contact {
  color: #f3eed6;
  background-image: url(../img/bcg-bottom.png);
  background-position: center;
  background-repeat: no-repeat;
  min-height: 850px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 160px;
}

.tm-underline {
  border-top: 2px solid #f3eed6;
  height: 8px;
  width: 100%;
}

.tm-underline-inner {
  width: 25%;
  height: 8px;
  background: #f3eed6;
}

.tm-contact-item {
  margin-bottom: 75px;
}

.tm-contact-item-link {
  display: flex;
  align-items: center;
}

.tm-contact-item-link i,
.tm-contact-item-link span {
  color: #f3eed6;
  transition: all 0.3s ease;
}

.tm-contact-item-link:hover i,
.tm-contact-item-link:hover span {
  color: #bca1d3;
}

.tm-input {
  padding: 8px 25px;
  border-radius: 3px;
  border: 1px solid #f3eed6;
  background: transparent;
  color: #f3eed6;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #f3eed6;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #090a05;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #090a05;
}

.tm-btn-submit {
  margin-left: 20px;
}

.tm-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  padding: 0 15px;
}

.tm-footer-link {
  color: #090a05;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #bca1d3;
  text-decoration: none;
}

p {
  line-height: 1.9;
}

@media (min-width: 768px) {
  .tm-intro-text-container {
    padding-left: 65px;
  }





  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }


  .tm-container-gallery {
    max-width: 1290px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .tm-btn-submit {
    margin-left: 20px;
    margin-top: 0;
  }

  .navbar-nav {
    max-width: 200px;
    text-align: right;
  }

  .navbar-collapse {
    background-color: #090a05;
    padding: 10px;
    border-radius: 3px;
  }

  .navbar-collapse .nav-link {
    color: #f3eed6;
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
}

@media (max-width: 420px) {
  .tm-btn-submit {
    display: block;
    margin-left: 0;
    margin-top: 20px;
  }
}
/* Skleněný efekt - Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Sekce odpočtu */
.countdown-section {
  padding: 3rem 0;
  background: linear-gradient(to right, #1a0b1a, #090a05);
  text-align: center;
}

.countdown-box {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.countdown-item {
  background: transparent;
  border: 1px solid rgba(197, 117, 146, 0.4);
  padding: 1.5rem;
  min-width: 120px;
  border-radius: 15px;
}

.countdown-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #bca1d3;
  display: block;
}

.countdown-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/* Beta testování styling */
.beta-login-card {
  max-width: 400px;
  margin: 0 auto;
}

.tm-input-group {
  margin-bottom: 1.5rem;
}

.tm-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #bca1d3;
}

/* Sekce o hře */
.game-feature-list {
  list-style: none;
  padding: 0;
}

.game-feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.game-feature-list li i {
  color: #bca1d3;
  margin-right: 15px;
}

/* Animace */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 1s ease forwards;
}

/* Členové týmu vylepšení */
#members {
    background-image: url(../img/bcg-middle.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.team-img-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #bca1d3;
}

/* Oprava růžové v odpočtu */
.countdown-item {
    border: 1px solid rgba(188, 161, 211, 0.4);
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-skills {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.skill-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(188, 161, 211, 0.1);
    border: 1px solid rgba(188, 161, 211, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #f3eed6;
    transition: all 0.3s ease;
}

.skill-badge i {
    color: #eab4c8;
}

.skill-badge:hover {
    background: rgba(188, 161, 211, 0.2);
    border-color: #eab4c8;
    transform: translateY(-2px);
}
