/* =========================================
   1. ZÁKLADNÉ NASTAVENIA & PREMENNÉ
   ========================================= */
:root {
    --primary-blue: #007bff;
    --dark-blue: #0056b3;
    --text-dark: #333333;
    --text-light: #555555;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   2. NAVIGÁCIA (Zjednotená s hlavnou stránkou)
   ========================================= */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo i { font-size: 2rem; color: var(--primary-blue); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-weight: 900; font-size: 1.5rem; color: var(--text-dark); }
.logo-sub { font-size: 0.8rem; letter-spacing: 2px; color: var(--text-light); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text-dark); transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-blue); }

/* Tlačidlo v menu */
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-primary:hover { background-color: var(--dark-blue); }

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

/* =========================================
   3. HERO SEKCIA (Hlavička podstránky)
   ========================================= */
.sp-hero-premium {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.sp-hero-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Tmavý filter pre čitateľnosť */
}

.sp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.sp-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.sp-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
}

/* =========================================
   4. OBSAHOVÁ ČASŤ
   ========================================= */
.sp-intro { padding: 80px 0; background: var(--white); }

.sp-intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.sp-intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
}

/* Zoznam výhod */
.features-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-box {
    background: var(--bg-light);
    padding: 20px;
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 10px 10px 0;
}

.feature-box h4 { margin-bottom: 5px; color: var(--text-dark); }
.feature-box p { font-size: 0.9rem; margin: 0; }

/* =========================================
   5. GALÉRIA (Dark Grid)
   ========================================= */
.sp-gallery-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Tmavé pozadie pre kontrast */
    color: var(--white);
}

.section-title-white {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--white);
}

.sp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sp-dark-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.sp-dark-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sp-dark-item:hover img { transform: scale(1.1); }

/* =========================================
   6. CTA (Výzva k akcii)
   ========================================= */
.sp-cta-bar {
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.sp-btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 40px;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 30px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.sp-btn-white:hover {
    background: #1a1a1a;
    color: var(--white);
}

/* =========================================
   7. FOOTER
   ========================================= */
.footer { background: #111; color: #fff; padding: 60px 0 20px; }
.footer h3 { color: var(--primary-blue); margin-bottom: 20px; }
.footer-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 20px;
}

/* =========================================
   8. RESPONZIVITA (MEDIA QUERIES)
   ========================================= */

/* Tlačidlo pre mobil (oprava z indexu) */
.mobile-only-item { display: none; }

@media (max-width: 992px) {
    /* Navbar */
    .hamburger { display: block; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .nav-links.active { display: flex; }

    /* Fix tlačidla */
    .desktop-only-btn { display: none; }
    .mobile-only-item { display: block; margin-top: 10px; }

    /* Hero */
    .sp-hero-premium { height: auto; padding: 100px 0; }
    .sp-hero-content h1 { font-size: 2.2rem; }
    
    /* Texty */
    .sp-intro-text h2 { font-size: 2rem; }
    
    /* Galéria */
    .sp-gallery-grid { grid-template-columns: 1fr; } /* 1 stĺpec na mobile */
    .sp-dark-item { height: 250px; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}