/* ====================================================
   RAVENBLOOD — style.css
   ==================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #959595;
  background-color: #1f1f1f;
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography helpers ---- */
.section-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 1px;
  color: #959595;
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Marcellus', serif;
  font-size: clamp(34px, 5vw, 58px);
  color: #fff;
  text-align: center;
  letter-spacing: 0.12em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-separator {
  display: flex;
  justify-content: center;
  margin: 18px auto 34px;
}

.section-separator img {
  max-width: 220px;
  opacity: 0.8;
}

/* ================================================================
   HEADER / NAV
   ================================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: background 0.35s, padding 0.35s;
}

#site-header.scrolled {
  background: rgba(20, 18, 16, 0.97);
  padding: 14px 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav ul li a {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.25s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #c9b99a;
  border-bottom-color: #c9b99a;
}

.main-nav ul li.current-page a {
  text-decoration: line-through;
  color: rgba(255,255,255,0.6);
}

/* Hamburger */
.nav-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: none;
}

/* Mobile slide-out menu */
.side-menu {
  position: fixed;
  top: 0; right: -320px;
  width: 280px;
  height: 100vh;
  background: #111;
  z-index: 2000;
  padding: 80px 36px 36px;
  transition: right 0.35s ease;
}

.side-menu.open { right: 0; }

.side-menu ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.side-menu ul li a {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s;
}
.side-menu ul li a:hover { color: #c9b99a; }

.side-menu-close {
  position: absolute;
  top: 22px; right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Overlay */
.side-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  display: none;
}
.side-menu-overlay.open { display: block; }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: url('../images/landing-slider-1-background-image-1.jpg') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.0) 40%,
    rgba(0,0,0,0.35) 100%
  );
  pointer-events: none;
}

.hero-letters {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.hero-letters {
  animation: heroFadeIn 1.6s ease forwards;
  opacity: 0;
}

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

.hero-letters span {
  font-family: 'Marcellus', serif;
  font-size: clamp(52px, 11vw, 160px);
  color: rgba(215, 205, 190, 0.82);
  letter-spacing: 0.04em;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
}

.hero-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0.8;
  transition: opacity 0.2s;
  animation: bounce 2s infinite;
}

.hero-scroll-down img {
  width: 34px;
  height: auto;
}

.hero-scroll-down:hover { opacity: 1; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   INTRO SECTION
   ================================================================ */
.intro-section {
  background-color: #252525;
  background-image: url('../images/pattern-dark.png'),
                    url('../images/game-presentation-parallax-1.jpg');
  background-position: center center, center center;
  background-size: auto, cover;
  background-attachment: scroll, fixed;
  position: relative;
}

.intro-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(25, 22, 18, 0.82);
}

.intro-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 120px;
  text-align: center;
}

.intro-text {
  font-size: 15px;
  line-height: 1.9;
  color: #959595;
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================================
   WELCOME TO FAZRUM BANNER
   ================================================================ */
.fazrum-banner {
  position: relative;
  height: 260px;
  background: url('../images/game-presentation-parallax-3.jpg') center center / cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fazrum-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.55);
}

.fazrum-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 24px;
}

.fazrum-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.fazrum-line {
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(180,160,120,0.5), transparent);
}

.fazrum-text {
  font-family: 'Marcellus', serif;
  font-size: clamp(14px, 2.2vw, 28px);
  letter-spacing: 0.25em;
  color: #c9b99a;
  text-transform: uppercase;
  white-space: nowrap;
}

.fazrum-sub-line {
  width: 120px;
  height: 1px;
  background: rgba(180,160,120,0.4);
  margin: 16px auto 0;
}

/* ================================================================
   CAST SECTION
   ================================================================ */
.cast-section {
  background-image: url('../images/game-presentation-parallax-5.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 110px 24px;
  position: relative;
  overflow: hidden;
}

/* Dark overlay to improve text readability over image */
.cast-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 13, 11, 0.58);
  pointer-events: none;
}

.cast-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.cast-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #959595;
  max-width: 640px;
  margin: 0 auto 64px;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 0 24px;
}

.cast-member h4 {
  font-family: 'Marcellus', serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.cast-divider {
  width: 40px;
  height: 2px;
  background: #c9b99a;
  margin: 0 auto 20px;
}

.cast-member p {
  font-size: 14px;
  line-height: 1.85;
  color: #959595;
}

/* ================================================================
   REVIEWS SECTION
   ================================================================ */
.reviews-section {
  position: relative;
  background: url('../images/game-presentation-parallax-4.jpg') center center / cover no-repeat;
  background-attachment: fixed;
  padding: 110px 24px;
}

.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.72);
}

.reviews-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.review-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-track {
  flex: 1;
  overflow: hidden;
  text-align: center;
}

.review-slide {
  display: none;
  padding: 0 12px;
}

.review-slide.active { display: block; }

