:root {
    --primary: #2c3e50;
    --accent: #3498db;
    --text: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* FIXNÍ LAYOUT */
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; 
}

body {
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

header, footer {
    height: 80px; 
    flex-shrink: 0;
    background: #000000;
    display: flex;
    align-items: center;
    z-index: 1000;
}

header { border-bottom: 1px solid #333; }

main {
    flex-grow: 1;
    overflow-y: auto;
    background-color: var(--white);
}

/* TYPOGRAFIE */
h1, h2, h3, .logo strong {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

h1 { font-size: 2.2rem; margin-bottom: 0.1rem; color: var(--white); }
h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

/* NAVIGACE */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo strong { font-size: 1.3rem; color: var(--white); }
nav ul { display: flex; list-style: none; gap: 1.5rem; }
nav a { text-decoration: none; color: var(--white); font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--accent); }

/* SEKCE */
#hero {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('/images/house-3203363_1920.jpg') center/cover no-repeat;
    color: var(--white);
    
    text-align: center;
}

.section-padding { padding: 20px 0; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.5rem;
}

.card {
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

/* CENÍK */
.price-item {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 25px;
    overflow: hidden;
    align-items: center;
}
.price-item img {
    width: 280px;       /* Původní šířka z vašeho CSS */
    height: 170px;      /* Původní výška z vašeho CSS */
    object-fit: cover;
    flex-shrink: 0;
}

.price-text { padding: 30px; }

/* COOKIE BAR */
.cookie-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 15px 0;
    display: none;
    z-index: 2000;
}

@media (max-width: 768px) {
    header, footer { height: auto; min-height: 80px; padding: 15px 0; }
    header .container { flex-direction: column; gap: 10px; }
}