@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");

/* Design tokens derived from logo (blue gradients, dark navy) */
:root {
  --color-primary: #4aa3da;
  --color-primary-600: #2f8fc9;
  --color-primary-700: #247eb6;
  --color-accent: #00c2ff;
  --color-dark: #0a1220;
  --color-dark-2: #0f1a2b;
  --color-text: #707070;
  --color-white: #ffffff;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-2: 0 4px 14px rgba(36, 126, 182, 0.35);
  --glass-bg: rgba(10, 18, 32, 0.5);
  --glass-border: rgba(255, 255, 255, 0.12);
}

body {
	font-family: "Raleway", sans-serif;
	font-size: 1.2em;
  color: var(--color-text);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #0c1727 0%, #0e1b2f 50%, #0a1424 100%);
}

a {
  transition: all 0.3s ease;
  color: var(--color-primary);
}

a:hover,
a:focus {
  text-decoration: none;
  color: var(--color-accent);
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

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

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-text-primary {
  color: var(--color-primary);
}

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

.tm-btn-primary {
  color: white;
  background-color: var(--color-primary);
  padding: 14px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}

/* Neon glow on hover behind buttons */
.tm-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 60px at 50% 50%, rgba(0, 194, 255, 0.45), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.tm-btn-primary:hover::after,
.tm-btn-primary:focus::after {
  opacity: 1;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: var(--color-primary-700);
  transform: translateY(-1px);
}

/* Navbar */

.tm-navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
  backdrop-filter: saturate(140%) blur(8px);
}

.tm-navbar.scroll {
  background: linear-gradient(180deg, rgba(12, 23, 39, 0.85), rgba(12, 23, 39, 0.65));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-1);
}

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

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: var(--color-primary);
}

.tm-navbar.scroll .navbar-brand {
  color: var(--color-primary);
}

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

.tm-nav-link {
  color: white;
}

.tm-navbar.scroll .tm-nav-link {
  color: var(--color-primary);
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #FFF;
  background-color: var(--color-primary);
  border-radius: 8px;
}

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

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

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

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

/* Hero */

#infinite {
	background-color: #222;
  background-image: url(../img/main.jpg);
  background-repeat: no-repeat;
  height: 100vh;
  min-height: 375px;
  position: relative;
}

/* Subtle gradient and network overlay for hero */
#infinite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 80% 20%, rgba(0, 194, 255, 0.25), transparent 60%),
              linear-gradient(180deg, rgba(10, 18, 32, 0.7) 0%, rgba(10, 18, 32, 0.55) 60%, rgba(10, 18, 32, 0.85) 100%);
  pointer-events: none;
}

@media (min-height: 600px) and (min-width: 1920px) {
  #infinite {
    background-size: cover;
  }
}

@media (min-height: 830px) {
  #infinite {
    background-position: center -210px;
  }
}

@media (min-height: 680px) and (max-height: 829px) {
  #infinite {
    background-position: center -300px;
  }
}

@media (min-height: 500px) and (max-height: 679px) {
  #infinite {
    background-position: center -400px;
  }
}

@media (max-height: 499px) {
  #infinite {
    background-position: center -450px;
  }
}

.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

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

.tm-hero-title {
  font-size: 3.5rem;
  text-shadow: 2px 2px 2px #00000066;
}

.tm-hero-subtitle {
  text-shadow: 2px 2px 2px #00000066;
}

.tm-intro-next {
  position: absolute;
  bottom: 100px;
  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;
  margin-top: 18%;
}

.tm-down-arrow {
  color: #FFF;
    cursor: pointer;
    background: var(--color-primary);
    padding: 15px 40px;
    transition: all 0.3s ease;
    border-radius: 999px;
    box-shadow: var(--shadow-2);
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: #FFF;
  background: var(--color-primary-700);
  padding: 20px 50px;
}

/* Introduction */

#introduction {
  padding-bottom: 100px;
}

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

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

/* Neon look for icons and section headings */
.neon-title {
  color: var(--color-white);
  text-shadow: 0 0 12px rgba(0, 194, 255, 0.55), 0 0 28px rgba(74, 163, 218, 0.45);
}

