/**
 * eLfilms.cz - Styly pro stránku Slavné ženy
 *
 * @package    eLfilms
 * @subpackage Frontend
 * @file       css/slavne-zeny.css
 * @version    4.1 - SEO Enhanced Edition
 * @datum      Březen 2026
 * @author     eLfilms Team
 * @copyright  2009-2026 eLfilms.cz
 *
 * Styly pro stránku Slavné ženy (slavne-zeny.php).
 *
 * STYLUJE:
 * - Skip to content (accessibility)
 * - Hero sekce
 * - Filtry a vyhledávání
 * - Grid karet žen (3 sloupce desktop)
 * - Karta ženy (foto, jméno, profese, meta, sociální ikony)
 * - Fade-in animace karet
 * - Bio modální okno
 * - Stránkování
 * - Animované podtržení
 *
 * POUŽÍVÁ:
 * - slavne-zeny.php (parent stránka)
 *
 * DESIGN:
 * - Barvy: tmavě modrá (#0d1b2a, #0b334f–#1a4f72), zlatá (#EEB500)
 * - Max šířka obsahu: 1200px
 *
 * NOTE:
 * - Responsive styly jsou v slavne-zeny-responsive.css
 * - .skip-to-content nahrazuje inline style na skip odkazu v PHP
 */

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

/* ============================================
   BODY
   ============================================ */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b334f;
    color: white;
    min-height: 100vh;
    line-height: 1.6;
}

/* ============================================
   LINKS
   ============================================ */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============================================
   IMAGES
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   ACCESSIBILITY - SKIP TO CONTENT
   ============================================ */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    background: #EEB500;
    color: #0b334f;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.skip-to-content:focus {
    left: 10px;
    top: 10px;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   ANIMOVANÉ PODTRŽENÍ
   ============================================ */
.underline-animated {
    position: relative;
    color: #EEB500;
    display: inline-block;
}

