@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Playfair+Display:ital@1&display=swap');

:root {
  
    --clr-primary: #0069B2; 
    --clr-secondary: #61A830; 
    
    --clr-dark: #0F172A;
    --clr-footer: #0A192F; 
    --clr-text: #475569;
    --clr-light: #F8FAFC;
    --clr-bg: #FCFCFA; 
    --clr-gray: #F1F5F9;

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --shadow-soft: 0 10px 40px rgba(0, 105, 178, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 105, 178, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--clr-light); }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-primary); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 100px; overflow-wrap: break-word; word-wrap: break-word; }
::selection { background-color: var(--clr-secondary); color: white; }
::-moz-selection { background-color: var(--clr-secondary); color: white; }

body { font-family: var(--font-sans); color: var(--clr-dark); background: var(--clr-light); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; animation: fadeIn 0.8s ease-in forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; -moz-hyphens: auto; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); color: white; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

.serif { font-family: var(--font-serif); font-style: italic; color: var(--clr-secondary); font-weight: 600; }
.lead { font-size: 1.15rem; font-weight: 500; margin-bottom: 1.2rem; color: var(--clr-dark); line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.narrow { max-width: 800px; }
.section-padding { padding: 80px 5%; }
.bg-soft { background: var(--clr-gray); }
.bg-dark { background: var(--clr-dark); color: white; }
.mt-large { margin-top: 3rem; }
.mt-sm { margin-top: 1rem; }

.relative-section { position: relative; z-index: 10; background-color: var(--clr-light); }
.bg-soft.relative-section { background-color: var(--clr-gray); }
.bg-dark.relative-section { background-color: var(--clr-dark); }


.btn-primary { display: inline-flex; justify-content: center; align-items: center; padding: 12px 28px; border-radius: 50px; background: var(--clr-secondary); color: white; text-decoration: none; font-weight: 600; transition: var(--transition); box-shadow: 0 4px 15px rgba(97, 168, 48, 0.3); border: none; cursor: pointer; }
.btn-outline { display: inline-flex; justify-content: center; align-items: center; padding: 12px 28px; border-radius: 50px; background: transparent; color: var(--clr-dark); border: 2px solid var(--clr-dark); text-decoration: none; font-weight: 600; transition: var(--transition); }

.btn-outline:hover { background: var(--clr-dark); color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-primary:hover { transform: translateY(-3px); background: #4e8a24; box-shadow: 0 8px 25px rgba(97, 168, 48, 0.5); }

a.btn-subtle, a.btn-subtle:visited { 
    display: inline-flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    padding: 10px 24px !important; 
    border-radius: 50px !important; 
    background: rgba(255, 255, 255, 0.15) !important; 
    backdrop-filter: blur(12px) !important; 
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important; 
    color: #ffffff !important; 
    text-decoration: none !important; 
    font-weight: 600 !important; 
    transition: all 0.4s ease !important; 
}


.site-header.scrolled a.btn-subtle, .site-header.scrolled a.btn-subtle:visited { 
    background: var(--clr-secondary) !important; 
    color: #ffffff !important; 
    border: 1px solid var(--clr-secondary) !important; 
    box-shadow: 0 4px 15px rgba(97, 168, 48, 0.3) !important; 
}


a.btn-subtle:hover, .site-header.scrolled a.btn-subtle:hover { 
    transform: translateY(-3px) !important; 
    background: #4e8a24 !important; 
    border-color: #4e8a24 !important; 
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(97, 168, 48, 0.5) !important;
}

.btn-small { padding: 8px 20px; font-size: 0.9rem; }
.btn-small i { margin-right: 8px; }
.btn-full { width: 100%; margin-top: 15px; }


.btn-tab-active { display: inline-flex; justify-content: center; align-items: center; padding: 12px 28px; border-radius: 50px; background: var(--clr-primary); color: white; text-decoration: none; font-weight: 600; transition: var(--transition); box-shadow: 0 4px 15px rgba(0, 105, 178, 0.3); border: 2px solid var(--clr-primary); cursor: pointer; min-width: 200px; }
.btn-tab-active:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 105, 178, 0.5); background: #005a9c; border-color: #005a9c; color: white; }

.btn-tab-inactive { display: inline-flex; justify-content: center; align-items: center; padding: 12px 28px; border-radius: 50px; background: transparent; color: var(--clr-primary); border: 2px solid var(--clr-primary); text-decoration: none; font-weight: 600; transition: var(--transition); cursor: pointer; min-width: 200px; }
.btn-tab-inactive:hover { background: var(--clr-primary); color: white; transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0, 105, 178, 0.3); }


.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 99999; padding: 20px 5%; transition: all 0.4s ease; }
.site-header.scrolled { background: rgba(252, 252, 250, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 12px 5%; border-bottom: 1px solid rgba(0,0,0,0.06); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.logo { display: flex; align-items: center; }
.nav-logo-img { height: 45px; width: auto; object-fit: contain; transition: var(--transition); }
.site-header:not(.scrolled) .nav-logo-img { filter: brightness(0) invert(1); }

.desktop-nav { display: flex; gap: 30px; align-items: center; }
.nav-link { position: relative; color: white; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: var(--transition); padding: 5px 0; }
.site-header.scrolled .nav-link { color: var(--clr-text); }
.site-header.scrolled .nav-link:hover { color: var(--clr-primary); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--clr-secondary); transition: var(--transition); transform: translateX(-50%); }
.site-header.scrolled .nav-link::after { background: var(--clr-secondary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.site-header.scrolled .nav-link.active { color: var(--clr-secondary); }

.menu-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; z-index: 100001; cursor: pointer; padding: 5px; }
.menu-toggle span { display: block; width: 30px; height: 2px; background: white; transition: 0.4s; border-radius: 2px; }
.site-header.scrolled .menu-toggle span { background: var(--clr-dark); }
.menu-toggle.active span { background: var(--clr-dark); }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { transform: translateY(-8px) rotate(-45deg); }


.mobile-menu { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background-color: var(--clr-footer) !important; 
    z-index: 99998 !important; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden; 
    transition: 0.4s ease;
}
.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.mobile-menu nav { 
    display: flex;
    flex-direction: column;
    gap: 25px;
    background-color: transparent !important; 
    text-align: center;
}
.mobile-menu a.nav-link { 
    color: #F8FAFC !important; 
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 600;
}
.mobile-menu a.nav-link:hover, .mobile-menu a.nav-link.active { 
    color: var(--clr-secondary) !important; 
}

.subpage-hero { 
    background-color: var(--clr-footer); 
    background-image: linear-gradient(rgba(10, 25, 47, 0.65), rgba(10, 25, 47, 0.85)), url('fotky/BlurBG.png'); 
    background-size: cover; 
    background-position: center; 
    padding: 160px 5% 80px; 
    text-align: center; 
    color: white; 
    position: relative; 
    z-index: 10; 
}
.subpage-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.subpage-hero p { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto; font-weight: 400; line-height: 1.6; }

.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; z-index: 1; overflow: hidden; }
.hero-parallax-wrapper { position: absolute; inset: -50px; z-index: 1; }
.hero-bg { width: 100%; height: 100%; background-size: cover; background-position: 60% center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,25,47,0.3), rgba(10,25,47,0.85)); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; width: 100%; margin-top: -340px; }
.badge { display: inline-block; padding: 6px 18px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: white; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-weight: 700; font-family: var(--font-heading); }

