* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

  }



:root{

  --nav-height: 80px;

  --dark-blue: #23596d;

  --title: #00fff9;

  --text: #f1f1f1;

}



html {

  scroll-behavior: smooth;

}



body {

  font-family: 'Poppins', sans-serif;

  background-color: #23596d;

  color: #f1f1f1;

  overflow-x: hidden;

  scroll-behavior: smooth;

}

body::-webkit-scrollbar {
  display: none;
}

body {
  scrollbar-width: none;
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  z-index: 100;
  background: rgba(13, 13, 13, 0);
  backdrop-filter: blur(8px);
}

.logo {

  font-weight: 700;

  font-size: 1.7rem;

  color: #00fff9;

}


.logo {

  position: relative;

  cursor: default;

}



.logo-text{

  font-family:'Playfair Display', serif;

}



.logo-tooltip {

  position: absolute;

  left: 50%;

  transform: translateX(-50%) translateY(12px);

  background: var(--dark-blue);

  color: #f1f1f1;

  padding: 6px 10px;

  border-radius: 6px;

  font-size: 0.82rem;

  white-space: nowrap;

  opacity: 0;

  pointer-events: none;

  transition: opacity 180ms ease, transform 180ms ease;

  z-index: 120;

}



.logo:focus .logo-tooltip,

.logo:hover .logo-tooltip {

  opacity: 1;

  transform: translateX(-50%) translateY(0px);

}



.logo-mark{

  width: 40px;

  vertical-align:middle;

  margin-right:8px;

  border-radius:4px;

  object-fit:cover;

}



.nav-links {

  list-style: none;

  display: flex;

  font-size: 1.2rem;

  gap: 2rem;

  font-weight: 500;

}



.nav-links a {

  text-decoration: none;

  color: #f1f1f1;

  transition: color 0.3s ease;

}



.nav-links a:hover {

  color: #00fff9;

}



.hamburger {

  display: none;

  background: transparent;

  border: none;

  cursor: pointer;

  padding: 0.5rem;

  margin-left: 1rem;

}



.hamburger-box{display:inline-block;width:30px;height:18px;position:relative}

