:root {
    /* Tmavý režim (výchozí) */
    --black: #0f0f0f;
    --dark-gray: #252525;
    --gray: #4a4a4a;
    --light-gray: #353535;
    --white: #e8e8e8;
    --gold: #A98314;
    --red: #ff3333;
    
    /* Barvy textu pro tmavý režim */
    --text-primary: #e8e8e8;
    --text-secondary: #b0b0b0;
    --bg-primary: #151515;
    --bg-secondary: #252525;
}

/* Světlý režim */
body.light-mode {
    --black: #1a1a1a;
    --dark-gray: #333333;
    --gray: #555555;
    --light-gray: #e0e0e0;
    --white: #ffffff;
    --gold: #A98314;
    --red: #cc0000;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --bg-primary: #fafafa;
    --bg-secondary: #f0f0f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    letter-spacing: 0.02em;
}

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

/* Navigace */
.navbar {
    background-color: #050505;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    overflow: visible;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 68px;
    height: 68px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(1.2);
    transform-origin: left center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    margin: 5px 0;
    transition: 0.3s;
}

/* Tlačítko přepínání těmatu */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(169, 131, 20, 0.4);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(169, 131, 20, 0.6);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Styly specifické pro světlý režim */
body.light-mode .concerts-preview {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

body.light-mode .news-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
}

