/*
Theme Name: Armağan Production
Theme URI: https://example.com/
Author: ChatGPT
Description: Premium, cinematic WordPress theme for Armağan Production. Includes homepage hero video, portfolio CPT, and dedicated pages: Anasayfa, Platomuz, Hakkımızda, İletişim.
Version: 1.1.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: armaganproduction
*/

:root{
  --bg:#0b0b0d;
  --bg2:#111116;
  --text:#f4f4f6;
  --muted:#b9bac3;
  --line:rgba(255,255,255,.10);
  --card:rgba(255,255,255,.04);
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:28px;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 20% -10%, rgba(255,255,255,.08), transparent 60%),
              radial-gradient(900px 700px at 100% 0%, rgba(255,255,255,.06), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%;height:auto;display:block}

.container{max-width:var(--max);margin:0 auto;padding:0 22px}

/* Header */
.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;transition:all .25s ease}
.site-header .bar{
  position:relative;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 0;
}
.site-header,
.site-header.is-scrolled{background:transparent !important;backdrop-filter:none !important;border-bottom:none !important}

.logo-center{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;z-index:2}
.custom-logo-link{display:block;line-height:0}
.custom-logo{display:block;max-height:92px;width:auto;opacity:1 !important;filter:none !important}
.brand{
  display:flex;align-items:center;gap:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
  font-size:14px;
}
.brand .mark{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06));border:1px solid var(--line);box-shadow:0 10px 30px rgba(0,0,0,.35)}

.nav{
  display:flex;align-items:center;gap:22px;
  font-size:14px;
  color:var(--muted);
}
.nav li{list-style:none}
.nav a{position:relative;padding:10px 2px;letter-spacing:.03em}
.nav a::after{
  content:"";position:absolute;left:0;bottom:6px;width:0;height:1px;background:rgba(255,255,255,.55);transition:width .22s ease;
}
.nav a:hover{color:var(--text)}
.nav a:hover::after{width:100%}

.header-actions{display:flex;align-items:center;gap:14px}
.icon-btn{
  width:38px;height:38px;border-radius:14px;display:grid;place-items:center;
  border:1px solid var(--line);background:rgba(255,255,255,.03);
}
.icon-btn:hover{background:rgba(255,255,255,.06)}

/* Burger removed (menu stays visible on mobile) */
.burger{display:none !important}

/* Hero */
.hero{
  position:relative;
  min-height:92vh;
  display:grid;
  align-items:end;
  padding-top:0;
}
.hero-media{position:absolute;inset:0;overflow:hidden;border-bottom:1px solid var(--line)}
.hero-media video,.hero-media .poster{
  width:100%;height:100%;object-fit:cover;transform:scale(1.03);
}
.hero-media::after{
  content:"";position:absolute;inset:0;
  /* Keep the very top clear so the header looks truly transparent */
  background: linear-gradient(to top,
                rgba(11,11,13,.92),
                rgba(11,11,13,.45) 55%,
                rgba(11,11,13,0) 100%),
              radial-gradient(900px 600px at 20% 10%, rgba(255,255,255,.10), transparent 60%);
}

/* Mobile hero: remove any top dark band effect */
@media (max-width: 720px){
  .hero-media::after{
    background: linear-gradient(to top,
                  rgba(11,11,13,.90),
                  rgba(11,11,13,.40) 55%,
                  rgba(11,11,13,0) 100%);
  }
}

/* Hero video: show poster instantly, fade to video when playing */
.hero-media{position:absolute;inset:0}
.hero-media video{opacity:0;transition:opacity .35s ease}
.hero-media .ap-poster-overlay{position:absolute;inset:0;background-size:cover;background-position:center;display:block;transition:opacity .35s ease;opacity:1}
.hero-media.ap-is-playing video{opacity:1}
.hero-media.ap-is-playing .ap-poster-overlay{opacity:0;pointer-events:none}
.hero-media.ap-needs-gesture video{opacity:0}
.hero-media.ap-needs-gesture .ap-poster-overlay{opacity:1}

.hero-inner{position:relative;padding:54px 0 58px}
.kicker{color:rgba(255,255,255,.78);letter-spacing:.18em;text-transform:uppercase;font-size:12px}
.hero h1{margin:12px 0 14px;font-size:52px;line-height:1.05;letter-spacing:-.02em}
.hero p{margin:0;max-width:56ch;color:rgba(255,255,255,.75);font-size:16px}

.cta-row{margin-top:26px;display:flex;gap:12px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 16px;border-radius:16px;border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  box-shadow:0 18px 46px rgba(0,0,0,.35);
}
.btn:hover{background:rgba(255,255,255,.09)}
.btn.primary{background:rgba(255,255,255,.14)}
.btn.primary:hover{background:rgba(255,255,255,.18)}