.hamburger-inner{position:absolute;top:50%;left:0;right:0;height:2px;background:#fff;display:block;transform:translateY(-50%);transition:all .25s ease}

.hamburger-inner::before,.hamburger-inner::after{content:'';position:absolute;left:0;right:0;height:2px;background:#fff;display:block;transition:all .25s ease}

.hamburger-inner::before{top:-8px}

.hamburger-inner::after{bottom:-8px}



.hamburger.active .hamburger-inner{background:transparent}

.hamburger.active .hamburger-inner::before{transform:translateY(8px) rotate(45deg)}

.hamburger.active .hamburger-inner::after{transform:translateY(-8px) rotate(-45deg)}



a {

  color: #ffffff;

  text-decoration: none;

  position: relative;

  transition: color 0.3s ease, transform 0.3s ease;

}



a::after {

  content: "";

  position: absolute;

  left: 0;

  bottom: -2px;

  width: 0%;

  height: 1px;

  background-color: #ffffff;

  transition: width 0.3s ease;

}



a:hover {

  color: #f0b90b;

  transform: translateY(-2px);

}



a:hover::after {

  width: 100%;

}



.navbar a {
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
  color: #00fff9;
  transform: translateY(-2px);
}


.main-content,
.cards,
.social-column,
.scroll-indicator {
  position: relative;
  z-index: 2;
}


/* BUBBLES */

.bubbles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bubble-group {

  position: absolute;

  width: 100%;

  height: 100%;

}



.bubble-group[data-group="1"]{

  top: 90%;

}

.bubble-group[data-group="2"]{

  top: 65%;

}

.bubble-group[data-group="3"]{

  top: 50%;

}

.bubble-group[data-group="4"]{

  top: 35%;

}

.bubble-group[data-group="5"]{

  top: 10%;

}



.bubble {

  position: absolute;

  background: rgba(255, 255, 255, 0.15);

  border-radius: 50%;

  backdrop-filter: blur(1px);

  pointer-events: auto;

  transition: transform 0.3s ease-out;

}



@keyframes floatUp {

  0% {

    transform: translateY(120%);

    opacity: 0;

  }

  25%{

    opacity: 1;

  }

  75%{

    opacity: 1;

  }

  100% {

    transform: translateY(-120%);

    opacity: 0;

  }

}



@keyframes floatDown {

  0% {

    transform: translateY(-120%);

  }

  100% {

    transform: translateY(120%);

  }

}



@keyframes colorCycle {

  0% {

    background-color: #66b3ff;

  }

  25% {

    background-color: #66d9ff;

  }

  50% {

    background-color: #66e7f0;

  }

  75% {

    background-color: #66d9ff;

  }

  100% {

    background-color: #66b3ff;

  }

}

  

.main::after {

  content: '';

  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.5);

}



/* SOCIAL COLUMN */

.social-column {

  position: fixed;

  left: 2rem;

  top: 50%;

  transform: translateY(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 1.5rem;

  z-index: 10;

}



.social-column a {

  color: #f1f1f1;

  font-size: 1.3rem;

  transition: color 0.3s ease, transform 0.3s ease;

}



.social-column a:hover {

  color: #00fff9;

  transform: scale(1.2);

}



.social-column .line {

  width: 2px;

  height: 60px;

  background: #555;

  margin-top: 1rem;

}

@keyframes leftToRight {

  0% {

    opacity: 0;

    transform: translate(-2rem, -50%);

  }

  100% {

    opacity: 1;

    transform: translate(0, -50%);

  }

}



/* MAIN SEKCE */

.main {
  position: relative;
  padding-top: var(--nav-height);
  min-height: 100vh;
  width: 100%;
  background-color: #33e6c0;
  animation: colorCycle 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
}



.main-content {

  position: relative;

  z-index: 5;

  opacity: 0;

  transform: translateY(30px);

  transition: opacity 1.5s ease, transform 1.5s ease;

}



.main-content.fade-in {

  opacity: 1;

  transform: translateY(0);

}



.main-content h1 {

  font-size: 3.4rem;

  font-weight: 700;

  margin-bottom: 0.5rem;

}



.main-grid{

  display:flex;

  align-items:center;

  gap:8rem;

  justify-content:center;

  flex-wrap:wrap;

}



.main-text{

  max-width:520px;

}

.main-title{

  font-family:'Playfair Display', serif;

  margin:0;

  color:#00fff9;

}

.main-sub{

  font-size: 1.7rem;

}

.main-photo img{

  width:400px;

  height:400px;

  object-fit:cover;

  border-radius:50%;

  box-shadow:0 8px 30px rgba(0,0,0,0.6);

  border:4px solid rgba(255,255,255,0.03);

}

.cta{

  display:inline-block;

  margin-top:1rem;

  padding:10px 18px;

  background:#00fff9;

  color:#fff;

  border-radius:8px;

  text-decoration:none;

  transition:transform .18s ease,box-shadow .18s ease;

}

.cta:hover{

  transform:translateY(-4px);

  box-shadow:0 8px 20px rgba(255,111,97,0.12);

}



.main-content h2 {

  font-weight: 300;

  color: #cccccc;

  margin-bottom: .5rem;

}



.quote {

  font-style: italic;

  color: #ddd;

  font-weight: 300;

  font-size: 1.5rem;

}



.scroll-down {

  position: absolute;

  bottom: 30px;

  left: 50%;

  transform: translateX(-50%);

  z-index: 10;

  color: #00fff9;

  animation: pulse 1.5s infinite;

  cursor: pointer;

}



.scroll-down i {

  font-size: 1.5rem;

}



@keyframes pulse {

  0% {

    transform: translateX(-50%) translateY(0);

    opacity: 1;

  }

  50% {

    transform: translateX(-50%) translateY(8px);

    opacity: 0.6;

  }

  100% {

    transform: translateX(-50%) translateY(0);

    opacity: 1;

  }

}



.fade-section {

  opacity: 0;

  transform: translateY(40px);

  transition: opacity 0.8s ease, transform 0.8s ease;

}



.fade-section.visible {

  opacity: 1;

  transform: translateY(0);

}



.fade-section.visible h3 {

  transition-delay: 0.1s;

}

.fade-section.visible p {

  transition-delay: 0.25s;

}

.fade-section.visible a {

  transition-delay: 0.35s;

}



section {

  padding: 8rem 10%;

  background-color: #0e0e0e;

}



section:nth-child(even) {

  background-color: #111;

}



section h3 {

  font-size: 1.8rem;

  margin-bottom: 1rem;

  color: #00fff9;

}



section p {

  font-weight: 300;

  color: #ddd;

  max-width: 700px;

}

  

/* ABOUT SEKCE */

.about-section {
  position: relative;
  width: 100%;
  padding: 7rem 10%;
  background-color: #33e6c0;
  animation: colorCycle 6s ease-in-out infinite;
  overflow: hidden;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 6rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.about-text {
  flex: 1;
}

.about-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--title);
  border: 1px solid rgba(0, 255, 249, 0.3);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: #f1f1f1;
  margin-bottom: 1.5rem;
}

.about-accent {
  color: var(--title);
}

.about-bio {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: #ccc;
  max-width: 540px;
  margin-bottom: 2rem;
}

.about-skills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.about-skills li {
  padding: 0.35rem 1rem;
  background: rgba(0, 255, 249, 0.08);
  border: 1px solid rgba(0, 255, 249, 0.2);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--title);
  font-weight: 500;
}

.about-deco {
  flex-shrink: 0;
  position: relative;
  width: 260px;
  height: 260px;
}

@keyframes about-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(13, 13, 13, 0.32);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 255, 249, 0.18);
  border-radius: 50%;
  padding: 4.5rem 3rem;
  text-align: center;
  z-index: 2;
}

.about-card-icon {
  display: block;
  font-size: 2.5rem;
  color: var(--title);
  margin-bottom: 0.6rem;
}

