/* Reset a základné nastavenia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --text-color: #2d3748;
    --light-text: #ffffff;
    --light-bg: #f7fafc;
    --border-color: #e2e8f0;
    --hover-color: #2b6cb0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header a navigácia */
.header {
    background-color: #1e3a5f54;;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--light-text);
    font-weight: 600;
    font-size: 1.5rem;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100; /* NEW */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 3px 0;
    transition: all 0.3s ease; /* NEW */
}

/* NEW – hamburger na krížik */
.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero sekcia */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
    padding: 84px 0 74px;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 14px 32px;
    text-decoration: none;
    border-top-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--light-text);
    transform: translateY(-2px);
}

/* Sekcie */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
}

/* Služby sekcia */
.sluzby {
    background-color: var(--light-bg);
}

.sluzby-content {
    max-width: 800px;
    margin: 0 auto;
}

.sluzby-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.sluzby-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.kontakt-info {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgb(0 0 0 / 1%);
}

.kontakt-info p {
    margin-bottom: 0.5rem;
}

.small-text {
    font-size: 0.875rem;
    color: #718096;
}

/* Dopravný poriadok */
.poriadok-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.poriadok-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.download-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 14px 28px;
    text-decoration: none;
    border-top-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.download-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Galéria */
.galeria {
    background-color: var(--light-bg);
}

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

.galeria-item {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.placeholder-image {
    width: 100%;
    height: 200px;
    background-color: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

.galeria-item figcaption {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0rem 0rem 1rem;
    text-align: center;
}


.footer-bottom {
    text-align: center;
    padding-top: 1.3rem;
    opacity: 0.8;
}

/* Responzivita */
@media (max-width: 768px) {
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom {
    text-align: center;
    padding-top: 0rem;
    opacity: 0.8;
}
    .nav-container {
    justify-content: flex-end;
  
    }
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: -100%;              /* NEW */
        left: 0;                 /* NEW */
        width: 100%;
        flex-direction: column;
        background-color: var(--primary-color);
        text-align: center;
        transition: top 0.35s ease; /* NEW */
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        top: 70px; /* NEW – vysunutie zhora */
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom {
    text-align: center;
    padding-top: 0rem;
    opacity: 0.8;
}
    .nav-container {
        padding: 23px;
    }
    
    .container {
        padding: 0 23px;
    }
    
    .hero {
        padding: 90px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-button, .download-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    section h2 {
        font-size: 1.75rem;
    }
}