.scroll-indicator { position: absolute; bottom: 160px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; opacity: 0.7; transition: var(--transition); }
.scroll-indicator:hover { opacity: 1; }
.scroll-indicator span { color: white; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.mouse { width: 24px; height: 36px; border: 2px solid white; border-radius: 20px; display: flex; justify-content: center; padding-top: 6px; }
.wheel { width: 4px; height: 6px; background: white; border-radius: 2px; animation: scrollWheel 2s infinite; }
@keyframes scrollWheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

.floating-events { position: absolute; bottom: 30px; left: 5%; right: 5%; z-index: 4; display: flex; gap: 20px; max-width: 1200px; margin: 0 auto; }
.f-card { flex: 1; background: rgba(255,255,255,0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-radius: 16px; padding: 20px; display: flex; gap: 20px; align-items: center; text-decoration: none; color: var(--clr-dark); box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,0.6); transition: var(--transition); }
.f-card:hover { transform: translateY(-5px); background: white; box-shadow: var(--shadow-hover); border-color: var(--clr-secondary); }
.f-date { text-align: center; font-weight: 800; color: var(--clr-secondary); font-family: var(--font-heading); min-width: 60px; }
.f-date span { display: block; font-size: 2rem; color: var(--clr-primary); line-height: 1; margin-bottom: 2px; }
.f-info h4 { font-size: 1.1rem; margin-bottom: 4px; }
.f-info p { font-size: 0.9rem; color: var(--clr-text); }

.split-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; max-width: 1400px; margin: 0 auto; }
.sticky-title { position: relative; margin-bottom: 30px; }
.editorial-img { width: 100%; border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-soft); }

