/*
Theme Name: Hatay City Sosyal Akış
Theme URI: https://example.com/
Author: Hatay City
Description: Instagram, Facebook, X ve YouTube akışlarını dört ayrı sütunda gösteren, Hatay City renklerine uyumlu özel WordPress teması.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hatay-city
License: GNU General Public License v2 or later
*/

:root{
  --hc-red:#e3312d;
  --hc-green:#58ae3e;
  --hc-blue:#2688d7;
  --hc-orange:#ff9b18;
  --hc-ink:#101827;
  --hc-muted:#697386;
  --hc-line:#e5e9ef;
  --hc-bg:#f6f8fb;
  --hc-white:#fff;
  --hc-dark:#0c1928;
  --hc-shadow:0 12px 35px rgba(15,24,39,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--hc-ink);background:var(--hc-bg)}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.hc-wrap{width:min(1480px,96%);margin:auto}

/* Header */
.hc-header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--hc-line)}
.hc-header-inner{min-height:88px;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:30px}
.hc-brand{display:flex;align-items:center;gap:18px;min-width:300px}
.hc-brand img,.custom-logo{width:126px;max-height:72px;object-fit:contain}
.hc-brand-copy{border-left:1px solid #ccd3dc;padding-left:18px;display:grid}
.hc-brand-copy strong{font-size:18px}
.hc-brand-copy em{font-family:"Brush Script MT",cursive;font-size:28px;color:var(--hc-red);line-height:1;font-style:normal}
.hc-menu{display:flex;justify-content:center;gap:30px;list-style:none;margin:0;padding:0}
.hc-menu a{display:block;padding:33px 0 25px;border-bottom:3px solid transparent;font-size:14px;font-weight:700}
.hc-menu a:hover,.hc-menu .current-menu-item>a{color:var(--hc-red);border-color:var(--hc-red)}
.hc-social-icons{display:flex;gap:9px}
.hc-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--hc-line);background:#fff;font-weight:800;transition:.2s}
.hc-icon:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(0,0,0,.11)}
.hc-menu-toggle{display:none;border:0;background:transparent;font-size:25px;cursor:pointer}
.hc-mobile-menu{display:none;padding:0 0 18px}
.hc-mobile-menu.open{display:block}
.hc-mobile-menu .hc-menu{display:grid;gap:0}
.hc-mobile-menu .hc-menu a{padding:12px 4px;border:0}

