/* ================================================================= 
   ALAN DESIGN 2026: UNIFIKOVANÝ KOMPLETNÝ REDIZAJN
================================================================= */

/* --- 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.8;
    font-size: 1.125rem !important;
}

@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;
    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;
}

.service-box p, 
.about-bottom-left p, 
.about-top p {
    font-size: 1.05rem !important;
}

.service-box h5 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

/* --- 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);
}

/* --- 4. ??? STYLY PRE SLIDER (ZABUDOVANÉ PRIAMO SEM) --- */
.rslides { 
    position: relative; 
    list-style: none; 
    overflow: hidden; 
    width: 100%; 
    padding: 0; 
    margin: 0; 
    border-radius: 0 0 16px 16px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}
.rslides li { 
    -webkit-backface-visibility: hidden; 
    position: absolute; 
    display: none; 
    width: 100%; 
    left: 0; 
    top: 0; 
}
.rslides li:first-child { 
    position: relative; 
    display: block; 
    float: left; 
}
.rslides img { 
    display: block; 
    height: auto; 
    float: left; 
    width: 100%; 
    border: 0; 
}
.rslides_tabs { 
    text-align: center; 
    margin-top: 20px; 
    padding: 0; 
    margin-bottom: 40px; 
}
.rslides_tabs li { 
    display: inline; 
    margin: 0 6px; 
}
.rslides_tabs a { 
    display: inline-block; 
    width: 14px; 
    height: 14px; 
    background: #cbd5e1; 
    text-indent: -9999px; 
    border-radius: 50%; 
    transition: all 0.3s; 
}
.rslides_tabs .here a { 
    background: #9BC521; 
    transform: scale(1.2); 
}

/* --- 5. 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; }

/* --- 6. HLAVIČKA A DESKTOP MENU --- */
.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;
    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;
}

.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 !important;
    display: block;
    padding: 0.8em 1.4em;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    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 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(155, 197, 33, 0.25);
    transform: translateY(-2px);
}

span.menu {
    display: none;
}

/* --- 7. MOBILNÉ MENU & FIXY --- */
@media (max-width: 1050px) {
    .top-menu ul.nav1 li a {
        font-size: 1.1rem;
        padding: 0.7em 1em;
    }
}

@media (max-width: 991px) {
    .top-header .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 15px !important;
        max-width: 100% !important;
    }
    
    .top-menu {
        width: 100%;
    }
    
    .top-header .logo {
        position: static !important;
        float: none !important;
        margin: 0 !important;
    }

    .logo a {
        background: #9BC521 !important;
        padding: 0.4em 0.8em !important;
        border-radius: 8px !important;
        display: inline-block !important;
        width: auto !important;
        box-shadow: 0 3px 8px rgba(155, 197, 33, 0.25);
    }

    .logo h1 a {
        font-size: 1.1rem !important;
    }

    /* Zelený hamburger button vpravo */
    span.menu {
        display: block !important;
        width: 45px !important;
        height: 40px !important;
        background: #9BC521 !important;
        border-radius: 8px !important;
        padding: 8px !important;
        margin: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
        box-shadow: 0 3px 8px rgba(155, 197, 33, 0.3);
        cursor: pointer !important;
    }

    span.menu img {
        height: 20px !important;
        width: 20px !important;
        filter: brightness(0) invert(1);
        display: inline-block !important;
        margin-top: 2px;
    }
    
    .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 !important;
        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 !important;
        color: #ffffff !important;
    }
}

/* --- 8. DIZAJN KONTAKTNÉHO FORMULÁRA --- */
.statika-form-wrapper {
	max-width: 850px;
	margin: 40px auto;
	background: #ffffff;
	padding: 40px;
	border-radius: 16px;
	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.35rem;
	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: 1.05rem;
	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: 14px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1.05rem;
	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: #9BC521;
	box-shadow: 0 0 0 4px rgba(155, 197, 33, 0.15);
	outline: none;
}

.statika-form input[type="checkbox"],
.statika-form input[type="radio"] {
	margin-right: 10px;
	transform: scale(1.15);
	accent-color: #9BC521;
}

.statika-form textarea {
	resize: vertical;
	min-height: 140px;
}

.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: #9BC521;
	color: #ffffff;
	border: none;
	padding: 14px 40px;
	font-size: 1.15rem;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 6px 15px rgba(155, 197, 33, 0.25);
	display: inline-block;
	margin-top: 15px;
}

.statika-form .btn-submit:hover {
	background: #8ab31b;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(155, 197, 33, 0.35);
}

.contact-bottom p, 
.statika-form-wrapper label, 
.statika-form-wrapper input, 
.statika-form-wrapper textarea {
    font-size: 1.05rem !important;
}