@keyframes wave { 0% { transform: rotate(0deg); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } 60%, 100% { transform: rotate(0deg); } }
.wave-emoji { display: inline-block; animation: wave 2.5s infinite; transform-origin: 70% 70%; margin-left: 8px;}

.doma-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.doma-card { padding: 40px; border-radius: 16px; border: 1px solid #E2E8F0; box-shadow: 0 10px 30px rgba(0,0,0,0.03); background: white; transition: var(--transition); }
.doma-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--clr-primary); }
.doma-letter { font-size: 3.5rem; color: var(--clr-primary); margin: 0 0 10px 0; line-height: 1; font-family: var(--font-heading); font-weight: 800;}
.doma-title { color: var(--clr-secondary); font-size: 1.4rem; margin-bottom: 15px; }
.doma-desc { font-weight: 600; margin-bottom: 15px; color: var(--clr-dark); }
.doma-list { color: var(--clr-text); font-size: 0.95rem; padding-left: 20px; line-height: 1.6; }
.doma-list li { margin-bottom: 5px; }

.action-grid-new { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.action-card { padding: 40px; border-radius: 16px; text-align: center; transition: var(--transition); border: 1px solid transparent; }
.action-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.team-grid, .candidate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; margin-top: 40px; }
.team-card, .candidate-card { cursor: pointer; background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.03); transition: var(--transition); display: flex; flex-direction: column; }
.team-card:hover, .candidate-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(0, 105, 178, 0.3); }


.card-img-wrapper { 
    width: 100%; 
    height: 300px; 
    overflow: hidden; 
    background: #F8FAFC; 
    border-radius: 12px; 
    margin-bottom: 12px;
    position: relative;
}
.card-img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    object-position: center top; 
    transition: transform 0.5s ease; 
}
.team-card:hover .card-img-wrapper img, .candidate-card:hover .card-img-wrapper img { transform: scale(1.03); }
.card-info { padding: 10px 5px; text-align: left; overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; -moz-hyphens: auto;}


