/* livablecars.css */
/* 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/livingcars.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: 3rem 0;
}

.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;
}

/* Sekce spolku */
.association-section {
    padding: 3rem 0;
}

.content-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #d4c9a6;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #d4a017;
    position: relative;
    overflow: hidden;
}

.info-card.important {
    border-left: 4px solid #8b4513;
    background: linear-gradient(to right, rgba(139, 69, 19, 0.05), white);
}

.info-card i {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: rgba(139, 69, 19, 0.1);
}

.info-card h3 {
    color: #8b4513;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-family: 'Arial Rounded MT Bold', sans-serif;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background: #d4a017;
}

.info-card p {
    margin-bottom: 1rem;
    color: #3a2618;
    line-height: 1.7;
}

.warning {
    background: rgba(212, 169, 23, 0.1);
    padding: 1rem;
    border-radius: 5px;
    border-left: 3px solid #8b4513;
    font-weight: bold;
    margin-top: 1rem;
}

/* Styly pro seznam */
ul.styled-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.styled-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.styled-list li::before {
    content: "•";
    color: #d4a017;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.3rem;
}

/* Styly pro ceník */
.pricing-table {
    margin: 1.5rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px dashed #d4c9a6;
}

.price-item:last-child {
    border-bottom: none;
}

.service {
    font-weight: 500;
    color: #3a2618;
    flex: 1;
}

.price {
    font-weight: bold;
    color: #8b4513;
    min-width: 120px;
    text-align: right;
}

.price-item.note {
    justify-content: center;
    font-style: italic;
    color: #8b4513;
    padding-top: 0.5rem;
}

/* Kontaktní informace */
.contact-info {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: #8b4513;
    font-size: 1.2rem;
    min-width: 24px;
}

.payment-info {
    background: rgba(212, 169, 23, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 3px solid #8b4513;
}

.payment-info h4 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-family: 'Arial Rounded MT Bold', sans-serif;
}

.payment-info p {
    margin-bottom: 0.5rem;
}

.payment-info strong {
    color: #5d2906;
    font-size: 1.2rem;
}

/* 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;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-divider {
    margin: 0 0.5rem;
}

/* ==================== */
/* RESPONZIVNÍ ÚPRAVY */
/* ==================== */
@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;
    }
    
    .content-box {
        padding: 2rem 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .price-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .price {
        text-align: left;
    }
}

@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;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .footer-divider {
        display: none;
    }
}