/* ==========================================
   ISLA CRUMMACK - DM SANS STYLESHEET
   ========================================== */

/* Google Font Import: DM Sans */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* 1. Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #000000;
  color: #ffffff;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

.page-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #000000;
}

/* 2. Header & Branding (All Pages) */
.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 2.5rem 1rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #000000;
}

/* Brand Title with Wide Spacing */
.brand-title,
.site-header a.logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: 6px; /* Retained wide spacing */
  color: #E5A93C !important; /* Gold / Yellow Accent */
  text-decoration: none !important;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.brand-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: #E5A93C;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 1.75rem;
}

/* White Navigation Links with Wide Spacing */
.nav-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px; /* Retained wide spacing */
  color: #ffffff !important;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.6;
}

/* 3. Fullscreen Home Background Video */
.home-page {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
  font-family: 'DM Sans', sans-serif;
}

.home-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 5;
}

.fullscreen-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}

.home-footer {
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.home-footer .social-icons a {
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0 0.5rem;
}

.home-footer .email-link {
  font-family: 'DM Sans', sans-serif;
  color: #ffffff;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 1px;
}

/* 4. Showreel Page (reel.html) */
.reel-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
  text-align: center;
  flex-grow: 1;
}

.reel-container h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-transform: uppercase;
}

.main-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

.main-video-wrapper video,
.main-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 5. Latest Work Page (latest-work.html) */
.work-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
  text-align: center;
  flex-grow: 1;
}

.work-container h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 3px;
  margin-bottom: 2rem;
  color: #ffffff;
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  text-align: left;
}

.video-card {
  background: #111111;
  border-radius: 6px;
  overflow: hidden;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 1.25rem;
}

.video-info h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.video-info p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #aaaaaa;
  line-height: 1.4;
}

/* 6. Bio Page (bio.html) */
.bio-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem 1.5rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-grow: 1;
}

.bio-image-wrapper {
  flex-shrink: 0;
  width: 300px;
  border: 6px solid #E5A93C;
}

.bio-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.bio-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ffffff;
  text-align: left;
}

.bio-text p {
  margin-bottom: 1.25rem;
}

/* 7. Footer Layout */
.site-footer {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000000;
}

.social-icons a {
  color: #ffffff !important;
  font-size: 1.1rem;
  margin: 0 0.75rem;
  text-decoration: none !important;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .bio-container {
    flex-direction: column;
    align-items: center;
  }

  .bio-text {
    text-align: center;
  }

  .nav-links {
    gap: 1.25rem;
  }
}