.team-panel { position: fixed; inset: 0; z-index: 100000; pointer-events: none; }
.panel-overlay { position: absolute; inset: 0; background: rgba(10, 25, 47, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: 0.4s ease; }
.panel-content { position: absolute; top: 0; right: 0; width: 100%; max-width: 480px; height: 100%; background: var(--clr-light); box-shadow: -10px 0 40px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: auto; padding: 0 !important; }
.panel-inner { padding: 60px 40px; height: 100%; overflow-y: auto; overflow-wrap: break-word; word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto;}


.team-panel.active { pointer-events: auto; }
.team-panel.active .panel-overlay { opacity: 1; }
.team-panel.active .panel-content { transform: translateX(0); }

.close-panel { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: #E63946; color: #FFFFFF; border: 3px solid #FFFFFF; box-shadow: 0 6px 20px rgba(0,0,0,0.25); cursor: pointer; transition: var(--transition); z-index: 10; }
.close-panel:hover { background: #D62828; transform: scale(1.1) rotate(90deg); box-shadow: 0 8px 25px rgba(0,0,0,0.35); }

.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; margin-bottom: 40px; }
.event-card-pro { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid #E2E8F0; transition: var(--transition); display: flex; flex-direction: column; overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; -moz-hyphens: auto;}
.event-card-pro:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--clr-primary); }
.ec-img { position: relative; height: 220px; background-size: cover; background-position: center; }
.ec-date-badge { position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.95); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); padding: 8px 15px; border-radius: 12px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.ec-date-badge span { display: block; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--clr-dark); line-height: 1; }
.ec-date-badge small { font-size: 0.75rem; font-weight: 700; color: var(--clr-secondary); text-transform: uppercase; }
.ec-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; overflow-wrap: break-word; word-wrap: break-word;}
.ec-body h4 { font-size: 1.25rem; margin-bottom: 15px; color: var(--clr-dark); line-height: 1.3; }
.ec-meta { list-style: none; margin-bottom: 15px; overflow-wrap: break-word; word-wrap: break-word;}
.ec-meta li { font-size: 0.9rem; color: var(--clr-text); margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.ec-meta i { color: var(--clr-secondary); margin-top: 3px; }
.event-toggle-btn { background: #F1F5F9; border: none; width: 100%; padding: 12px; border-radius: 8px; font-family: var(--font-sans); font-weight: 600; color: var(--clr-dark); cursor: pointer; transition: var(--transition); display: flex; justify-content: space-between; align-items: center; }
.event-toggle-btn:hover { background: #E2E8F0; color: var(--clr-primary); }
.event-toggle-btn i { transition: transform 0.3s ease; }
.event-details-hidden { max-height: 0; overflow: hidden; transition: max-height 0.8s ease-in-out; }
.event-details-hidden.expanded { max-height: 5000px; }
.event-details-inner { padding-top: 20px; }

.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.archive-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--transition); border: 1px solid #E2E8F0; display: flex; flex-direction: column; overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; -moz-hyphens: auto;}
.archive-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--clr-primary); }
.archive-img { height: 220px; background-size: cover; background-position: center; }
.archive-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }

.program-text { color: var(--clr-text); line-height: 1.7; margin: 0; position: relative; display: flex; flex-direction: column; flex-grow: 1; }
.text-content { max-height: 150px; overflow: hidden; position: relative; transition: max-height 0.8s ease-in-out; }
.text-content.expanded { max-height: 5000px; }
.text-fade { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; background: linear-gradient(transparent, white); }
.read-more-btn { background: none; border: none; color: var(--clr-primary); font-weight: 600; cursor: pointer; padding: 15px 0 0; font-family: inherit; font-size: 0.95rem; display: flex; align-items: center; gap: 5px; margin-top: auto; }

.action-card-clean { padding: 40px; border-radius: 16px; text-align: center; transition: var(--transition); border: 1px solid #E2E8F0; display: flex; flex-direction: column; align-items: center; }
.action-card-clean:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--clr-primary); }
.icon-circle { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 20px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; max-width: 1100px; margin: 0 auto; align-items: center; }
.c-quote { background: var(--clr-footer); color: white; padding: 35px; border-radius: 20px; font-style: italic; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.6; border-left: 6px solid var(--clr-secondary); box-shadow: 0 10px 30px rgba(10, 25, 47, 0.1); position: relative; }
.c-quote::before { content: '„'; position: absolute; top: -25px; left: 20px; font-size: 5.5rem; color: var(--clr-secondary); opacity: 0.3; font-family: var(--font-serif); line-height: 1; }
.contact-form-wrapper { background: white; padding: 45px; border-radius: 24px; box-shadow: var(--shadow-soft); border: 1px solid #E2E8F0; transition: var(--transition); }
.contact-form-wrapper:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--clr-dark); margin-bottom: 8px; }
.select-wrapper { position: relative; }
.select-wrapper select { appearance: none; cursor: pointer; }
.select-icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--clr-text); pointer-events: none; }

