/* ==================================================
   MY BALKAN & BLUES MUSIC WORLD — БОИ
   ================================================== */
:root {
  /* Основни бои */
  --background: #f7f6f4;
  --surface: #fffdfb;
  --text: #333333;
  --heading: #6b7d8a;
  --muted: #77736f;
  --line: #d9d7d4;

  /* Главна (Balkan Fusion) — за насловна и глобален акцент */
  --musicvm: #a84b15;          /* Dark Orange / Warm Tan-Brown */
  --musicvm-bg: #fcf4eb;

  /* Recordings — потопла, кафеава варијанта */
  --recordings: #8a3d0f;
  --recordings-bg: #faf0e6;

  /* Live — црвеникава варијанта */
  --live: #8c1d1d;
  --live-bg: #faf0f0;

  /* 4 Musicians — теал/сино-зелена варијанта */
  --musicians: #2574a9;
  --musicians-bg: #f0f6fa;

  /* Инфо страници (Newsletter, Bio, Contact, Donate) */
  --info: #e1d89f;
  --info-text: #27474e;
  --info-background: #faf6e8;

  /* Featured */
  --featured: #e1d89f;
  --featured-background: #faf8e8;

  /* Accent */
  --accent: #888888;
}


/* ==================================================
   ОСНОВНИ ПОСТАВКИ
   ================================================== */

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 22px 60px;
  color: var(--text);
  background: var(--surface);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.75;
}

a {
  color: var(--musicvm);
}

a:hover {
  color: var(--heading);
}

img {
  max-width: 100%;
  height: auto;
}


/* ==================================================
   HEADER
   ================================================== */

.site-heading {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  margin: 0 0 14px;
  flex-direction: row;
  align-items: center;
}

.site-name {
  flex: 0 0 auto;
  margin: 0;
  color: var(--musicvm);
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-name a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--musicvm);
  text-decoration: none;
  white-space: nowrap;
}

.site-name a:hover {
  text-decoration: underline;
}

