/* 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;
}

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: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;
}

nav a.active {
    background: rgba(210, 180, 140, 0.3);
    color: #ffd700;
}

/* Hlavní úvodní sekce */
.hero {
    padding: 4rem 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('/img/accomodationhero.jpg');
    background-position: center center; /* Posune obrázek na střed */
    background-size: cover;
    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;
}

/* Sekce ubytování */
.accomodation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #d4a017;
    position: relative;
}

.section-header h1 {
    font-family: 'Rye', cursive;
    color: #5d2906;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h1::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 15px;
    background: url('../img/eventshero.jpg;')
}

.section-header p {
    font-size: 1.2rem;
    color: #8b4513;
    max-width: 700px;
    margin: 0 auto;
}

.info-box {
    background: rgba(255, 248, 220, 0.7);
    border: 3px solid #d4a017;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    color: #5d2906;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-box h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #8b4513, transparent);
}

/* Karty ubytování */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: rgba(255, 248, 220, 0.9);
    border: 5px double #8b4513;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: linear-gradient(to right, #5d2906, #8b4513);
    color: #ffd700;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    border-bottom: 3px solid #d4a017;
}

.card-header h2 {
    font-family: 'Rye', cursive;
    font-size: 2rem;
    margin: 0;
    letter-spacing: 1px;
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #d4a017;
    color: #5d2906;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.1rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.card-content {
    padding: 1.5rem;
}

.card-content ul {
    list-style-type: none;
    margin-bottom: 1.5rem;
}

.card-content ul li {
    padding: 0.7rem 0;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px dashed #d4c9a6;
}

.card-content ul li::before {
    content: "★";
    color: #d4a017;
    position: absolute;
    left: 0;
    top: 0.7rem;
}

.card-highlight {
    background: rgba(139, 69, 19, 0.1);
    border-left: 4px solid #d4a017;
    padding: 0.8rem;
    text-align: center;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}

.feature-box {
    background: rgba(255, 248, 220, 0.7);
    border: 2px dashed #8b4513;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.feature-box h3 {
    color: #5d2906;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Rye', cursive;
}

.feature-box::before {
    content: "✭";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #f5f2e9;
    color: #d4a017;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.note {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid #d4a017;
    border-radius: 5px;
    padding: 0.7rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.note span {
    font-weight: bold;
    color: #8b4513;
}

/* Detailní informace */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.detail-card {
    background: rgba(255, 248, 220, 0.8);
    border: 3px solid #d4a017;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card h3 {
    color: #5d2906;
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed #d4c9a6;
}

.detail-card ul {
    list-style-type: none;
}

.detail-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.detail-card ul li::before {
    content: "•";
    color: #d4a017;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Ceník */
.pricing-section {
    background: rgba(255, 248, 220, 0.7);
    border: 5px double #8b4513;
    border-radius: 10px;
    padding: 2rem;
    margin: 3rem 0;
}

.pricing-section h2 {
    text-align: center;
    color: #5d2906;
    margin-bottom: 2rem;
    font-family: 'Rye', cursive;
    font-size: 2rem;
    position: relative;
}

.pricing-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(to right, transparent, #8b4513, transparent);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    border: 2px solid #d4c9a6;
}

.price-card.highlight {
    border: 3px solid #d4a017;
    transform: scale(1.03);
    z-index: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.price-card h3 {
    background: linear-gradient(to right, #5d2906, #8b4513);
    color: #ffd700;
    padding: 1rem;
    font-family: 'Rye', cursive;
    font-size: 1.5rem;
}

.price {
    font-family: 'Rye', cursive;
    font-size: 2.5rem;
    color: #8b4513;
    margin: 1rem 0;
    font-weight: bold;
}

.price-details {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.price-details p {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #d4c9a6;
}

.min-stay {
    background: rgba(139, 69, 19, 0.1);
    padding: 0.7rem;
    font-weight: bold;
    color: #5d2906;
    margin-top: 1rem;
}

.price-card ul {
    list-style-type: none;
    padding: 0 1.5rem;
    text-align: left;
}

.price-card ul li {
    padding: 0.7rem 0;
    border-bottom: 1px dashed #d4c9a6;
    position: relative;
    padding-left: 1.5rem;
}

.price-card ul li::before {
    content: "✪";
    color: #d4a017;
    position: absolute;
    left: 0;
}

/* Podmínky */
.terms-section {
    margin: 3rem 0;
}

.terms-section h2 {
    text-align: center;
    color: #5d2906;
    margin-bottom: 2rem;
    font-family: 'Rye', cursive;
    font-size: 2rem;
    position: relative;
}

.terms-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 3px;
    background: linear-gradient(to right, transparent, #8b4513, transparent);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.term {
    background: rgba(255, 248, 220, 0.7);
    border: 2px solid #d4a017;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.term h3 {
    color: #5d2906;
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed #d4c9a6;
}

.term ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.term ul li {
    padding: 0.5rem 0;
    position: relative;
}

.term ul li::before {
    content: "▹";
    color: #d4a017;
    position: absolute;
    left: -1.5rem;
}

/* Kontakt */
.contact-box {
    background: linear-gradient(to right, #5d2906, #8b4513);
    color: #ffd700;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-box h2 {
    font-family: 'Rye', cursive;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

.contact-info {
    max-width: 500px;
    margin: 0 auto;
}

.phone, .website {
    font-size: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone a, .website a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.8rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.phone a:hover, .website a:hover {
    color: white;
    text-decoration: underline;
}

.hours {
    font-style: italic;
    color: #f5d7a1;
    margin: -1rem 0 1rem;
}

/* 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-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 1rem;
    padding: 1rem;
    position: relative;
}

.footer-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #d4a017, transparent);
}

.footer-section:last-child::after {
    display: none;
}

.footer-section h3 {
    font-family: 'Rye', cursive;
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4a017, transparent);
}

.footer-section p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #d4a017;
    color: #5d2906;
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 2px solid #8b4513;
}

.footer-social a:hover {
    transform: translateY(-5px) rotate(10deg);
    background: #ffd700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.footer-newsletter input {
    padding: 0.8rem;
    width: 100%;
    max-width: 250px;
    border: 2px solid #d4a017;
    background: rgba(255, 255, 255, 0.1);
    color: #f5d7a1;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    font-family: inherit;
}

.footer-newsletter input::placeholder {
    color: #d4a017;
}

.footer-newsletter button {
    background: #d4a017;
    color: #5d2906;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #8b4513;
    font-family: 'Arial Rounded MT Bold', sans-serif;
}

.footer-newsletter button:hover {
    background: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.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;
}

.footer-bottom p {
    margin: 0 1rem;
}

.footer-bottom a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-divider {
    color: #d4a017;
    font-weight: bold;
}

/* Responsivní design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.3rem 0;
    }
    
    nav a::after {
        display: none;
    }
    
    .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;
    }
    
    .cards-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 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;
    }
    
    .card {
        min-width: 100%;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .price-card.highlight {
        transform: scale(1);
    }
}