/* =========================================
   Premium layout + Full Hero Parallax
   ========================================= */

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

:root {
  --bg-dark: #020308;
  --bg-darker: #000000;
  --bg-alt: #0b0c10;
  --text-light: #ffffff;
  --text-soft: #d4d4d4;
  --text-muted: #a8a8a8;
  --accent: #ff5c26;
  --accent-soft: rgba(255, 92, 38, 0.3);
}

html,
body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #181820 0, #020308 55%);
  color: var(--text-light);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

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

section {
  width: 100%;
}

/* ========= Small helpers ========= */

.section-dark {
  background: var(--bg-darker);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-label::before {
  content: "";
  height: 1px;
  width: 40px;
  background: var(--accent);
}

.section-label.light {
  /* color: #f6f6f6; */
}

/* .section-label.light::before {
  background: rgba(255, 255, 255, 0.65);
} */

/* ============ Animations ============ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes floatSoft {
  0% {
    transform: translateY(0px) translateZ(0);
  }
  50% {
    transform: translateY(-8px) translateZ(0);
  }
  100% {
    transform: translateY(0px) translateZ(0);
  }
}

.reveal {
  animation: fadeIn 1.1s ease-out forwards;
}

.reveal-up {
  animation: fadeInUp 1.1s ease-out forwards;
}

.float {
  animation: floatSoft 5s ease-in-out infinite;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.top-border {
  height: 4px;
  background: #ff5c26;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo style */
.logo {
  font-size: 26px;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.logo-light {
  font-weight: 300;
}

.logo-bold {
  font-weight: 800;
  color: var(--accent);
}

/* Nav */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 17px;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  text-transform: capitalize;
}

.nav-links a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  left: 0;
  bottom: 0;
  background: var(--accent);
  transition: width 0.25s ease;
}

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

/* Hamburger */
.hamburger {
  display: none;
  width: 28px;
  height: 22px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #050508;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-weight: 500;
  font-size: 14px;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.03);
}

.mobile-menu.is-open {
  display: flex;
}

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

.hero {
  position: relative;
  padding: 90px 20px 80px;
  overflow: hidden;
  background: #000; /* fallback */
}

/* Background Image */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/office.jpg") center/cover no-repeat;
  filter: brightness(0.4);
  z-index: 0;
  pointer-events: none;
}

/* Parallax wrapper */
.hero-parallax {
  position: relative;
  max-width: 1250px;
  margin: 0 auto;
  will-change: transform;
  z-index: 2;
}

.hero-inner {
  display: grid;
  /* grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); */
  grid-template-columns: 1.3fr 1fr; /* was 1.05fr 1fr */
  gap: 156px;
  align-items: center;
}

/* ============================
      HERO IMAGE
============================ */
.hero-image {
  z-index: 2;
}

.hero-img-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  width: 115%;
  transform: perspective(1500px) rotateY(-1deg) rotateX(5deg);
  transform-origin: center left;
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================
      HERO TEXT
============================ */
.hero-text {
  max-width: 540px;
  z-index: 2;
  color: #fff;
}

.hero-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ddd;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 3px;
  margin-bottom: 18px;
  color: #fff;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: #e2e2e2;
  margin-bottom: 10px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.hero-secondary-text {
  font-size: 13px;
  color: #ccc;
}

/* ============================
      BUTTONS
============================ */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  transition: 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.9);
}

/* ========== ABOUT SECTION ========== */
/* ========== ABOUT SECTION ========== */
.about-section {
  background: radial-gradient(circle at top left, #161623 0, #050509 50%);
  padding: 90px 0 80px;
}

.about-wrapper {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.about-left h2 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 28px;
}

.about-left p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 18px;
  color: var(--text-soft);
}

.about-right {
  display: flex;
  justify-content: center;
}

/* ====== CLEAN MERGED PHOTO STACK ====== */
.about-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 0; /* flush merge */
  width: 410px;
  max-width: 100%;
}

.about-img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0; /* keeps a perfect merged vertical */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

/* remove old overlap styles completely */
.about-img-main,
.about-img-secondary {
  position: static !important;
  z-index: auto !important;
  width: 100% !important;
  opacity: 1 !important;
}

/* ============ Media Coverage ============ */
.media-section {
  background: #000000;
  color: #ffffff;
  padding-bottom: 70px;
}

.media-heading-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px 26px;
}

.media-heading-bar h2 {
  font-size: 32px;
  letter-spacing: 2px;
}

.media-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 18px 20px 20px;
  background: #ffffff;
  color: #000000;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
}

.media-logos span {
  white-space: nowrap;
}

.media-feature {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.media-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
}

.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75), transparent 45%);
}

.book-detail-image.reveal {
  display: flex;
  justify-content: c;
}

.media-text {
  max-width: 520px;
}

.media-kicker {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.media-text h3 {
  font-size: 30px;
  margin-bottom: 14px;
}

.media-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-soft);
  margin-bottom: 12px;
}

