@charset "UTF-8";

/*@font
 *    head                           body
 *    'Ubuntu', sans-serif          'Roboto Slab', serif;
 *    'Sora', sans-serif;           'Geist', sans-serif;
 *    'Roboto', sans-serif;         'Roboto Mono', monospace;
 *    'Domine', serif;              'Manrope', sans-serif;

/*#d946ef, #06b6d4*/
    :root {
        --primary: #3D5A80;
        --secondary: #98C1D9;
        --bg-section:#E0FBFC;
        --gray: #6c757d;
        --light: #f8f9fa;
        --dark: #343a40;

        --navbar-height: 80px;

        --font-head: 'Geist', sans-serif;
        --font-body: 'Manrope', sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    background: #fff;
    overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5em;
    }

    h1 {
      margin-bottom: 1rem;
      font-size: 2rem;
    }

    /* NAVBAR */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--navbar-height);
      background: linear-gradient(to right, var(--primary), var(--secondary));
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.5rem;
      z-index: 1000;
      gap: 1rem;
      }
      /* --- vodorovná čárkovaná čára --- */
      .navbar::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 5px;              /* 5 px nad spodním okrajem */
      border-bottom: 1px dashed var(--primary);  /* čárkovaná čára */
      }
    .navbar-left {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
    }

    .navbar-center {
      flex: 1 1 auto;
      display: flex;
      justify-content: center;
    }

    .navbar-right {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .brand {
    font-family: var(--font-head);
    font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: 0.05em;
      cursor: pointer;
      text-decoration: none;
      color: #fff;
    }

    .nav-links {
      display: flex;
      gap: 0.5rem;
      font-family: var(--font-head);
      font-size: 1.3rem;
    }

    .nav-links a {
      color: #fff;
      text-decoration: none;
      padding: 0.4rem 0.6rem;
      border-radius: 4px;
      transition: background 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a:focus {
      background: rgba(255, 255, 255, 0.12);
    }

    .right-text {
      font-size: 1.1rem;
      letter-spacing: 0.1em;
    }

    .menu-btn {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 2rem;
      cursor: pointer;
      z-index: 1100;
    }

    /* SECTIONS */
    section {
      min-height: 100vh;
      padding: calc(var(--navbar-height) + 20px) 1rem 2.5rem;
      background: radial-gradient(#ffffff, var(--bg-section));
    }

    .section-title {
      display: flex;
      justify-content: center;  /* horizontální zarovnání */
      align-items: center;   /* vertikální centrování textu vůči obrázku */
      gap: 12px;             /* mezera mezi obrázkem a textem */
    }
.avatar {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-right: 5px solid var(--primary);
  padding: 8px;
  flex-shrink: 0;
}

/* === KONTAJNER === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
}

/* === O NÁS === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center: center;
}
.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-img img {
    width: 100%;
    height: auto;
}

/* === CARDS === */

.cards-container {
  display: flex;
  flex-direction: row;     /* výchozí – desktop */
  align-items: stretch;
  gap: 1rem;
  margin: 1rem 0;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex: 1 1 auto;          /* základní chování – pružné */
  min-width: 0;
}

/* Levá karta (pokud existují dvě) – 75 % */
.cards-container > .card:nth-child(1):nth-last-child(2) {
  flex: 0 0 25%;
}

/* Pravá karta (pokud existují dvě) – 25 % */
.cards-container > .card:nth-child(2):last-child {
  flex: 0 0 75%;
}

/* Obrázek v kartě */
.card .icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.pojistovny {list-style-type: disc; margin-left:1rem;}

        /* === ORDINAČNÍ HODINY === */
        .hours-table {
            width: 100%;
            border-collapse: collapse;
            margin: 0 auto;
            max-width: 1100px;
            background: #fff;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border-radius: 8px;
            overflow: hidden;
        }
        .hours-table th,
        .hours-table td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #dee2e6;
        }
        .hours-table th {
            background: var(--primary);
            color: #fff;
            font-weight: 600;
        }
        .hours-table tr:last-child td {
            border-bottom: none;
        }

        /* === KONTAKT === */
        .map-container {
            height: 300px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* === FOOTER === */
        footer {
            background: var(--dark);
            color: #adb5bd;
            padding: 3rem 0 1.5rem;
            font-size: 0.9rem;
        }
        .footer-inner {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin: 1rem 0;
        }
        .social-links a {
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }
        .social-links a:hover {
            background: var(--secondary);
        }
        .footer-links a {
            color: #adb5bd;
            margin: 0 0.5rem;
        }
        .footer-links a:hover {
            color: #fff;
            text-decoration: underline;
        }

            /* RESPONSIVE MENU */
    @media (max-width: 1280px) {
      .navbar-center {
        justify-content: flex-start;
      }

      .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        display: none;
        z-index: 900;
        padding-bottom:30px;
      }

      .nav-links.show {
        display: flex;
      }

      .right-text {
        display: none; /* 012345 se na mobilu schová */
      }

      .menu-btn {
        display: block; /* hamburger vpravo */
      }

      .icon {
        width: 70px;
         height: auto;
        margin: 0 15px 15px 0;
      }

  .cards-container {
    display: block;          /* ← tady je ta změna */
  }
  .card {
    flex: none;              /* pro jistotu */
    width: 100%;
    margin-bottom: 1rem;
  }

    }

     @media (max-width: 500px) {
    .section-title {
      justify-content: left;  /* horizontální zarovnání */
    }
  }