body.light-mode .concert-card,
body.light-mode .news-card,
body.light-mode .video-card,
body.light-mode .photo-card,
body.light-mode .member,
body.light-mode .info-box {
    background-color: #ffffff;
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.light-mode .concert-card-full,
body.light-mode .news-card-full,
body.light-mode .album-card-full {
    background-color: #ffffff;
    border-color: #d0d0d0;
}

body.light-mode .concert-card-full h4,
body.light-mode .news-card-full h3,
body.light-mode .album-card-full h3 {
    color: #1a1a1a;
}

body.light-mode .concert-card-full p,
body.light-mode .news-card-full p,
body.light-mode .album-card-full p {
    color: #333333;
}

body.light-mode .album-card-full .year {
    color: #A98314;
}

body.light-mode .album-card-full .description {
    color: #333333;
}

body.light-mode .single-item {
    background-color: #ffffff;
    border-color: #d0d0d0;
}

body.light-mode .single-meta,
body.light-mode .single-info .single-meta,
body.light-mode .single-year,
body.light-mode .single-duration {
    color: #555555;
}

body.light-mode .video-card {
    background-color: #ffffff;
    border-color: #d0d0d0;
}

body.light-mode .photo-card p {
    color: #1a1a1a;
}

body.light-mode .navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body.light-mode .nav-links a {
    color: #333333;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
    color: #A98314;
}

body.light-mode .hero {
    background-image: url('assets/photos/fram-01.JPG');
    background-size: 112%;
    background-repeat: no-repeat;
    background-position: center calc(50% + var(--hero-parallax-y, 0px));
    color: var(--white);
}

body.light-mode .hero p {
    color: #555555;
}

body.light-mode .page-header {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-bottom-color: #A98314;
}

body.light-mode .footer {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.light-mode .footer .social-links a {
    color: #e0e0e0;
    border-color: #A98314;
    background-color: transparent;
}

body.light-mode .footer .social-links a:hover {
    background-color: #A98314;
    color: #2a2a2a;
}

body.light-mode .footer-section ul li a {
    color: #c0c0c0;
}

body.light-mode .footer-section ul li a:hover {
    color: #A98314;
}

body.light-mode .page-header h1 {
    color: #A98314;
}

body.light-mode .social-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #efefef 100%);
    color: #1a1a1a;
}

body.light-mode .social-section h3 {
    color: #A98314;
}

body.light-mode .social-links a {
    color: #333333;
    border-color: #A98314;
    background-color: transparent;
}

body.light-mode .social-links a:hover {
    background-color: #A98314;
    color: #1a1a1a;
}

body.light-mode .hero h2 {
    color: #A98314;
}

body.light-mode .band-members {
    color: #1a1a1a;
}

body.light-mode .band-members li {
    color: #1a1a1a;
}

body.light-mode .band-members li .instrument {
    color: #A98314;
}

body.light-mode .hero-description,
body.light-mode .band-section {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

body.light-mode .hero-description p {
    color: #1a1a1a;
}

body.light-mode .hero-buttons .btn {
    background-color: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

body.light-mode .hero-buttons .btn:hover {
    background-color: #8f6f10;
    color: #ffffff;
    border-color: #8f6f10;
}

body.light-mode .concert-card:hover,
body.light-mode .news-card:hover,
body.light-mode .video-card:hover,
body.light-mode .member:hover {
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.15);
}

body.light-mode .photo-card:hover {
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.15);
}

body.light-mode .btn-primary {
    background-color: #A98314;
    color: #ffffff;
}

body.light-mode .btn-primary:hover {
    background-color: transparent;
    color: #A98314;
    border-color: #A98314;
}

body.light-mode .btn-secondary {
    background-color: transparent;
    color: #A98314;
    border-color: #A98314;
}

body.light-mode .btn-secondary:hover {
    background-color: #A98314;
    color: #1a1a1a;
}

body.light-mode .btn-outline {
    background-color: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

body.light-mode .btn-outline:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.light-mode .page-content {
    background-color: #f5f5f5;
}

body.light-mode .page-content h3 {
    color: #1a1a1a;
}

body.light-mode .page-content p {
    color: #1a1a1a;
}

body.light-mode .band-article {
    color: #1a1a1a;
}

body.light-mode .band-article h3 {
    color: #1a1a1a;
}

body.light-mode .concert-card h4,
body.light-mode .news-card h4,
body.light-mode .member h4 {
    color: #1a1a1a;
}

body.light-mode .concert-card p,
body.light-mode .news-card p {
    color: #333333;
}

body.light-mode .member p {
    color: #A98314;
}

body.light-mode .info-box {
    background-color: #f0f0f0;
    border-left-color: #A98314;
    color: #1a1a1a;
}

body.light-mode .info-box h3 {
    color: #1a1a1a;
}

body.light-mode .info-box p {
    color: #333333;
}

body.light-mode .info-box .social-links a {
    background-color: #ffffff;
    color: #333333;
    border: 2px solid #d0d0d0;
}

body.light-mode .info-box .social-links a:hover {
    background-color: #A98314;
    color: #1a1a1a;
    border-color: #A98314;
}

body.light-mode .contact-socials p {
    color: #1a1a1a;
}

body.light-mode .social-button {
    background-color: #ffffff;
    color: #1a1a1a;
    border-color: #A98314;
}

body.light-mode .social-button:hover {
    background-color: #A98314;
    color: #1a1a1a;
}

body.light-mode .footer-section p {
    color: #1a1a1a;
}

body.light-mode .info-item p {
    color: #333333;
}

.hero {
    --hero-parallax-y: 0px;
    background-image: url('assets/photos/fram-01.JPG');
    background-size: 112%;
    background-repeat: no-repeat;
    background-position: center calc(50% + var(--hero-parallax-y));
    color: var(--text-primary);
    padding: 150px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -60px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(169, 131, 20, 0.03) 10px,
        rgba(169, 131, 20, 0.03) 20px
    );
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -60px;
    background: linear-gradient(120deg, rgba(169, 131, 20, 0.30) 0%, rgba(18, 18, 18, 0.58) 56%, rgba(8, 8, 8, 0.60) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 72px;
    font-weight: bold;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    line-height: 0;
}

.hero-title-logo {
    width: min(320px, 39vw);
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero p {
    font-size: 24px;
    color: #b0b0b0;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-description {
    padding: 60px 20px 30px;
    background-color: #1a1a1a;
    color: var(--text-primary);
    text-align: center;
}

.hero-description p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--white);
    line-height: 1.7;
}

.band-section {
    padding: 20px 20px 60px;
    text-align: center;
    background-color: #1a1a1a;
}

.section-title,
.band-intro {
    color: var(--text-primary);
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: none;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    padding-bottom: 10px;
}

.band-members {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 620px;
    display: grid;
    gap: 10px;
    color: var(--white);
}

.band-members li {
    font-size: 18px;
    line-height: 1.6;
    color: var(--white);
}

.band-members li .instrument {
    color: var(--gold);
    font-weight: bold;
}

/* Hlavní tlačítka: zlaté pozadí s černým textem; při najetí černé pozadí se zlatým textem */
.hero-buttons .btn {
    background-color: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.hero-buttons .btn:hover {
    background-color: var(--black);
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 14px 40px rgba(169, 131, 20, 0.14);
}

/* Scroll animace na Úvodu */
.scroll-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.scroll-reveal.reveal-left {
    transform: translateX(-36px);
}

.scroll-reveal.reveal-right {
    transform: translateX(36px);
}

.scroll-reveal.reveal-zoom {
    transform: scale(0.94);
}

.scroll-reveal.reveal-in {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Tlačítka */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

/* Najetí na tlačítko: vizuálně se chová jako karty (zvednutí + měkký zlatý stín) */
.btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.btn:hover {
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.12);
}

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.btn:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 6px 18px rgba(169, 131, 20, 0.14);
}

.btn[aria-disabled='true'],
.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.hero-buttons .btn:hover {
    box-shadow: 0 14px 40px rgba(169, 131, 20, 0.14);
}

/* Zachovat text tlačítka na jednom řádku a zajistit, aby skupiny odkazů zůstaly na řádku */
.btn {
    white-space: nowrap;
}

.single-links,
.album-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.single-links .btn,
.album-actions .btn {
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--black);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
    margin-top: 30px;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--black);
}

