/* Základní reset a styl stránky */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: #f5f2e9 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23d4c9a6" opacity="0.4"/></svg>');
    color: #3a2618;
    line-height: 1.6;
    background-size: 300px 300px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Záhlaví a navigace */
header {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 8px solid #8b4513;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

nav {
    background: linear-gradient(to bottom, #5d2906, #3a1800);
    padding: 1rem 0;
    border-bottom: 3px solid #d4a017;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #f5d7a1;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 1rem;
}

nav li {
    margin: 0 0.5rem;
}

nav a {
    color: #f5d7a1;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Arial Rounded MT Bold', 'Arial', sans-serif;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

nav a.active {
    background: rgba(210, 180, 140, 0.3);
    color: #ffd700;
}

nav a:hover {
    background: rgba(210, 180, 140, 0.3);
    color: #ffd700;
    transform: translateY(-2px);
}

nav a::after {
    content: "•";
    position: absolute;
    right: -10px;
    color: #d4a017;
    font-size: 1.2rem;
}

nav li:last-child a::after {
    content: none;
}

/* Hlavní úvodní sekce */
.hero {
    padding: 4rem 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../img/trips.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: repeating-linear-gradient(
        45deg,
        #8b4513,
        #8b4513 10px,
        #d4a017 10px,
        #d4a017 20px
    );
}

.hero h2 {
    font-family: 'Brush Script MT', cursive;
    font-size: 3rem;
    color: #f5d7a1;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-family: 'Rye', cursive;
    font-size: 4.5rem;
    color: #ffd700;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.hero h1::before,
.hero h1::after {
    content: "★";
    color: #d4a017;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

.hero h1::before {
    left: -40px;
}

.hero h1::after {
    right: -40px;
}

/* Společné styly pro sekce */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Rye', cursive;
    color: #5d2906;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.divider {
    height: 3px;
    width: 150px;
    background: linear-gradient(to right, transparent, #8b4513, transparent);
    margin: 1rem auto;
}

.section-header p {
    color: #8b4513;
    font-size: 1.1rem;
    font-style: italic;
}

/* Úvodní sekce výletů */
.trips-intro {
    padding: 4rem 0;
    background: rgba(255, 248, 220, 0.4);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3a2618;
}

/* Sekce s výlety */
.trips-section {
    padding: 3rem 0;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.trip-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #d4c9a6;
}

.trip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.trip-image {
    height: 200px;
    overflow: hidden;
}

.trip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trip-card:hover .trip-image img {
    transform: scale(1.05);
}

.trip-content {
    padding: 1.5rem;
}

.trip-content h3 {
    color: #5d2906;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Arial Rounded MT Bold', sans-serif;
}

.trip-content p {
    color: #3a2618;
    line-height: 1.6;
}

/* Sekce s aktivitami */
.activities-section {
    background: rgba(255, 248, 220, 0.3);
    padding: 4rem 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.activity-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #d4c9a6;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.activity-card i {
    font-size: 3rem;
    color: #d4a017;
    margin-bottom: 1rem;
}

.activity-card h3 {
    color: #5d2906;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Arial Rounded MT Bold', sans-serif;
}

.activity-card p {
    color: #3a2618;
    line-height: 1.6;
}

/* Sekce s koupáním */
.koupani-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #d4c9a6;
}

.koupani-section h3 {
    text-align: center;
    color: #5d2906;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Arial Rounded MT Bold', sans-serif;
}

.koupani-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    text-align: center;
}

.koupani-grid span {
    background: rgba(139, 69, 19, 0.1);
    padding: 0.7rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #5d2906;
}

/* Tipy na výlet */
.tip-section {
    background: linear-gradient(to right, rgba(93, 41, 6, 0.05), rgba(212, 169, 23, 0.05));
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    border-left: 5px solid #d4a017;
}

.tip-section h3 {
    color: #5d2906;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Arial Rounded MT Bold', sans-serif;
}

.tip-section p {
    color: #3a2618;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.badge {
    background: rgba(139, 69, 19, 0.1);
    border: 2px solid #d4a017;
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    font-weight: bold;
    color: #8b4513;
    font-size: 0.9rem;
}

/* Patička */
footer {
    margin-top: auto;
    background: linear-gradient(to top, #5d2906, #3a1800);
    color: #f5d7a1;
    padding: 2rem 0 0;
    text-align: center;
    font-family: 'Arial Rounded MT Bold', 'Arial', sans-serif;
    border-top: 3px solid #d4a017;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 15px;
    background: repeating-linear-gradient(
        -45deg,
        #8b4513,
        #8b4513 10px,
        #d4a017 10px,
        #d4a017 20px
    );
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.2rem;
    border-top: 1px solid #d4a017;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom i {
    color: #d4a017;
}

.footer-divider {
    margin: 0 0.5rem;
}

/* ==================== */
/* RESPONZIVNÍ ÚPRAVY */
/* ==================== */
@media (max-width: 1024px) {
    .trips-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(to bottom, #5d2906, #3a1800);
        z-index: 99;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul.active {
        max-height: 500px;
        padding: 1rem 0;
    }
    
    nav li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    nav a::after {
        display: none;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h1::before,
    .hero h1::after {
        font-size: 1.5rem;
    }
    
    .hero h1::before {
        left: -30px;
    }
    
    .hero h1::after {
        right: -30px;
    }
    
    .activities-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h1::before,
    .hero h1::after {
        font-size: 1.2rem;
        top: -10px;
    }
    
    .hero h1::before {
        left: -20px;
    }
    
    .hero h1::after {
        right: -20px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .trips-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .koupani-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .footer-divider {
        display: none;
    }
}