:root {
  --primary-color: black;
  --secondary-color: #666;
  --accent-color: #3498db;
  --background-color: white;
  --text-color: #333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

.newsletter-container {
  text-align: center;
  background: rgba(250,250,250,0.8);
}

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

/* Loading Overlay */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--background-color);
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #eee;
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--background-color);
  box-shadow: var(--shadow);
  z-index: 1000;
}

#main-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

#main-content.visible {
  opacity: 1;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-color);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: var(--transition);
}

.hamburger::before { transform: translateY(-8px); }
.hamburger::after { transform: translateY(8px); }

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  margin-top: 60px;
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

.hero-logo {
  width: min(80%, 600px);
  margin: 0 auto;
  transition: all 0.5s ease;
}

/* Newsletter Section */
.newsletter-section .input-group {
  margin-bottom: 10px;
  width: 100%;
}

.newsletter-section .email-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-section input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.newsletter-section input[type="text"]:focus {
  border-color: #673ab7;
  outline: none;
  box-shadow: 0 0 0 2px rgba(103, 58, 183, 0.2);
}

.newsletter-section button[type="submit"] {
  margin-top: 10px;
  width: auto;
  min-width: 120px;
}

@media (max-width: 768px) {
  .newsletter-section .input-group {
    width: 100%;
  }
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-group {
  display: flex;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e1e1e1;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.input-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.input-group button {
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.input-group button:hover {
  background-color: #2980b9;
  transform: translateY(-1px);
}

.input-group button:active {
  transform: translateY(0);
}

.email-message {
  min-height: 24px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.email-message.success {
  color: #2ecc71;
}

.email-message.error {
  color: #e74c3c;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-link {
  color: var(--secondary-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Main Content Sections */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.section {
  margin: 4rem 0;
  scroll-margin-top: 80px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--accent-color);
}

.artist-name {
  font-size: 1.5rem;
  margin: 1.5rem 0;
  font-weight: bold;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  background: rgba(250,250,250, 0.9);
  border: 2px solid var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary-color);
}

.slider-btn:hover {
  background: var(--accent-color);
  color: white;
}

 /* Marquee Carousel Styles */
    .marquee-container {
      max-width: 1200px;
      width: 90%;
      margin: 2rem auto;
      overflow: hidden;
      position: relative;
    }
    
    .marquee-track {
      display: flex;
      width: fit-content; /* Important for measuring content width */
    }
    
    .marquee-item {
      flex: 0 0 auto;
      margin: 0 20px;
      transition: transform 0.3s ease;
    }
    
    .marquee-item:hover {
      transform: scale(1.05);
    }
    
    .marquee-item img {
      width: 250px;
      height: 250px;
      object-fit: cover;
      border-radius: 10px;
      cursor: pointer;
    }
    
    .marquee-item h3 {
      text-align: center;
      margin-top: 10px;
    }

/* Artist Grid */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.artist-card {
  text-align: center;
  padding: 1rem;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.artist-card img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.artist-card:hover img {
  transform: translateY(-5px);
}

.artist-card h3 {
  margin-top: 1rem;
  font-size: 2rem;
}

/* Shop Section */
#shop-component-container {
  background-color: rgba(255, 255, 255, 0.5); /* White with 70% opacity */
  backdrop-filter: blur(5px); /* Optional: adds a slight blur effect */
  border-radius: 8px; /* Optional: rounded corners */
  padding: 20px; /* Optional: adds some space inside the container */
}

/* Make product cards more transparent too */
#shop-component-container .productCard {
  background-color: rgba(255, 255, 255, 0.8); /* Product cards slightly less transparent */
}

.role {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

address a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

/* Border Colors */
.blue-border { border-color: #3498db; }
.purple-border { border-color: #9b59b6; }
.red-border { border-color: #e74c3c; }
.orange-border { border-color: #e67e22; }

/* Animation Classes */
.spin1, .spin2 {
  animation: spin-animation 0.5s ease-out;
}

@keyframes spin-animation {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* Footer */
.site-footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
  text-align: center;
}

.site-footer .social-links {
  margin-bottom: 2rem;
}

.site-footer .social-link {
  color: white;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--background-color);
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    transform: translateY(-150%);
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hero {
    margin-top: 60px;
  }

  .featured-image {
    width: 90%;
  }

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

  .input-group {
    flex-direction: column;
  }

  .input-group button {
    width: 100%;
  }
}

/* Active States */
.menu-toggle.active .hamburger {
  transform: rotate(45deg);
}

.menu-toggle.active .hamburger::before {
  transform: translateY(0) rotate(-90deg);
}

.menu-toggle.active .hamburger::after {
  transform: translateY(0) rotate(-90deg);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-panel {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  z-index: 9999;
}

.admin-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.admin-content h2 {
  margin-bottom: 1rem;
}

.admin-controls {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.admin-controls button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  background: var(--accent-color);
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.admin-controls button:hover {
  background: #2980b9;
}

.email-list {
  margin-top: 2rem;
}

.email-entry {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}

.email-entry:last-child {
  border-bottom: none;
}

.timestamp {
  color: var(--secondary-color);
  font-size: 0.9rem;
}