.site-name img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.site-title {
  color: var(--musicvm);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-subtitle {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
  white-space: nowrap;
}


/* ==================================================
   БАНЕР
   ================================================== */

.home-banner {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 28px auto 32px;
}


/* ==================================================
   ОСНОВНА СОДРЖИНА
   ================================================== */

main {
  margin-top: 24px;
}


/* ==================================================
   FEATURED
   ================================================== */

.featured-section {
  margin: 0 0 38px;
  padding: 24px 26px;
  border-left: 5px solid var(--featured);
  background: var(--featured-background);
}

.featured-section h2 {
  margin: 0 0 14px;
  color: #766e28;
  font-size: 1.6rem;
  line-height: 1.3;
}

.featured-section p {
  margin: 0 0 1.25em;
}

.featured-section p:last-child {
  margin-bottom: 0;
}

.featured-section a {
  color: #766e28;
}

.featured-section a:hover {
  color: var(--heading);
}


/* ==================================================
   ДОБРОДОЈДЕ И УВОДЕН ТЕКСТ
   ================================================== */

.welcome-section {
  margin: 0 0 38px;
  padding: 24px 26px;
  border-left: 5px solid var(--musicvm);
  background: var(--musicvm-bg);
}

.welcome-section h1 {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: 1.8rem;
  line-height: 1.25;
  text-align: center;
}

.welcome-section p {
  margin: 0 0 1.25em;
}

.welcome-section p:last-child {
  margin-bottom: 0;
}


/* ==================================================
   СОЦИЈАЛНИ МРЕЖИ
   ================================================== */
.social-invitation {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.social-invitation a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
}

.social-invitation a:hover {
  text-decoration: underline;
}


/* ==================================================
   ВТОРОСТЕПЕНО МЕНИ
   ================================================== */
.secondary-nav {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 20px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  gap: 12px;
}

.secondary-nav-wrapper {
  display: flex;
  justify-content: center;
  margin: 5px 0 7px;
  font-size: 0;
}

.secondary-nav a {
  color: var(--accent);
  text-decoration: none;
}

.secondary-nav a[href="/blog"] {
  font-weight: bold;
}

.secondary-nav a:hover {
  text-decoration: underline;
}

.secondary-nav span {
  color: var(--line);
}

@media (max-width: 600px) {
  .secondary-nav {
    gap: 6px;
    padding: 4px 10px;
    font-size: 0.9rem;
  }

  .secondary-nav-wrapper {
    margin: 40px 0;
  }
}


/* ==================================================
   ГЛАВНИ СЕКЦИИ НА САЈТОТ
   ================================================== */

.section-links h2,
.latest-additions h2 {
  margin: 0 0 18px;
  color: var(--heading);
  font-size: 1.55rem;
  line-height: 1.3;
  text-align: center;
}

.section-card {
  margin: 0 0 18px;
  padding: 20px 22px;
  border-left: 5px solid;
}

.section-card h3 {
  margin: 0 0 7px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.section-card h3 a {
  color: inherit;
  text-decoration: none;
}

.section-card h3 a:hover {
  text-decoration: underline;
}

.section-card p {
  margin: 0;
}

.latest-additions .teaser-image img {
  border-color: var(--musicvm);
}

/* Recordings */
.section-card.section-recordings {
  border-left-color: var(--recordings);
  background: var(--recordings-bg);
}

.section-card.section-recordings h3,
.section-card.section-recordings h3 a {
  color: var(--recordings);
}

/* Live */
.section-card.section-live {
  border-left-color: var(--live);
  background: var(--live-bg);
}

.section-card.section-live h3,
.section-card.section-live h3 a {
  color: var(--live);
}

/* 4 Musicians */
.section-card.section-musicians {
  border-left-color: var(--musicians);
  background: var(--musicians-bg);
}

.section-card.section-musicians h3,
.section-card.section-musicians h3 a {
  color: var(--musicians);
}


/* ==================================================
   LATEST ADDITIONS
   ================================================== */

.latest-additions {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.latest-additions h2 {
  color: var(--heading);
}


/* ==================================================
   ОПШТИ ТИПОГРАФСКИ ПОСТАВКИ
   ================================================== */

h1,
h2,
h3 {
  color: var(--heading);
}

p {
  margin: 0 0 1.25em;
}


/* ==================================================
   МОБИЛЕН ПРИКАЗ
   ================================================== */
@media (max-width: 600px) {
  .site-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-name {
    margin: 0;
    line-height: 1.1;
  }

  .site-title {
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
  }

  .site-subtitle {
    margin: -8px 0 0 62px;
    line-height: 1.2;
  }
}


/* ==================================================
   TEASERS (насловна + секции)
   ================================================== */

.teaser {
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-areas:
    "date     date"
    "title    title"
    "bandcamp bandcamp"
    "image    blurb"
    "image    category";
  gap: 10px 14px;
  padding: 12px 0;
  border-bottom: none;
  align-items: start;
}

.teaser-bandcamp {
  grid-area: bandcamp;
  margin: 8px 0;
}


.teaser-date {
  grid-area: date;
  text-align: right;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.teaser-title {
  grid-area: title;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  text-align: center;
}

.teaser-title a {
  color: var(--heading);
  text-decoration: none;
}

.teaser-title a:hover {
  text-decoration: underline;
}

.teaser-image {
  grid-area: image;
}

.teaser-image img {
  width: 90px;
  height: auto;
  display: block;
}

.teaser-blurb {
  grid-area: blurb;
  margin: 0;
  font-size: 0.95rem;
}

.teaser-category {
  grid-area: category;
  margin: 0;
  font-size: 0.85rem;
}

.teaser-tags {
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
    grid-area: category;
}

.teaser-tags .tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.8rem;
  text-decoration: none;
  border-radius: 3px;
  font-family: Arial, sans-serif;
  color: #fff;
}

/* Тенка рамка на тизер сликите во бојата на секцијата */

.teaser-image img {
  border: 2px solid var(--line);
  border-radius: 3px;
}

.section-recordings .teaser-image img,
.section-page.section-recordings .teaser-image img {
  border-color: var(--recordings);
}

.section-live .teaser-image img,
.section-page.section-live .teaser-image img {
  border-color: var(--live);
}

.section-musicians .teaser-image img,
.section-page.section-musicians .teaser-image img {
  border-color: var(--musicians);
}


.tag-recordings { background: var(--recordings); }
.tag-live       { background: var(--live); }
.tag-4musicians { background: var(--musicians); }

/* Мобилен — ист распоред, но слика помала */
@media (max-width: 600px) {
  .teaser {
    display: block;
    padding: 16px 0;
  }
  .teaser-image {
    float: left;
    margin-right: 12px;
    margin-bottom: 6px;
    width: 90px;
  }
  .teaser-image img {
    width: 90px;
    height: auto;
    display: block;
  }
  .teaser-date {
    text-align: left;
    margin-bottom: 4px;
  }
  .teaser-title {
    text-align: left;
    margin: 0 0 6px;
  }
  .teaser-blurb {
    margin: 0 0 8px;
  }
  .teaser-tags {
    clear: both;
    padding-top: 8px;
  }
}
.teaser-tags a.tag,
.teaser-tags a.tag:visited,
.teaser-tags a.tag:hover {
  color: #fff !important;
    text-decoration: none !important;
}


/* ==================================================
   AUDIO PLAYER (во тизери)
   ================================================== */

.teaser-audio {
  grid-area: blurb;
  margin: 0 0 8px;
}

.teaser-audio audio {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 0 4px;
}

.teaser-audio .audio-title {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: bold;
}

.teaser-audio .audio-copyright {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ==================================================
   TEASER SEPARATOR (линија + 🎵)
   ================================================== */

.teaser-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.teaser-separator::before,
.teaser-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}

.teaser-separator::before {
  background: linear-gradient(to left, transparent, var(--line), transparent);
}


/* ==================================================
                 MORE POSTS
   ================================================== */
.more-posts {
  margin: 16px 0 0;
  text-align: right;
  font-size: 0.85rem;
}

.more-posts a {
  color: var(--accent);
  text-decoration: none;
}

.more-posts a:hover {
  text-decoration: underline;
}

/* ==================================================
   BLOG PAGINATION
   ================================================== */

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 24px 0 8px;
  padding-top: 16px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}

.blog-pagination a {
  color: var(--musicvm);
  text-decoration: none;
  font-weight: bold;
}

.blog-pagination a:hover {
  text-decoration: underline;
}

.blog-pagination span {
  color: var(--muted);
}

/* ==================================================
   CONTACT FORM
   ================================================== */

.contact-main {
  max-width: 680px;
  margin: 0 auto;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #2c2c2c;
}

.form-group .required {
  color: #b33939;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1.1rem;
  color: #1a1a1a;
  background-color: #fafafa;
  border: 1px solid #cccccc;
  border-radius: 4px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--musicvm);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  max-width: 600px;
}

.form-trap {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-actions {
  margin-top: 6px;
}

.btn-submit {
  display: inline-block;
  padding: 11px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--musicvm);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-submit:hover {
  background-color: #8a3d0f;
}

.btn-submit:active {
  background-color: #6b2f0a;
}

.alert {
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 1.5rem;
  line-height: 1.45;
    text-align: center;
}

.alert p {
  margin: 0;
}

.alert-success {
  background-color: #eef7ee;
  border: 1px solid #b7deb7;
  color: #1f6b1f;
}

.alert-error {
  background-color: #fdf0f0;
  border: 1px solid #f1c0c0;
  color: #9c2121;
}

@media (max-width: 600px) {
  .contact-card {
    padding: 20px 18px;
  }

  .form-group textarea {
    min-height: 300px;
  }
}


.teaser-bandcamp iframe {
  display: block;
  width: 100%;
  border: 0;
}
