/*
Theme Name: Ivan Tarle
Theme URI: https://ivantarle.com
Author: Ivan Tranquilla Tarle
Description: Custom theme for ivantarle.com – Audio-Visual Artist
Version: 2.0
*/

/* ─── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body, html {
  font-family: "Montserrat", sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}

#page, .site, main, #content,
.entry-content, .post-content, .page-content,
.wp-site-blocks, article.page {
  background: #0a0a0a !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.page-title, .entry-title, .wp-block-post-title, h1.entry-title {
  display: none !important;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Navigation ────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.92);
  padding: 14px 8%;
}

.site-logo {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: #ffffff;
}

.site-logo span { color: #c6a96b; }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-menu a {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #cccccc;
  transition: color 0.3s ease;
}

.nav-menu a:hover { color: #c6a96b; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* ─── Hero Banner ───────────────────────────────── */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: url('https://www.ivantarle.com/wp-content/uploads/2026/04/pressIvanTarle1.jpg') no-repeat center top / cover;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.65) 45%,
    rgba(0, 0, 0, 0.2) 100%
  );
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 8%;
  color: #ffffff;
  padding-bottom: 80px;
  animation: fadeInUp 1s ease both;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.subtitle { font-size: 20px; color: #c6a96b; margin-bottom: 20px; }
.highlight { font-size: 28px; margin-bottom: 30px; }

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.btn {
  text-decoration: none;
  padding: 14px 28px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary { background-color: #c6a96b; color: #000000; }
.btn-primary:hover { background-color: #b8964f; }
.btn-secondary { border: 2px solid #c6a96b; color: #ffffff; }
.btn-secondary:hover { background-color: #c6a96b; color: #000000; }

.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 2px solid rgba(198, 169, 107, 0.5);
  border-radius: 50%;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: border-color 0.3s ease;
  z-index: 3;
}

.scroll-arrow:hover { border-color: #c6a96b; }
.scroll-arrow svg { width: 22px; height: 22px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Section Base ──────────────────────────────── */
.section { padding: 100px 8%; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c6a96b;
  margin-bottom: 12px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  margin-bottom: 30px;
  line-height: 1.15;
}

.section-divider {
  width: 60px; height: 2px;
  background: #c6a96b;
  margin-bottom: 40px;
}

/* ─── About ─────────────────────────────────────── */
#about {
  background: #0f0f0f;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-image {
  width: 100%;
  position: sticky;
  top: 100px;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.85;
  color: #aaaaaa;
  margin-bottom: 20px;
}

.about-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease;
}

.about-extra.open { max-height: 3000px; }

.btn-readmore {
  background: none;
  border: 1px solid #c6a96b;
  color: #c6a96b;
  padding: 10px 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-readmore:hover { background: #c6a96b; color: #000; }

/* ─── Music ─────────────────────────────────────── */
#music { background: #0a0a0a; }

.music-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.release-card:nth-child(1) { grid-column: 1 / 3; }
.release-card:nth-child(2) { grid-column: 3 / 5; }
.release-card:nth-child(3) { grid-column: 5 / 7; }
.release-card:nth-child(4) { grid-column: 2 / 4; }
.release-card:nth-child(5) { grid-column: 4 / 6; }

.release-card {
  background: #141414;
  border: 1px solid #222;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.release-card:hover { border-color: #c6a96b; }

.release-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.release-info { padding: 16px; }

.release-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin-bottom: 6px;
}

.release-info p { font-size: 13px; color: #888; margin-bottom: 14px; }

.release-info a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c6a96b;
  transition: opacity 0.2s;
}

.release-info a:hover { opacity: 0.75; }

/* ─── Press ─────────────────────────────────────── */
#press { background: #0f0f0f; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.press-card {
  background: #141414;
  border: 1px solid #222;
  border-radius: 4px;
  padding: 28px;
  transition: border-color 0.3s ease;
}

.press-card:hover { border-color: #c6a96b; }

.press-outlet {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c6a96b;
  margin-bottom: 12px;
}

.press-card blockquote {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  line-height: 1.6;
  color: #dddddd;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.press-card cite { font-size: 13px; color: #666; font-style: normal; }

.press-download { margin-top: 48px; text-align: center; }

.btn-review {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c6a96b;
  transition: opacity 0.2s;
}

.btn-review:hover { opacity: 0.7; }

/* ─── Contact ───────────────────────────────────── */
#contact { background: #0a0a0a; text-align: center; }
#contact .section-divider { margin: 0 auto 40px; }

#contact p {
  font-size: 16px;
  color: #aaa;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

/* ─── Newsletter ─────────────────────────────────── */
.newsletter-wrap { margin-top: 48px; text-align: center; }

.newsletter-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.newsletter-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid #c6a96b;
  border-radius: 4px;
  overflow: hidden;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 18px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  outline: none;
}

.newsletter-form input[type="email"]::placeholder { color: #666; }

.newsletter-form button {
  background: #c6a96b;
  color: #000;
  border: none;
  padding: 14px 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover { background: #b8964f; }
.newsletter-success { color: #c6a96b; font-size: 14px; margin-bottom: 16px; display: block; }
.newsletter-error { color: #ff6b6b; font-size: 14px; margin-bottom: 16px; display: block; }

/* ─── Footer ────────────────────────────────────── */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 8% 32px;
  background: #060606;
  border-top: 1px solid #1a1a1a;
  width: 100%;
}

.footer-platforms {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  margin-bottom: 32px;
}

.footer-platforms a {
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
}

.footer-platforms a:hover { opacity: 1; transform: scale(1.1); }
.footer-platforms svg { width: 48px; height: 48px; display: block; }

.footer-copy {
  font-size: 12px;
  color: #444;
}

/* ─── Single recenzija ───────────────────────────── */
.review-single { min-height: 100vh; padding-top: 140px; }
.review-single-inner { max-width: 780px; margin: 0 auto; }
.review-content { font-size: 17px; line-height: 1.9; color: #cccccc; margin-bottom: 40px; }
.review-author { font-size: 15px; color: #c6a96b; margin-top: 32px; }
.btn-back { display: inline-block; margin-bottom: 40px; font-size: 13px; font-weight: 600; color: #666; transition: color 0.3s; }
.btn-back:hover { color: #c6a96b; }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 36px; }
  .highlight { font-size: 22px; }
  .section-title { font-size: 38px; }
  #about { grid-template-columns: 1fr; gap: 48px; }
  .about-image { max-width: 480px; margin: 0 auto; position: static; }
  .music-grid { grid-template-columns: repeat(2, 1fr); }
  .release-card:nth-child(1),
  .release-card:nth-child(2),
  .release-card:nth-child(3),
  .release-card:nth-child(4),
  .release-card:nth-child(5) { grid-column: auto; }
}

@media (max-width: 768px) {
  .site-header { padding: 16px 5%; }
  .site-header.scrolled { padding: 12px 5%; }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(0,0,0,0.97);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-menu.open { display: flex; }
  .nav-menu a { font-size: 18px; }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero-banner { height: 90vh; }
  .hero-content { margin-left: 5%; margin-right: 5%; }
  .hero-content h1 { font-size: 32px; }
  .subtitle { font-size: 16px; }
  .highlight { font-size: 18px; }

  .section { padding: 72px 5%; }
  .section-title { font-size: 32px; }

  .music-grid { grid-template-columns: repeat(2, 1fr); }
  .release-card:nth-child(1),
  .release-card:nth-child(2),
  .release-card:nth-child(3),
  .release-card:nth-child(4),
  .release-card:nth-child(5) { grid-column: auto; }

  .site-footer { flex-direction: column; gap: 16px; }
}
