/* ═══════════════════════════════════════════════════════
   RANGOON FILMS — COMPONENTS CSS
   Hero · Lightbox · Gallery · Testimonials · Forms · Footer
═══════════════════════════════════════════════════════ */

/* ══════════════════════════
   HERO VIDEO (index only)
══════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #0d0707;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top,  rgba(24,13,13,.88) 0%, rgba(24,13,13,.4) 40%, transparent 72%),
    linear-gradient(to right, rgba(24,13,13,.3) 0%, transparent 55%);
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center; color: var(--white);
  padding: 0 24px;
}
.hero-eyebrow {
  font-family: var(--ff-body); font-size: 10px; font-weight: 600;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  opacity: 0; animation: fadeUp .8s .4s forwards;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(68px, 10vw, 130px);
  font-weight: 300; line-height: .94;
  letter-spacing: 10px; text-transform: uppercase;
  text-shadow: 0 6px 50px rgba(0,0,0,.3);
  opacity: 0; animation: fadeUp .9s .6s forwards;
}
.hero-title em { font-style: italic; color: var(--sand); }
.hero-subtitle {
  font-family: var(--ff-display); font-style: italic; font-weight: 300;
  font-size: clamp(17px, 2.2vw, 24px); letter-spacing: 2px;
  color: var(--sand); margin: 22px 0 50px;
  opacity: 0; animation: fadeUp .9s .8s forwards;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s 1s forwards;
}

/* Scroll cue */
.hero-scroll {
  position: absolute; bottom: 90px; right: 60px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.85); font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase;
}
.scroll-line { width: 1.5px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent); }
.scroll-chevron {
  width: 18px; height: 11px; color: var(--gold);
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(5px); opacity: .6; }
}


/* ══════════════════════════
   SERVICE CARDS
══════════════════════════ */
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  max-width: var(--max-w); margin: 0 auto 56px;
}
.services-header .side-desc { max-width: 300px; text-align: right; }

.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 3px;
  max-width: var(--max-w); margin: 0 auto;
}
.svc-card { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.svc-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.svc-card:hover img { transform: scale(1.07); }
.svc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24,13,13,.93) 0%, rgba(24,13,13,.3) 45%, rgba(24,13,13,.05) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px;
  transition: background .5s;
}
.svc-card:hover .svc-overlay {
  background: linear-gradient(to top, rgba(89,2,1,.92) 0%, rgba(24,13,13,.5) 55%, rgba(24,13,13,.1) 100%);
}
.svc-num  { font-family: var(--ff-display); font-size: 88px; font-weight: 300; color: rgba(255,255,255,.1); line-height: 1; margin-bottom: -22px; }
.svc-name { font-family: var(--ff-display); font-size: 30px; font-weight: 400; color: var(--white); margin-bottom: 8px; }
.svc-desc {
  font-size: 12.5px; color: var(--sand); line-height: 1.75;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s ease, opacity .4s ease;
}
.svc-card:hover .svc-desc { max-height: 100px; opacity: 1; }

/* ══════════════════════════
   GALLERY GRID (shared)
══════════════════════════ */
.gallery-filter-tabs {
  display: flex;
  border-bottom: 1px solid rgba(57,56,56,.18);
  margin-bottom: 48px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.gallery-filter-tabs::-webkit-scrollbar { height: 0; }
.filter-btn {
  padding: 13px 30px;
  font-family: var(--ff-body); font-size: 10px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--charcoal); opacity: .42;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: opacity .3s, border-color .3s;
  white-space: nowrap;
}
.filter-btn.active { opacity: 1; border-bottom-color: var(--crimson); }
.filter-btn:hover  { opacity: .8; }

/* Masonry-style grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
/* Accent: every 7th item spans 2 cols & rows */
.gallery-grid .g-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }

.g-item {
  position: relative; overflow: hidden;
  aspect-ratio: 1; cursor: pointer;
}
.g-item.g-wide { aspect-ratio: unset; }