.about-card-text {
  font-size: 1rem;
  color: #aaa;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .about-inner {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .about-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .about-skills {
    justify-content: center;
  }

  .about-deco {
    width: 200px;
    height: 200px;
  }

  .ring-a { width: 180px; height: 180px; }
  .ring-b { width: 270px; height: 270px; }
}

/* FOOTER */

footer {

  text-align: center;

  padding: 2rem;

  font-size: 0.9rem;

  background-color: var(--dark-blue);

  color: #f1f1f1;

}



.scroll-indicator{position:fixed;right:18px;top:50%;transform:translateY(-50%);height:60vh;z-index:90;display:flex;align-items:center}

.scroll-track{width:10px;height:50%;background:rgba(255,255,255,0.06);border-radius:999px;position:relative;display:flex;align-items:flex-start;justify-content:center;padding:8px 0}

.scroll-knob{width:12px;height:12px;background:#00fff9;border-radius:50%;box-shadow:0 6px 18px rgba(255,111,97,0.2);transform:translateY(0);transition:transform 120ms linear}

.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

.cards-section {
  position: relative;
  width: 100%;
  padding: 6rem 0;
  overflow: hidden;
  background-color: #33e6c0;
  animation: colorCycle 6s ease-in-out infinite;
}

/* tmavý overlay jako v main */
.cards-section::after, .about-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* obsah nad overlay */
.cards {
  position: relative;
  z-index: 5;

  width: 85%;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

/* KARTA */
.card {
  height: 220px;
  padding: 2rem;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text);
  background: rgba(13, 13, 13, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 255, 249, 0.15);
  transition: all 0.3s ease;
}

/* hover */
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 255, 249, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card h3 {
  color: var(--title);
  margin-bottom: 0.5rem;
}

.card p {
  color: #ddd;
}









@media (max-width: 1276px) {

  .main-content h1 {

    font-size: 2.8rem;

  }



  .main-photo img {

    width: 330px;

    height: 330px;

  }



  .main-grid{

    gap:4rem;

  }

}



@media (max-width: 1032px) {

  .main {

    flex-direction: column;

    align-items: center;

    padding-top: var(--nav-height);

    height: auto;

    padding-bottom: 3rem;

  }



  .main-grid{

    gap:2rem;

    flex-direction: column;

  }



  .main-photo { order: 1; }

  .main-text  { order: 2; }

  .main-content { order: 1; }



  .social-column{

    width: 100%;

    position: relative;

    top: auto;

    left: auto;

    transform: none;

    display: flex;

    margin: 0 auto;

    flex-direction: row;

    align-items: center;

    justify-content: center;

    padding-top: 3rem;

    order: 2;

    z-index: 5;

    animation: none;

  }



  .social-column .line { display: none; }



  .scroll-indicator { display: none; }



  .main-photo img { width: 280px; height: 280px; }



  .main-content h1 { margin-top: 0; }

}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
  
  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1rem;
    position: fixed;
    top: var(--nav-height);
    right: 12px;
    background: var(--dark-blue);
    padding: 1rem 1.4rem;
    border-radius: 12px;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    transform: translateY(-10px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .hamburger {
    display: block;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 832px) {
  .main-content h1{
    font-size:2.2rem;
  }

}

@media (max-width: 1032px) and (min-height: 1000px) {

  .logo-mark{
    width: 68px;
  }

  .logo {

    font-size: 2.5rem;

  }

  .logo-tooltip {

    font-size: 1.5rem;

    margin-top: 10px;

    padding: 12px 21px;

  }

  .nav-links {

    gap: 1rem;

    position: fixed;

    top: var(--nav-height);

    right: 12px;

    background: var(--dark-blue);

    padding: 1rem 1.4rem;

    font-size: 1.8rem;

    border-radius: 12px;

    flex-direction: column;

    box-shadow: 0 12px 40px rgba(0,0,0,0.6);

    transform: translateY(-10px) scale(.98);

    opacity: 0;

    pointer-events: none;

    transition: opacity .22s ease, transform .22s ease;

  }



  .nav-links.open{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}

  

  .hamburger-box{width: 45px; height: 27px;}



  .hamburger.active .hamburger-inner::after {

      transform: translateY(-20px) rotate(-45deg);

  }



  .hamburger.active .hamburger-inner::before {

    transform: translateY(20px) rotate(45deg);

  } 



  .hamburger-inner::after{

    bottom: -20px;

  }



  .hamburger-inner::before{

    top: -20px;

  }



  .hamburger{

    display:block;

  }



  .main-content h1 {

    font-size: 3.6rem;

  }



  .main-content h2 {

    font-size: 2.4rem;

  }



  .main-content .quote {

    font-size: 2rem;

  }



  .main-photo img {

    width: 500px;

    height: 500px;

  }



  .social-column{

    gap: 4rem;

  }



  svg {

    width: 3.8rem;

    height: auto;

  }



  footer{

    font-size: 1.6rem;

    padding: 3rem;

  }

}

  