.btn-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
    position: relative;
}

.btn-link:hover {
    color: var(--red);
}

.btn-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.btn-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.btn-link:hover::after,
.btn-link:focus-visible::after {
    transform: scaleX(1);
}

.concert-card,
.news-card,
.concert-card-full,
.news-card-full,
.album-card-full,
.video-card,
.member,
.single-item,
.photo-card {
    will-change: transform, box-shadow, border-color;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

/* Sociální sekce */
.social-section {
    background-color: #1a1a1a;
    color: var(--text-primary);
    padding: 60px 20px;
    text-align: center;
}

.social-section h3 {
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    color: var(--gold);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 36px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 2px solid var(--gold);
    border-radius: 50%;
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

/* Náhled koncertů */
.concerts-preview {
    background-color: #0f0f0f;
    padding: 80px 20px;
}

.concerts-preview h3,
.news-section h3 {
    font-size: 32px;
    margin-bottom: 50px;
    letter-spacing: 2px;
    color: var(--text-primary);
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    padding-bottom: 10px;
}

.concerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.concert-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.concert-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.concert-card:focus-within {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.concert-date {
    background-color: var(--gold);
    color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    border-radius: 3px;
}

.concert-date .day {
    display: block;
}

.concert-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.concert-info p {
    color: #b0b0b0;
    margin-bottom: 15px;
}

/* Sekce Novinky */
.news-section {
    padding: 80px 20px;
    background-color: #0a0a0a;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-top: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.news-card:focus-within {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.news-date {
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.news-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.news-card p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--dark-gray), var(--gray));
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
}

.album-cover-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
}

/* Zápatí */
.footer {
    background-color: #050505;
    color: var(--text-primary);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-contact {
    margin-top: 12px;
    line-height: 1.7;
}

.footer-contact strong {
    color: var(--gold);
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--gold);
}

/* Zachovat specifickou barvu textu footeru - vždy bílá pro čitelnost */
.footer-preserve {
    color: var(--white) !important;
    font-size: 13px;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.1;
}

.footer-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 10px;
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 20px;
    text-align: center;
    color: #707070;
    font-size: 12px;
}

.author-credit {
    margin-top: 6px;
    color: #8a8a8a;
    font-size: 12px;
}

