/*
Theme Name: Videografas Portfolio
Theme URI: https://example.com/
Author: Tavo Vardas
Author URI: https://instagram.com/tavo_instagram
Description: Vieno puslapio portfolio tema videografui: darbai, paslaugos, kainos ir kontaktai.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: videografas-portfolio
*/

:root {
      --bg: #0b0b0f;
      --bg-soft: #15151d;
      --card: #1d1d27;
      --text: #f4f4f7;
      --muted: #a7a7b4;
      --line: rgba(255,255,255,0.12);
      --accent: #e7b45a;
      --accent-2: #ffdf9e;
      --radius: 22px;
      --max: 1120px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      background:
        radial-gradient(circle at 15% 10%, rgba(231,180,90,0.16), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(255,255,255,0.08), transparent 25%),
        var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img, video {
      max-width: 100%;
      display: block;
    }

    .container {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(11, 11, 15, 0.78);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 74px;
    }

    .logo {
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .logo span {
      color: var(--accent);
    }

    .nav-links {
      display: flex;
      gap: 22px;
      align-items: center;
      color: var(--muted);
      font-size: 14px;
    }

    .nav-links a:hover {
      color: var(--text);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 12px 18px;
      font-weight: 700;
      transition: 0.2s ease;
      cursor: pointer;
    }

    .btn-primary {
      background: var(--accent);
      color: #111;
      border-color: var(--accent);
    }

    .btn-primary:hover {
      background: var(--accent-2);
      transform: translateY(-2px);
    }

    .btn-secondary:hover {
      border-color: var(--accent);
      color: var(--accent-2);
      transform: translateY(-2px);
    }

    .hero {
      padding: 90px 0 70px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.08fr 0.92fr;
      gap: 42px;
      align-items: center;
    }

    .tag {
      display: inline-flex;
      color: var(--accent-2);
      background: rgba(231,180,90,0.1);
      border: 1px solid rgba(231,180,90,0.25);
      border-radius: 999px;
      padding: 7px 12px;
      font-size: 13px;
      margin-bottom: 22px;
    }

    h1 {
      font-size: clamp(42px, 7vw, 82px);
      line-height: 0.95;
      letter-spacing: -0.06em;
      margin-bottom: 24px;
    }

    .hero p {
      color: var(--muted);
      font-size: 18px;
      max-width: 620px;
      margin-bottom: 28px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 34px;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      max-width: 620px;
    }

    .stat {
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.04);
      border-radius: 18px;
      padding: 18px;
    }

    .stat strong {
      display: block;
      font-size: 26px;
      color: var(--accent-2);
    }

    .stat span {
      color: var(--muted);
      font-size: 13px;
    }

    .showreel-card {
      background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03));
      border: 1px solid var(--line);
      border-radius: 32px;
      padding: 18px;
      box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    }

    .video-placeholder {
      min-height: 520px;
      border-radius: 24px;
      background:
        linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.65)),
        url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=1000&q=80");
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: flex-end;
      padding: 24px;
      overflow: hidden;
    }

    .play-box {
      width: 100%;
      background: rgba(11,11,15,0.76);
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 18px;
      backdrop-filter: blur(12px);
    }

    .play-box small {
      color: var(--accent-2);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 700;
    }

    .play-box h3 {
      margin-top: 5px;
      font-size: 24px;
    }

    section {
      padding: 74px 0;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      align-items: end;
      margin-bottom: 30px;
    }

    .section-head h2 {
      font-size: clamp(32px, 4vw, 54px);
      line-height: 1;
      letter-spacing: -0.04em;
    }

    .section-head p {
      color: var(--muted);
      max-width: 470px;
    }

    .services {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .service-card,
    .work-card,
    .price-card,
    .about-card,
    .contact-card {
      background: rgba(255,255,255,0.045);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .service-card {
      padding: 22px;
      min-height: 190px;
    }

    .service-card .icon {
      font-size: 32px;
      margin-bottom: 18px;
    }

    .service-card h3 {
      margin-bottom: 8px;
      font-size: 20px;
    }

    .service-card p {
      color: var(--muted);
      font-size: 14px;
    }

    .work-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .work-card {
      overflow: hidden;
    }

    .thumb {
      aspect-ratio: 4 / 5;
      background: #333;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: flex-end;
      padding: 18px;
      position: relative;
    }

    .thumb::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(transparent 35%, rgba(0,0,0,0.82));
    }

    .thumb-content {
      position: relative;
      z-index: 1;
    }

    .thumb-content small {
      color: var(--accent-2);
      text-transform: uppercase;
      letter-spacing: 0.09em;
      font-weight: 700;
      font-size: 12px;
    }

    .thumb-content h3 {
      font-size: 23px;
      margin-top: 4px;
    }

    .work-card p {
      padding: 18px;
      color: var(--muted);
      font-size: 14px;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .price-card {
      padding: 26px;
      position: relative;
      overflow: hidden;
    }

    .price-card.featured {
      border-color: rgba(231,180,90,0.55);
      background: linear-gradient(145deg, rgba(231,180,90,0.16), rgba(255,255,255,0.045));
    }

    .price-card h3 {
      font-size: 24px;
      margin-bottom: 8px;
    }

    .price {
      font-size: 42px;
      font-weight: 900;
      letter-spacing: -0.05em;
      margin: 12px 0 18px;
      color: var(--accent-2);
    }

    .price span {
      font-size: 15px;
      color: var(--muted);
      font-weight: 500;
      letter-spacing: 0;
    }

    .price-card ul {
      list-style: none;
      display: grid;
      gap: 10px;
      margin-bottom: 22px;
      color: var(--muted);
      font-size: 15px;
    }

    .price-card li::before {
      content: "✓";
      color: var(--accent);
      margin-right: 8px;
      font-weight: 800;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 0.8fr 1.2fr;
      gap: 16px;
      align-items: stretch;
    }

    .about-photo {
      min-height: 420px;
      border-radius: var(--radius);
      background:
        linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.55)),
        url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1000&q=80");
      background-size: cover;
      background-position: center;
    }

    .about-card {
      padding: 34px;
    }

    .about-card h2 {
      font-size: 42px;
      line-height: 1.05;
      letter-spacing: -0.04em;
      margin-bottom: 18px;
    }

    .about-card p {
      color: var(--muted);
      margin-bottom: 16px;
    }

    .contact-card {
      padding: 40px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
      background:
        linear-gradient(135deg, rgba(231,180,90,0.18), rgba(255,255,255,0.04));
    }

    .contact-card h2 {
      font-size: clamp(32px, 5vw, 58px);
      line-height: 1;
      letter-spacing: -0.05em;
      margin-bottom: 14px;
    }

    .contact-card p {
      color: var(--muted);
      max-width: 620px;
    }

    footer {
      padding: 34px 0;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 14px;
    }

    .footer-row {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    @media (max-width: 900px) {
      .hero-grid,
      .about-grid,
      .contact-card {
        grid-template-columns: 1fr;
      }

      .services,
      .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .work-grid {
        grid-template-columns: 1fr 1fr;
      }

      .video-placeholder {
        min-height: 420px;
      }

      .section-head {
        display: block;
      }

      .section-head p {
        margin-top: 12px;
      }
    }

    @media (max-width: 640px) {
      .nav-links {
        display: none;
      }

      .hero {
        padding-top: 56px;
      }

      .stats,
      .services,
      .work-grid,
      .pricing-grid {
        grid-template-columns: 1fr;
      }

      .video-placeholder {
        min-height: 360px;
      }

      .contact-card {
        padding: 28px;
      }

      .price {
        font-size: 36px;
      }
    }
/* HERO VIDEO */

.portfolio-video-frame {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-height: 620px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.portfolio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* DARBŲ VIDEO GRID */

.work-grid {
  align-items: start;
}

.video-work-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Bendras video rėmas */
.work-video-frame {
  width: 100%;
  background: #000;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

/* Vertikaliems reelsams */
.video-work-card.portrait-video .work-video-frame {
  aspect-ratio: 9 / 16;
  max-height: 520px;
}

/* Horizontaliems 1920x1080 video */
.video-work-card.landscape-video .work-video-frame {
  aspect-ratio: 16 / 9;
  max-height: none;
}

/* Jei nori, kad horizontalus video per desktopą būtų platesnis */
.video-work-card.landscape-video {
  grid-column: span 2;
}

.work-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tekstas po video */
.work-video-text {
  padding: 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.work-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(231, 180, 90, 0.12);
  border: 1px solid rgba(231, 180, 90, 0.28);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.work-video-text h3 {
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.work-video-text p {
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .video-work-card.landscape-video {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .video-work-card.landscape-video {
    grid-column: span 1;
  }

  .video-work-card.portrait-video .work-video-frame {
    max-height: 560px;
  }

  .work-video-text {
    padding: 18px;
  }
}