/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #0a2f5c;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
}

header .logo {
  font-weight: 700;
  font-size: 1.2rem;
}
.logo img {
  height: 35px; /* uprav podle velikosti loga */
}
nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #ffd700;
}

/* Hero sekce */
.hero {
  min-height: 90vh;          /* zabere celou obrazovku */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0a2f5c, #0066cc);
  color: white;
  text-align: center;
  padding: 6rem 2rem 4rem;    /* nahoře o něco víc kvůli headeru */
}


.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: #ffd700;
  color: #0a2f5c;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #ffc107;
}

/* Sekce */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #0a2f5c;
}

/* Grid pro služby */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: #f4f4f4;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  background: #e8f0ff;
  transform: translateY(-5px);
}

/* Formulář */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button.btn {
  border: none;
  cursor: pointer;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #0a2f5c;
  color: white;
  margin-top: 2rem;
}

/* Responzivita */
@media (max-width: 780px) {
  nav ul {
    flex-direction: column;
    background: #0a2f5c;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 1rem;
    display: none;
  }
}
/* Hamburger ikona */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Default menu na desktopu */
nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

/* MOBILE VERZE */
@media (max-width: 780px) {
  .menu-toggle {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001; /* ikona nad menu */
    position: relative;
  }

  nav {
    position: fixed; /* menu bude nad obsahem */
    top: 0;
    right: -250px; /* skryté mimo obrazovku */
    width: 250px;
    height: 100%;
    background: #0a2f5c;
    transition: right 0.3s ease;
    padding-top: 4rem;
    z-index: 1000; /* menu nad obsahem */
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  nav.active {
    right: 0; /* vyjede */
  }
}


/* === FADE-IN ANIMACE SEKCE === */
section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}
/* === GRID LAYOUT === */
.grid {
  display: grid;
  gap: 2rem;
}

#services .grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cases-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* === KARTY SLUŽEB === */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card i {
  font-size: 3rem;
  color: #0a2f5c;
  margin-bottom: 1rem;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}




