/* ================================================================= 
   ALAN DESIGN 2026: UNIFIKOVANÝ REDIZAJN (PREMIUM EDÍCIA)
================================================================= */

/* --- 1. GLOBÁLNE NASTAVENIA & ANIMÁCIE --- */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #334155;
    background-color: #ffffff;
    line-height: 1.7;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content, .services, .projects, .about {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.top-banner {
    border-bottom: 4px solid #9BC521;
}

/* --- 2. KARTY SLUŽIEB (3D EFEKT & HOVER) --- */
.service-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: 4px solid #cbd5e1; /* Pridaná 3D hĺbka */
    border-radius: 12px;
    padding: 30px 20px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 20px;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #9BC521;
    border-bottom: 4px solid #9BC521; /* Zelený akcent na hover */
}

/* --- 3. OBRÁZKY & GALÉRIA (ZOOM EFEKT) --- */
.img-responsive {
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.event-grid-sec {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-bottom: 4px solid #cbd5e1;
    transition: all 0.3s ease;
    overflow: hidden;
}

.event-grid-sec:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #9BC521;
    border-bottom: 4px solid #9BC521;
}

.event-grid_pic {
    overflow: hidden;
    border-radius: 8px;
}

.event-grid_pic img, .gallery-left img, .gallery-grid img {
    border-radius: 8px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.event-grid-sec:hover .event-grid_pic img {
    transform: scale(1.06); /* Prémiový zoom efekt */
}

/* --- 4. PÄTIČKA (FOOTER) --- */
.footer {
    background: #0f172a !important;
    color: #94a3b8;
    padding: 3em 0;
}

.footer h4 { color: #ffffff !important; letter-spacing: 0.5px; }
.footer p, .footer .social h3 { color: #cbd5e1 !important; }
.footer b h3 { color: #cbd5e1 !important; font-weight: normal; }

.copywrite {
    background: #020617;
    border-top: 1px solid #1e293b;
}
.copywrite p, .copywrite p a { color: #64748b !important; }

/* --- 5. KONTAKTNÝ FORMULÁR --- */
.statika-form-wrapper {
	max-width: 850px;
	margin: 30px auto;
	background: #ffffff;
	padding: 40px;
	border-radius: 14px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
	font-family: 'Open Sans', Arial, sans-serif;
}

.statika-form fieldset {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 30px;
	background: #f8fafc;
}

.statika-form legend, 
.statika-form h2 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 20px;
}

.statika-form ul { list-style: none; padding: 0; margin: 0; }
.statika-form li { margin-bottom: 20px; }

.statika-form h3, 
.statika-form label {
	font-size: 0.95rem;
	font-weight: 600;
	color: #334155;
	display: block;
	margin-bottom: 8px;
}

.statika-form input[type="text"],
.statika-form input[type="email"],
.statika-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1rem;
	background: #ffffff;
	color: #0f172a;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.statika-form input[type="text"]:focus,
.statika-form input[type="email"]:focus,
.statika-form textarea:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
	outline: none;
}

.statika-form input[type="checkbox"],
.statika-form input[type="radio"] {
	margin-right: 10px;
	transform: scale(1.15);
	accent-color: #3b82f6;
}

.statika-form textarea {
	resize: vertical;
	min-height: 120px;
}

.statika-form .captcha-box {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	padding: 20px;
	margin-top: 20px;
	text-align: center;
}

.statika-form .btn-submit {
	background: #2563eb;
	color: #ffffff;
	border: none;
	padding: 14px 35px;
	font-size: 1.1rem;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 6px 15px rgba(37, 99, 235, 0.25);
	display: inline-block;
	margin-top: 15px;
}

.statika-form .btn-submit:hover {
	background: #1d4ed8;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

/* --- 6. HLAVIČKA A MENU (ZVÄČŠENÉ PÍSMO) --- */
.top-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 999;
}

.top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    position: relative;
    max-width: 1200px; /* Širší kontajner pre veľké menu */
    margin: 0 auto;
    padding: 15px;
}

.top-header .logo {
    position: static;
    float: none;
    margin: 0;
}

.logo a {
    background: #9BC521;
    padding: 0.6em 1.2em;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 6px 15px rgba(155, 197, 33, 0.3);
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 197, 33, 0.4);
}

.logo h1 a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-decoration: none;
}

/* Desktopové menu */
.top-header .top-menu {
    float: none;
    width: auto;
    display: block;
}

.top-menu ul.nav1 {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-menu ul.nav1 li {
    display: inline-block;
    float: none;
    background: transparent;
}

.top-menu ul.nav1 li a {
    color: #0f172a; 
    display: block;
    padding: 0.8em 1.4em;
    font-size: 1.25rem; /* Ešte väčšie písmo (cca 20px) */
    font-weight: 700; /* Hrubšie a výraznejšie */
    letter-spacing: 0.3px; /* Jemný rozostup */
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.top-menu ul.nav1 li.active a, 
.top-menu ul.nav1 li a:hover {
    background: #9BC521;
    color: #ffffff; 
    box-shadow: 0 4px 12px rgba(155, 197, 33, 0.25);
    transform: translateY(-2px);
}

span.menu {
    display: none;
}

/* --- 7. MOBILNÉ MENU --- */
@media (max-width: 1050px) {
    .top-menu ul.nav1 li a {
        font-size: 1.1rem; /* Mierne zmenšenie na stredných obrazovkách */
        padding: 0.7em 1em;
    }
}

@media (max-width: 991px) {
    .top-header .container {
        flex-wrap: wrap;
    }
    
    .top-menu {
        width: 100%;
    }
    
    span.menu {
        display: block;
        text-align: right;
        padding: 12px 18px;
        cursor: pointer;
        background: #0f172a;
        border-radius: 10px;
        margin: 10px 0;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        transition: transform 0.2s ease;
    }

    span.menu:active {
        transform: scale(0.95);
    }
    
    span.menu img {
        height: 24px;
        filter: invert(1);
    }
    
    .top-menu ul.nav1 {
        display: none; 
        flex-direction: column;
        width: 100%;
        background: #0f172a;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        margin-top: 8px;
        border: 1px solid #1e293b;
    }
    
    .top-menu ul.nav1 li {
        width: 100%;
        text-align: left;
        display: block;
    }
    
    .top-menu ul.nav1 li a {
        color: #ffffff;
        padding: 16px 20px;
        font-size: 1.15rem;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .top-menu ul.nav1 li.active a, 
    .top-menu ul.nav1 li a:hover {
        background: #9BC521;
        color: #ffffff;
    }
}