/* ===========================
   DJ TURF - SWAMP EDITION
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=New+Rocker&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700&display=swap');

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

/* Gritty Green Palette */
:root {
  --turf-green: #5b7c3a;  /* main dirty green */
  --turf-dark: #2e3a1e;   /* deep swamp tone */
  --turf-light: #8ea667;  /* highlight green */
  --swamp-gray: #2b2d2f;
  --swamp-accent: #3f4a36;
}

body {
  font-family: 'Exo 2', sans-serif;
  color: #f5f5f5;
  background-color: #000; /* prevent visible gray gaps */
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.8),
    -1px -1px 2px rgba(0, 0, 0, 0.5);
  -webkit-text-fill-color: #f5f5f5;
  overflow-x: hidden;
}

/* Grit texture overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: url('https://www.transparenttextures.com/patterns/dark-denim-3.png');
  opacity: 0.07;
  mix-blend-mode: multiply;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2 {
  font-family: 'Exo 2', sans-serif;
  color: #d4e0b0;
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.8),
    -1px -1px 2px rgba(0, 0, 0, 0.5);
  background: none;
  -webkit-text-fill-color: #d4e0b0;
}

h3,
#about h2,
#music h2,
#contact h2 {
  font-family: 'Exo 2', sans-serif;
  color: #d4e0b0;
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.8),
    -1px -1px 2px rgba(0, 0, 0, 0.5);
  background: none;
  -webkit-text-fill-color: #d4e0b0;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  background-color: #1e1f1f;
  padding: 10px 0;
  border-bottom: 2px solid var(--turf-dark);
}

nav ul {
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  font-family: 'Exo 2', sans-serif;
  font-size: 18px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 10px 15px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.8),
    -1px -1px 3px rgba(0, 0, 0, 0.5);
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: var(--turf-light) !important;
  text-shadow: 0 0 10px rgba(142, 166, 103, 0.6);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
  background: transparent; /* no background on hero */
}



.hero-logo {
  width: 340px;
  max-width: 90%;
  margin: 0 auto 35px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(142, 166, 103, 0.5));
}

.hero-content h1 {
  font-family: 'New Rocker', cursive;
  font-size: clamp(1.6rem, 3vw, 3.5rem);
  color: #7e9c4e;
  text-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.9),
    -2px -2px 4px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  line-height: 1.1;
  background: none;
  -webkit-text-fill-color: #7e9c4e;
}

.hero-content p {
  font-size: 20px;
  color: #ffffff;
  margin-top: 20px;
}

.hero .btn {
  display: inline-block;
  background-color: #4c4d4f;
  color: #fff;
  padding: 15px 25px;
  margin-top: 30px;
  font-size: 18px;
  text-transform: uppercase;
  border: 2px solid var(--turf-green);
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.hero .btn:hover {
  background-color: var(--turf-green);
  border-color: var(--turf-green);
  color: #fff;
}

/* ===========================
   BACKGROUND
   =========================== */

/* Keep just one global background image */
body.homepage {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #f5f5f5;
}

body.homepage::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('TurfSwamp.png') center center / cover no-repeat;
  z-index: -2; /* keeps it behind everything */
}

/* Optional: subtle dark overlay across entire background for readability */
body.homepage::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: -1;
}

/* ===========================
   ABOUT & CONTACT (HOMEPAGE)
   =========================== */

body.homepage #about,
body.homepage #contact {
  background: rgba(0, 0, 0, 0.45); /* transparent black overlay */
  backdrop-filter: blur(2px);
  width: 100%;
  padding: 100px 20px;
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Centered, constrained content */
body.homepage #about .container,
body.homepage #contact .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Subtle separator between sections */
body.homepage #about + #contact {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Remove any leftover grey strip */
body,
main {
  background: transparent !important;
}

/* ABOUT content */
#about h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

#about p {
  font-size: 18px;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
}

/* ===========================
   MUSIC SECTION
   =========================== */
#music {
  padding: 60px 20px;
  background-color: #1f1f1f;
  text-align: center;
}

#music h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.music-player {
  margin-top: 30px;
}

#music p {
  font-size: 18px;
  color: #fff;
  margin-top: 20px;
}

/* ===========================
   CONTACT / SOCIALS (HOMEPAGE)
   =========================== */
#contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.socials a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: 'Exo 2', sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.8),
    -1px -1px 2px rgba(0, 0, 0, 0.5);
  margin: 0 20px !important;
  transition: 0.3s ease;
}

