/*
Theme Name: FK Kolárovo
Theme URI: https://fkkolarovo.sk
Author: FK Kolárovo
Description: Oficiálna téma pre FK Kolárovo
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.4
Text Domain: fk-kolarovo
*/

:root {
    --fk-primary: #1e3a5f;
    --fk-secondary: #22c55e;
    --fk-background: #f8fafc;
    --fk-foreground: #1f2937;
    --fk-muted: #6b7280;
    --fk-border: #e5e7eb;
    --fk-card: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--fk-background);
    color: var(--fk-foreground);
    line-height: 1.6;
}

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

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--fk-card); border-bottom: 1px solid var(--fk-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--fk-foreground); }
.site-logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.site-logo span { font-weight: 700; }

.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { color: var(--fk-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--fk-primary); }

.lang-switcher { display: flex; background: var(--fk-background); border-radius: 0.5rem; padding: 2px; }
.lang-switcher a { padding: 0.375rem 0.75rem; font-size: 0.875rem; font-weight: 500; text-decoration: none; color: var(--fk-muted); border-radius: 0.375rem; }
.lang-switcher a.active { background: var(--fk-card); color: var(--fk-foreground); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 64px; position: relative; background: linear-gradient(to right, rgba(30,58,95,0.9), rgba(30,58,95,0.5)), url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1920&q=80') center/cover; }
.hero-content { max-width: 600px; color: white; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.875rem; margin-bottom: 1.5rem; }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--fk-secondary); border-radius: 50%; }
.hero h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 span { color: var(--fk-secondary); }
.hero p { font-size: 1.125rem; opacity: 0.8; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary { background: var(--fk-secondary); color: white; }
.btn-primary:hover { background: #16a34a; }
.btn-outline { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.2); }

/* Sections */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-subtitle { color: var(--fk-muted); }

/* Cards Grid */
.cards-grid { display: grid; gap: 1rem; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 768px) { .cards-grid-2, .cards-grid-3, .cards-grid-5 { grid-template-columns: 1fr; } }

.card { background: var(--fk-card); border: 1px solid var(--fk-border); border-radius: 0.75rem; padding: 1.5rem; transition: all 0.2s; }
.card:hover { border-color: var(--fk-secondary); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

/* Youth Cards */
.youth-card { text-align: center; }
.youth-card .icon { width: 48px; height: 48px; margin: 0 auto 1rem; background: rgba(34,197,94,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--fk-secondary); }
.youth-card h3 { font-size: 1.5rem; color: var(--fk-secondary); margin-bottom: 0.25rem; }
.youth-card p { font-size: 0.875rem; color: var(--fk-muted); }

/* Team Tabs */
.team-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.team-tab { padding: 0.5rem 1rem; background: var(--fk-background); border: 1px solid var(--fk-border); border-radius: 0.5rem; text-decoration: none; color: var(--fk-muted); font-size: 0.875rem; font-weight: 500; transition: all 0.2s; }
.team-tab:hover, .team-tab.active { background: var(--fk-primary); color: white; border-color: var(--fk-primary); }

/* Footer */
.site-footer { background: var(--fk-primary); color: white; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.875rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 1rem; padding: 1rem; background: var(--fk-card); border: 1px solid var(--fk-border); border-radius: 0.5rem; }
.contact-icon { width: 48px; height: 48px; background: rgba(30,58,95,0.1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; color: var(--fk-primary); flex-shrink: 0; }
.contact-label { font-size: 0.875rem; color: var(--fk-muted); }
.contact-value { font-weight: 500; }
.contact-map { border-radius: 0.5rem; overflow: hidden; height: 350px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* Page Header */
.page-header { background: var(--fk-primary); color: white; padding: 6rem 0 2rem; margin-top: 64px; }
.page-header h1 { font-size: 2.5rem; }

/* News Cards */
.news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-card-image { height: 180px; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-content { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 0.75rem; color: var(--fk-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.news-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--fk-foreground); }
.news-card p { font-size: 0.875rem; color: var(--fk-muted); flex: 1; margin-bottom: 1rem; }
.news-link { font-size: 0.875rem; font-weight: 600; color: var(--fk-secondary); text-decoration: none; }
.news-link:hover { text-decoration: underline; }
.no-news { text-align: center; color: var(--fk-muted); padding: 2rem; }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: block; }
}
