/* ============================================
   Furaha Media Zanzibar — Luxurious One-Page
   ============================================ */

:root {
  --bg-deep: #0a0a0a;
  --bg-card: #121212;
  --bg-elevated: #1a1a1a;
  --gold: #DE211F;
  --gold-light: #e2c98a;
  --gold-dim: rgba(255, 3, 3, 0.616);
  --text: #f5f0e8;
  --text-muted: #a39e93;
  --border: rgba(255, 63, 63, 0.2);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1.5rem, 4vw, 3rem);
  --container: min(90vw, 1200px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

/* ----- Header / Navigation ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem var(--space);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
  transition: background 0.3s ease;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
}

.logo-link {
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.5rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold);
}

.nav-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.nav-sep {
  color: var(--gold-dim);
  font-weight: 300;
  user-select: none;
}

/* ----- Hero (full-screen slider) ----- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-color: var(--bg-deep);
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.25) 50%, rgba(10, 10, 10, 0.45) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 600;
  margin: 0 0 0.25em;
  letter-spacing: 0.02em;
  color: #DE211F;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 0, 0, 0.6);
  animation: heroFadeIn 0.8s ease forwards;
}

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

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  color: #DE211F;
  margin: 0 0 0.5em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #DE211F;
  max-width: 28ch;
  margin: 0;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.5);
  color: var(--gold);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: var(--gold);
  color: var(--bg-deep);
}

.hero-arrow:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.hero-arrow--prev { left: var(--space); }
.hero-arrow--next { right: var(--space); }

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-dot:hover {
  border-color: var(--gold);
}

.hero-dot--active {
  background: var(--gold);
  border-color: var(--gold);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ----- Container & Sections ----- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space);
}

section {
  padding: calc(var(--space) * 2) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1.5em;
  text-align: center;
  letter-spacing: 0.02em;
}

/* About */
.about {
  background: var(--bg-card);
}

.about-subtitle {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1rem;
  text-align: center;
}

.about-text {
  max-width: 60ch;
  margin: 0 auto 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-text:last-of-type {
  margin-bottom: 0;
}

/* Services */
.services {
  background: var(--bg-deep);
}

.service-block {
  max-width: 65ch;
  margin: 0 auto 2.5rem;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.service-intro {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 1rem;
}

.service-subblock {
  margin-bottom: 1.5rem;
}

.service-subblock:last-child {
  margin-bottom: 0;
}

.service-subheading {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.service-list {
  margin: 0 0 0.5rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.service-tagline {
  font-style: italic;
  color: var(--gold-dim);
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

/* ----- Our Clients ----- */
.clients {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.client-item {
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.client-item:hover {
  border-color: var(--gold-dim);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.client-logo {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.95);
  transition: filter 0.2s ease;
}

.client-item:hover .client-logo {
  filter: brightness(1);
}

/* ----- Contact ----- */
.contact {
  background: var(--bg-card);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.contact-value {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: var(--gold-light);
}

/* ----- Footer ----- */
.site-footer {
  padding: 2rem var(--space);
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-logo:hover .footer-logo-img {
  opacity: 1;
}

.footer-nav {
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-sep {
  color: var(--border);
  margin: 0 0.5rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
  .logo-img {
    height: 34px;
  }

  .nav-sep,
  .footer-sep {
    display: none;
  }

  .hero-arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .hero-arrow--prev { left: 1rem; }
  .hero-arrow--next { right: 1rem; }
}
