/**
 * eLfilms.cz - Styly pro stránku Narozeniny slavných žen
 * 
 * @package    eLfilms
 * @subpackage Frontend
 * @file       css/narozeniny.css
 * @version    4.1 - Standards fix
 * @datum      Březen 2026
 * @author     eLfilms Team
 * @copyright  2009-2026 eLfilms.cz
 * 
 * STYLUJE:
 * - Hero sekce s pozadím
 * - Navigace podle měsíců (ALL tlačítko + 12 měsíců)
 * - Grid karet (3 sloupce desktop)
 * - Hover efekty na kartách
 * - Fotografie s hover zoom
 * - Animované podtržení
 * - Skip to content (accessibility)
 * 
 * POUŽÍVÁ:
 * - narozeniny.php
 * 
 * DESIGN:
 * - Barvy: tmavě modrá (#0d1b2a, #0b334f–#1a4f72), zlatá (#EEB500)
 * - Max šířka obsahu: 1200px
 * 
 * NOTE:
 * - Responsive styly jsou v narozeniny-responsive.css
 */

/* ============================================
   ZÁKLADNÍ RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b334f;
    min-height: 100vh;
    color: white;
    padding: 0;
}

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

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

/* ============================================
   NAVIGACE MĚSÍCŮ
   ============================================ */
.nav-mesice {
    text-align: center;
    margin-bottom: 150px;
    margin-top: 60px;
    font-size: 13px;
    font-weight: 600;
    line-height: 2;
}

.nav-mesice a {
    text-decoration: none;
    color: rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    padding: 0 3px;
}

.nav-mesice a:hover {
    color: rgba(238, 181, 0, 0.8);
    text-decoration: none;
}

.nav-mesice a.active {
    color: #EEB500;
    font-size: 16px;
    font-weight: 700;
}

.nav-mesice .btn-all {
    display: inline-block;
    padding: 8px 20px;
    background: #EEB500;
    color: #0b334f !important;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    margin-right: 12px;
    box-shadow: 0 3px 8px rgba(238, 181, 0, 0.3);
    text-decoration: none !important;
}

.nav-mesice .btn-all:hover {
    background: #ff6b35;
    color: #0b334f !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 107, 53, 0.5);
}

.nav-mesice .btn-all.active {
    color: #0b334f !important;
    font-size: 13px;
}

.nav-mesice .separator {
    color: rgba(255,255,255,0.3);
    margin: 0 6px;
}

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

/* ============================================
   GRID KARET
   ============================================ */
.page-narozeniny .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 160px;
    margin-bottom: 50px;
}

/* ============================================
   KARTA - HOVER EFEKTY
   ============================================ */
.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;
}

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

/* ============================================
   FOTKA - WRAPPER PRO HOVER EFEKT
   ============================================ */
.card-photo-wrapper {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #0b334f;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

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

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

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

/* ============================================
   JMÉNO
   ============================================ */
.name {
    font-size: 29px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
    animation: fadeIn 0.8s ease 0.3s both;
}

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

/* ============================================
   DORTÍK A VĚK
   ============================================ */
.birthday-cake {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.birthday-cake i {
    font-size: 42px;
    color: #EEB500;
}

.age-counter {
    font-size: 42px;
    font-weight: bold;
    color: white;
}

.age-unit {
    font-size: 24px;
    color: white;
    font-weight: normal;
    margin-left: 5px;
}

/* ============================================
   DATUM NAROZENÍ
   ============================================ */
.birth-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 15px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.birth-date i {
    color: #EEB500;
    font-size: 12px;
}

/* ============================================
   PRÁZDNÁ ZPRÁVA
   ============================================ */
.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.5);
    font-size: 18px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.3;
}