/* ============================================================
   MEGHABRI — Hero Banner + Footer  (v2 fixed)
   ============================================================ */

/* ══════════════════════════════════
   HERO SECTION
══════════════════════════════════ */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #3d0f1a;          /* fallback dark */
}

/* ── Each slide is full-size absolute ── */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* ── Background image layer inside each slide ── */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.hero-slide.active .hero-bg-img {
  transform: scale(1);           /* slow Ken Burns zoom out on active */
}

/* ── Dark overlay — left heavy, like tarutium.com ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(28,7,12,.94)  0%,
      rgba(45,12,20,.82)  35%,
      rgba(75,21,33,.60) 65%,
      rgba(110,32,48,.30) 100%);
}

/* ── Subtle grid texture ── */
.hero-grid-tex {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 58px 58px;
}

/* ── Gold radial glow right side ── */
.hero-glow {
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse 60% 70% at 75% 40%,
    rgba(78,92,165,.22) 0%,
    transparent 65%);
  pointer-events: none;
}

/* ── Content sits above all slides at z-index 10 ── */
.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
}
.hero-inner .container {
  width: 100%;
}
.hero-content-wrap {
  max-width: 720px;
}

/* ── Eyebrow pill ── */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(78,92,165,.13);
  border: 1px solid rgba(78,92,165,.35);
  border-radius: 100px;
  padding: .42rem 1.1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8089c4;
  margin: 0 0 1.5rem;
}
.hero-label-dot {
  width: 7px; height: 7px;
  background: #4e5ca5;
  border-radius: 50%;
  animation: hpulse 2s infinite;
  flex-shrink: 0;
}
@keyframes hpulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.35; transform:scale(1.6); }
}

/* ── Main heading — exact tarutium.com split ── */
.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  letter-spacing: -.01em;
}
.hero-heading .line { display: block; }
.hero-heading em {
  font-style: italic;
  color: #4e5ca5;
}

/* ── Sub text ── */
.hero-sub {
  font-size: clamp(.95rem, 1.6vw, 1.08rem);
  color: rgba(255,255,255,.68);
  max-width: 540px;
  margin: 0 0 2.25rem;
  line-height: 1.75;
}

/* ── CTA buttons ── */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Scroll indicator right side ── */
.hero-scroll {
  position: absolute;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.32);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity:0; transform:scaleY(0); transform-origin:top; }
  50%  { opacity:1; transform:scaleY(1); }
  100% { opacity:0; transform-origin:bottom; }
}

/* ── Bottom slider nav ── */
.hero-slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s;
  flex-shrink: 0;
}
.hero-dot.active {
  background: #4e5ca5;
  width: 26px;
  border-radius: 4px;
}
.hero-arr {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .28s;
  flex-shrink: 0;
}
.hero-arr:hover { background: #4e5ca5; border-color: #4e5ca5; }
.hero-arr svg   { width: 16px; height: 16px; }

/* ── Progress bar at very bottom ── */
.hero-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 10;
}
.hero-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4e5ca5, #8089c4);
  width: 0;
}

/* Mobile */
@media (max-width: 640px) {
  .hero-section   { height: 100svh; min-height: 520px; }
  .hero-actions   { flex-direction: column; }
  .hero-actions .btn { justify-content: center; text-align: center; }
  .hero-scroll    { display: none; }
  .hero-heading   { font-size: clamp(2rem, 8vw, 3rem); }
}


/* ══════════════════════════════════
   NEWSLETTER BAR
══════════════════════════════════ */
.newsletter {
  background: #a3304a;
  padding: clamp(28px,4vw,44px) 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem,2.5vw,1.4rem);
  color: #fff;
  white-space: nowrap;
  margin: 0;
}
.newsletter-text p  {
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  margin: .2rem 0 0;
}
.newsletter-form {
  display: flex;
  gap: .6rem;
  flex: 1;
  min-width: 260px;
  max-width: 460px;
}
.newsletter-form input {
  flex: 1;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .88rem;
  font-family: inherit;
  border-radius: 5px;
  outline: none;
  transition: border-color .22s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus        { border-color: #4e5ca5; }
@media (max-width:640px) {
  .newsletter-inner { flex-direction:column; gap:1.25rem; }
  .newsletter-form  { flex-direction:column; width:100%; max-width:100%; }
  .newsletter-text h3 { white-space:normal; }
}


/* ══════════════════════════════════
   FOOTER — FIXED UI
══════════════════════════════════ */
footer {
  background: #0d0d0d;
  color: rgba(255,255,255,.55);
}

.footer-top {
  padding: clamp(48px,6vw,80px) 0 clamp(32px,4vw,52px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.1fr;
  gap: clamp(1.5rem,3vw,3.5rem);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ─ Brand column ─ */
.footer-brand { display: flex; flex-direction: column; }

/* Logo: white background pill so logo is legible on dark footer */
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 1rem;
  width: fit-content;
  max-width: 180px;
}
.footer-logo-wrap img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  filter: none;           /* show logo in original black color on white bg */
}

/* Fallback text (if img fails) */
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a3c34;
}

.footer-tagline {
  font-size: .82rem;
  color: rgba(255,255,255,.48);
  line-height: 1.75;
  max-width: 230px;
  margin: 0 0 1.1rem;
}

/* Social icons row */
.footer-social-row {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.footer-social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: all .25s;
}
.footer-social-btn:hover {
  background: #4e5ca5;
  border-color: #4e5ca5;
  color: #fff;
  transform: translateY(-2px);
}
.footer-social-btn svg { width: 14px; height: 14px; }

/* ─ Nav columns ─ */
.footer-col-head {
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #4e5ca5;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(78,92,165,.18);
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .48rem;
}
.footer-nav li a {
  font-size: .81rem;
  color: rgba(255,255,255,.48);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s, padding-left .2s;
  line-height: 1.4;
}
.footer-nav li a:hover { color: #4e5ca5; padding-left: .3rem; }

/* ─ Contact column ─ */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .7rem;
  font-size: .81rem;
  color: rgba(255,255,255,.48);
}
.footer-contact-item a {
  color: rgba(255,255,255,.48);
  text-decoration: none;
  transition: color .2s;
  word-break: break-all;
}
.footer-contact-item a:hover { color: #4e5ca5; }
.footer-contact-icon { color: #4e5ca5; flex-shrink: 0; line-height: 1.4; }

.footer-hours {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  padding: .7rem .9rem;
  margin-top: .75rem;
}
.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  color: rgba(255,255,255,.4);
  padding: .18rem 0;
}
.footer-hours-row + .footer-hours-row {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: .35rem;
  margin-top: .35rem;
}

/* ─ Bottom bar ─ */
.footer-bottom {
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .74rem;
  color: rgba(255,255,255,.28);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: #4e5ca5; }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* Responsive */
@media (max-width: 1060px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { gap: 1rem; }
}