/* Hero */
.hc-hero{position:relative;overflow:hidden;min-height:280px;background:
linear-gradient(90deg,rgba(255,255,255,.94),rgba(255,255,255,.48)),
radial-gradient(circle at 80% 30%,rgba(255,155,24,.35),transparent 28%),
radial-gradient(circle at 15% 60%,rgba(38,136,215,.26),transparent 32%),
#eaf4fb}
.hc-hero:before{content:"";position:absolute;inset:auto -5% -30% -5%;height:75%;background:linear-gradient(to top,rgba(38,136,215,.15),transparent);transform:skewY(-3deg)}
.hc-hero-inner{position:relative;z-index:2;min-height:280px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px;padding:38px 2%}
.hc-hero h1{margin:0;font-size:clamp(39px,5vw,72px);letter-spacing:-2px;line-height:.98}
.hc-script{font-family:"Brush Script MT",cursive;color:var(--hc-red);font-size:clamp(42px,4vw,66px);line-height:1;margin:5px 0 18px}
.hc-hero-desc{font-size:17px;color:#374151;margin:0;max-width:740px}
.hc-hero-side{font-family:"Brush Script MT",cursive;font-size:clamp(32px,3vw,52px);text-align:center;transform:rotate(-4deg)}
.hc-hero-side span{color:var(--hc-red);font-size:.78em}

/* Social panels */
.hc-social-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px 0 28px}
.hc-social-panel{background:#fff;border:1px solid var(--hc-line);border-radius:16px;box-shadow:var(--hc-shadow);overflow:hidden;display:flex;flex-direction:column;min-height:650px}
.hc-panel-head{min-height:96px;padding:18px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px}
.hc-panel-left{min-width:0}
.hc-platform-title{display:flex;align-items:center;gap:10px;font-weight:800;font-size:23px}
.hc-platform-symbol{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.18);font-size:24px}
.hc-panel-head small{display:block;padding-left:53px;margin-top:-3px;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hc-instagram .hc-panel-head{background:linear-gradient(135deg,#b725ef,#fe2f70,#ff6439)}
.hc-facebook .hc-panel-head{background:linear-gradient(135deg,#0866ff,#2190ef)}
.hc-x .hc-panel-head{background:linear-gradient(135deg,#0a0a0a,#282828)}
.hc-youtube .hc-panel-head{background:linear-gradient(135deg,#ff1616,#df0000)}
.hc-follow{border:1px solid rgba(255,255,255,.75);border-radius:999px;padding:10px 15px;font-size:13px;font-weight:700;white-space:nowrap}
.hc-follow:hover{background:#fff;color:#111}
.hc-feed{flex:1;padding:15px;overflow:hidden}
.hc-post{display:block;border:1px solid var(--hc-line);border-radius:12px;background:#fff;overflow:hidden;margin-bottom:12px}
.hc-post:last-child{margin-bottom:0}
.hc-post-meta{display:flex;align-items:center;gap:10px;padding:11px}
.hc-avatar{width:38px;height:38px;border-radius:50%;object-fit:contain;border:1px solid var(--hc-line);background:#fff}
.hc-post-meta strong{display:block;font-size:14px}
.hc-post-meta span{display:block;font-size:11px;color:var(--hc-muted);margin-top:2px}
.hc-post-image{width:100%;aspect-ratio:4/3;object-fit:cover;background:#e7edf5}
.hc-post-body{padding:11px;font-size:13px;line-height:1.5}
.hc-post-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:9px;font-size:11px;color:#596477}
.hc-tweet-text{font-size:15px;line-height:1.55}
.hc-video-list{display:grid;gap:11px}
.hc-video{display:grid;grid-template-columns:43% 1fr;gap:9px;align-items:start}
.hc-video img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:#e7edf5}
.hc-video strong{font-size:12px;line-height:1.3;display:block}
.hc-video span{font-size:10px;color:var(--hc-muted);display:block;margin-top:4px}
.hc-more{margin:0 15px 15px;min-height:46px;border-radius:999px;display:grid;place-items:center;font-size:12px;font-weight:800;background:#f2f4f7}
.hc-instagram .hc-more{background:#fff0f2;color:#dc2a4c}
.hc-facebook .hc-more{background:#edf5ff;color:#0866ff}
.hc-youtube .hc-more{background:#fff0f0;color:#e40000}
.hc-empty{height:100%;min-height:430px;display:grid;place-items:center;text-align:center;padding:30px;color:var(--hc-muted)}
.hc-empty strong{display:block;color:var(--hc-ink);font-size:18px;margin-bottom:8px}
.hc-empty a{color:var(--hc-blue);font-weight:700}

/* Content */
.hc-content{padding:35px 0 55px}
.hc-content-card{background:#fff;border:1px solid var(--hc-line);border-radius:17px;padding:28px;box-shadow:var(--hc-shadow)}
.hc-content-card h1,.hc-content-card h2{margin-top:0}

/* Footer */
.hc-footer{background:var(--hc-dark);color:#fff;padding:25px 0}
.hc-footer-inner{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:28px}
.hc-footer-brand{display:flex;align-items:center;gap:16px}
.hc-footer-brand img{width:100px;height:58px;object-fit:contain;background:#fff;border-radius:4px}
.hc-footer-brand em{font-family:"Brush Script MT",cursive;color:var(--hc-red);font-style:normal;font-size:22px}
.hc-footer-menu{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font-size:12px;color:#d2d8e0}
.hc-footer small{color:#c9d0da;white-space:nowrap}

/* WP defaults */
.alignwide{width:min(1280px,96%);margin-left:auto;margin-right:auto}
.alignfull{width:100%}
.wp-caption{max-width:100%}

@media(max-width:1260px){
  .hc-header-inner{grid-template-columns:1fr auto}
  .hc-header nav,.hc-header .hc-social-icons{display:none}
  .hc-menu-toggle{display:block}
  .hc-social-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:12px;padding-right:12px}
  .hc-footer-inner{grid-template-columns:1fr;text-align:center}
  .hc-footer-brand,.hc-footer-menu,.hc-footer .hc-social-icons{justify-content:center}
}
@media(max-width:760px){
  .hc-header-inner{min-height:74px}
  .hc-brand{min-width:0}
  .hc-brand img,.custom-logo{width:92px;max-height:58px}
  .hc-brand-copy{display:none}
  .hc-hero-inner{grid-template-columns:1fr;text-align:center;min-height:320px}
  .hc-hero-side{display:none}
  .hc-social-grid{grid-template-columns:1fr}
  .hc-social-panel{min-height:590px}
  .hc-footer small{white-space:normal}
}