.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s var(--ease);
}
.g-item:hover img { transform: scale(1.07); }

.g-overlay {
  position: absolute; inset: 0;
  background: rgba(24,13,13,0);
  display: flex; align-items: flex-end; padding: 20px;
  transition: background .4s;
}
.g-item:hover .g-overlay { background: rgba(24,13,13,.55); }

.g-caption { display: none; }

/* Video badge */
.g-item.is-video::after {
  content: "▶";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 30px; color: rgba(255,255,255,.85);
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
  pointer-events: none; z-index: 2;
}
/* Video duration badge */
.g-duration {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(24,13,13,.75);
  color: var(--gold); font-size: 10px; letter-spacing: 1px;
  padding: 4px 8px; z-index: 2; pointer-events: none;
}

/* ══════════════════════════
   STORY CARDS
══════════════════════════ */
.story-card {
  position: relative; overflow: hidden; cursor: pointer;
  display: block;
}
.story-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .75s var(--ease);
}
.story-card:hover img { transform: scale(1.06); }
.story-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 30px;
  background: linear-gradient(to top, rgba(24,13,13,.9), transparent);
  transform: translateY(6px);
  transition: transform .4s var(--ease);
}
.story-card:hover .story-info { transform: translateY(0); }
.story-tag {
  font-size: 9px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.story-couple {
  font-family: var(--ff-display); font-size: 24px;
  color: var(--white); margin-bottom: 5px;
}
.story-meta {
  font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--sand); opacity: .75;
}

/* ══════════════════════════
   HOME TESTIMONIALS (2-card)
══════════════════════════ */
.home-tbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.home-tb {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 48px 36px 40px;
}
.home-tb-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 28px;
  border: 2px solid rgba(201,168,108,.5);
}
.home-tb-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255,255,255,.82);
  margin-bottom: 24px;
  flex: 1;
}
.home-tb-quote::before {
  content: '\201C';
  font-size: 3em; line-height: 0;
  vertical-align: -0.38em;
  color: var(--gold); opacity: .5;
  margin-right: 4px; font-style: normal;
}
.home-tb-name {
  font-family: var(--ff-body);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 640px) {
  .home-tbs { grid-template-columns: 1fr; gap: 24px; }
  .home-tb { padding: 36px 24px 30px; }
}

/* ══════════════════════════
   TESTIMONIALS SLIDER
══════════════════════════ */
.testimonial-track {
  display: flex;
  transition: transform .7s var(--ease);
}
.t-slide { min-width: 100%; flex-shrink: 0; padding: 0 24px; text-align: center; }
.t-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 auto 24px;
  border: 2px solid rgba(201,168,108,.45);
}
.t-quote {
  font-family: var(--ff-display); font-style: italic; font-weight: 300;
  font-size: clamp(15px, 1.8vw, 21px); line-height: 1.78;
  color: var(--white); margin-bottom: 36px;
}
.t-quote::before {
  content: '"'; display: block;
  font-size: 96px; line-height: .32;
  color: var(--gold); margin-bottom: 28px; font-style: normal;
}
.t-author   { font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.t-location { font-size: 11px; color: var(--sand); opacity: .55; margin-top: 5px; }

.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
.s-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.25); cursor: pointer;
  transition: all .35s ease;
}
.s-dot.active { background: var(--gold); width: 22px; border-radius: 3px; }

