@charset "UTF-8";
/*
===============================================
  LAYOUT - NAVIGACE, FOOTER, STRUKTURA
===============================================

Styly pro hlavní layout komponenty webu.
*/

/*
===============================================
  NAVIGAČNÍ LIŠTA
===============================================

Sticky navigace s dropdown menu a responzivním hamburger menu.

STRUKTURA:
- .header - hlavní kontejner (sticky pozice)
- .nav-links - flex kontejner pro odkazy
- .dropdown - rozbalovací menu s hover efekty
- .nav-cta - speciální CTA tlačítko v navigaci
- .nav-toggle - hamburger menu pro mobily

DŮLEŽITÉ:
- Navigace má transparentní pozadí s backdrop-blur
- CTA tlačítko má vlastní styl nezávislý na ostatních tlačítkách
- Dropdown se objevuje jen na hover (desktop) nebo je vždy viditelné (mobil)
*/

.header {
    background-color: var(--white-transparent-90);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-base);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-association-link {
    display: flex;
    align-items: center;
    padding-left: 14px;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.logo-association-link img {
    height: 32px;
    width: auto;
    border-radius: var(--border-radius-sm);
    display: block;
}

@media (max-width: 576px) {
    .logo-association-link {
        display: none;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
    position: relative;
}

.nav-links a:not(.nav-cta) {
    text-decoration: none;
    color: black;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 10px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--primary-color);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 80%;
}

/* Dropdown menu styly */
.dropdown {
    position: relative;
}

.dropdown > a i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    margin: 0;
    padding: 10px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 6px;
}

.dropdown-menu a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 8px 8px;
}

/*
===============================================
  HAMBURGER MENU PRO MOBILY
===============================================
*/

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: background 0.2s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: transform 0.2s ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Styl pro otevřené menu (křížek) */
.header.nav-open .hamburger {
    background: transparent;
}

.header.nav-open .hamburger::before {
    transform: rotate(45deg);
}

.header.nav-open .hamburger::after {
    transform: rotate(-45deg);
}

/*
===============================================
  FOOTER
===============================================
*/

.footer {
    background-color: var(--footer-background);
    color: var(--secondary-color);
    padding: 50px 0 25px;
}

/* --- 4-sloupcový grid: Klub / Kontakt / Odkazy / Asociace --- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin: 0 0 18px;
}

.footer-club-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px;
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0 0 18px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 12px;
    line-height: 1.5;
}

.footer-contact-item i {
    width: 16px;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact-item a:hover {
    color: white;
    text-decoration: underline;
}

/* --- Sociální sítě --- */
.footer-social {
    display: flex;
    gap: 14px;
    margin: 0;
}

.footer-social a {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.15rem;
    transition: var(--transition-base);
    text-decoration: none;
    box-shadow: var(--shadow-base);
}

.footer-social a:hover {
    background: var(--primary-hover-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover-md);
}

/* --- Asociace --- */
.footer-association {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-association img {
    height: 50px;
    width: auto;
    border-radius: var(--border-radius-sm);
    background: white;
    padding: 4px;
}

.footer-association p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-association p a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-association p a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Spodní pruh: copyright --- */
.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-color-subtle);
}

