/* Globálne nastavenia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #212529;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/* Hlavička */
header {
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.phone-link {
    text-decoration: none;
    color: #212529;
    font-weight: 600;
    border: 1px solid #212529;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

/* Hero sekcia */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-h1 { font-size: 2.5rem; margin-bottom: 10px; }

/* Mriežka nehnuteľností */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.property-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.property-card:hover { transform: translateY(-5px); }

.card-image {
    position: relative;
    height: 250px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #25D366;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.card-info { padding: 20px; }

.specs {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
}

/* Tlačidlá */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-detail {
    text-align: center;
    text-decoration: none;
    color: #212529;
    border: 1px solid #dee2e6;
    padding: 10px;
    border-radius: 5px;
}

.btn-whatsapp:hover { background: #1ebe57; }

/* Pätička */
footer {
    background: #212529;
    color: #ffffff;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

footer a { color: #25D366; text-decoration: none; }

/* Responzivita pre mobily */
@media (max-width: 600px) {
    .property-grid { grid-template-columns: 1fr; }
    .hero-h1 { font-size: 1.8rem; }
}
/* Sekcia O nás */
.about-us {
    margin-top: 60px;
    margin-bottom: 20px;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 40px;
    line-height: 1.8;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 30px;
}

.stat-box {
    background: #f8f9fa;
    padding: 20px 40px;
    border-radius: 10px;
    border-bottom: 4px solid #25D366; /* Zelený akcent ladiaci s WhatsAppom */
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #212529;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 600px) {
    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
}/* Hero sekcia - úvodná fotka s textom */
.hero {
    height: 60vh; /* Výška sekcie na 60% obrazovky */
    /* ZMEŇ LEN NÁZOV SÚBORU V ZÁTVORKE NIŽŠIE NA SVOJ REÁLNY OBRÁZOK */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('obr/exkluzivne-novostavby-senec-pozadie.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff; /* Biela farba textu, aby bol čitateľný na fotke */
}
/* Cena priamo na obrázku */
.price-tag {
    position: absolute;
    bottom: 15px;      /* Vzdialenosť odspodu */
    right: 15px;       /* Vzdialenosť sprava */
    background: rgba(33, 37, 41, 0.9); /* Tmavosivé, jemne priehľadné pozadie */
    color: #ffffff;    /* Biely text */
    padding: 8px 15px; /* Vnútorný priestor okolo textu */
    border-radius: 5px; /* Zaoblené rohy */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Jemný tieň pre lepší kontrast */
    letter-spacing: 1px;
}
/* ========================================= */
/* ŠTÝLY PRE DETAIL DOMU (detail-domu-1.html)*/
/* ========================================= */

.detail-page {
    margin-top: 40px;
    margin-bottom: 80px;
}

/* Galéria */
.gallery {
    margin-bottom: 40px;
}

.main-photo {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.thumbnail-row img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 5px;
}

/* Rozdelenie na 2 stĺpce */
.detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Ľavý stĺpec je 2x širší ako pravý */
    gap: 50px;
}

/* Ľavý stĺpec texty */
.left-column h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.location {
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 30px;
}

.left-column h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
}

/* Zoznam parametrov */
.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    justify-content: space-between;
}

.specs-list li strong {
    color: #212529;
}

/* Responzívne YouTube video */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* Pomer strán 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Pravý stĺpec - Prilepený panel */
.sticky-panel {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 100px; /* Zostane 100px od vrchu obrazovky pri scrollovaní */
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.detail-price {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #212529;
    margin-bottom: 25px;
}

.large-btn {
    display: block;
    font-size: 1.1rem;
    padding: 18px;
    margin-bottom: 20px;
}

.panel-note {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

/* Prispôsobenie pre mobilné telefóny */
@media (max-width: 900px) {
    .detail-content {
        grid-template-columns: 1fr; /* Na mobile budú stĺpce pod sebou */
    }
    .main-photo {
        height: 300px;
    }
    .thumbnail-row img {
        height: 100px;
    }
    .sticky-panel {
        position: static; /* Na mobile sa panel neprilepí, bude len pod textom */
    }
}