/* Responzivní design */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .navbar {
        padding: 14px 0;
    }

    .navbar .container {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        width: auto;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        border-top: 1px solid var(--dark-gray);
        background-color: var(--bg-secondary);
        flex-direction: column;
        text-align: center;
        gap: 0;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.22s ease, transform 0.22s ease;
        pointer-events: none;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        border-bottom: 1px solid var(--dark-gray);
    }

    .nav-links a {
        display: block;
        padding: 14px 20px;
        font-size: 13px;
        letter-spacing: 0.9px;
    }

    .hamburger {
        display: flex;
    }

    .hero h2 {
        font-size: 48px;
    }

    .hero-title-logo {
        width: min(260px, 42vw);
    }

    .logo-img {
        width: 56px;
        height: 56px;
        transform: scale(1.14);
    }

    .hero p {
        font-size: 18px;
    }

    .hero {
        padding: 100px 20px 80px;
        background-size: cover;
        background-position: center center;
    }

    body.light-mode .hero {
        background-size: cover;
        background-position: center center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: min(100%, 320px);
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    .concerts-preview .btn,
    .info-box .btn,
    .single-links .btn,
    .album-actions .btn,
    .hero-buttons .btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        white-space: normal;
        width: 100%;
    }

    .page-header {
        padding: 36px 20px;
    }

    .page-header h1 {
        font-size: 42px;
        letter-spacing: 2px;
        margin-bottom: 0;
    }

    .page-content {
        padding: 56px 20px;
    }

    .page-content h3 {
        font-size: 24px;
        margin-top: 28px;
        margin-bottom: 16px;
    }

    .concert-card-full,
    .news-card-full,
    .video-card,
    .member,
    .info-box {
        padding: 24px;
    }

    .contact-wrapper {
        gap: 32px;
        margin-bottom: 56px;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .contact-info,
    .contact-socials {
        text-align: center;
        width: 100%;
        max-width: 420px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-socials h3 {
        text-align: center;
    }

    .contact-socials {
        align-items: center;
    }

    .info-item {
        text-align: center;
    }

    .info-item h4 {
        justify-content: center;
    }

    .social-links-vertical {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .single-meta-inline {
        white-space: normal;
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .single-links {
        width: 100%;
        margin-right: 0;
        align-items: stretch;
    }

    .single-links .btn,
    .album-actions .btn {
        justify-content: center;
    }

    .top-tracks .spotify-embed {
        max-width: 100%;
    }

    .concerts-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .nav-links a::after {
        display: none;
    }

    .social-links {
        gap: 20px;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .footer-section ul {
        grid-template-columns: 1fr;
    }

    .footer-preserve {
        white-space: normal;
        font-size: 14px;
    }
}

/* Záhlaví stránky */
.page-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
    border-bottom: 4px solid var(--gold);
}

.page-header h1 {
    font-size: 54px;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 3px;
}

/* Obsah stránky */
.page-content {
    padding: 80px 20px;
    background-color: #1a1a1a;
}

.page-content h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    padding-bottom: 10px;
}

.page-content h3:first-child {
    margin-top: 0;
}

.page-content p {
    color: #c0c0c0;
    line-height: 1.82;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}

.concert-info p,
.news-card p,
.news-card-full p,
.concert-card-full .concert-info p,
.album-card-full .description,
.info-item p,
.contact-socials p,
.info-box p {
    line-height: 1.75;
    letter-spacing: 0.01em;
}

.news-card h4,
.concert-info h4,
.member h4,
.news-card-full h3,
.concert-card-full .concert-info h4,
.album-card-full h3,
.band-article h3,
.info-box h3,
.contact-info h3,
.contact-socials h3 {
    line-height: 1.25;
    letter-spacing: 0.03em;
}

/* Karty koncertů v plném rozsahu */
.concerts-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.concert-card-full {
    background-color: #1a1a1a;
    padding: 30px;
    border-left: 4px solid var(--gold);
    border: 1px solid #2a2a2a;
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.concert-card-full:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.concert-card-full:focus-within {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.concert-card-full .concert-date {
    background-color: var(--gold);
    color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    border-radius: 3px;
}

.concert-card-full .concert-info h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.concert-card-full .concert-info p {
    color: #b0b0b0;
    margin-bottom: 15px;
}

/* Karty novinky v plném rozsahu */
.news-card-full {
    background-color: #1a1a1a;
    padding: 40px;
    border-top: 4px solid var(--gold);
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.news-card-full:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.news-card-full:focus-within {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.news-card-full .news-date {
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.news-card-full h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
    border: none;
    display: block;
    padding: 0;
}

.news-card-full p {
    color: #b0b0b0;
}

/* Karty albém v plném rozsahu */
.albums-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Zmenšit blok alba a zarovnat vlevo (desktop) */
.albums-full-grid {
    max-width: 380px;
    float: left;
    margin-right: 40px;
}

.album-card-full {
    padding: 20px;
}

/* Přesunout singlý a informace doprava od alba na větších obrazovkách */
body.diskografie-page .singles-section {
    margin-left: 440px;
}

body.diskografie-page .info-box {
    margin-left: 440px;
}

@media (max-width: 768px) {
    .albums-full-grid {
        float: none;
        max-width: 100%;
        margin-right: 0;
    }

    body.diskografie-page .singles-section,
    body.diskografie-page .info-box {
        margin-left: 0;
    }

    .album-card-full {
        padding: 24px;
    }
}

.album-card-full {
    background-color: #1a1a1a;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #2a2a2a;
}

.album-card-full:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.2);
    transform: translateY(-6px);
}

.album-card-full:focus-within {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.2);
    transform: translateY(-6px);
}

.album-card-full .album-cover {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--dark-gray), var(--gray));
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
}

.album-card-full h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
    border: none;
    display: block;
    padding: 0;
}