.underline-animated::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q 30 2, 60 8 T 120 8' stroke='%23e74c3c' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    transform: scaleX(0);
    transform-origin: left;
    animation: drawUnderline 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes drawUnderline {
    0%   { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* ============================================
   HERO SEKCE
   ============================================ */
.hero-section {
    height: 400px;
    padding: 140px 20px 60px;
    box-sizing: border-box;
    background: linear-gradient(
        180deg,
        rgba(11, 51, 79, 0.50) 0%,
        rgba(10, 45, 69, 0.60) 100%
    ),
    url('../images/pozadi2.jpg') center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.hero-rainbow {
    width: 120px;
    height: auto;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
}

.hero-subtitle .symbol {
    font-size: 28px;
    margin-left: 5px;
}

.hero-note {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    margin-top: 15px;
}

/* ============================================
   FILTRY
   ============================================ */
.filters-section {
    background-color: #0a2d45;
    padding: 35px 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.filters-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.search-input,
.filter-select,
.filter-btn {
    height: 48px;
    border-radius: 25px;
    box-sizing: border-box;
    font-size: 14px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.search-input {
    width: 350px;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-input:hover,
.filter-select:hover,
.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.4);
}

.search-input:focus,
.filter-select:focus,
.filter-btn:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 6px 10px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}

.filter-select {
    width: 200px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.filter-btn {
    padding: 0 30px;
    border: none;
    background: linear-gradient(135deg, #EEB500, #f4d03f);
    color: #0b334f;
    font-weight: bold;
    width: 150px;
}

/* ============================================
   RESET TLAČÍTKO
   ============================================ */
.reset-btn {
    padding: 12px 25px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* ============================================
   POČET VÝSLEDKŮ
   ============================================ */
.results-count {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    margin-top: 10px;
}

.results-count strong {
    color: #EEB500;
    font-size: 48px;
    display: inline-block;
}

/* ============================================
   HLAVNÍ OBSAH - GRID
   ============================================ */
.main-section {
    padding: 100px 0 60px;
}

.women-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 160px;
}

/* ============================================
   KARTA ŽENY
   ============================================ */
.woman-card {
    position: relative;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 18px;
    padding: 100px 25px 30px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    transition: all 0.3s ease;
}

.woman-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.woman-card.fade-in:hover {
    transform: translateY(-5px) scale(1.03) !important;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    transition-delay: 0s !important;
}

/* ============================================
   FOTOGRAFIE
   ============================================ */
.woman-photo {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid #0b334f;
    background: #1a5276;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.woman-photo:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.woman-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    font-size: 50px;
    color: rgba(255,255,255,0.3);
}

/* ============================================
   JMÉNO, PROFESE, META
   ============================================ */
.woman-name {
    font-size: 29px;
    font-weight: bold;
    margin-bottom: 8px;
    color: white;
}

.woman-role {
    color: #EEB500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
}

.woman-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.woman-meta i {
    color: #EEB500;
    font-size: 12px;
    font-weight: bold;
}

.woman-meta .flag {
    font-size: 18px;
}

/* ============================================
   SOCIÁLNÍ IKONY
   ============================================ */
.woman-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.woman-socials a,
.woman-socials span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.social-icon.active {
    color: #EEB500;
}

.social-icon.active:hover {
    background: #EEB500;
    color: #0b334f;
    border-color: #EEB500;
    transform: scale(1.1);
}

.social-icon.inactive {
    color: #e74c3c;
    cursor: not-allowed;
    opacity: 0.6;
}

.social-icon.inactive:hover {
    opacity: 0.8;
}

/* ============================================
   STRÁNKOVÁNÍ
   ============================================ */
.pagination-wrapper {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-btn {
    min-width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: #EEB500;
}

.page-btn.active {
    background: #EEB500;
    color: #0b334f;
    border-color: #EEB500;
}

.page-btn.prev,
.page-btn.next {
    padding: 0 15px;
}

.page-dots {
    color: rgba(255,255,255,0.5);
    padding: 0 5px;
}

/* ============================================
   BIO MODAL
   ============================================ */
.bio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.bio-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.bio-modal-content {
    position: relative;
    background: linear-gradient(135deg, #0b334f, #1a4d6f);
    border: 2px solid rgba(238, 181, 0, 0.3);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideUp 0.4s ease;
}

.bio-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.bio-modal-close:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    transform: rotate(90deg);
}

.bio-modal-header {
    padding: 40px 30px 20px;
    border-bottom: 2px solid rgba(238, 181, 0, 0.3);
}

.bio-modal-header h2 {
    color: #EEB500;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.bio-modal-body {
    padding: 30px;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.8;
}

.bio-modal-body p {
    margin: 0;
    white-space: pre-wrap;
}

/* ============================================
   ANIMACE - FADE IN, SLIDE UP
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* ============================================
   FADE IN UP ANIMACE PRO KARTY - PO ŘÁDCÍCH
   ============================================ */
.woman-card {
    opacity: 0;
    transform: translateY(150px);
    transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.woman-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.woman-card:nth-child(1).fade-in  { transition-delay: 0.2s; }
.woman-card:nth-child(2).fade-in  { transition-delay: 0.3s; }
.woman-card:nth-child(3).fade-in  { transition-delay: 0.4s; }
.woman-card:nth-child(4).fade-in  { transition-delay: 0.7s; }
.woman-card:nth-child(5).fade-in  { transition-delay: 0.8s; }
.woman-card:nth-child(6).fade-in  { transition-delay: 0.9s; }
.woman-card:nth-child(7).fade-in  { transition-delay: 1.2s; }
.woman-card:nth-child(8).fade-in  { transition-delay: 1.3s; }
.woman-card:nth-child(9).fade-in  { transition-delay: 1.4s; }
.woman-card:nth-child(10).fade-in { transition-delay: 1.7s; }
.woman-card:nth-child(11).fade-in { transition-delay: 1.8s; }
.woman-card:nth-child(12).fade-in { transition-delay: 1.9s; }
.woman-card:nth-child(13).fade-in { transition-delay: 2.2s; }
.woman-card:nth-child(14).fade-in { transition-delay: 2.3s; }
.woman-card:nth-child(15).fade-in { transition-delay: 2.4s; }
.woman-card:nth-child(n+16).fade-in { transition-delay: 0s; }