
/* ZÁKLADNÍ NASTAVENÍ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fffaf0;
    color: #3d3025;
}

/* NAVIGACE */

header {
    background-color: #8b5e34;
    padding: 18px 6%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.navbar h1 {
    color: white;
    font-size: 27px;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.navbar a:hover {
    color: #ffdf9e;
}

/* HLAVNÍ BANNER */

.hero {
    min-height: 380px;
    background: linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.45)
    ),
    url("https://profikuchar.cz/uploads/66/articles/88665a3498521589a8158c621480489f.jpg")
    center/cover;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    color: white;
}

.hero h2 {
    font-size: 45px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 19px;
    margin-bottom: 30px;
}

/* TLAČÍTKA */

.button {
    display: inline-block;
    background-color: #d69e45;
    color: white;
    padding: 13px 25px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.button:hover {
    background-color: #a96d25;
    transform: scale(1.05);
}

/* SÝRY */

.section {
    padding: 60px 7%;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.subtitle {
    color: #806d5b;
    margin-bottom: 35px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding-bottom: 20px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 18px 10px;
    font-size: 22px;
    color: #8b5e34;
}

.card p {
    padding: 0 20px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card span {
    display: inline-block;
    color: #a46c2c;
    font-weight: bold;
    font-size: 14px;
}

/* POČASÍ */

.weather {
    text-align: center;
    background-color: #f0e0c5;
    padding: 45px 20px;
}

.weather h2 {
    margin-bottom: 15px;
}

#weather-info {
    font-size: 22px;
    margin: 20px;
    font-weight: bold;
}

/* VÁNOČNÍ REKLAMA */

.christmas-promo {
    background-color: #7b2525;
    color: white;
    padding: 55px 20px;
    text-align: center;
}

.christmas-promo h2 {
    margin-bottom: 15px;
}

.christmas-promo p {
    margin-bottom: 25px;
}

/* VÁNOČNÍ STRÁNKA */

.christmas-body {
    background-color: #fff9ef;
}

.christmas-body header {
    background-color: #742727;
}

.christmas-hero {
    background: linear-gradient(
        rgba(65, 0, 0, 0.65),
        rgba(65, 0, 0, 0.65)
    ),
    url("https://oldwayspt.org/wp-content/uploads/2024/03/TRADITIONALCHEESESCARD-Fotolia_96582946_M-cheese.jpg")
    center/cover;

    color: white;
    text-align: center;
    padding: 60px 20px;
}

.christmas-hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.christmas-hero > p {
    margin-bottom: 30px;
}

.countdown-box {
    background-color: rgba(255,255,255,0.95);
    color: #742727;
    max-width: 550px;
    margin: 30px auto 0;
    padding: 25px;
    border-radius: 15px;
}

.countdown-box h3 {
    margin-bottom: 15px;
}

#countdown {
    font-size: 25px;
    font-weight: bold;
    line-height: 1.7;
}

.christmas-card {
    border-top: 5px solid #a52e2e;
}

.christmas-card h3 {
    color: #a52e2e;
}

.christmas-message {
    background-color: #742727;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.christmas-message h2 {
    margin-bottom: 15px;
}

.christmas-message p {
    margin-bottom: 25px;
}

/* PATIČKA */

footer {
    background-color: #3d3025;
    color: white;
    text-align: center;
    padding: 22px;
}

/* RESPONZIVITA */

@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
    }

    .navbar ul {
        justify-content: center;
        gap: 15px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .christmas-hero h2 {
        font-size: 30px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 6%;
    }

    #countdown {
        font-size: 19px;
    }
}
