/* css/style.css */

/* Základní reset a font */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Navigační menu */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar a { text-decoration: none; color: #333; font-weight: 500; margin-left: 15px; }
.navbar a:hover { color: #007bff; }
.navbar .logo a { font-size: 1.5em; font-weight: bold; margin-left: 0; color: #000; }

/* Hlavní kontejner */
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }

/* Tlačítka */
.btn {
    display: inline-block; padding: 10px 20px; text-decoration: none; 
    border-radius: 5px; font-weight: bold; border: none; cursor: pointer; transition: 0.2s;
}
.btn-primary { background: #007bff; color: #fff; }
.btn-primary:hover { background: #0056b3; }
.btn-secondary { background: #6c757d; color: #fff; }
.btn-secondary:hover { background: #5a6268; }

/* Homepage specifika */
.hero { text-align: center; padding: 60px 20px; background: #fff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 40px; }
.hero h1 { font-size: 2.8em; margin-bottom: 15px; margin-top: 0; }
.hero p { font-size: 1.2em; color: #666; margin-bottom: 25px; }
.hero-buttons { display: flex; justify-content: center; gap: 15px; }

.teaser-section { margin-bottom: 50px; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.teaser-note { text-align: center; margin-top: 20px; font-size: 1.1em; }

.pricing-section { text-align: center; margin-bottom: 50px; }
.pricing-cards { display: flex; justify-content: center; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.card { border: 1px solid #ddd; padding: 40px 30px; border-radius: 8px; width: 320px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.card.premium { border: 2px solid #007bff; transform: scale(1.05); box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.card h3 { margin-top: 0; font-size: 1.5em; }
.card .price { font-size: 2.5em; font-weight: bold; margin: 15px 0; color: #111; }
.card .savings { color: #28a745; font-weight: bold; margin-bottom: 20px; }
.card ul { list-style: none; padding: 0; margin-bottom: 30px; text-align: left; }
.card ul li { margin-bottom: 12px; padding-left: 25px; position: relative; color: #555; }
.card ul li::before { content: '✓'; color: #28a745; position: absolute; left: 0; font-weight: bold; }

/* Tabulky */
.data-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.data-table th, .data-table td { padding: 12px 15px; border-bottom: 1px solid #ddd; text-align: left; }
.data-table th { background: #f8f9fa; font-weight: 600; color: #333; }
.data-table tr:hover { background-color: #f1f1f1; }

/* Formuláře (Login/Register) */
.auth-form { max-width: 400px; margin: 50px auto; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.auth-form h2 { margin-top: 0; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #333; }
.form-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-size: 1em; }
.auth-form button { width: 100%; padding: 12px; background: #007bff; color: #fff; border: none; border-radius: 4px; font-size: 1.1em; font-weight: bold; cursor: pointer; }
.auth-form button:hover { background: #0056b3; }
.auth-form p { text-align: center; margin-top: 20px; }

/* Upozornění a tagy */
.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; }
.alert.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.score-badge { padding: 5px 10px; border-radius: 4px; font-weight: bold; background: #eee; }

/* Patička */
footer { text-align: center; padding: 20px; color: #777; margin-top: 40px; }