

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif;
}

body {
    background-color: #f5f2e9;
    color: #3a2e1f;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typografie - úprava barvy hlavních nadpisů */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    margin-bottom: 15px;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    color: #c8a97e; /* Vrácení původní zlatavé barvy pro h1 */
}

h2 {
    font-size: 2.2rem;
    color: #5d4037; /* Tmavší hnědá pro h2 */
}

h3 {
    font-size: 1.8rem;
    color: #3a2e1f;
}

h4 {
    font-size: 1.5rem;
    color: #3a2e1f;
}

p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

a {
    color: #c8a97e;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #a58660;
}

/* Header */
header {
    background-color: #5d4037;
    color: #f5f2e9;
    padding: 10px 0;
    position: relative;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
}

.language-switcher a {
    color: #f5f2e9;
    text-decoration: none;
    margin-left: 10px;
    font-size: 0.9rem;
    padding: 5px 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.language-switcher a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-switcher a.active {
    background-color: #c8a97e;
    color: #3a2e1f;
}

/* Logo a hlavička */
.logo-container {
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.logo {
    display: inline-block;
    max-width: 250px;
    margin: 0 auto;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Přidání specifických stylů pro mobilní zařízení */
@media (max-width: 768px) {
    .logo-container {
        padding: 15px 0;
        text-align: center;
    }
    
    .logo {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Navigation */
nav {
    background-color: #3a2e1f;
    padding: 15px 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: #f5f2e9;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 3px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #c8a97e;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover:after {
    width: 70%;
}

nav ul li a:hover {
    color: #c8a97e;
}

nav ul li a.active {
    color: #c8a97e; /* Pouze změna barvy, bez ztučnění */
}

/* Odstraněno podtržení pro aktivní odkaz */
/* nav ul li a.active:after {
    width: 70%;
} */

/* Automatické zvýraznění aktivní stránky v navigaci */
body.page-index nav ul li a[href="index.php"],
body.page-menu nav ul li a[href="menu.php"],
body.page-contact nav ul li a[href="contact.php"] {
    color: #c8a97e;
    /* Odstraněno font-weight: bold; */
}

/* Hero Section */
.hero {
    height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Přidáno pro efekt parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #fff; /* Zajistí, že text bude bílý na tmavém pozadí */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #c8a97e;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #a58660;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #fff; /* Zajistí, že text zůstane bílý i při hoveru */
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: #3a2e1f;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #c8a97e;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Page Title */
.page-title {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-title h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-title p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Footer */
footer {
    background-color: #3a2e1f;
    color: #f5f2e9;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #c8a97e;
    bottom: 0;
    left: 0;
}

.footer-section p {
    margin-bottom: 10px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #5d4037;
    color: #f5f2e9;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #c8a97e;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #3a2e1f;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #c8a97e;
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 169, 126, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Message Styles */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 5px solid #17a2b8;
}

/* Media Queries pro lepší responzivitu */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .logo {
        width: 200px;
        height: 80px;
    }
    
    .logo-container {
        height: 100px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .container {
        width: 100%;
        padding: 0 10px;
    }
}
