/*
Theme Name: SMGator
Theme URI: https://smgator.com
Author: SMGator Ventures
Author URI: https://smgator.com
Description: Custom lightweight theme for SMGator Ventures — an independent software studio building thoughtful apps for Apple devices.
Version: 1.0
License: All rights reserved
Text Domain: smgator
*/

:root{
  --navy:#041E42;
  --royal:#003594;
  --silver:#869397;
  --white:#ffffff;
  --bg:#eef1f5;
  --ink:#0c1b2e;
  --muted:#4a5666;
  --border:#869397;
  --accent-light:#8fb0ff;
}
*{box-sizing:border-box;margin:0;padding:0;}
html,body{height:100%;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  display:flex;flex-direction:column;min-height:100%;
}
a{color:var(--royal);}
.wrap{width:100%;max-width:960px;margin:0 auto;padding:0 24px;}

/* Header + nav */
header.site{background:var(--white);border-bottom:2px solid var(--silver);}
.site .bar{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 0;flex-wrap:wrap;}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.brand .mark{
  width:36px;height:36px;border-radius:9px;flex:0 0 auto;
  background:linear-gradient(135deg,var(--navy),var(--royal));
  display:grid;place-items:center;color:#fff;font-weight:800;font-size:17px;
}
.brand .name{font-weight:700;font-size:20px;letter-spacing:.2px;color:var(--navy);}
nav.main{display:flex;gap:6px;flex-wrap:wrap;}
nav.main a{
  text-decoration:none;color:var(--muted);font-weight:600;font-size:15px;
  padding:8px 14px;border-radius:9px;transition:background .15s ease,color .15s ease;
}
nav.main a:hover{background:var(--bg);color:var(--navy);}
nav.main a.active{background:var(--navy);color:#fff;}

/* Hero image */
.hero-image{padding-top:24px;margin-bottom:20px;}
.hero-image img{display:block;width:100%;max-width:880px;margin:0 auto;height:auto;
  border-radius:16px;border:3px solid var(--border);box-shadow:0 14px 34px rgba(4,30,66,.14);}

/* Cycling hero: photos crossfade BEHIND the transparent-screen iPad frame,
   so they show through the iPad's screen and stay perfectly framed. */
.hero-live{position:relative;width:100%;max-width:900px;margin:0 auto;
  aspect-ratio:2400 / 1792;border-radius:16px;border:3px solid var(--border);
  box-shadow:0 14px 34px rgba(4,30,66,.14);overflow:hidden;}
.hero-live .screen{position:absolute;overflow:hidden;background:#000;
  left:46.87%;top:33.99%;width:15.37%;height:14.51%;}
.hero-live .screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity 1.2s ease;}
.hero-live .frame{position:absolute;inset:0;width:100%;height:100%;}