/* Sections */
.section{padding:72px 0;border-bottom:1px solid var(--line)}
.section:last-of-type{border-bottom:none}
.section h2{margin:0 0 12px;font-size:28px;letter-spacing:-.01em}
.section .sub{margin:0 0 26px;color:var(--muted);max-width:70ch}

.grid{display:grid;gap:18px}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}

.card{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  transition:transform .18s ease, background .18s ease;
}
.card:hover{transform:translateY(-2px);background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04))}
.card .title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.card h3{margin:0;font-size:16px;letter-spacing:.02em}
.card p{margin:0;color:var(--muted);font-size:14px}

.mini-meta{font-size:12px;color:rgba(255,255,255,.55);letter-spacing:.08em;text-transform:uppercase}

/* Portfolio */
.work{
  border-radius:var(--radius2);
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}
.work .thumb{aspect-ratio:16/10;background:rgba(255,255,255,.04);position:relative;overflow:hidden}
.work .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.work:hover .thumb img{transform:scale(1.04)}
.work .body{padding:14px 14px 16px}
.work .body h3{margin:0 0 6px;font-size:15px}
.work .body .mini-meta{opacity:.9}

/* Contact */
.contact-wrap{display:grid;grid-template-columns:1.4fr .8fr;gap:18px}
.notice{
  border:1px dashed rgba(255,255,255,.22);
  background:rgba(255,255,255,.03);
  border-radius:var(--radius);
  padding:14px;
  color:rgba(255,255,255,.78);
  font-size:13px;
}

.quick{
  display:flex;flex-direction:column;gap:12px
}
.quick a{display:flex;align-items:center;gap:12px;padding:14px;border-radius:var(--radius);
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}
.quick a:hover{background:rgba(255,255,255,.06)}
.quick .lbl{display:flex;flex-direction:column}
.quick .lbl b{font-size:14px}
.quick .lbl span{font-size:12px;color:var(--muted)}

/* Platomuz 3-lü görsel */
.triple-shot{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 18px}
.triple-shot .shot{border-radius:22px;overflow:hidden;border:1px solid var(--line);background:rgba(255,255,255,.03);box-shadow:var(--shadow);position:relative;transform:translateY(0);animation:apFloat 6.5s ease-in-out infinite}
.triple-shot .shot img{width:100%;height:220px;object-fit:cover;display:block;transform:scale(1.02)}
.triple-shot .shot .ph{height:220px;background:linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02));}
.triple-shot .shot::after{content:"";position:absolute;inset:0;background:linear-gradient(to top, rgba(11,11,13,.55), transparent 60%);pointer-events:none}
.triple-shot .shot:hover{transform:translateY(-2px)}
.triple-shot .s2{animation-delay:1.2s}
.triple-shot .s3{animation-delay:2.4s}
@keyframes apFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* Footer */
.site-footer{padding:34px 0;color:rgba(255,255,255,.6)}
.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.footer-grid .left{display:flex;align-items:center;gap:12px}

/* Mobile */
@media (max-width: 980px){
  .grid.cols-3{grid-template-columns:1fr 1fr}
  .hero h1{font-size:42px}
  .contact-wrap{grid-template-columns:1fr}

  .triple-shot .shot img, .triple-shot .shot .ph{height:190px}
}
@media (max-width: 720px){
  .custom-logo{max-height:64px}
  /* Keep menu visible on mobile (no hamburger) */
  .nav{display:flex;gap:14px;font-size:12px;overflow-x:auto;white-space:nowrap;max-width:50vw;-webkit-overflow-scrolling:touch}
  .nav::-webkit-scrollbar{display:none}
  .grid.cols-3,.grid.cols-2{grid-template-columns:1fr}
  .hero{min-height:86vh}
  .hero h1{font-size:36px}

  .triple-shot{grid-template-columns:1fr}
  .triple-shot .shot img, .triple-shot .shot .ph{height:210px}
}

