/* ---------- RESET ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---------- BODY ---------- */
body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #333;
    font-size: 16px;
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 1000px;
    margin: auto;
    padding: 15px;
}

/* ---------- HEADER ---------- */
h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* ---------- LAYOUT ---------- */
.layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---------- IMAGE ---------- */
.image {
    text-align: center;
}

.hero {
    width: 100%;
    max-width: 200px;
}

/* ---------- CARD ---------- */
.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

/* ---------- FORM ---------- */
form {
    display: flex;
    flex-direction: column;
}

input {
    padding: 16px;
    margin-top: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

label {
    margin-top: 12px;
}

/* ---------- BUTTON ---------- */
button {
    margin-top: 20px;
    padding: 16px;
    background: #2d89ef;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

/* ---------- CALENDAR ---------- */
.calendar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.busy {
    background: #ffe5e5;
    padding: 10px;
    border-radius: 6px;
}

/* ---------- RESERVATIONS ---------- */
.reservation {
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.actions {
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
}

.ok {
    background: #28a745;
}

.no {
    background: #dc3545;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 900px) {

    .layout {
        flex-direction: row;
        align-items: center;
    }

    .image {
        flex: 1;
    }

    .form {
        flex: 1;
    }

    .hero {
        max-width: 300px;
    }
}


.calendar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calendar {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

.calendar h3 {
    text-align: center;
    margin-bottom: 10px;
}

.days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-size: 12px;
    text-align: center;
    margin-bottom: 5px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 14px;
}

/* voľné dni */
.free {
    background: #d4edda;
}

/* obsadené dni */
.busy {
    background: #f8d7da;
}

/* desktop vedľa seba */
@media (min-width: 700px) {
    .calendar-wrapper {
        flex-direction: row;
    }

    .calendar {
        flex: 1;
    }
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 15px;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 15px;
}

.info {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.intro {
    font-size: 15px;
    margin-bottom: 10px;
}

.steps {
    padding-left: 18px;
    margin-top: 10px;
}

.steps li {
    margin-bottom: 6px;
}

.price {
    background: #eef6ff;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0 15px 0;
    font-size: 16px;
}