/*
Theme Name: Sky Lens Media
Theme URI: https://www.skylensmedia.co.za
Description: Custom theme for Sky Lens Media — aerial drone photography and videography, George, Western Cape.
Author: Sky Lens Media
Version: 1.0
Tags: photography, videography, drone, single-page
*/

:root {
      --black: #09090b;
      --dark: #111113;
      --card: #18181b;
      --border: #27272a;
      --gold: #c9a84c;
      --gold-light: #e4c97e;
      --white: #f0f0f0;
      --muted: #666;
      --radius: 12px;
      --max: 1200px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--black); color: var(--white); line-height: 1.7; overflow-x: hidden; }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      display: flex; align-items: center; justify-content: space-between;
      padding: 18px 48px;
      background: rgba(8,8,8,0.0);
      backdrop-filter: blur(0px);
      border-bottom: 1px solid transparent;
      transition: all 0.4s ease;
    }
    nav.scrolled {
      background: rgba(8,8,8,0.95);
      backdrop-filter: blur(16px);
      border-bottom-color: var(--border);
      box-shadow: 0 4px 32px rgba(0,0,0,0.5);
    }
    .nav-logo { display: flex; align-items: center; gap: 12px; }
    .nav-logo-mark {
      width: 44px; height: 44px;
      border-radius: 8px;
      overflow: hidden;
      flex-shrink: 0;
    }
    .nav-logo-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
    .nav-logo-text { font-size: 16px; font-weight: 800; letter-spacing: 0.5px; }
    .nav-logo-text span { color: var(--gold); }
    .nav-links { display: flex; gap: 36px; align-items: center; }
    .nav-links a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.2s; letter-spacing: 0.3px; }
    .nav-links a:hover { color: var(--white); }
    .nav-cta {
      background: var(--gold); color: var(--black) !important;
      padding: 10px 24px; border-radius: 8px;
      font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
      transition: background 0.2s, transform 0.2s;
    }
    .nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
    .nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
    .mobile-menu {
      display: none; position: fixed; top: 77px; left: 0; right: 0;
      background: rgba(8,8,8,0.98); border-bottom: 1px solid var(--border);
      padding: 28px 40px; flex-direction: column; gap: 22px; z-index: 999;
    }
    .mobile-menu a { font-size: 16px; color: #aaa; }
    .mobile-menu.open { display: flex; }

    /* ── VIDEO HERO ── */
    .hero-wrap {
      position: relative; min-height: 100vh;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    /* YouTube iframe background */
    .yt-bg-wrap {
      position: absolute; inset: 0; z-index: 0;
      pointer-events: none; overflow: hidden;
    }
    .yt-bg-wrap iframe {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      /* Keep 16:9 ratio, always cover the container */
      width: 100vw;
      height: 56.25vw; /* 16:9 */
      min-height: 100vh;
      min-width: 177.78vh; /* 100/56.25 */
    }
    /* Shared parallax bg style */
    .parallax-bg {
      position: absolute; inset: -20%;
      background-size: cover; background-position: center;
      will-change: transform; z-index: 0;
    }
    /* Hero fallback photo — hidden on desktop (video plays), visible on mobile */
    #hero-bg {
      display: none;
    }
    .parallax-overlay {
      position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(180deg,
        rgba(8,8,8,0.45) 0%,
        rgba(8,8,8,0.25) 40%,
        rgba(8,8,8,0.55) 80%,
        rgba(8,8,8,1) 100%);
    }
    /* Mobile: hide YouTube, show fallback photo */
    @media (max-width: 768px) {
      .yt-bg-wrap { display: none; }
      #hero-bg { display: block; }
    }
    .hero-content {
      position: relative; z-index: 3;
      text-align: center; padding: 160px 24px 100px;
      max-width: 860px; margin: 0 auto;
    }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.35);
      color: var(--gold-light); padding: 7px 18px; border-radius: 100px;
      font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
      margin-bottom: 32px;
    }
    .hero-content h1 {
      font-size: clamp(38px, 7vw, 80px);
      font-weight: 900; letter-spacing: -2px; line-height: 1.05;
      margin-bottom: 24px;
      text-shadow: 0 2px 40px rgba(0,0,0,0.5);
    }
    .hero-content h1 em { font-style: normal; color: var(--gold); }
    .hero-content p {
      font-size: clamp(15px, 2vw, 19px);
      color: rgba(255,255,255,0.7); max-width: 580px;
      margin: 0 auto 44px; line-height: 1.8;
    }
    .hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    .btn-gold {
      background: var(--gold); color: var(--black);
      padding: 16px 36px; border-radius: 8px;
      font-size: 15px; font-weight: 700;
      transition: background 0.2s, transform 0.2s;
      display: inline-block;
    }
    .btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
    .btn-ghost {
      border: 1px solid rgba(255,255,255,0.3); color: var(--white);
      padding: 16px 36px; border-radius: 8px;
      font-size: 15px; font-weight: 600;
      transition: all 0.2s; display: inline-block;
    }
    .btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
    .hero-stats {
      display: flex; gap: 0; justify-content: center; flex-wrap: wrap;
      margin-top: 72px;
    }
    .hero-stat {
      text-align: center; padding: 24px 40px;
      border-right: 1px solid rgba(255,255,255,0.1);
    }
    .hero-stat:last-child { border-right: none; }
    .hero-stat .num { font-size: 34px; font-weight: 900; color: var(--gold); line-height: 1; }
    .hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 6px; letter-spacing: 0.5px; }

    /* ── PARALLAX DIVIDER ── */
    .parallax-section {
      position: relative; overflow: hidden;
      padding: 120px 24px;
    }
    .parallax-section-2 .parallax-bg {
      background-image: url('https://media.base44.com/images/public/6a214e88b64909e1154757a4/852a649d8_boat.jpg');
    }
    .parallax-section-3 .parallax-bg {
      background-image: url('https://media.base44.com/images/public/6a214e88b64909e1154757a4/cf0ee1f8a_generated_265a09f1.png');
    }
    .parallax-overlay-dark {
      position: absolute; inset: 0;
      background: rgba(8,8,8,0.55);
    }
    .parallax-inner {
      position: relative; z-index: 2;
      max-width: var(--max); margin: 0 auto;
      text-align: center;
    }
    .parallax-quote {
      font-size: clamp(22px, 3.5vw, 42px);
      font-weight: 700; line-height: 1.4;
      max-width: 700px; margin: 0 auto;
      letter-spacing: -0.5px;
    }
    .parallax-quote em { font-style: normal; color: var(--gold); }

    /* ── CONTAINER ── */
    .section { padding: 88px 24px; }
    .container { max-width: var(--max); margin: 0 auto; }
    .section-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
    .section-title { font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
    .section-sub { color: var(--muted); font-size: 16px; max-width: 520px; line-height: 1.8; margin-bottom: 48px; }
    .gold-bar { width: 44px; height: 3px; background: var(--gold); border-radius: 2px; margin: 14px 0 40px; }

    /* ── SERVICES ── */
    .services-wrap { background: var(--dark); }
    .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 2px; margin-top: 0; }
    .svc {
      background: var(--card); padding: 40px 36px;
      position: relative; overflow: hidden;
      transition: background 0.25s;
    }
    .svc::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
      background: var(--gold); transform: scaleX(0); transform-origin: left;
      transition: transform 0.3s ease;
    }
    .svc:hover { background: #1a1a1a; }
    .svc:hover::after { transform: scaleX(1); }
    .svc-icon {
      width: 48px; height: 48px; margin-bottom: 20px;
      color: var(--gold);
    }
    .svc-icon svg { width: 100%; height: 100%; }
    .svc h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
    .svc p { font-size: 14px; color: #888; line-height: 1.9; }

    /* ── PORTFOLIO ── */
    .portfolio-wrap { background: var(--black); }
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: auto;
      gap: 6px;
    }
    .port-item {
      position: relative; overflow: hidden;
      background: var(--card); cursor: pointer;
    }
    .port-item.wide { grid-column: span 2; }
    .port-item.tall { grid-row: span 2; }
    .port-img {
      width: 100%; height: 280px; object-fit: cover;
      display: block; transition: transform 0.5s ease;
      filter: brightness(1);
    }
    .port-item.tall .port-img { height: 100%; min-height: 566px; }
    .port-item.wide .port-img { height: 280px; }
    .port-item:hover .port-img { transform: scale(1.05); filter: brightness(1); }
    .port-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.8) 100%);
      opacity: 0; transition: opacity 0.3s;
      display: flex; align-items: flex-end; padding: 20px;
    }
    .port-item:hover .port-overlay { opacity: 1; }
    .port-label { font-size: 13px; font-weight: 600; color: var(--gold); }
    .port-video-wrap {
      position: relative; padding-top: 56.25%;
      background: var(--card);
    }
    .port-video-wrap iframe {
      position: absolute; inset: 0; width: 100%; height: 100%; border: none;
    }
    .port-video-placeholder {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, #111 0%, #1a1a0a 100%);
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; gap: 12px; color: var(--gold);
      font-size: 14px;
    }
    .play-btn {
      width: 64px; height: 64px; border-radius: 50%;
      border: 2px solid var(--gold);
      display: flex; align-items: center; justify-content: center;
      font-size: 24px;
    }

    /* ── WHY US ── */
    .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .why-text h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
    .why-text p { color: #888; margin-bottom: 32px; font-size: 15px; line-height: 1.9; }
    .check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
    .check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #ccc; }
    .check-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
    .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-box {
      background: var(--card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 28px; text-align: center;
    }
    .stat-box .big { font-size: 40px; font-weight: 900; color: var(--gold); line-height: 1; }
    .stat-box .sm { font-size: 13px; color: var(--muted); margin-top: 8px; }

    /* ── PRICING ── */
    .pricing-wrap { background: var(--dark); }
    .tabs { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
    .tab {
      padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600;
      cursor: pointer; border: 1px solid var(--border);
      background: transparent; color: #777;
      transition: all 0.2s; font-family: inherit;
    }
    .tab.on { background: var(--gold); color: var(--black); border-color: var(--gold); }
    .pane { display: none; }
    .pane.on { display: block; }
    .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
    .pc {
      background: var(--card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 28px;
      position: relative; transition: border-color 0.2s, transform 0.2s;
    }
    .pc:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-4px); }
    .pc.hot { border-color: var(--gold); }
    .hot-tag {
      position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
      background: var(--gold); color: var(--black);
      font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
      padding: 4px 14px; border-radius: 100px; white-space: nowrap;
    }
    .pc-tier { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
    .pc h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
    .pc .amt { font-size: 36px; font-weight: 900; margin: 12px 0 4px; }
    .pc .vat { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
    .pc ul { list-style: none; margin-bottom: 24px; }
    .pc ul li { font-size: 14px; color: #aaa; padding: 5px 0 5px 20px; position: relative; }
    .pc ul li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); top: 6px; font-size: 11px; }
    .pc-btn {
      display: block; width: 100%; text-align: center;
      border: 1px solid var(--gold); color: var(--gold);
      padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 600;
      transition: all 0.2s; cursor: pointer; background: transparent;
    }
    .pc-btn:hover, .pc.hot .pc-btn { background: var(--gold); color: var(--black); }
    .addon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 32px; }
    .addon {
      background: var(--card); border: 1px solid var(--border); border-radius: 10px;
      padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
    }
    .addon span { font-size: 13px; color: #aaa; }
    .addon strong { font-size: 14px; font-weight: 700; color: var(--gold); white-space: nowrap; }

    /* ── TRAVEL TABLE ── */
    .tt { width: 100%; border-collapse: collapse; font-size: 14px; }
    .tt th { text-align: left; padding: 12px 16px; background: var(--card); color: var(--gold); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
    .tt td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: #aaa; }
    .tt tr:last-child td { border-bottom: none; }
    .free { color: #5cb85c !important; font-weight: 700; }

    /* ── CONTACT ── */
    .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
    .contact-left h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
    .contact-left p { color: #888; margin-bottom: 36px; font-size: 15px; line-height: 1.8; }
    .c-items { display: flex; flex-direction: column; gap: 20px; }
    .c-item { display: flex; gap: 16px; align-items: flex-start; }
    .c-icon {
      width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
      background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2);
      display: flex; align-items: center; justify-content: center; font-size: 18px;
    }
    .c-text strong { display: block; font-size: 13px; color: var(--white); margin-bottom: 2px; }
    .c-text span { font-size: 14px; color: #888; }
    .contact-form {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 16px; padding: 36px;
    }
    .contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 28px; }
    .fg { margin-bottom: 20px; }
    .fg label { display: block; font-size: 12px; color: #777; margin-bottom: 8px; letter-spacing: 0.5px; text-transform: uppercase; }
    .fg input, .fg select, .fg textarea {
      width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
      color: var(--white); padding: 13px 16px; border-radius: 8px;
      font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s;
    }
    .fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--gold); }
    .fg textarea { resize: vertical; min-height: 110px; }
    .fg select option { background: #111; }
    .submit-btn {
      width: 100%; background: var(--gold); color: var(--black);
      border: none; padding: 15px; border-radius: 8px;
      font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
      transition: background 0.2s, transform 0.2s;
    }
    .submit-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

    /* ── FOOTER ── */
    footer {
      background: #040404; border-top: 1px solid var(--border);
      padding: 48px 24px 32px;
    }
    .footer-inner {
      max-width: var(--max); margin: 0 auto;
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 28px;
    }
    .f-logo { font-size: 20px; font-weight: 900; }
    .f-logo span { color: var(--gold); }
    .f-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
    .f-links { display: flex; gap: 28px; flex-wrap: wrap; }
    .f-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
    .f-links a:hover { color: var(--white); }
    .f-copy { font-size: 13px; color: var(--muted); }

    .sep { border: none; border-top: 1px solid var(--border); }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      nav { padding: 16px 20px; }
      .nav-links { display: none; }
      .nav-toggle { display: flex; }
      .hero-stat { padding: 16px 20px; }
      .why-grid { grid-template-columns: 1fr; gap: 40px; }
      .stat-grid { display: none; }
      .contact-grid { grid-template-columns: 1fr; }
      .section { padding: 64px 20px; }
      .parallax-section { padding: 80px 24px; }
    }

/* Beyond The Horizon — heading blend mode */
.elementor-element-6d24949b { mix-blend-mode: overlay; }

/* ── Mobile hero fixes ── */
@media (max-width: 767px) {
  /* Make YouTube background video fill portrait screens */
  .elementor-element-5289f22e .elementor-background-video-container {
    width: 177.78vh !important; /* 16:9 ratio scaled to viewport height */
    height: 100vh !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: absolute !important;
  }
  .elementor-element-5289f22e .elementor-background-video-container iframe,
  .elementor-element-5289f22e .elementor-background-video-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  /* Centre hero text content */
  .elementor-element-5289f22e .elementor-widget-container {
    text-align: center !important;
  }
  .elementor-element-5289f22e .elementor-button-wrapper {
    text-align: center !important;
  }
}