/* Root variables */
:root {
  /* Violet Vymatic colour palette: deep purple, black and a pop of yellow */
  --primary-bg: #0e0e0e;        /* rich black background */
  --secondary-bg: #1a1124;      /* very dark violet for panels and nav */
  --accent-color: #6a0dad;      /* royal purple accent for buttons and highlights */
  --text-color: #e8e0f2;        /* soft lavender‑white for readability */
  --link-color: #f5c425;       /* warm yellow for links */
  --font-body: 'Montserrat', sans-serif;
  --font-heading: 'Cinzel', serif;
  --max-width: 1200px;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--primary-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--link-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 3rem 0;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--primary-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--secondary-bg);
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-color);
}

.nav {
  position: relative;
}

.nav-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-list li a {
  color: var(--text-color);
  font-size: 1rem;
  padding: 0.5rem 0.8rem;
  display: block;
  border-radius: 4px;
}

.nav-list li a:hover,
.nav-list li a.active {
  background-color: var(--accent-color);
  color: #fff;
}

/* Mobile navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-list {
    position: absolute;
    right: 0;
    top: 100%;
    flex-direction: column;
    background-color: var(--primary-bg);
    width: 200px;
    padding: 1rem;
    display: none;
  }
  .nav-list.open {
    display: flex;
  }
}

/* Hero section */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-color);
  padding: 1rem;
}
.hero-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero-tagline {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.btn {
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
}
.btn:hover {
  /* darken the accent on hover */
  background-color: #58208b;
}
.btn-secondary {
  background-color: var(--secondary-bg);
  color: var(--text-color);
  border: 1px solid var(--accent-color);
}
.btn-secondary:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* Page header */
.page-header h1 {
  font-size: 2rem;
}
.page-header p {
  color: #ccc;
}

/* Discography */
.release-item {
  background-color: var(--secondary-bg);
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.release-cover {
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.release-title {
  font-size: 1.2rem;
}
.release-year {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal.open {
  display: flex;
}
.modal-content {
  background-color: var(--secondary-bg);
  padding: 1.5rem;
  border-radius: 4px;
  max-width: 600px;
  width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

/* Tour table */
.tour-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--secondary-bg);
  border-radius: 4px;
  overflow: hidden;
}
.tour-table th,
.tour-table td {
  padding: 0.8rem;
  text-align: left;
}
.tour-table thead {
  background-color: var(--accent-color);
}
.tour-table tbody tr:nth-child(even) {
  background-color: #222;
}

/* Gallery */
.gallery-thumb {
  border-radius: 4px;
  transition: transform 0.3s ease;
}
.gallery-thumb:hover {
  transform: scale(1.05);
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.lightbox.open {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
}
.lightbox-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
.lightbox-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Blog */
.post-excerpt {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--secondary-bg);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.post-thumb {
  border-radius: 4px;
}
.post-title {
  font-size: 1.5rem;
}
.post-date {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}
.post-summary {
  color: #ccc;
}

.post {
  background-color: var(--secondary-bg);
  padding: 2rem;
  border-radius: 4px;
  margin: 2rem auto;
  max-width: 800px;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
label {
  font-weight: bold;
}
input[type="text"],
input[type="email"],
textarea {
  padding: 0.5rem;
  border: 1px solid #444;
  border-radius: 4px;
  background-color: #111;
  color: var(--text-color);
  font-family: var(--font-body);
}
textarea {
  resize: vertical;
}
.form-message {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #8bc34a;
}

/* Footer */
.site-footer {
  padding: 1rem 2rem;
  background-color: var(--primary-bg);
  text-align: center;
  border-top: 1px solid var(--secondary-bg);
}
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.social-links img {
  width: 24px;
  height: 24px;
}
.social-link-row {
  display: flex;
  gap: 1rem;
}