/*
Theme Name: Kombin Gallery
Theme URI: https://example.com/kombin-gallery
Author: OpenAI
Description: Responsive fashion outfit gallery theme with lightbox details and legal page templates.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: kombin-gallery
*/

:root{--bg:#f7f5f2;--text:#171717;--muted:#717171;--line:#e7e1da;--card:#fff;--accent:#111}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.site-shell{width:min(1220px,calc(100% - 32px));margin:0 auto}.site-header{position:sticky;top:0;z-index:30;background:rgba(247,245,242,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-brand{font-family:Georgia,serif;font-size:28px;font-weight:700;letter-spacing:.04em}.main-nav{display:flex;gap:26px;align-items:center}.main-nav a{font-size:14px;font-weight:600}.menu-toggle{display:none;border:0;background:#111;color:#fff;padding:10px 14px;border-radius:999px}.hero{padding:64px 0 32px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.18em;color:var(--muted);font-weight:700}.hero h1{font-family:Georgia,serif;font-size:clamp(42px,7vw,86px);line-height:.95;margin:14px 0 18px;max-width:900px}.hero p{max-width:680px;color:var(--muted);font-size:18px}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-bottom:70px}.look-card{position:relative;overflow:hidden;border-radius:18px;background:#ddd;aspect-ratio:3/4;cursor:pointer}.look-card img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.look-card:hover img{transform:scale(1.035)}.look-overlay{position:absolute;inset:auto 0 0;padding:48px 18px 18px;background:linear-gradient(transparent,rgba(0,0,0,.62));color:#fff}.look-title{font-size:20px;font-weight:700}.look-meta{font-size:13px;opacity:.85}.legal-page,.content-page{background:#fff;border:1px solid var(--line);border-radius:24px;padding:clamp(24px,5vw,56px);margin:48px auto 80px;max-width:900px}.legal-page h1,.content-page h1{font-family:Georgia,serif;font-size:46px;line-height:1.05}.legal-page h2,.content-page h2{margin-top:34px}.site-footer{border-top:1px solid var(--line);padding:32px 0 46px}.footer-inner{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;color:var(--muted);font-size:14px}.footer-links{display:flex;gap:16px;flex-wrap:wrap}.modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.74);display:none;align-items:center;justify-content:center;padding:20px}.modal.active{display:flex}.modal-panel{background:#fff;max-width:1080px;width:100%;max-height:92vh;display:grid;grid-template-columns:1.2fr .8fr;border-radius:24px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.35)}.modal-media{background:#eee;min-height:520px}.modal-media img{width:100%;height:100%;object-fit:cover}.modal-copy{padding:34px;overflow:auto;position:relative}.modal-copy h2{font-family:Georgia,serif;font-size:40px;line-height:1.08;margin:26px 0 14px}.modal-copy p{color:#606060}.close-modal{position:absolute;right:20px;top:18px;border:0;background:#f1f1f1;width:40px;height:40px;border-radius:50%;font-size:22px;cursor:pointer}.tag-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.tag{background:#f5f1ec;border:1px solid var(--line);padding:7px 10px;border-radius:999px;font-size:12px}.empty-state{padding:70px 0;text-align:center;color:var(--muted)}
@media(max-width:980px){.gallery{grid-template-columns:repeat(3,1fr)}.modal-panel{grid-template-columns:1fr}.modal-media{min-height:380px;max-height:52vh}.main-nav{display:none;position:absolute;left:16px;right:16px;top:76px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;flex-direction:column;align-items:flex-start}.main-nav.open{display:flex}.menu-toggle{display:block}}
@media(max-width:700px){.site-shell{width:min(100% - 20px,1220px)}.gallery{grid-template-columns:repeat(2,1fr);gap:10px}.look-card{border-radius:14px}.hero{padding-top:38px}.hero p{font-size:16px}.modal{padding:8px}.modal-panel{border-radius:16px;max-height:96vh}.modal-media{min-height:310px}.modal-copy{padding:24px}.modal-copy h2{font-size:30px}.legal-page h1,.content-page h1{font-size:36px}.header-inner{height:68px}.main-nav{top:68px}}
@media(max-width:430px){.gallery{grid-template-columns:1fr}.look-card{aspect-ratio:4/5}}