/* ============ Book Detail Section ============ */
.book-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.book-detail-image img {
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  object-fit: cover;
}

.book-detail-text h2 {
  font-size: 32px;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.book-detail-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-soft);
  margin-bottom: 13px;
}
/* ============ Order Section Redesigned ============ */
.order-section {
  position: relative;
  background: url("/library2.jpg") center/cover no-repeat fixed, #050505;
  color: #ffffff;
  padding: 90px 20px;
}

/* Dark gradient overlay */
.order-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgb(0 0 0 / 71%),
    rgba(0, 0, 0, 0.85),
    rgb(0 0 0 / 95%)
  );
  z-index: 1;
}

/* Grid layout */
.order-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}

/* LEFT IMAGE */
.order-left {
  display: flex;
  justify-content: center;
}

.order-main-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  object-fit: cover;
}

/* RIGHT TEXT */
.order-right h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.order-subtitle {
  font-size: 18px;
  margin-bottom: 18px;
  color: #eaeaea;
}

.order-right p {
  font-size: 16px;
  line-height: 1.8;
  color: #dcdcdc;
  margin-bottom: 18px;
}

/* Button */
.btn-primary {
  display: inline-block;
  padding: 14px 34px;
  font-weight: 700;
  border-radius: 999px;
  background: #ffffff;
  color: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================
   BOOK DETAIL BACKGROUND
============================ */

.book-detail {
  position: relative;
  background: #000; /* fallback */
  padding: 90px 20px;
  overflow: hidden;
}

.book-detail-bg {
  position: absolute;
  inset: 0;
  background: url("/your-background-image.webp") center/cover no-repeat;
  filter: brightness(0.45);
  z-index: 0;
}

.book-detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.85)
  );
  z-index: 1;
}

/* Make inner content above overlay */
.book-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  padding-top: 0;
}

/* ============ Footer ============ */
.site-footer {
  padding: 60px 20px 40px;
  text-align: center;
  background: #02030a;
  border-top: 1px solid #6f6f76;
}

.footer-inner {
  max-width: 780px;
  margin: 0 auto;
}

.footer-inner h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-soft);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #333649;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.footer-social a:hover {
  background: #ffffff;
  color: #000;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 12px;
  color: #777b94;
}

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .hero-inner {
    gap: 40px;
  }

  .about-wrapper {
    padding-inline: 24px;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-img-frame {
    transform: perspective(900px) rotateY(-6deg) rotateX(3deg);
  }

  .hero-text {
    max-width: 640px;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-photo-stack {
    margin-top: 10px;
  }

  .book-inner {
    grid-template-columns: 1fr;
  }

  .media-feature {
    grid-template-columns: 1fr;
  }

  .order-inner {
    grid-template-columns: 1fr;
  }

  .order-left {
    order: 2;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    padding-inline: 16px;
  }

  .hero {
    padding: 78px 16px 60px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-section {
    padding: 70px 0 60px;
  }

  .about-wrapper {
    padding-inline: 16px;
  }

  .about-left h2 {
    font-size: 34px;
  }

  .about-img-secondary {
    position: relative;
    right: 0;
    bottom: -40px;
    width: 75%;
    margin-inline: auto;
  }

  .media-heading-bar {
    padding-inline: 16px;
  }

  .media-heading-bar h2 {
    font-size: 26px;
  }

  .media-logos {
    padding-inline: 12px;
  }

  .order-section {
    background-attachment: scroll;
  }
}

@media (max-width: 560px) {
  .hero-img-frame {
    transform: none;
    border-radius: 16px;
  }

  .about-photo-stack {
    width: 100%;
  }

  .about-img-secondary {
    bottom: -26px;
  }

  .order-book-card {
    transform: perspective(800px) rotateY(-12deg) scale(0.9);
  }
}

/* ================== LOGO GRID SECTION ================== */
.logo-grid-section {
  background: #000;
  padding: 90px 0 100px;
}

.logo-grid-inner {
  text-align: center;
  padding-top: 0;
}

.logo-grid-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  color: #fff;
  letter-spacing: 1px;
}

/* Grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 38px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

/* Individual logo box */
.logo-item {
  padding: 18px 24px;
  background: #0a0a0f;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;

  transition: transform 0.25s ease, border-color 0.25s ease,
    background 0.25s ease;
}

/* Logo images */
.logo-item img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  /* filter: grayscale(100%) brightness(0.8); */
  /* opacity: 0.7; */
  transition: 0.25s ease;
}

/* Hover effects */
.logo-item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
  background: #111;
}

.logo-item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}
/* ============================
    FULLSCREEN VIDEO SECTION
============================ */
.video-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
  margin: 8% 0;
}

.video-heading {
  text-align: center;
}

/* Video container */
.video-wrapper {
  position: absolute;
  top: 20% !important;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  margin: 0 10%;
}

/* Responsive video */
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Optional overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.7)
  );
  z-index: 2;
}

/* Text content (if you want it over the video later) */
.video-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 20px;
}
