:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c5a059;
    /* Gold/Piano theme */
    --text-color: #333;
    --light-text: #666;
    --bg-color: #f9f9f9;
    --white: #ffffff;
    --header-height: 80px;
    --font-main: 'Lato', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: 0.3s;
}

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

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

/* Header */
header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.secondary-logo img {
    height: 60px;
    width: auto;
    display: block;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

#main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

#main-nav a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

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

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

.secondary-logo img {
    transition: 0.3s;
}

.secondary-logo img:hover {
    transform: scale(1.05);
}

/* Main Content */
main {
    margin-top: calc(var(--header-height) + 20px);
    min-height: 80vh;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Vystoupení Grid */
.vystoupeni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns as requested */
    gap: 20px;
}

@media (max-width: 992px) {
    .vystoupeni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .vystoupeni-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.performance-item {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.performance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.performance-img {
    aspect-ratio: 2 / 3;
    /* Portrait as requested */
    overflow: hidden;
}

.performance-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show the whole poster */
    background: #f0f0f0;
    /* Subtle background for different aspect ratios */
    transition: 0.5s;
}

.performance-info {
    padding: 15px;
    text-align: center;
    background: #fff;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subpage content */
.subpage-content img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 20px 0;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Base utilities */
.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

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

/* Mobile Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .header-right {
        gap: 15px;
    }

    .logo img {
        height: 35px;
    }

    .secondary-logo img {
        height: 45px;
    }

    #main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle i {
        font-size: 2rem;
        color: var(--primary-color);
        display: block;
    }
}

/* Biography & Repertoire Sections */
.bio-intro,
.repertoire-intro {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

@media (max-width: 992px) {

    .bio-intro,
    .repertoire-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.bio-img-wrapper img,
.repertoire-img-wrapper img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.repertoire-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.composer-block {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: 0.3s;
    border-top: 3px solid var(--secondary-color);
}

.composer-block:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.composer-block h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.composer-block p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.premium-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--primary-color);
    position: relative;
    padding: 40px;
    background: #fdfaf4;
    border-left: 5px solid var(--secondary-color);
    margin: 40px 0;
}

.premium-quote cite {
    display: block;
    margin-top: 20px;
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.bio-columns {
    column-count: 2;
    column-gap: 60px;
    text-align: justify;
}

@media (max-width: 768px) {
    .bio-columns {
        column-count: 1;
    }
}

.awards-section {
    background: var(--bg-color);
    padding: 60px 40px;
    border-radius: 12px;
    margin: 60px 0;
}

.awards-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.awards-list li {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 15px;
}

.awards-list li:before {
    content: 'award_star';
    font-family: 'Material Icons';
    color: var(--secondary-color);
}

/* Video Card */
.video-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
    height: 100%;
    justify-content: center;
}

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

.video-card img {
    max-height: 60px;
    margin-bottom: 20px;
    width: auto !important;
}

.video-card p {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Contact Page Enhancements */
.contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    /* Fixed info width, flexible wide form */
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .contact-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-photo-wrapper {
    margin-top: 100px;
}

@media (max-width: 992px) {
    .contact-photo-wrapper {
        margin-top: 40px;
    }
}

.contact-info-block {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.contact-form-container {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .contact-info-block {
        padding: 30px 20px;
    }
}

.input-container {
    margin-bottom: 25px;
}

.input-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--light-text);
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: 0.3s;
}

/* Press Split Styles */
.press-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 20px;
}

.press-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.press-logo-long {
    max-height: 400px;
    /* Enlarge 4x as requested */
    width: auto !important;
    display: block;
    margin-bottom: 20px;
}

.press-logo-compact {
    max-height: 240px;
    /* Enlarge 4x as requested */
    width: auto !important;
    display: block;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .press-split {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .press-logo-long,
    .press-logo-compact {
        margin: 0 auto 20px;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer Section */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .footer-links-wrapper {
        gap: 20px;
    }
}

/* Mobile Toggle & Drawer */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: 0.3s;
}

#menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    #main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 1001;
        display: block !important;
        padding: 80px 30px 40px;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    #main-nav.active {
        transform: translateX(-300px);
    }

    #main-nav ul {
        flex-direction: column;
        gap: 25px;
    }

    #main-nav a {
        font-size: 1.15rem;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Close button on mobile */
    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        color: var(--primary-color);
        display: block !important;
    }
}

/* Visibility Utilities */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

/* Better Responsive Container */
.container,
.container-wide {
    width: 100%;
}

/* Press Split Fix for small screens */
@media (max-width: 600px) {
    .press-split {
        padding: 10px;
        gap: 20px;
        display: flex;
        /* Stack better */
        flex-direction: column;
    }

    .press-image img {
        width: 100%;
        height: auto;
    }

    .press-logo-long,
    .press-logo-compact {
        max-width: 100%;
        height: auto;
    }
}

.footer-col h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* CD / Product Section */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.cd-display {
    position: relative;
    padding: 20px;
}

.cd-img {
    width: 100%;
    max-width: 500px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
}

.cd-img:hover {
    transform: scale(1.02) rotate(-1deg);
}

.cd-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cd-subtitle {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: block;
}

.cd-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.secondary-cd {
    background: var(--bg-color);
    padding: 60px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 992px) {
    .secondary-cd {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
}

#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media (max-width: 1100px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        right: 10px;
        top: 10px;
    }
}

/* Materialize Compatibility for Artevivo */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.col {
    padding: 15px;
    box-sizing: border-box;
}

.s12 {
    width: 100%;
}

@media (min-width: 601px) {
    .m6 {
        width: 50%;
    }

    .m5 {
        width: 41.666%;
    }

    .m4 {
        width: 33.333%;
    }
}

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

.card {
    position: relative;
    margin: 1rem 0;
    background-color: #fff;
    border-radius: 8px;
    /* Softer radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card .card-image {
    position: relative;
}

.card .card-image img {
    width: 100%;
    object-fit: cover;
}

.card .card-title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 25px;
    border-top: 1px solid #f9f9f9;
}

.tlacitko {
    text-transform: uppercase;
    font-size: 0.85rem !important;
    letter-spacing: 2px;
    padding: 15px !important;
}

.tlacitko a {
    color: var(--secondary-color) !important;
    font-weight: 700;
    transition: 0.3s;
}

.tlacitko a:hover {
    color: var(--primary-color) !important;
}

blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    border-left: 4px solid var(--secondary-color);
    font-style: italic;
    color: #555;
    background: #fdfdfd;
    font-size: 1.1rem;
    line-height: 1.6;
}

.flow-text {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
}

.artevivo-card .card-image {
    aspect-ratio: 2 / 3;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artevivo-card .card-image img {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
}

.artevivo-bio-row {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 40px;
    margin: 40px -15px !important;
    align-items: center;
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .artevivo-bio-row {
        padding: 20px;
        margin: 20px 0 !important;
    }
}

.gallery-item {
    cursor: zoom-in;
    transition: 0.3s;
}

.gallery-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}