.site-footer { background-color: var(--clr-footer); color: #CBD5E1; padding: 70px 0 30px; border-top: 5px solid var(--clr-secondary); }
.footer-grid-new { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; align-items: flex-start; }
.footer-logo { font-size: 1.8rem; font-weight: 800; color: white !important; text-decoration: none; letter-spacing: -1px; }
.footer-logo span { color: var(--clr-primary) !important; }
.footer-brand-new p { color: #94A3B8; margin-top: 15px; font-size: 0.95rem; line-height: 1.7; max-width: 400px; }
.footer-links-new h4, .footer-contact-new h4 { color: white; font-size: 1.1rem; margin-bottom: 20px; }
.footer-links-new nav a { color: #94A3B8; text-decoration: none; display: block; margin-bottom: 12px; transition: var(--transition); }
.footer-links-new nav a:hover { color: var(--clr-secondary); padding-left: 5px; }
.social-links-new a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); color: white; border-radius: 50%; margin-right: 10px; transition: var(--transition); }
.social-links-new a:hover { background: var(--clr-secondary); transform: translateY(-3px); }
.footer-bottom-new { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 50px; padding-top: 25px; display: flex; justify-content: space-between; font-size: 0.9rem; color: #64748B; }
    .creator { font-weight: 500; }
    .creator i { color: var(--clr-secondary); margin: 0 4px; animation: heartbeat 2s infinite; }

@keyframes heartbeat { 0% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } 60% { transform: scale(1); } 100% { transform: scale(1); } }

#scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: var(--clr-secondary); z-index: 1000000; transition: width 0.1s ease-out; }
.premium-input { width: 100%; padding: 16px 20px; border: 1px solid #CBD5E1; border-radius: 12px; font-family: var(--font-sans); font-size: 1rem; color: var(--clr-dark); background: white; transition: var(--transition); }
.premium-input:hover { border-color: #94A3B8; }
.premium-input:focus { outline: none; border-color: var(--clr-primary); box-shadow: 0 0 0 4px rgba(0, 105, 178, 0.15); background: #FFFFFF; }
textarea.premium-input { resize: vertical; min-height: 120px; }

#back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--clr-footer); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border: none; cursor: pointer; opacity: 0; pointer-events: none; transition: var(--transition); z-index: 9999; box-shadow: 0 4px 15px rgba(0,0,0,0.2); border: 2px solid rgba(255,255,255,0.1); }
#back-to-top.show { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--clr-primary); transform: translateY(-5px); border-color: var(--clr-primary); }

.form-group.has-error .premium-input { border-color: #E63946; background-color: #FFF9F9; }
.form-group.has-error .status-icon { color: #E63946; opacity: 1; }
.form-group.has-error .status-icon::before { content: "\f00d"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.form-group.has-error .error-text { max-height: 40px; opacity: 1; margin-top: 6px; }
.form-group.has-success .premium-input { border-color: #10B981; }
.form-group.has-success .status-icon { color: #10B981; opacity: 1; }
.form-group.has-success .status-icon::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.shake { animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both; }

@media (max-width: 900px) { 
    .desktop-nav { display: none; } 
    .menu-toggle { display: flex; } 
    .hero { flex-direction: column; justify-content: center; height: auto; min-height: 100vh; padding-top: 100px; padding-bottom: 40px; }
    .hero-content { margin-top: 0; }
    .floating-events { position: relative; bottom: auto; margin-top: 40px; flex-direction: column; width: 100%; padding: 0 5%; gap: 15px; }
    .scroll-indicator { display: none; } 
    .split-layout, .program-grid { grid-template-columns: 1fr; gap: 40px; }
    .action-grid, .action-grid-new { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 50px; } 
    .contact-form-wrapper { padding: 30px 20px; }
    .footer-grid-new { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-brand-new p { margin: 0 auto; }
    .footer-links-new nav { align-items: center; }
    .social-links-new { justify-content: center; }
    .footer-bottom-new { flex-direction: column; text-align: center; gap: 15px; }
}

@media (max-width: 768px) { 
    .section-padding { padding: 50px 5%; }
    .subpage-hero { padding: 120px 5% 50px; }
    .mt-large { margin-top: 2rem; }
    .f-card { padding: 15px; }
    .doma-grid { grid-template-columns: 1fr; } 
}


.hero-overlay { 
    background: linear-gradient(to bottom, rgba(10,25,47,0.05), rgba(10,25,47,0.35)) !important; 
}


.subpage-hero { 
    background-image: linear-gradient(rgba(10, 25, 47, 0.15), rgba(10, 25, 47, 0.3)), url('fotky/HlavniPozadi.jpg') !important; 
}

.hero-content h1, .subpage-hero h1 {
    text-shadow: 0 4px 20px rgba(0,0,0,0.8) !important;
}

.subpage-hero p, .hero-content .badge {
    text-shadow: 0 2px 10px rgba(0,0,0,0.7) !important;
    box-shadow: none !important; 
}