/* =====================
   GLOBAL THEME
===================== */

:root {
  --bg-dark: hsl(260, 40%, 10%);
  --text-light: hsl(0, 0%, 98%);
  --primary: hsl(25, 90%, 65%);
  --accent: hsl(280, 60%, 40%);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
}

/* =====================
   HERO SECTION
===================== */

.hero {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(255, 140, 80, 0.2), transparent 60%),
    linear-gradient(to bottom, rgba(26, 11, 46, 0.8), rgba(26, 11, 46, 1));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* =====================
   HEADER / NAV
===================== */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
}

.logo img {
  height: 50px;
}

/* Navigation */
.nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: white;
}

/* underline animation */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* =====================
   HERO TITLE
===================== */

.hero-title {
  text-align: center;
}

.hero-title h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: 0.2em;
  background: linear-gradient(to bottom, white, rgba(255,255,255,0.6));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
/* =====================
   HERO IMAGE BACKDROP
===================== */

.hero-title {
    position: relative; /* Container for absolute elements */
    width: 100%;
    min-height: 400px; /* Gives space for the image to show */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px; /* Adjust this to make it bigger or smaller */
    z-index: -1;      /* Puts image BEHIND the H1 */
    opacity: 0.9;     /* Makes it subtle so you can read the text */
    pointer-events: none;
    
    /* This fades the edges so it doesn't look like a square box */
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

.hero-title h1 {
    position: relative;
    z-index: 2; /* Forces text to the very front */
    margin: 0;
    /* Existing font-size and color styles here */
}
/* =====================
   MOBILE MEDIA QUERY
===================== */
@media (max-width: 768px) {
  .header {
    flex-direction: column; /* Stack logo and nav */
    gap: 20px;
    padding: 20px;
  }

  .nav ul {
    gap: 12px;
    flex-wrap: wrap; /* Allows links to wrap if they are too long */
    justify-content: center;
  }

  .nav a {
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .hero-title h1 {
    letter-spacing: 0.1em;
  }
}

/* Extra small screens (small phones) */
@media (max-width: 480px) {
  .nav ul {
    gap: 8px;
  }
  
  .nav a {
    font-size: 9px;
  }
  footer p {
    text-align: center;
  }
}