/* Základní styly pro celý web */
body {
    margin: 0;
    font-family: 'Lora', serif;
    font-size: 17px;
    background: #1a1a1a url('images/piano-bg.png') no-repeat bottom left;
    background-size: cover;
    color: #ffd700;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

header {
    position: relative;
    padding-top: 20px;
}

.header-title {
    text-align: center;
    margin: 20px 0;
}

.header-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin: 0;
}

nav {
    background: linear-gradient(to right, #2c2c2c, #1a1a1a);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 15px;
}

/* Jednotný styl menu pro všechny stránky */
nav a {
    color: #ffd700;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    padding: 12px 24px;
    border-radius: 25px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

nav a:hover {
    background: #ffd700;
    color: #1a1a1a;
    transform: scale(1.05);
}

.layout-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.main-photo {
    width: 250px;
    height: 375px;
    border: 4px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
    padding: 2px;
}

.blog {
    flex: 1;
    margin: 0;
    max-width: 800px;
}

.blog h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    color: #ffd700;
}

.blog article {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 2px solid transparent;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
}

.blog h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
}

.blog p {
    font-size: 17px;
}

.media-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}

.slideshow {
    position: relative;
    width: 800px;
    height: 600px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
    padding: 4px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    border-radius: 6px;
    padding: 4px;
    box-sizing: border-box;
    opacity: 0;
    transform: scale(0.8) translateX(50px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.slide.active {
    display: block;
    opacity: 1;
    transform: scale(1) translateX(0);
}

.audio-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 250px;
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
    padding: 15px;
}

.audio-player audio {
    width: 100%;
    max-width: 200px;
}

.audio-player .track-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 200px;
}

.audio-player .track-list li {
    margin: 5px 0;
}

.audio-player .track-list a {
    color: #ffd700;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.audio-player .track-list a:hover {
    background: rgba(212, 175, 55, 0.2);
}

h1, p {
    text-align: center;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    color: #ffd700;
}

p {
    color: #ffd700;
    font-size: 17px;
}

.buttons {
    text-align: center;
    margin: 20px 0;
}

.btn {
    background: #d4af37;
    color: #1a1a1a;
    padding: 12px 24px;
    text-decoration: none;
    margin: 0 10px;
    border-radius: 8px;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: #b87333;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Styly pro cookie consent */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

#cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.cookie-content p {
    margin: 0 0 15px;
    font-size: 15px;
    font-family: 'Arial', sans-serif;
    color: #ffd700;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#cookie-accept,
#cookie-decline {
    background: #d4af37;
    color: #1a1a1a;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#cookie-decline {
    background: #4682b4;
}

#cookie-accept:hover {
    background: #b87333;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#cookie-decline:hover {
    background: #5f9ea0;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Styly pro footer */