.album-card-full .year {
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 15px;
}

.album-card-full .description {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Styly sekce singlů */
.singles-section {
    margin-top: 40px;
}

.singles-section h3 {
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gold);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.singles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.single-item {
    display: flex;
    gap: 15px;
    align-items: center;
    background-color: #1a1a1a;
    padding: 12px;
    border: 2px solid #2a2a2a;
}

/* Efekt při najetí na singly: zlatý obrys a zvednutí jako při hoveru nad albem */
.single-item {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.single-item:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.18);
    transform: translateY(-4px);
}

.single-cover {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #2a2a2a, #404040);
    border-radius: 4px;
}

.single-cover-img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.single-info h4 {
    margin: 0 0 6px 0;
    color: var(--text-primary);
}

.single-meta {
    color: #b0b0b0;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Inline metadata singlů: rok • doba třvání ve zlaté */
.single-meta-inline {
    color: var(--gold);
    font-size: 15px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.single-meta-inline .single-year,
.single-meta-inline .single-duration {
    color: var(--gold);
}

.meta-sep {
    color: var(--gold);
    font-size: 14px;
    line-height: 1;
}

/* Rozložení: umístit tlačítko akce singlń vpravo od textu */
.single-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.single-info .single-meta {
    margin-bottom: 0;
    color: #b0b0b0;
}

.single-text h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.single-text {
    flex: 1 1 auto;
    min-width: 0;
}

.single-info {
    flex: 1 1 auto;
}

.single-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    margin-left: auto;
    margin-right: 8px;
}

.single-links .btn {
    padding: 8px 14px;
}

/* Stylizace roku a doby třvání */
.single-text {
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-width: 0;
}

.single-year {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.05;
    margin-bottom: 2px;
}

.single-duration {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.05;
    white-space: nowrap;
    margin-top: 0;
}

.single-duration {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .single-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Stylizace Spotify embed */
.spotify-embed {
    width: 100%;
    max-width: 700px;
    height: 380px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .spotify-embed {
        height: 200px;
    }
}

/* Centrované blok s top skladbami */
.top-tracks {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.top-tracks .spotify-embed {
    max-width: 720px;
    height: 380px;
}

@media (max-width: 768px) {
    .top-tracks .spotify-embed {
        max-width: 360px;
        height: 200px;
    }
}

/* Sít' video */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 36px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.video-card {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
}

.video-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.2);
    transform: translateY(-6px);
}

.video-card:focus-within {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.2);
    transform: translateY(-6px);
}

.video-embed {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
    border-radius: 3px;
    margin-bottom: 20px;
    display: block;
}

/* Sít' fotografií */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.photo-card {
    overflow: hidden;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
    cursor: zoom-in;
}

