/* 
   CONSOLIDATED EXTERNAL STYLES
   Theme: High-Impact, Professional, Funky Dark
   Colors inspired by avatar: Orange (#ff5500), Cyan (#00f2ff)
*/
:root {
  --bg-dark: #050505;
  --bg-card: #111111;
  --primary: #ff5500;
  --accent: #00f2ff;
  --text-main: #ffffff;
  --text-muted: #888888;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1400px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.9), transparent);
  backdrop-filter: blur(12px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Layout Containers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

section {
  padding: 8rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Typography */
h1 {
  font-size: clamp(3rem, 10vw, 8.5rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: -0.05em;
}

h2 {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.highlight {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #e64d00;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 85, 0, 0.3);
}

/* Footer */
footer {
  padding: 4rem 2rem;
  border-top: 1px solid #222;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Page Specific Hero */
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1000px;
  min-height: 80vh; /* Retained from existing for content alignment */
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  order: 2; /* Put image underneath text */
  margin-top: 1rem;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Accent lines/decoration - simplified */
.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.2;
}

/* The .hero-img block is removed as it's superseded by .hero-image-wrapper img */

/* Grid & Layout Helpers */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #ccc;
}

/* Mixes Specific */
.mix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.mix-card {
  background: var(--bg-card);
  padding: 2rem;
  border: 1px solid #222;
  transition: border-color 0.3s ease;
}
.mix-card:hover {
  border-color: var(--primary);
}
.mix-tag {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: block;
}
.play-btn {
  margin-top: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Gallery Specific */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #222;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(100%) contrast(1.2);
}
.gallery-item:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}
.gallery-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover:after {
  opacity: 0.4;
}

/* Contact Specific */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
label {
  display: block;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}
input,
textarea {
  width: 100%;
  padding: 1rem;
  background: #111;
  border: 1px solid #333;
  color: white;
  outline: none;
  transition: border-color 0.3s;
}
input:focus,
textarea:focus {
  border-color: var(--accent);
}
.social-link {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.social-link:hover {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .hero-grid {
    /* Updated hero-grid is already flex-column, so no change needed here for flex-direction */
    align-items: flex-start; /* Consistent with new flex behavior */
  }
  .hero-image-wrapper {
    justify-self: start; /* This was for grid, kept for potential future use or if hero-grid reverts */
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    gap: 1rem;
  }
  h1 {
    font-size: 4rem;
  }
  section {
    padding: 6rem 0;
  }
  .grid-2,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
