/* ============================================
   2076 Creative Agency – Global Styles
   ============================================ */

/* Google Fonts – loaded dynamically in JS */

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

html, body {
  width: 100%;
  height: 100%;
}

/* ---- Background ---- */
body {
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  transition: background-image 1s ease-in-out;
}

body.day {
  background-image: url('../images/day_jt.JPG');
}

body.night {
  background-image: url('../images/night_jt.JPG');
}

/* ---- Overlay ---- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
  pointer-events: none;
}

body.night .overlay {
  background: rgba(0, 0, 0, 0.45);
}

/* ---- Main layout ---- */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ---- Hero text ---- */
.hero-title {
  color: #ffffff;
  font-size: clamp(8rem, 20vw, 22rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 0 40px rgba(0, 0, 0, 0.4),
    0 4px 24px rgba(0, 0, 0, 0.3);
  user-select: none;
  /* font-family is set dynamically by JS */
}

body.night .hero-title {
  text-shadow:
    0 0 60px rgba(150, 180, 255, 0.35),
    0 0 120px rgba(100, 140, 255, 0.2),
    0 4px 24px rgba(0, 0, 0, 0.6);
}

/* ---- Footer nav ---- */
footer {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 2.5rem;
  display: flex;
  justify-content: center;
}

nav.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  justify-content: center;
  align-items: center;
}

nav.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

nav.footer-nav a:hover,
nav.footer-nav a:focus {
  color: #ffffff;
  opacity: 1;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- Sub-pages ---- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-header {
  position: relative;
  z-index: 1;
  padding: 2.5rem 3rem 1rem;
}

.page-header a.back-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.page-header a.back-link:hover {
  color: #ffffff;
}

.page-content {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.page-content h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
}

.page-content p {
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
}

/* ---- Privacy Policy specific ---- */
.page-content.privacy {
  align-items: flex-start;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.page-content.privacy h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
}

.page-content.privacy h2 {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content.privacy p,
.page-content.privacy li {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.8;
}

.page-content.privacy ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

/* ---- Contact form ---- */
.contact-form {
  width: 100%;
  max-width: 480px;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
}

.contact-form button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 6px;
  color: #111111;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 0.9rem 2rem;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.1s ease;
}

.contact-form button:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.contact-form button:active {
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  nav.footer-nav {
    gap: 0.5rem 1.5rem;
  }

  .page-header {
    padding: 1.5rem 1.5rem 0.75rem;
  }

  .page-content {
    padding: 2rem 1.5rem;
  }

  .page-content.privacy {
    padding: 2rem 1.5rem;
  }
}
