/* RUACH Digital Systems - Premium Split-Hero Edition
  Theme: Minimalist Luxury / Kingdom Excellence
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

:root {
  --primary: #F2C25C;   /* Metallic Gold */
  --dark: #121212;      /* Deep Charcoal */
  --light: #F8F8F8;     /* Luxury Off-White */
  --white: #FFFFFF;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { 
  font-family: 'Inter', sans-serif; 
  background: var(--white); 
  color: var(--dark); 
  line-height: 1.7; 
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

/* --- Navigation --- */
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 8%; height: 90px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  position: sticky; top: 0; z-index: 2000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  height: 100%; 
}

.logo img {
  display: block;
  /* Adjust this number to find your perfect size */
  max-height: 100px; 
  width: auto;
  object-fit: contain;
  /* Keeps the logo crisp even when enlarged */
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.3s ease;
}

/* Optional: Slight enlargement on hover for a premium feel */
.logo img:hover {
  transform: scale(1.05);
}

.gold-text { color: var(--primary); }

nav { display: flex; align-items: center; }
nav a {
  color: #444; margin-left: 35px; text-decoration: none;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; transition: var(--transition);
}
nav a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 12px 28px; border-radius: 4px; margin-left: 35px;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* --- Redesigned Split Hero --- */
.hero {
  min-height: 90vh;
  padding: 60px 0;
  background: var(--white);
  display: flex; align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.hero-left { text-align: left; }
.subtitle {
  text-transform: uppercase; font-size: 0.75rem; letter-spacing: 5px;
  color: var(--primary); font-weight: 800; margin-bottom: 20px; display: block;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1; margin-bottom: 25px; font-weight: 900;
}

.hero-left p { font-size: 1.2rem; color: #666; margin-bottom: 35px; font-weight: 300; }

.hero-video-wrapper {
  width: 100%; aspect-ratio: 16/9; background: #000;
  border-radius: 16px; overflow: hidden; margin-bottom: 35px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.05);
}
.hero-video-wrapper iframe { width: 100%; height: 100%; border: none; }

.hero-btns { display: flex; gap: 20px; }
.btn {
  padding: 18px 40px; background: var(--primary); color: #fff;
  text-decoration: none; font-weight: 700; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 2px; border-radius: 4px; transition: var(--transition);
}
.btn-outline {
  background: transparent; color: var(--dark); border: 1px solid #ddd;
}
.btn:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.btn-outline:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* --- Vertical Book Scroller --- */
.hero-right {
  height: 650px; position: relative; overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.book-track {
  display: flex; flex-direction: column; gap: 25px;
  animation: scrollVertical 25s linear infinite;
}

.book-track:hover { animation-play-state: paused; }

.scroll-book-card {
  background: var(--white); padding: 25px;
  border: 1px solid rgba(0,0,0,0.05); border-radius: 12px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.scroll-book-card:hover { border-color: var(--primary); transform: translateX(10px); }

.scroll-book-img {
  width: 70px; height: 95px; background: #f0f0f0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; border-radius: 4px; border: 1px solid #eee;
}

.scroll-book-info h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 5px; }
.scroll-book-info a { font-size: 0.8rem; color: var(--primary); text-decoration: none; font-weight: 800; border-bottom: 1px solid transparent; transition: 0.3s; }
.scroll-book-info a:hover { border-bottom: 1px solid var(--primary); }

@keyframes scrollVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* --- Standard Sections --- */
.section { padding: 100px 0; text-align: center; }
.light { background: var(--light); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 60px; }

.card {
  background: var(--white); padding: 50px 40px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05); text-align: left; transition: var(--transition);
}
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: var(--primary); }
.card-icon { width: 45px; height: 45px; color: var(--primary); margin-bottom: 25px; }

/* --- Mobile Logic --- */
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.bar { width: 25px; height: 2px; background: var(--dark); transition: 0.3s; }

/* --- About Section Editorial Layout --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    text-align: left;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 450px;
}

.main-img-box {
    width: 90%;
    height: 90%;
    background: var(--dark);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.accent-box {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 2px solid var(--primary);
    z-index: 1;
    border-radius: 4px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 30px;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
}

.stat-desc {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

/* --- Testimonial Slider Styles --- */
.testimonial-slider {
    width: 100%;
    margin-top: 60px;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 350px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: left;
}

.quote-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.client-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.client-info span {
    font-size: 0.8rem;
    color: var(--primary);
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .image-stack { height: 300px; display: none; } /* Hide stack on mobile for speed */
    .stats-row { justify-content: center; }
    .testimonial-card { min-width: 300px; }
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-left { order: 1; }
  .hero-right { order: 2; height: 400px; }
  .hero-btns { justify-content: center; flex-direction: column; }
  .menu-toggle { display: flex; z-index: 2100; }
  nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 100%;
    background: #fff; flex-direction: column; justify-content: center; transition: 0.5s;
  }
  nav.active { right: 0; }
  nav a { font-size: 1.5rem; margin: 15px 0; font-family: 'Playfair Display'; }
}