.tm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  color: var(--color-accent);
  background: linear-gradient(135deg, rgba(74, 163, 218, 0.15), rgba(0, 194, 255, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), var(--shadow-2), 0 0 18px rgba(0, 194, 255, 0.35);
}

.tm-continue {
	padding: 20px 0 30px 0;
}

/* Testimonials */
#testimonials {
  color: white;
  background-image: url(../img/recenze.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
}

@media (max-width: 991px) {
  #testimonials {
    background-image: url(../img/recenze-mobile.jpg);
  }
}

.tm-testimonials-content {
  position: relative;
  z-index: 100;
}

.tm-bg-overlay {
  width: 100%;
  height: 100%;
  background: rgba(20, 70, 80, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.tm-testimonials-carousel {
  max-width: 1050px;
  margin: 0 auto;
}

.tm-testimonial-item {
  max-width: 290px;
  margin-left: 35px;
  margin-right: 35px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.tm-testimonial-item img {
  border-radius: 50%;
  margin-bottom: 35px;
}

.tm-testimonial-item figcaption {
  text-align: right;
  font-style: italic;
  font-size: 1.1rem;
}

/* Work */

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

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

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

.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: #3ba0dd;
}

.tm-testimonials-carousel .slick-dots li button:before {
  color: white;
  opacity: 0.5;
}

.tm-testimonials-carousel .slick-dots li button:hover:before,
.tm-testimonials-carousel .slick-dots li button:focus:before,
.tm-testimonials-carousel .slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

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

/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  background: #3085a3;
  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: #fff;
  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-size: 0.9em;
  font-weight: 300;
}

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

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

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

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

figure.effect-honey {
  background: #0e1b30;
  max-width: 220px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

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

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

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

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  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);
}

.tm-container-gallery {
	padding-top: 30px;
	}

/* Contact */

#contact {
  color: white;
  background-color: #001828;
  background-image: url(../img/end.jpg);
  background-position: center;
  background-repeat: no-repeat;
  min-height: 980px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 100px;
}
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 13, 24, 0.75), rgba(1, 13, 24, 0.85));
}

.contact-item {
  margin-left: 20px;
  margin-bottom: 50px;
}

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

.item-link i,
.item-link span {
  color: white;
  transition: all 0.3s ease;
}

.item-link:hover i,
.item-link:hover span {
  color: var(--color-accent);
}

.tm-input {
	margin: 0 0 20px 0;
	width: 90%;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  backdrop-filter: blur(6px);
}

.tm-btn-submit {
	font-size: 0.9em;
	color: #fff;
	background-color: var(--color-primary);
	width: 50%;
	margin-bottom: 60px;
  border-radius: 10px;
  box-shadow: var(--shadow-2);
}

.tm-btn-submit:hover {
	color: #fff;
	background-color: var(--color-primary-700);
}

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

::-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}

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

.tm-footer a {
	color: #fff;
}

.tm-footer a:hover {
	color: #9CF;
}

.tm-footer-link {
  color: white;
}

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

/* Back to top button */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(14, 27, 48, 0.6);
  color: #fff;
  box-shadow: var(--shadow-2);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}
#backToTop:hover {
  background: rgba(14, 27, 48, 0.85);
}

/* Cookie banner */
#cookieBanner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  background: rgba(10, 18, 32, 0.9);
  color: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  padding: 18px 16px;
  display: none;
}
#cookieBanner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#cookieBanner .btn-accept {
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: var(--shadow-2);
}
#cookieBanner .btn-decline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 18px;
}
#cookieBanner a {
  color: var(--color-accent);
}

p {
  line-height: 1.9;
}

/* Responsive refinements for mobile/tablet */
@media (max-width: 991px) {
  .tm-hero-title { font-size: 2.4rem; }
  .tm-section-title { font-size: 2rem; }
}

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

  .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) {

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

  .navbar-collapse {
    background-color: rgba(12, 23, 39, 0.95);
    padding: 10px;
    border-radius: 8px;
  }

  .navbar-collapse .nav-link {
    color: #e7edf5;
	padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .tm-hero-title { font-size: 2rem; }
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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