/* Mobile: move social icons to a fixed bottom centered band */
@media (max-width: 720px){
  .header-actions{
    position:fixed !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    bottom:14px !important;
    top:auto !important;
    right:auto !important;
    z-index:1200 !important;
    gap:10px !important;
    padding:10px 12px !important;
    border-radius:999px !important;
    background:rgba(0,0,0,.35) !important;
    border:1px solid rgba(255,255,255,.12) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .icon-btn{width:40px;height:40px;border-radius:16px}
  body{padding-bottom:86px}
}

/* Bigger logo (mobile) */
@media (max-width:768px){
  .custom-logo{max-height:72px}
}


/* Studio grid (6 images) */
.ap-studio-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin:18px 0 8px;
}
.ap-studio-grid .ap-shot{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.ap-studio-grid img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
  transition:transform .35s ease, filter .35s ease;
}
.ap-studio-grid a:hover img{transform:scale(1.06);filter:saturate(1.05) contrast(1.03)}
.ap-studio-grid .ph{height:220px;background:linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));}
.ap-studio-actions{margin-top:16px}

/* Responsive */
@media (max-width:900px){
  .ap-studio-grid{grid-template-columns:repeat(2,1fr)}
  .ap-studio-grid img,.ap-studio-grid .ph{height:190px}
}
@media (max-width:520px){
  .ap-studio-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .ap-studio-grid img,.ap-studio-grid .ph{height:160px}
}

/* Lightbox */
.ap-lightbox{
  position:fixed;inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.78);
  z-index:99999;
}
.ap-lightbox.is-open{display:flex}
.ap-lb-figure{margin:0;max-width:min(92vw,1100px);max-height:80vh}
.ap-lb-img{width:100%;height:auto;max-height:80vh;object-fit:contain;border-radius:18px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.25)}
.ap-lb-close,.ap-lb-prev,.ap-lb-next{
  position:absolute;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.ap-lb-close{top:18px;right:18px;font-size:26px;line-height:1}
.ap-lb-prev{left:18px;top:50%;transform:translateY(-50%);font-size:34px}
.ap-lb-next{right:18px;top:50%;transform:translateY(-50%);font-size:34px}
html.ap-lb-open{overflow:hidden}

/* Counters */
.ap-counters .center{text-align:center}
.ap-counter-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:18px;
}
.ap-counter-card{
  padding:26px 22px;
  border-radius:26px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  text-align:center;
}
.ap-counter-icon{width:44px;height:44px;margin:0 auto 12px;opacity:.95}
.ap-counter-value{font-size:46px;font-weight:800;letter-spacing:-.02em;margin-bottom:4px}
.ap-counter-label{opacity:.85;font-weight:600}
@media (max-width:720px){
  .ap-counter-grid{grid-template-columns:1fr}
  .ap-counter-value{font-size:40px}
}


/* Reveal animation */
.ap-reveal{opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease;}
.ap-reveal.is-inview{opacity:1; transform:none;}

/* Services grid (image cards) */
.services-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:26px;
  margin-top:26px;
}
@media (max-width:1100px){ .services-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .services-grid{grid-template-columns:1fr; gap:18px;} }

.service-card{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  min-height:260px;
  text-decoration:none;
  color:inherit;
  background-size:cover;
  background-position:center;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  transform:translateZ(0);
}
.service-card__bg{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}
.service-card__overlay{
  position:absolute; inset:0;
  background:radial-gradient(1200px 500px at 20% 0%, rgba(255,255,255,.12), transparent 55%);
  opacity:.65;
}
.service-card__content{
  position:absolute; left:22px; right:22px; bottom:18px;
  padding:18px 18px;
  border-radius:22px;
  background:rgba(0,0,0,.40);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.14);
}
.service-card__title{
  display:block;
  font-size:22px;
  font-weight:800;
  letter-spacing:.02em;
  margin-bottom:10px;
}
.service-card__lines span{
  display:block;
  opacity:.90;
  font-size:13px;
  line-height:1.35;
  margin-top:4px;
}
.service-card:hover{
  transform:translateY(-6px);
  transition:transform .25s ease, box-shadow .25s ease;
  box-shadow:0 28px 80px rgba(0,0,0,.50);
}
.service-card:hover .service-card__content{
  background:rgba(0,0,0,.48);
}


/* Service detail template */
.service-hero{min-height:72vh;display:flex;align-items:flex-end;background-size:cover;background-position:center;position:relative;border-radius:0;}
.service-hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.75));}
.service-hero__inner{position:relative;padding:110px 0 56px;}
.service-hero__title{margin:0;font-size:56px;letter-spacing:.08em;text-transform:uppercase;}
.service-hero__crumbs{margin-top:10px;opacity:.85;font-size:14px;display:flex;gap:10px;flex-wrap:wrap;}
.service-hero__crumbs a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.25)}
.service-hero__crumbs a:hover{border-bottom-color:rgba(255,255,255,.7)}
.service-body{padding:60px 0;}
.service-content{max-width:860px;}
@media(max-width:768px){.service-hero__inner{padding:92px 0 36px;}.service-hero__title{font-size:34px;}}