footer {
    background: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #d4af37;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

footer p {
    margin: 0;
    font-size: 15px;
    color: #ffd700;
}

.footer-login-btn {
    display: inline-block;
    font-size: 16px;
    color: #1a1a1a;
    padding: 8px 16px;
    border: 1px solid #d4af37;
    border-radius: 8px;
    background-color: #d4af37;
    transition: all 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-family: 'Lora', serif;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
    vertical-align: middle;
}

.footer-login-btn:hover {
    background-color: #b87333;
    color: #1a1a1a;
    border-color: #b87333;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Styly pro tabulku koncertů */
#koncerty {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

#koncerty h1 {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

#koncerty h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
    padding: 2px;
    margin-bottom: 40px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #d4af37;
    color: #ffd700;
}

th {
    background: rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
    font-size: 21px;
}

td {
    font-size: 17px;
}

/* Styly pro odkazy v tabulce koncertů */
table a {
    color: #ffd700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

table a:hover {
    color: #b87333;
}

/* Styly pro záložky archivu */
.archive-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-link {
    background: #2c2c2c;
    color: #ffd700;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}

.tab-link:hover {
    background: #d4af37;
    color: #1a1a1a;
}

.tab-link.active {
    background: #d4af37;
    color: #1a1a1a;
    font-weight: bold;
}

/* Styly pro akce v tabulce koncertů a příspěvcích */
.koncert-actions,
.post-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    text-align: right;
}

.action-spacer {
    width: 10px;
}

.koncert-actions .edit-btn,
.post-actions .edit-btn {
    background: #4682b4;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.koncert-actions .edit-btn:hover,
.post-actions .edit-btn:hover {
    background: #5f9ea0;
}

.koncert-actions .delete-btn,
.post-actions .delete-btn {
    background: #FF4500;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.koncert-actions .delete-btn:hover,
.post-actions .delete-btn:hover {
    background: #FF6347;
}

/* Styly pro potvrzení smazání */
.delete-confirm-btn {
    background: #FF4500;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    margin-right: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.delete-confirm-btn:hover {
    background: #FF6347;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.delete-cancel-btn {
    background: #4682b4;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.delete-cancel-btn:hover {
    background: #5f9ea0;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Styly pro sekci tvorba */
#tvorba {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

#tvorba h1 {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

#tvorba h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 15px;
}

.content-box {
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
    padding: 30px;
    margin: 20px 0;
}

.content-box p {
    font-family: 'Lora', serif;
    font-size: 17px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.table-wrapper {
    overflow-x: auto;
}

.diskografie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 22px;
    text-align: left;
}

.diskografie-table th,
.diskografie-table td {
    padding: 20px 25px;
    border: 1px solid #d4af37;
    color: #ffd700;
}

.diskografie-table th {
    background: rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.diskografie-table tr:nth-child(even) {
    background-color: #2c2c2c;
}

.diskografie-table tr:hover {
    background-color: #3a3a3a;
}

.album-cover {
    max-width: 150px;
    height: auto;
    border-radius: 5px;
}

.no-image {
    width: 150px;
    height: 150px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #666;
    font-size: 18px;
}

.admin-actions a {
    color: white;
    background-color: #ff4444;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 5px;
}

.admin-actions a.edit {
    background-color: #4CAF50;
}

.edit-album-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.edit-album-content {
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.edit-album-content form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.edit-album-content .form-group {
    margin-bottom: 15px;
}

.edit-album-content button[type="submit"] {
    margin-top: 20px;
    position: sticky;
    bottom: 0;
    background: #d4af37;
    color: #1a1a1a;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.edit-album-content button[type="submit"]:hover {
    background: #b87333;
}

.add-album {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.add-album h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

.add-album form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.add-album .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.add-album .form-group label {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #ffd700;
}

.add-album input[type="text"],
.add-album input[type="number"],
.add-album input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #d4af37;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-family: 'Lora', serif;
    font-size: 17px;
    box-sizing: border-box;
}

.add-album input[type="number"] {
    width: 100px;
}

.add-album button {
    background: #d4af37;
    color: #1a1a1a;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: center;
}

.add-album button:hover {
    background: #b87333;
}

.add-album .error {
    color: #FF4500;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

/* Styly pro modální okénko */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #ffd700;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #d4af37;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-content .form-group label {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #ffd700;
}

.modal-content input[type="password"],
.modal-content input[type="url"],
.modal-content input[type="text"],
.modal-content textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #d4af37;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-family: 'Lora', serif;
    font-size: 17px;
    box-sizing: border-box;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

.modal-content button {
    background: #d4af37;
    color: #1a1a1a;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    align-self: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-content button:hover {
    background: #b87333;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.modal-content .error {
    color: #FF4500;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

/* Styly pro sekci videí */
#video {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

#video h1 {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

.video-content {
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
    padding: 20px;
}

.video-item {
    margin-bottom: 20px;
}

.video-item iframe {
    width: 100%;
    height: 315px;
    border-radius: 5px;
}

.video-item p {
    margin: 10px 0;
}

.video-item p a {
    color: #ffd700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.video-item p a:hover {
    color: #b87333;
}

.video-item .video-date {
    font-size: 15px;
    color: #ccc;
    font-style: italic;
}

.video-actions {
    margin-top: 10px;
    text-align: right;
}

.video-actions a {
    color: #ffd700;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #d4af37;
    border-radius: 5px;
    margin-left: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.video-actions .edit-btn {
    background: #4682b4;
}

.video-actions .edit-btn:hover {
    background: #5f9ea0;
}

.video-actions .delete-btn {
    background: #FF4500;
}

.video-actions .delete-btn:hover {
    background: #FF6347;
}

.add-video {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.add-video h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

.add-video form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.add-video .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.add-video .form-group label {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #ffd700;
}

.add-video input[type="url"],
.add-video textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #d4af37;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-family: 'Lora', serif;
    font-size: 17px;
    box-sizing: border-box;
}

.add-video textarea {
    height: 100px;
    resize: vertical;
}

.add-video button {
    background: #d4af37;
    color: #1a1a1a;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    align-self: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.add-video button:hover {
    background: #b87333;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.add-video .error {
    color: #FF4500;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

/* Styly pro sekci koncertů */
.add-koncert {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.add-koncert h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

.add-koncert form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.add-koncert .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.add-koncert .form-group label {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #ffd700;
}

.add-koncert input[type="text"],
.add-koncert input[type="date"],
.add-koncert input[type="url"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #d4af37;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-family: 'Lora', serif;
    font-size: 17px;
    box-sizing: border-box;
}

.add-koncert button {
    background: #d4af37;
    color: #1a1a1a;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    align-self: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.add-koncert button:hover {
    background: #b87333;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.add-koncert .form-group button {
    background: #4682b4;
    padding: 8px 16px;
    margin-top: 5px;
    font-size: 15px;
}

.add-koncert .form-group button:hover {
    background: #5f9ea0;
}

.add-koncert .error {
    color: #FF4500;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

/* Styly pro sekci tvorby */
.tvorba-actions {
    margin-top: 10px;
    text-align: right;
}

.tvorba-actions a {
    color: #ffd700;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #d4af37;
    border-radius: 5px;
    margin-left: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.tvorba-actions .edit-btn {
    background: #4682b4;
}

.tvorba-actions .edit-btn:hover {
    background: #5f9ea0;
}

.tvorba-actions .delete-btn {
    background: #FF4500;
}

.tvorba-actions .delete-btn:hover {
    background: #FF6347;
}

.add-tvorba {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.add-tvorba h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

.add-tvorba form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.add-tvorba .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.add-tvorba .form-group label {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #ffd700;
}

.add-tvorba select,
.add-tvorba input[type="text"],
.add-tvorba textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #d4af37;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-family: 'Lora', serif;
    font-size: 17px;
    box-sizing: border-box;
}

.add-tvorba textarea {
    height: 100px;
    resize: vertical;
}

.add-tvorba button {
    background: #d4af37;
    color: #1a1a1a;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    align-self: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.add-tvorba button:hover {
    background: #b87333;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.add-tvorba .error {
    color: #FF4500;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

/* Styly pro sekci kontakt */
.kontakt-content {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.kontakt-content p {
    font-family: 'Lora', serif;
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.kontakt-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontakt-content .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kontakt-content .form-group label {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #ffd700;
}

.kontakt-content input[type="text"],
.kontakt-content input[type="email"],
.kontakt-content textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #d4af37;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-family: 'Lora', serif;
    font-size: 17px;
    box-sizing: border-box;
}

.kontakt-content textarea {
    height: 150px;
    resize: vertical;
}

.kontakt-content button {
    background: #d4af37;
    color: #1a1a1a;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    align-self: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.kontakt-content button:hover {
    background: #b87333;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Styly pro sekci O mně */
#omne {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

#omne h1 {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

.omne-content {
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #4a2c0f, #1a1a1a);
    padding: 20px;
}

.omne-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 10px;
}

.omne-content p {
    font-family: 'Lora', serif;
    font-size: 17px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.omne-content p i {
    color: #ffd700;
}

/* Styly pro sekci Foto */
#foto {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

#foto h1 {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-folder {
    position: relative;
    display: inline-block;
    margin: 20px;
    text-align: center;
    width: 750px;
    height: 900px;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.gallery-folder:hover {
    transform: scale(1.05);
}

.gallery-folder .thumbnail {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.gallery-folder h3 {
    margin: 20px 0;
    font-size: 36px;
    color: #333;
}

.admin-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.admin-actions a {
    color: white;
    background-color: #ff4444;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}

.admin-actions a.edit {
    background-color: #4CAF50;
}

.add-gallery {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.add-gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 30px;
}

.add-gallery form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.add-gallery .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.add-gallery .form-group label {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 10px;
}

.add-gallery .form-group input[type="text"],
.add-gallery .form-group input[type="number"],
.add-gallery .form-group input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #d4af37;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-family: 'Lora', serif;
    font-size: 20px;
    box-sizing: border-box;
}

.add-gallery .form-group input[type="number"] {
    width: 100px;
}

.add-gallery button {
    background: #d4af37;
    color: #1a1a1a;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: center;
    margin-top: 20px;
}

.add-gallery button:hover {
    background: #b87333;
}

.add-gallery .error {
    font-size: 20px;
    color: #FF4500;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

/* Styly pro modální okénko galerie */
.gallery-modal-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    text-align: center;
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    overflow: auto;
}

.gallery-slideshow {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100%;
}

.gallery-slide img {
    max-width: 1800px;
    max-height: 1200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px;
    font-size: 24px;
    cursor: pointer;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.edit-gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.edit-gallery-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.edit-gallery-content form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.edit-gallery-content .form-group {
    margin-bottom: 15px;
}

.edit-gallery-content button[type="submit"] {
    margin-top: 20px;
    position: sticky;
    bottom: 0;
    background: #d4af37;
    color: #1a1a1a;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.edit-gallery-content button[type="submit"]:hover {
    background: #b87333;
}

.photo-list {
    margin: 10px 0;
}

.photo-list img {
    max-width: 100px;
    margin: 5px;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    .header-title h1 {
        font-size: 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav a {
        font-size: 18px;
        padding: 12px 20px;
    }

    .layout-container {
        flex-direction: column;
        align-items: center;
    }

    .main-photo {
        width: 200px;
        height: 300px;
    }

    .blog {
        margin: 20px 0;
        max-width: 100%;
    }

    .slideshow {
        width: 300px;
        height: 225px;
    }

    .video-item iframe {
        height: 200px;
    }

    .video-item p {
        font-size: 14px;
    }

    .video-date {
        font-size: 12px;
    }

    .video-actions a {
        font-size: 12px;
        padding: 4px 8px;
    }

    .add-video h2 {
        font-size: 20px;
    }

    .add-video .form-group label {
        font-size: 16px;
    }

    .add-video input[type="url"],
    .add-video textarea {
        font-size: 14px;
    }

    .add-video button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .modal-content {
        width: 90%;
        margin: 20% auto;
    }

    .gallery-folder {
        width: 150px;
    }

    .gallery-slideshow {
        height: 300px;
    }

    /* Responzivní úpravy pro tabulku diskografie */
    .diskografie-table {
        font-size: 16px;
    }

    .diskografie-table th,
    .diskografie-table td {
        padding: 10px 15px;
    }

    .diskografie-table th {
        font-size: 18px;
    }

    .album-cover {
        max-width: 100px;
    }

    .no-image {
        width: 100px;
        height: 100px;
        font-size: 14px;
    }

    .content-box {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .header-title h1 {
        font-size: 18px;
    }

    nav a {
        font-size: 16px;
        padding: 6px 12px;
    }

    .main-photo {
        width: 150px;
        height: 225px;
    }

    .slideshow {
        width: 250px;
        height: 187.5px;
    }

    .video-item iframe {
        height: 150px;
    }

    .video-item p {
        font-size: 12px;
    }

    .video-date {
        font-size: 10px;
    }

    .video-actions a {
        font-size: 10px;
        padding: 3px 6px;
    }

    .gallery-folder {
        width: 120px;
    }

    .gallery-slideshow {
        height: 200px;
    }

    /* Další úpravy pro tabulku diskografie na velmi malých obrazovkách */
    .diskografie-table {
        font-size: 14px;
    }

    .diskografie-table th,
    .diskografie-table td {
        padding: 8px 10px;
    }

    .diskografie-table th {
        font-size: 16px;
    }

    .album-cover {
        max-width: 80px;
    }

    .no-image {
        width: 80px;
        height: 80px;
        font-size: 12px;
    }
}