/* =========================================
   ZÁKLADNÍ STYLY A TYPOGRAFIE
   ========================================= */
html { overflow-y: scroll; }
body {
    background-color: #f5f5f7; color: #1d1d1f; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0; padding: 0; text-align: center;
}

/* =========================================
   NAVIGACE (HORNÍ LIŠTA)
   ========================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex; justify-content: center; gap: 35px;
    padding: 18px 0; z-index: 1000;
}
.navbar a { text-decoration: none; color: #1d1d1f; font-size: 0.9em; font-weight: 500; transition: color 0.3s ease; }
.navbar a:hover, .navbar a.active { color: #0071e3; }

/* =========================================
   HLAVNÍ ROZVRŽENÍ KARTY
   ========================================= */
.container { max-width: 1050px; margin: 100px auto 60px auto; padding: 0 20px; }
.main-card {
    background-color: #ffffff; border-radius: 32px; padding: 60px 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

/* =========================================
   DETAILNÍ STRÁNKA VIDEA (PŘEHRÁVAČ)
   ========================================= */
.back-link {
    display: flex; align-items: center; color: #0071e3; font-weight: 600; text-decoration: none;
    margin: 0 auto 30px auto; max-width: 800px; font-size: 0.95em; transition: opacity 0.3s;
}
.back-link:hover { opacity: 0.7; }
.back-link::before { content: '←'; margin-right: 6px; font-size: 1.2em; }

.mv-title { 
    font-size: 3em; font-weight: 800; margin: 0 auto 30px auto; 
    max-width: 800px; letter-spacing: -1px; text-align: left; 
}

.video-wrapper {
    position: relative; width: 100%; max-width: 800px; aspect-ratio: 16 / 9; 
    margin: 0 auto 40px auto; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); 
    background-color: #000; overflow: hidden;
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.info-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: left;
    background: #fbfbfd; border: 1px solid rgba(0,0,0,0.04); border-radius: 20px; 
    padding: 30px; max-width: 800px; margin: 0 auto; box-sizing: border-box;
}
.info-item { display: flex; flex-direction: column; }
.info-label { font-size: 0.8em; text-transform: uppercase; color: #86868b; font-weight: 700; letter-spacing: 1px; margin-bottom: 4px; }
.info-value { font-size: 1.1em; color: #1d1d1f; font-weight: 500; }

/* =========================================
   PATIČKA (FOOTER) - UNIVERZÁLNÍ STYL
   ========================================= */
.footer { 
    background-color: #1d1d1f; 
    color: #f5f5f7; 
    padding: 50px 20px; 
    text-align: center; 
    margin-top: 40px; 
}

.footer-links { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-bottom: 20px; 
}

.footer-links a { 
    color: #f5f5f7; 
    text-decoration: none; 
    opacity: 0.7; 
    transition: opacity 0.3s, transform 0.3s; /* Plynulé zvětšení */
    display: inline-flex; 
    align-items: center; 
}

.footer-links a:hover { 
    opacity: 1; 
    transform: scale(1.2); /* Zvětšení o 20% při najetí */
}

/* Oprava mezery pro Daum Cafe ikonku */
.footer-links a img[alt="Daum Cafe"] {
    margin-right: -8px;
}

/* Jemná svislá čára před ikonkou e-mailu */
.footer-links a.contact-link { 
    border-left: 1px solid rgba(255, 255, 255, 0.2); 
    padding-left: 30px; 
    margin-left: 5px; 
}

.footer-copyright { 
    font-size: 0.85em; 
    opacity: 0.5; 
}

/* VELIKOST IKONEK - Font Awesome i obrázky */
.footer-links a i,
.footer-links a img {
    font-size: 24px !important; 
    height: 24px !important;    
    vertical-align: middle !important;
}

/* =========================================
   RESPONZIVNÍ DESIGN (MOBILY A TABLETY)
   ========================================= */
@media (max-width: 600px) { 
    .main-card { padding: 30px 20px; }
    .info-grid { grid-template-columns: 1fr; }
    .mv-title { font-size: 2.2em; }
}