/* KHORONADO Site Pack - Print/Photoshop layout skin
   Goal: match the provided screenshot (white background, centered header, two-column hero, footer icons + contact button).
   Notes:
   - The public site uses the new classes: .site-header, .site-logo, .site-nav, .home-grid, etc.
   - The dashboard still uses .card, .btn, .input, .notice, etc., which are kept below.
*/

@font-face {
  font-family: "ModularAmplitude";
  src: url("../fonts/ModularAmplitude.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  --red: #c00000;
  --red-dark: #8b0000;
  --blue: #0047ff;
  --black: #000000;
  --gray: #4a4a4a;
  --maxw: 1200px;
}

/* Base */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:#ffffff;
  color: var(--black);
  font-family: Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.35;
}
a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; }

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

/* Layout helpers */
.page{
  min-height: 100vh;
  display:flex;
  flex-direction: column;
}
.page-main{
  flex: 1;
  display:flex;
  align-items: center;
}

/* Header */
.site-header{
  padding: 22px 0 0 0;
  text-align: center;
}
.site-logo{
  display:inline-block;
  font-family: ModularAmplitude, Arial, sans-serif;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 52px;
  text-shadow: 0 2px 0 rgba(0,0,0,0.25);
}
.site-nav{
  margin-top: 6px;
  display:flex;
  justify-content:center;
  gap: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}
.site-nav a{
  color: var(--red);
}
.site-nav a.active{
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Home */
.home-wrap{
  width: 100%;
  padding: 28px 0 10px 0;
}
.home-grid{
  display:flex;
  align-items: center;
  justify-content: center;
  gap: 84px;
}
.home-left{
  width: 560px;
  text-align:center;
}
.home-title{
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 700;
}
.home-sub{
  margin: 8px 0 0 0;
  font-size: 18px;
  color: var(--gray);
  font-family: Arial, sans-serif;
}
.home-official{
  margin: 10px 0 0 0;
  font-size: 15px;
  font-weight: 700;
}
.home-corp{
  margin: 8px 0 0 0;
  font-family: ModularAmplitude, Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
}
.home-right img{
  width: 680px;
  max-width: 92vw;
  height: auto;
  display:block;
}

/* Generic page (About / Project) */
.page-section{
  width:100%;
  padding: 40px 0 20px 0;
}
.page-center{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.page-h1{
  margin: 0 0 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
}
.page-lead{
  margin: 0 0 18px 0;
  color: var(--gray);
}

/* Footer (icons left, contact right, copyright centered) */
.site-footer{
  padding: 18px 0 12px 0;
}
.footer-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}
.social{
  display:flex;
  align-items:center;
  gap: 18px;
}
.social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 26px;
  height: 26px;
}
.social svg{
  width: 18px;
  height: 18px;
  fill: var(--black);
}
.contact-btn{
  display:inline-block;
  background: var(--red-dark);
  color:#fff;
  border-radius: 999px;
  padding: 12px 46px;
  font-size: 14px;
  text-decoration:none;
}
.contact-btn:hover{
  text-decoration:none;
  filter: brightness(0.96);
}
.copyright{
  margin-top: 12px;
  text-align:center;
  font-size: 11px;
  color: var(--black);
}
.copyright .all{
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep guest notices readable (used on About/Project) */
.notice{
  display:inline-block;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.20);
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
  margin: 0 auto 14px auto;
  font-size: 13px;
}
.notice.ok{ border-color: rgba(49,208,170,0.55); background: rgba(49,208,170,0.12); }
.notice.bad{ border-color: rgba(255,77,109,0.55); background: rgba(255,77,109,0.12); }

/* Dashboard primitives (still used) */
.card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.card-pad{ padding: 18px; }

.btns{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.22);
  background: #ffffff;
  color: var(--black);
  cursor:pointer;
  font-weight: 650;
  font-size: 14px;
}
.btn.primary{
  background: var(--red);
  border-color: var(--red);
  color:#fff;
}
.btn.danger{
  border-color: rgba(255,77,109,0.65);
  background: rgba(255,77,109,0.12);
}
.btn:disabled{ opacity: 0.60; cursor:not-allowed; }

.form-row{ display:flex; flex-direction:column; gap: 6px; margin: 10px 0; }
.input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.22);
  background: #ffffff;
  color: var(--black);
  outline: none;
}
textarea{ min-height: 180px; resize: vertical; }
.input:focus, textarea:focus, select:focus{
  border-color: rgba(0,71,255,0.55);
  box-shadow: 0 0 0 3px rgba(0,71,255,0.12);
}

/* Responsive */
@media (max-width: 980px){
  .page-main{ align-items: flex-start; }
  .site-logo{ font-size: 44px; }
  .home-grid{ flex-direction: column; gap: 22px; }
  .home-left{ width: auto; }
  .home-title{ font-size: 38px; }
  .home-right img{ width: 92vw; }
  .footer-row{ flex-direction: column; }
}

.small{font-size:12px; color:#4a4a4a;}
