/**
 * eLfilms.cz - Styly pro stránku Výroky slavných žen
 *
 * @package    eLfilms
 * @subpackage Frontend
 * @file       css/vyroky.css
 * @version    4.1 - SEO Enhanced Edition
 * @datum      Březen 2026
 * @author     eLfilms Team
 * @copyright  2009-2026 eLfilms.cz
 *
 * Styly pro stránku Výroky (vyroky.php).
 *
 * STYLUJE:
 * - Skip to content (accessibility)
 * - Hero sekce
 * - Filtry a vyhledávání
 * - Grid výroků (3 sloupce desktop)
 * - Karta citátu (text, autor, foto)
 * - Meziřádkový inspirativní text
 * - Stránkování
 * - Animované podtržení
 *
 * POUŽÍVÁ:
 * - vyroky.php (parent stránka)
 *
 * DESIGN:
 * - Barvy: tmavě modrá (#0d1b2a, #0b334f–#1a4f72), zlatá (#EEB500)
 * - Max šířka obsahu: 1200px
 *
 * NOTE:
 * - Responsive styly jsou v vyroky-responsive.css
 * - .skip-to-content nahrazuje inline style v PHP šabloně
 */

/* ============================================
   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: 48px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

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

.hero-subtitle .underline-animated {
    font-style: normal;
    font-weight: normal;
}

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

/* ============================================
   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;
}

.filter-group {
    display: flex;
}

.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;
    background-color: rgba(255,255,255,0.1);
}

.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;
    display: inline-block;
}

.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
   ============================================ */
.main-section {
    padding: 60px 0;
}

/* ============================================
   ŘÁDKA VÝROKŮ
   ============================================ */
.page-vyroky .quotes-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

/* ============================================
   KARTA VÝROKU
   ============================================ */
.quote-card {
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 18px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    background: rgba(255,255,255,0.02);
    transition: all 0.3s ease;
}

.quote-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);
    transform: translateY(-5px) scale(1.03);
}

.quote-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    flex-grow: 1;
    margin-bottom: 20px;
    font-style: normal;
}

/* ============================================
   AUTOR
   ============================================ */
.quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.author-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

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

.author-photo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-photo-placeholder i {
    color: rgba(255,255,255,0.5);
    font-size: 24px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 16px;
    font-weight: bold;
    color: white;
}

.author-role {
    font-size: 14px;
    color: #f7c948;
}

.author-country {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* ============================================
   MEZIŘÁDKOVÝ TEXT (typing animace)
   ============================================ */
.between-text {
    text-align: center;
    color: #f7c948;
    font-size: 18px;
    font-style: normal;
    font-weight: bold;
    margin: 50px 0;
    min-height: 28px;
    padding: 0 40px;
}

/* ============================================
   PRÁZDNÉ VÝSLEDKY
   ============================================ */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255,255,255,0.6);
}

.no-results i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* ============================================
   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;
}