/* --- RESET A GLOBÁLNE ŠTÝLY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fdfdfd;
    color: #333;
    line-height: 1.6;
}

/* --- NAVIGÁCIA --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

nav ul li a:hover {
    color: #8bc34a;
}

/* --- HERO SEKCIÁ --- */
header {
    background: url('images/hero.jpg') center/cover no-repeat;
    height: 100vh;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}

.hero-text {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    padding-top: 100px; /* Oprava: Bezpečné odsadenie kvôli fixnej navigácii */
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 700px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.btn {
    margin-top: 30px;
    background: #8bc34a;
    color: white;
    padding: 14px 36px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.btn:hover {
    background: #689f38;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(104, 159, 56, 0.4);
}

/* --- ŠTRUKTÚRA SEKCIÍ --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

section {
    padding: 100px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #222;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #8bc34a;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* --- KARTY (Informácie  --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 40px; /* Pridané: Optimálna veľkosť pre ikony (emoji) v kartách */
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 15px;
    color: #222;
    font-size: 22px;
}

/* Pridané: Čisté štýly pre odseky a zoznamy vo vnútri kariet namiesto inline štýlov */
.card p {
    margin-bottom: 15px;
}

.card p:last-of-type {
    margin-bottom: 0;
}

.card-specs {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.card-specs li {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
}

.card-specs li:last-child {
    margin-bottom: 0;
}

.spec-icon {
    margin-right: 8px;
}

/* --- CENNÍK --- */
.pricing table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pricing th,
.pricing td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing th:last-child,
.pricing td:last-child {
    text-align: right;
}

.pricing th {
    background: #8bc34a;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.pricing tbody tr:hover {
    background: #fafdff;
}

/* --- GALÉRIA --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* --- POČASIE --- */
.weather {
    background: #ffffff;
}

.weather-widget {
    background: linear-gradient(135deg, #8bc34a, #689f38);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 195, 74, 0.2);
    max-width: 500px;
    margin: 0 auto;
}

.weather-temp {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 15px;
}

.weather-update {
    font-size: 18px;
    opacity: 0.9;
}

.weather-error {
    background: #ffebee;
    color: #c62828;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    max-width: 500px;
    margin: 0 auto;
}

/* --- KONTAKT --- */
.contact-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-info {
    font-size: 18px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #0f172a; 
    text-decoration: none; 
    font-weight: 600; 
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #8bc34a; 
}


/* FORMULÁR */
form {
    display: none;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

form input,
form textarea {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

form input:focus,
form textarea:focus {
    border-color: #8bc34a;
    outline: none;
}

form button {
    background: #8bc34a;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
}

form button:hover {
    background: #689f38;
}

/* --- FOOTER --- */
footer {
    background: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 30px 20px;
    font-size: 15px;
    border-top: 1px solid #252525;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* --- RESPONZIVITA --- */
@media(max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px 20px;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 12px;
    }

    .hero-text {
        padding-top: 160px; /* Pridané: Viac priestoru pre mobilné menu, keďže sa zalomí pod seba */
    }

    .hero-text h1 {
        font-size: 36px;
    }
    
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }
}
