body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Georgia", serif;
  background: #c4bf9f;
  color: #2c2c2c;
}

* {
  box-sizing: border-box;
}

/* Header */
.header {
  background: #1a1a1a;
  color: white;
  padding: 20px;
  text-align: center;
  border-bottom: 4px solid #d32f2f;
}

.logo-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.logo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 3px solid #d32f2f;
  object-fit: contain;
  background: #c4bf9f;
}

.site-title {
  font-size: 5em;
  font-weight: bold;
  font-family: "Times New Roman", serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.text-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 320px;
  text-align: center;
  gap: 40px;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.3em;
}

/* Navigation */
.nav {
  background: #2c2c2c;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-btn {
  background: transparent;
  color: white;
  border: none;
  padding: 15px 25px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}

.nav-btn:hover {
  background: #d32f2f;
  border-bottom-color: #fff;
}

.nav-btn.active {
  background: #d32f2f;
  border-bottom-color: #fff;
}

/* Main Content */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 40px;
  align-items: start;
  min-height: 100%;
}

.left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.video-section {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.show-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.right-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-content: start;
}

.caricature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.caricature-card #caricatureDayContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
}

.featured-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #d32f2f;
}
.featured-card .video-container {
  height: 200px;
}

.featured-card h2 {
  margin-top: 0;
  color: #d32f2f;
  font-size: 1.8em;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.caricature-day {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  margin: 15px 0;
}

.video-container {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 15px 0;
  background: #000;
  border-radius: 5px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.show-promo {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: white;
  padding: 25px;
  border-radius: 8px;
  margin-top: 20px;
}

.show-content {
  /* display: flex; */
  gap: 20px;
  align-items: flex-start;
}

.show-photo {
  display: flex;
  align-items: center;
}

.artist-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
}

.show-info {
  flex: 1;
}

.show-promo h3 {
  margin-top: 0;
  font-size: 2em;
  text-align: center;
}

.artist-presentation {
  padding: 15px;
  margin-bottom: 15px;
}

.artist-presentation p {
  margin: 8px 0;
  line-height: 1.5;
}

.artist-presentation strong {
  font-size: 1.2em;
  color: #fff;
}

.btn-primary {
  background: white;
  color: #d32f2f;
  border: none;
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  margin: 10px;
}

.btn-primary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Gallery */
.gallery-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-btn {
  background: white;
  border: 2px solid #d32f2f;
  color: #d32f2f;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
  background: #d32f2f;
  color: white;
}

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

.gallery-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item-info {
  padding: 15px;
}

/* Comments */
.comments-section {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.comment-form {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 2px solid #eee;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #2c2c2c;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  font-family: inherit;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.comment-item {
  padding: 15px;
  border-left: 3px solid #d32f2f;
  margin-bottom: 15px;
  background: #f9f9f9;
  border-radius: 5px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.comment-author {
  font-weight: bold;
  color: #d32f2f;
}

.comment-date {
  font-size: 0.9em;
  color: #666;
}

.btn-delete {
  background: #d32f2f;
  color: white;
  border: none;
  padding: 5px 15px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9em;
}

.btn-delete:hover {
  background: #b71c1c;
}

/* Social Media */
.social-bar {
  background: #2c2c2c;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

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

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #2c2c2c;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook {
  background: #1877f2;
  color: white;
}
.social-btn.instagram {
  background: #e4405f;
  color: white;
}
.social-btn.tiktok {
  background: #000;
  color: white;
}

/* Admin Panel */
.admin-panel {
  background: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  border: 3px solid #d32f2f;
}

.admin-panel h2 {
  color: #d32f2f;
  margin-top: 0;
}

.upload-section {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.file-input-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  left: -9999px;
}

.file-input-label {
  background: #d32f2f;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
}

.file-input-label:hover {
  background: #b71c1c;
}

.preview-container {
  margin-top: 15px;
  padding: 15px;
  background: white;
  border-radius: 5px;
  border: 2px dashed #ddd;
}

.preview-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 5px;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #d32f2f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Drag & Drop Styles */
.drop-zone {
  border: 3px dashed #ddd;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  background: #fafafa;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.drop-zone:hover {
  border-color: #d32f2f;
  background: #fff5f5;
}

.drop-zone.dragover {
  border-color: #d32f2f;
  background: #fff5f5;
  transform: scale(1.02);
}

.drop-zone-content {
  pointer-events: none;
}

.drop-zone svg {
  color: #999;
  margin-bottom: 15px;
}

.drop-zone p {
  margin: 10px 0;
  color: #666;
}

.file-select-btn {
  background: none;
  border: none;
  color: #d32f2f;
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
}

.file-select-btn:hover {
  color: #b71c1c;
}

.file-preview {
  margin-top: 20px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

.file-preview img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.file-preview video {
  max-width: 100%;
  max-height: 300px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.file-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 5px;
  margin-bottom: 10px;
}

.file-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-size {
  font-size: 0.9em;
  color: #666;
}

.remove-file-btn {
  background: #d32f2f;
  color: white;
  border: none;
  padding: 5px 15px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9em;
}

.remove-file-btn:hover {
  background: #b71c1c;
}

.hidden {
  display: none;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2c2c2c;
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.empty-state svg {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  opacity: 0.3;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 8px;
  padding: 0;
  max-width: 600px;
  width: 90%;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 2px solid #eee;
  background: #f9f9f9;
  border-radius: 8px 8px 0 0;
}

.modal-header h3 {
  margin: 0;
  color: #d32f2f;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #d32f2f;
}

.modal .comment-form {
  padding: 25px;
  margin: 0;
  border: none;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 20px;
}

.btn-secondary {
  background: #f5f5f5;
  color: #666;
  border: 2px solid #ddd;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #eee;
  border-color: #ccc;
}

@media (max-width: 768px) {
  .logo {
    width: 100px;
    height: 100px;
  }
  .logo-container {
    flex-direction: row;
    justify-content: start;
    flex-wrap: nowrap;
    align-items: center;
  }
  .site-title {
    font-size: 1.2em;
    text-align: start;
  }
  .intro-text {
    display: none;
  }
  .text-container {
    height: auto;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .show-content {
    flex-direction: column;
    text-align: center;
  }

  .show-photo {
    align-self: center;
  }

  .nav {
    flex-direction: column;
    position: relative;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .caricature-day {
    height: auto;
  }
  .admin-tabs {
    flex-wrap: wrap;
  }
}

@view-transition {
  navigation: auto;
}

h3,
h4 {
  margin-top: 0;
  color: #d32f2f;
  padding-bottom: 10px;
}

.admin-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-tab-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: #ddd;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.admin-tab-btn.active {
  background: #333;
  color: white;
}

.admin-tab-content.hidden {
  display: none;
}

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

.content-item {
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.content-item img,
.content-item video,
.content-item iframe {
  width: 100%;
  height: auto;
}

.content-item img {
  height: 200px;
  object-fit: cover;
}

.item-info {
  padding: 0.5rem 1rem;
}

.item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

.btn-delete {
  background: #e74c3c;
  border: none;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
}
.btn-delete:hover {
  background: #c0392b;
}

.badge {
  background: #f39c12;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.article-text {
  max-height: 150px;

  overflow: hidden;
  text-overflow: ellipsis;
}
#showTitle {
  color: white !important;
}