.review-slide .section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 32px;
}

.review-text {
  font-size: 14px;
  line-height: 1.95;
  color: #d0c8bc;
  margin-bottom: 28px;
}

.review-attribution {
  font-family: 'Marcellus', serif;
  font-size: 16px;
  color: #c9b99a;
  letter-spacing: 0.06em;
}

.review-prev,
.review-next {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-prev:hover,
.review-next:hover {
  border-color: #c9b99a;
  color: #c9b99a;
}

/* ================================================================
   NEWSLETTER SECTION
   ================================================================ */
.newsletter-section {
  background-color: #252525;
  background-image: url('../images/pattern-dark.png');
  background-position: center center;
  background-repeat: repeat;
  position: relative;
  padding: 100px 24px 130px;
  overflow: hidden;
}

/* Faint raven art background */
.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 380px;
  background: url('../images/game-presentation-parallax-6.jpg') center bottom / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.newsletter-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  width: 460px;
  max-width: 60%;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input[type="email"]:focus { border-color: rgba(255,255,255,0.4); }

.newsletter-form button {
  padding: 16px 32px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.newsletter-form button:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* ================================================================
   ORDER NOW SECTION
   ================================================================ */
.order-section {
  position: relative;
  background: url('../images/game-presentation-parallax-6.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}

.order-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 12, 10, 0.82);
}

.order-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.order-image {
  flex: 0 0 auto;
  max-width: 380px;
}

.order-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.order-content {
  flex: 1;
}

.order-title {
  font-family: 'Marcellus', serif;
  font-size: clamp(36px, 5.5vw, 68px);
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.order-content p {
  font-size: 14px;
  line-height: 1.95;
  color: #959595;
  margin-bottom: 40px;
  max-width: 500px;
}

.btn-order {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s;
}

.btn-order:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

/* ================================================================
   FOOTER
   ================================================================ */
#site-footer {
  background-color: #181715;
  background-image: url('../images/pattern-dark.png');
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 56px;
}

.footer-col h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.85;
  color: #777;
}

/* Footer brand */
.footer-brand img {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-search {
  display: flex;
  margin-top: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 4px;
}

.footer-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: #777;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  outline: none;
}

.footer-search input::placeholder { color: #555; }

.footer-search button {
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
  transition: color 0.2s;
}
.footer-search button:hover { color: #c9b99a; }

/* Footer newsletter */
.footer-nl-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #fff !important;
  margin-bottom: 16px !important;
}

.footer-newsletter-form {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin: 18px 0 20px;
}

.footer-newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #777;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  outline: none;
  padding: 8px 0;
}

.footer-newsletter-form input::placeholder { color: #555; }

.footer-newsletter-form button {
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  font-size: 14px;
  padding: 0 10px;
  transition: color 0.2s;
}
.footer-newsletter-form button:hover { color: #c9b99a; }

.footer-learn-more {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #c9b99a;
  border-bottom: 1px solid rgba(201,185,154,0.4);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-learn-more:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 12px;
  color: #555;
  letter-spacing: 0.5px;
}

.footer-bottom strong { color: #888; font-weight: 600; }

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 13px;
  transition: color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  color: #c9b99a;
  border-color: rgba(201,185,154,0.5);
}

/* ================================================================
   CONTACT PAGE SPECIFIC
   ================================================================ */
.contact-hero {
  position: relative;
  background: url('../images/contact-us-image-1.jpg') center center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 12, 10, 0.68);
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
  text-align: center;
}

.contact-hero-inner h2.section-title {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 56px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.contact-form-row {
  display: flex;
  gap: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  flex: 1;
  background: rgba(10, 10, 10, 0.34);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 18px 22px;
  outline: none;
  transition: border-color 0.2s;
}

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

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

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form-submit {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.contact-form-submit button {
  padding: 16px 64px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  margin-top: 0;
}

.contact-form-submit button:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.4);
}

/* ================================================================
   BACK TO TOP BUTTON
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: rgba(30,28,26,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9b99a;
  font-size: 16px;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(50, 45, 40, 0.95);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .cast-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 440px;
    margin: 0 auto;
  }

  .order-inner {
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
    padding: 60px 24px;
  }

  .order-image { max-width: 100%; }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 56px 24px 40px;
  }
}

@media (max-width: 640px) {
  #site-header { padding: 16px 20px; }
  #site-header.scrolled { padding: 12px 20px; }

  .main-nav ul { display: none; }
  .nav-toggle { display: flex; }

  .hero-letters span {
    font-size: clamp(36px, 8vw, 80px);
  }

  .fazrum-text {
    white-space: normal;
    word-spacing: 0.5em;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 22px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    max-width: 100%;
    width: 100%;
    border-right: 1px solid rgba(255,255,255,0.2);
    border-bottom: none;
  }

  .contact-form-row {
    flex-direction: column;
  }
}