.photo-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.2);
    transform: scale(1.02);
}

.photo-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.photo-card p {
    padding: 15px;
    text-align: center;
    color: var(--text-primary);
    font-weight: bold;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.86);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2000;
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox-image {
    max-width: min(92vw, 1400px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 68px;
    height: 68px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 54px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.92;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 58px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.92;
}

.gallery-lightbox-nav-icon {
    display: block;
    line-height: 1;
    transform: translateY(-2px);
}

.gallery-lightbox-prev {
    left: 18px;
}

.gallery-lightbox-next {
    right: 18px;
}

.gallery-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.18);
    opacity: 1;
}

.gallery-lightbox-close:hover {
    transform: scale(1.18);
    opacity: 1;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .gallery-lightbox-nav {
        width: 58px;
        height: 58px;
        font-size: 48px;
    }

    .gallery-lightbox-prev {
        left: 10px;
    }

    .gallery-lightbox-next {
        right: 10px;
    }
}

.gallery-note {
    color: #a8a8a8;
    font-size: 14px;
    margin-top: -30px;
    margin-bottom: 40px;
}

.gallery-empty {
    color: #a8a8a8;
    font-size: 16px;
    padding: 20px 0;
}

body.light-mode .gallery-note,
body.light-mode .gallery-empty {
    color: #555555;
}

/* Článek kapely */
.band-article {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.band-article h3 {
    border: none;
    padding: 0;
    display: block;
}

.band-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.member {
    text-align: center;
    padding: 30px;
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
    width: 100%;
}

.member:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.2);
    transform: translateY(-6px);
}

.member:focus-within {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(169, 131, 20, 0.2);
    transform: translateY(-6px);
}

.member-avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #2a2a2a, #404040);
    border-radius: 4px;
    margin: 0 auto 20px;
}

.member h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.member p {
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 14px;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.member-socials a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.member-socials a:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

body.light-mode .member-socials a {
    border-color: #A98314;
    color: #A98314;
}

body.light-mode .member-socials a:hover {
    background-color: #A98314;
    color: #1a1a1a;
}

/* Informační okno */
.info-box {
    background-color: #1a1a1a;
    padding: 40px;
    border-left: 4px solid var(--gold);
    margin-top: 60px;
}

.info-box h3 {
    border: none;
    display: block;
    margin-top: 0;
    padding: 0;
    color: var(--text-primary);
}

.info-box p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.info-box .social-links {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap;
}

.info-box .social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #2a2a2a;
    border-radius: 3px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-box .social-links a:hover {
    background-color: var(--gold);
    color: var(--black);
}

/* Styly stránky Kontakt */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info h3,
.contact-socials h3 {
    border: none;
    display: block;
    padding: 0;
    margin-top: 0;
    color: var(--text-primary);
}

.contact-socials h3 {
    text-align: right;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    color: var(--gold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item p {
    color: #b0b0b0;
    margin: 0;
}

.info-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--gold);
}

.contact-socials p {
    color: #b0b0b0;
    margin-bottom: 30px;
}

.social-links-vertical {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: flex-end;
}

.social-button {
    background-color: #1a1a1a;
    color: var(--text-primary);
    border: 2px solid var(--gold);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 0;
    flex-shrink: 0;
}

.social-button i {
    font-size: 32px;
}

.social-button:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .nav-links {
        top: calc(100% + 4px);
    }

    .hero {
        padding: 84px 14px 70px;
        background-size: cover;
        background-position: center center;
    }

    body.light-mode .hero {
        background-size: cover;
        background-position: center center;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero-title-logo {
        width: min(180px, 45vw);
    }

    .hero p {
        font-size: 16px;
    }

    .concerts-preview h3,
    .news-section h3 {
        font-size: 24px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-header {
        padding: 30px 14px;
    }

    .page-content {
        padding: 44px 14px;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .concerts-full-grid,
    .albums-full-grid,
    .videos-grid,
    .photos-grid,
    .band-members,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .theme-toggle {
        bottom: calc(16px + env(safe-area-inset-bottom));
        right: calc(16px + env(safe-area-inset-right));
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