/* ══════════════════════════
   CONTACT FORM
══════════════════════════ */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-group { display: flex; flex-direction: column; gap: 7px; }
.f-label {
  font-size: 8.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sand); opacity: .65;
}
.f-input, .f-select, .f-textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(219,202,176,.18);
  padding: 13px 16px;
  font-family: var(--ff-body); font-size: 13px;
  color: var(--white); outline: none;
  transition: border-color .3s; width: 100%;
  -webkit-appearance: none;
}
.f-input::placeholder, .f-textarea::placeholder { color: rgba(255,255,255,.28); }
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: rgba(201,168,108,.6); }
.f-select option { background: var(--dark); }
.f-textarea { resize: vertical; min-height: 115px; }
.f-submit {
  padding: 16px; background: var(--crimson); color: var(--white);
  font-family: var(--ff-body); font-size: 10.5px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  transition: background .3s; margin-top: 6px; cursor: pointer;
  border: none; width: 100%;
}
.f-submit:hover { background: var(--crimson-d); }
.f-success {
  display: none; padding: 14px;
  background: rgba(201,168,108,.12); border: 1px solid rgba(201,168,108,.4);
  color: var(--gold); font-size: 12.5px; text-align: center; letter-spacing: 1px;
}

/* ══════════════════════════
   LIGHTBOX
══════════════════════════ */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.97);
  align-items: center; justify-content: center;
  padding: 48px;
}
.lightbox.open { display: flex; }

.lb-close {
  position: fixed; top: 22px; right: 26px;
  color: rgba(255,255,255,.6); font-size: 32px;
  cursor: pointer; transition: color .2s, transform .2s;
  z-index: 2001; line-height: 1; background: none; border: none;
}
.lb-close:hover { color: var(--white); transform: rotate(90deg); }

.lb-inner {
  position: relative; max-width: 90vw; max-height: 85vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-inner img, .lb-inner video {
  max-width: 90vw; max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 8px 80px rgba(0,0,0,.6);
}

.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.5); font-size: 38px;
  cursor: pointer; padding: 20px;
  transition: color .25s; user-select: none;
  z-index: 2001; background: none; border: none;
}
.lb-nav:hover { color: var(--white); }
.lb-prev { left: 6px; }
.lb-next { right: 6px; }

.lb-footer {
  position: fixed; bottom: 24px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 2001;
}
.lb-caption {
  font-family: var(--ff-display); font-style: italic;
  font-size: 16px; color: var(--sand); opacity: .75;
}
.lb-counter {
  font-size: 10.5px; letter-spacing: 2px; color: var(--gold); opacity: .65;
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer {
  background: #0d0707;
  padding: 68px var(--section-px) 40px;
  text-align: center;
  border-top: 1px solid rgba(219,202,176,.06);
}
.footer-logo { height: 140px; margin: 0 auto 28px; }
.footer-nav {
  display: flex; justify-content: center; gap: 34px;
  flex-wrap: wrap; margin-bottom: 34px;
}
.footer-nav a {
  font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--sand); opacity: .4; transition: opacity .3s;
}
.footer-nav a:hover { opacity: .9; }
.footer-nav a.active { opacity: .9; color: var(--gold); }
.footer-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 34px; }
.soc-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(219,202,176,.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--sand); transition: border-color .3s, background .3s;
}
.soc-btn:hover { border-color: var(--gold); background: rgba(201,168,108,.1); }
.footer-copy { font-size: 10.5px; color: var(--sand); opacity: .25; letter-spacing: 1px; }

/* ══════════════════════════
   RESPONSIVE COMPONENTS
══════════════════════════ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; gap: 3px; }
  .svc-card { aspect-ratio: 16/9; }
  .svc-desc { display: none; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .services-header .side-desc { text-align: left; max-width: 100%; }
}
@media (max-width: 768px) {
  /* Hero: full screen on mobile, video fills viewport */
  #hero {
    height: 100vh;
    height: 100dvh;
    padding-top: 0;
    overflow: hidden;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-scroll { display: none; }

  .hero-title { letter-spacing: 5px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 285px; text-align: center; }
  .scroll-chevron { width: 22px; height: 13px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 1; }
  .f-row { grid-template-columns: 1fr; }
  footer { padding: 52px var(--section-px) 32px; }
  .lightbox { padding: 20px; }
  .lb-nav { font-size: 28px; padding: 14px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 3px; }
}
