/*
Theme Name: WACTA Technical Institute
Theme URI: https://example.com/wacta
Author: WACTA
Description: Custom theme for WACTA — Phase 1 (Header, Hero, About, Slider placeholder, Notice placeholder, Footer).
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
License: GPL-2.0-or-later
Text Domain: wacta
*/

:root{
  --brand:#1d4ed8;          /* institutional blue */
  --brand-dark:#173ea6;     /* darker shade for hover */
  --text:#0f172a;           /* slate-900 */
  --muted:#6b7280;          /* gray-500 */
  --bg:#ffffff;             /* white */
  --header:#0f1b3a;         /* header/footer background (same) */
  --header-text:#e5e7eb;    /* light text */
}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;background:var(--bg);color:var(--text)}
img{max-width:100%;height:auto}
.container{max-width:1140px;margin:0 auto;padding:0 16px}
.hide{display:none}

/* Top Social Bar */
.wacta-topbar{background:var(--header);color:var(--header-text);font-size:14px}
.wacta-topbar .wrap{display:flex;align-items:center;gap:14px;padding:6px 0}
.wacta-topbar a{color:var(--header-text);text-decoration:none;opacity:.9}
.wacta-topbar a:hover{opacity:1}
.wacta-topbar .spacer{flex:1}

/* Header */
.site-header{background:var(--header);color:var(--header-text);border-bottom:1px solid rgba(255,255,255,.08)}
.site-header .bar{display:flex;align-items:center;gap:18px;padding:12px 0}
.site-title a{color:#fff;text-decoration:none;font-weight:800}
.site-nav{margin-left:auto}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:18px}
.site-nav a{color:#fff;text-decoration:none;font-weight:600;padding:8px 10px;border-radius:8px}
.site-nav a:hover, .site-nav .current-menu-item>a{background:rgba(255,255,255,.12)}

/* Hero */
.hero{position:relative;isolation:isolate}
.hero .bg{position:absolute;inset:0;background:url('https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;opacity:.25;z-index:-1}
.hero .inner{padding:58px 0}
.hero h1{font-size:40px;line-height:1.1;margin:0 0 8px;color:#0b1220}
.hero p{color:#374151;margin:0 0 16px}

/* About */
.section{padding:32px 0}
.section h2{margin:0 0 10px;font-size:28px}
.section p{margin:0 0 10px;color:#374151}

/* Slider Placeholder */
.slider{border:1px dashed #c7d2fe;border-radius:14px;padding:14px;background:#f8fafc}
.slider .note{color:#4f46e5;font-weight:600}

/* Notice Placeholder */
.notice-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.notice{border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fff}
.notice h3{margin:0}
.notice time{font-size:12px;color:#6b7280}

/* Footer */
.site-footer{background:var(--header);color:var(--header-text);margin-top:32px}
.site-footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;padding:24px 0}
.site-footer a{color:var(--header-text);text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer .bottom{border-top:1px solid rgba(255,255,255,.12);padding:10px 0;color:#cbd5e1;font-size:14px}

@media (max-width:900px){
  .site-footer .cols{grid-template-columns:1fr}
  .notice-list{grid-template-columns:1fr}
}