.socials a:hover {
  color: var(--turf-light) !important;
  text-shadow: 0 0 10px rgba(142, 166, 103, 0.6);
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.socials i {
  font-size: 1.5rem;
  color: var(--turf-light);
  transition: transform 0.3s ease, color 0.3s ease;
}

.socials a:hover i {
  color: var(--turf-green);
  transform: scale(1.15);
}

/* ===========================
   MUSIC PAGE
   =========================== */
.music-page .music-player {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid var(--turf-green);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.soundcloud-link {
  margin-top: 30px;
}

/* ===========================
   CONTACT PAGE (FORM)
   =========================== */
.contact-page .contact-form {
  max-width: 600px;
  margin: 40px auto;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.35);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(142, 166, 103, 0.2);
}

.contact-page .form-group {
  margin-bottom: 22px;
}

.contact-page label {
  display: block;
  margin-bottom: 8px;
  color: var(--turf-light);
  font-weight: bold;
  letter-spacing: 1px;
}

.contact-page input,
.contact-page textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--turf-dark);
  border-radius: 8px;
  background-color: #2b2d2f;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-page input:focus,
.contact-page textarea:focus {
  outline: none;
  border-color: var(--turf-green);
  box-shadow: 0 0 10px rgba(142, 166, 103, 0.4);
  background-color: #323537;
}

.contact-page button {
  display: block;
  width: 100%;
  background-color: var(--turf-green);
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 8px;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(142, 166, 103, 0.4);
}

.contact-page button:hover {
  background-color: var(--turf-light);
  box-shadow: 0 0 12px rgba(142, 166, 103, 0.6);
  transform: translateY(-2px);
}

.contact-page .g-recaptcha {
  margin: 20px 0;
  transform: scale(1.05);
  transform-origin: left;
  filter: drop-shadow(0 0 6px rgba(142, 166, 103, 0.3));
}

/* ===========================
   ACTIVE NAV LINK
   =========================== */
nav ul li a.active {
  color: var(--turf-light);
  border-bottom: 2px solid var(--turf-green);
  text-shadow: 0 0 10px rgba(142, 166, 103, 0.5);
}

/* ===============================
   RESPONSE / SUCCESS / ERROR PAGES
   =============================== */
.response-page {
  background-color: #1e1f1f;
  font-family: 'Rubik Wet Paint', 'Arial', cursive;
  color: var(--turf-green, #8ea667);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  flex-direction: column;
}

.response-container {
  animation: fadeIn 1.5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 40px 60px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--turf-green, #8ea667);
}

.response-container h2 {
  font-size: 2.5rem;
  background: linear-gradient(180deg, #a4b97a 0%, #8ea667 50%, #6b7c55 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(100,255,100,0.2);
  margin-bottom: 15px;
}

.response-container p {
  font-size: 1.2rem;
  color: #d0d0d0;
  margin-bottom: 30px;
}

.response-container.error h2 {
  background: linear-gradient(180deg, #ff6666 0%, #b34444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255,50,50,0.3);
}

.return-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--turf-green, #8ea667);
  border-radius: 8px;
  color: var(--turf-green, #8ea667);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.return-btn:hover {
  background-color: var(--turf-green, #8ea667);
  color: #1e1f1f;
}

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

#about p,
#music p,
#contact p,
.contact-page p {
  color: #f5f5f5 !important;
  -webkit-text-fill-color: #f5f5f5;
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.8),
    -1px -1px 2px rgba(0, 0, 0, 0.5);
}

/* === Fix footer white gap === */
html, body {
  height: 100%;
  background-color: var(--swamp-gray);
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===========================
   ABOUT PAGE
   =========================== */

.about-page {
  background: url('TurfSwamp.png') center center / cover no-repeat fixed;
  color: #f5f5f5;
  position: relative;
}

.about-page::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: -1;
}

#about-page-content {
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.about-image img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
  border: 2px solid var(--turf-green);
  filter: drop-shadow(0 0 8px rgba(142,166,103,0.4));
}

.about-text {
  max-width: 600px;
  text-align: left;
}

.about-text h1 {
  font-family: 'New Rocker', cursive;
  color: var(--turf-light);
  font-size: 2.5rem;
  margin-bottom: 25px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #f5f5f5;
}

.about-text .signature {
  font-style: italic;
  color: var(--turf-light);
  margin-top: 30px;
  text-align: right;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background-color: #1a1a1a;
  padding: 20px;
  text-align: center;
  color: #a3a3a3;
  border-top: 2px solid var(--turf-dark);
  margin-top: auto;
}

footer p {
  font-size: 14px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