/* Navy strip */
.studio{background:var(--navy);color:#fff;text-align:center;padding:64px 0;margin-bottom:30px;}
.studio .eyebrow{
  display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:#cdd8ef;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.28);
  border-radius:999px;padding:7px 15px;margin-bottom:22px;
}
.studio h1{font-size:clamp(30px,5vw,50px);line-height:1.08;letter-spacing:-.02em;
  color:#fff;margin-bottom:18px;}
.studio h1 .grad{color:var(--accent-light);}
.studio .lede{font-size:clamp(16px,2vw,19px);color:#c7d1e0;max-width:60ch;margin:0 auto;}

main{flex:1 0 auto;padding:0 0 10px;}

/* Centered white panel */
.panel{
  max-width:820px;margin:0 auto 20px;text-align:center;
  background:var(--white);border:3px solid var(--border);border-radius:16px;
  padding:38px 34px;box-shadow:0 14px 34px rgba(4,30,66,.08);
}
.panel .pic{
  width:52px;height:52px;border-radius:13px;margin:0 auto 16px;
  background:linear-gradient(135deg,var(--navy),var(--royal));
  display:grid;place-items:center;font-size:25px;
}
.panel h2{font-size:clamp(26px,4.4vw,40px);line-height:1.12;letter-spacing:-.02em;
  color:var(--navy);margin-bottom:14px;}
.panel p{color:var(--muted);font-size:17px;max-width:62ch;margin:0 auto 8px;}
.tag{display:inline-block;margin-top:14px;font-size:12px;font-weight:700;color:#fff;
  background:var(--royal);border-radius:999px;padding:7px 15px;letter-spacing:.04em;}

/* Section heading */
.section-head{text-align:center;max-width:720px;margin:44px auto 26px;}
.section-head h2{font-size:clamp(24px,4vw,36px);color:var(--navy);letter-spacing:-.02em;margin-bottom:10px;}
.section-head p{color:var(--muted);font-size:17px;}

/* Feature grid */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:0 auto 10px;}
.feature{
  background:var(--white);border:2px solid var(--border);border-radius:14px;
  padding:22px 20px;box-shadow:0 8px 22px rgba(4,30,66,.06);
}
.feature .ic{
  width:44px;height:44px;border-radius:11px;margin-bottom:12px;
  background:linear-gradient(135deg,var(--navy),var(--royal));
  display:grid;place-items:center;font-size:22px;
}
.feature h3{color:var(--navy);font-size:18px;margin-bottom:6px;}
.feature p{color:var(--muted);font-size:15px;}

/* Device screenshot frames (placeholders) */
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px;margin:8px auto 10px;}
.shot{text-align:center;}
.shot .frame{
  border:3px solid var(--navy);border-radius:18px;background:linear-gradient(160deg,#0a2a55,#041E42);
  aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;
  box-shadow:0 14px 30px rgba(4,30,66,.16);
}
.shot .frame img{width:100%;height:100%;object-fit:cover;display:block;}
.shot .frame .ph{color:#9fb4dd;font-size:13px;padding:0 16px;}
.shot .cap{margin-top:10px;color:var(--muted);font-size:14px;font-weight:600;}

/* Buttons + contact */
.contact{text-align:center;padding:44px 0 10px;}
.contact h3{font-size:clamp(22px,3.4vw,30px);color:var(--navy);margin-bottom:16px;}
.btn{
  display:inline-block;background:linear-gradient(135deg,var(--royal),var(--navy));
  color:#fff;text-decoration:none;font-weight:600;font-size:16px;
  padding:14px 28px;border-radius:12px;box-shadow:0 10px 24px rgba(0,53,148,.28);
  transition:transform .15s ease,box-shadow .15s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(0,53,148,.34);}
.contact .or{display:block;margin-top:14px;color:var(--muted);font-size:15px;}
.contact a.plain{color:var(--royal);text-decoration:none;font-weight:600;}
.contact a.plain:hover{text-decoration:underline;}

/* Document / prose (privacy, about) */
.doc{max-width:760px;margin:0 auto;padding:8px 0 10px;}
.doc .doc-head{text-align:center;margin:28px 0 8px;}
.doc h1{font-size:clamp(28px,4.6vw,42px);color:var(--navy);letter-spacing:-.02em;margin-bottom:8px;}
.doc .updated{color:var(--silver);font-size:14px;font-weight:600;}
.doc-body{
  background:var(--white);border:2px solid var(--border);border-radius:16px;
  padding:34px 32px;box-shadow:0 12px 30px rgba(4,30,66,.07);margin-top:18px;
}
.doc-body h2{color:var(--navy);font-size:21px;margin:26px 0 8px;letter-spacing:-.01em;}
.doc-body h2:first-child{margin-top:0;}
.doc-body p{color:var(--ink);font-size:16px;margin-bottom:12px;}
.doc-body ul{margin:0 0 14px 22px;}
.doc-body li{color:var(--ink);font-size:16px;margin-bottom:8px;}
.doc-body strong{color:var(--navy);}
.doc-body .intro{color:var(--muted);}

/* Footer */
footer{flex-shrink:0;background:var(--navy);color:#cdd6e6;margin-top:44px;}
footer .frow{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;
  text-align:center;padding:22px 0;font-size:13.5px;}
footer a{color:#fff;text-decoration:none;}
footer a:hover{text-decoration:underline;}
footer .fnav{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;}

/* ---- Home page ---- */

/* Hero: navy headline card (left) + cycling iPad (right) */
.home-hero{display:flex;align-items:stretch;gap:34px;padding:40px 0 30px;flex-wrap:wrap;}
.home-hero .hcard{
  flex:1 1 34%;background:var(--navy);border-radius:16px;
  padding:32px 28px;box-shadow:0 14px 34px rgba(4,30,66,.14);
  display:flex;flex-direction:column;justify-content:center;
}
.home-hero .hcard h1{
  font-size:clamp(26px,3.3vw,40px);line-height:1.15;letter-spacing:-.02em;color:#fff;
}
.home-hero .hcard h1 .grad{color:var(--accent-light);}
.home-hero .hmedia{flex:1 1 60%;}
.home-hero .hmedia img{
  display:block;width:100%;max-width:580px;margin-left:auto;height:auto;
  border-radius:16px;border:3px solid var(--border);box-shadow:0 14px 34px rgba(4,30,66,.14);
}

/* LivePhotoFrame row: floating iPad (left) + product panel (right, aligned under the hero) */
.app-row{display:flex;align-items:center;gap:34px;flex-wrap:wrap;margin:0 0 10px;}
.app-row .afloat{flex:1 1 34%;text-align:center;}
.app-row .afloat img{
  width:100%;max-width:300px;height:auto;filter:drop-shadow(0 24px 34px rgba(4,30,66,.30));
}
.app-row .panel{flex:1 1 60%;margin:0;max-width:none;padding:30px 34px;}

/* Panel icon shown as a real image (not a gradient tile) */
.panel .pic.photo{
  width:64px;height:64px;border-radius:15px;background:none;overflow:hidden;
  box-shadow:0 4px 12px rgba(4,30,66,.18);
}
.panel .pic.photo img{width:100%;height:100%;object-fit:cover;display:block;}

@media (max-width:760px){
  .home-hero .hmedia img{margin:0 auto;}
  .app-row .afloat{order:-1;}
  .app-row .panel{margin:0 auto;}
}

@media (max-width:560px){
  .site .bar{justify-content:center;}
  nav.main{justify-content:center;}
}
