@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family:'Poppins', sans-serif ;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

body {
   width: 100%;
   height: 100vh;
   background-color: #030303; 
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    color: #f0f8ff;
    font-weight: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color:#229cff;
    text-shadow: 0 0 10px #229cff;
}

.hamburg,
.cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links {
    display: flex;
}

.nav-container .links a{
    position: relative;
    font-size: 1.5rem;
    color: white;
    margin: 0 30px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

/* Linky v navigaci */
.nav-container .links a {
    position: relative;
    font-size: 1.5rem;
    color: white;
    margin: 0 30px;
    text-decoration: none;
    font-weight: 550;
    transition: color 0.3s linear;
}

/* Spodní čára animace */
.nav-container .links a::after {
    content: "";
    position: absolute;
    bottom: -3px;       /* vzdálenost od textu */
    left: 0;
    width: 0;           /* začíná u 0 */
    height: 3px;
    background-color: #229cff;
    transition: width 0.3s ease;  /* plynulý přechod */
}

/* Hover efekt */
.nav-container .links a:hover::after {
    width: 100%;        /* čára se rozšíří přes celý text */
}

.nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #229cff;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before {
    color: #229cff;
}

.dropdown {
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px #030303;
    transition: 0.2s linear;
}

.dropdown .links a{
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: #229cff;
}

.main-container {
    align-items: center;
}

.main-container h1 {
    color: #f0f8ff;
    text-align: center;
    justify-content: center;
    font-weight: 600;
    font-size: 3rem;
    margin-top: 3%;
    margin-bottom: 3%;
}

.main-container h1 span {
    color:#229cff;
    text-shadow: 0 0 10px #229cff;
}

.second-container h1 {
    color: #f0f8ff;
    text-align: center;
    justify-content: center;
    font-weight: 600;
    font-size: 3rem;
    margin-top: 8%;
    margin-bottom: 3%;
}

.services_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.services_card {
    background-color: #0f0f0f;
    box-shadow: 2.5px 2.5px 0 0 #229cff;
    padding: 3rem 4rem 4rem 3rem;
    border-radius: 18px;
    text-align: center;
    margin-top: 15%;
    margin-left: 5%;
    margin-right: 5%;
}

.services_name {
    padding-bottom: 1rem;
    text-align: center;
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
    color: #f0f8ff;
}

.services_name span {
    color: #229cff;
}

.services_description {
    font-size: clamp(1rem, 1rem + 2vw, 1rem);
    color: #f0f8ff;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.email-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}

.email-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f0f0f;
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 2.5px 2.5px 0 0 #229cff;
    border: 1px solid rgba(0,0,0,0.05);
}

#emailText {
    font-weight: 600;
    color: #f0f8ff;
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

.copy-btn i {
    color: #229cff;
}

.copied-msg {
    font-size: 14px;
    color: gray;
    opacity: 0;
    transition: opacity 0.2s;
}

.copied-msg.show {
    opacity: 1;
}

@media (max-width: 884px) {
    nav .logo{
        position: absolute;
        top: 20px;
        left: 15px;
        font-size: 1.2rem;
    }

    .main-container {
        display: flex;
        flex-direction: column;
    }

    .nav-container .links{
        display: none;
    }

    .hamburg,
    .cancel{
        display: block;
    }

    .col-lg-7 {
        width: 100%;
        padding-top: 50%;
    }

    .area-top {
        background-color: #222222;
        padding-top: 45px;
        padding-bottom: 45px;
    }
    
    .services_container {
        margin-left: 10%;
        margin-right: 10%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .email-pill {
        margin-bottom: 15%;
    }

    footer {
        display: none;
    }
}

@media (max-width: 430px) {
    .services_container {
        margin-left: 10%;
        margin-right: 10%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Language Switch */
.lang-switch {
  display: flex;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10001;
}

.lang {
  border: none;
  background: transparent;
  color: #aaa;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.25s ease;
}

.lang:hover {
  color: white;
}

.lang.active {
  background: #229cff;
  color: white;
  box-shadow: 0 0 10px #229cff;
}

/* Mobile positioning */
@media (max-width: 884px) {
  .lang-switch {
    position: absolute;
    top: 15px;
    right: 60px; /* vedle hamburgeru */
  }
}

.typewriter {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #f0f8ff;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.typewriter-prefix {
  color: #f0f8ff;
}
.typewriter-text {
  color: #229cff;
  text-shadow: 0 0 10px #229cff;
}

footer {
  width: 100%;
  background-color: #030303;
  color: #fff;
  padding: 40px 20px 20px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid #1a1a1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.5rem;
  color: #229cff;
  text-shadow: 0 0 8px #229cff;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -3px;
  background-color: #229cff;
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: #229cff;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.footer-social a {
  color: #229cff;
  font-size: 1.3rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  color: #fff;
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #229cff);
}

.footer-copy {
  margin-top: 25px;
  font-size: 0.85rem;
  color: #555;
}