
/* Reset & base */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
img{max-width:100%;display:block}
a{color:inherit}
:root{
  --bg:#0a0a0a;
  --card:#121212;
  --text:#ffffff;
  --muted:#d1d5db;
  --red:#b40000;
  --red-2:#e21e1e;
  --white:#ffffff;
  --border:#1f1f1f;
  --shadow:0 8px 22px rgba(0,0,0,.45);
  --radius:16px;
}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  color:var(--text);
  background: radial-gradient(1000px 600px at 10% -10%, #191919 0%, #0b0b0b 60%) fixed, var(--bg);
  line-height:1.6;
}

/* Layout helpers */
.container{
  width:min(1100px, 92%);
  margin-inline:auto;
}
.section{padding: clamp(28px, 6vw, 64px) 0}

/* Header / Nav */
.site-header{
    
   position: sticky; top:0; z-index:50;
  backdrop-filter: blur(6px) saturate(130%);
  background: rgba(0,0,0,.6);
  border-bottom:1px solid var(--border);
}
.nav-wrap{
     position: relative;
  display:flex;align-items:center;justify-content:space-between;
  padding: 10px 0;
}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none}
.brand img{width:54px;height:auto;border-radius:10px;box-shadow:var(--shadow)}
.brand-text{font-weight:800;letter-spacing:.2px}

.nav{display:flex;gap:1rem}
.nav a{
  text-decoration:none;padding:.6rem .2rem;border-radius:10px;color:#f1f1f1;
  transition:background .2s ease, color .2s ease;
}
.nav a:hover, .nav a.active{background: var(--red);color:#fff}

/* Hamburger */
.menu-toggle{
  display:none;cursor:pointer;background:none;border:none;padding:10px;border-radius:12px;
}
.menu-toggle .bar{display:block;width:24px;height:3px;background:#fff;margin:4px 0;border-radius:3px;transition:transform .2s ease}
.menu-toggle.is-open .bar:nth-child(1){transform: translateY(7px) rotate(45deg)}
.menu-toggle.is-open .bar:nth-child(2){opacity:0}
.menu-toggle.is-open .bar:nth-child(3){transform: translateY(-7px) rotate(-45deg)}



/* Hero */
.hero{
  position:relative;overflow:hidden;border-bottom:1px solid var(--border);
  background: linear-gradient(180deg, rgba(180,0,0,.25), rgba(0,0,0,.6));
}
.hero .container{display:grid;grid-template-columns: 1.2fr .8fr;align-items:center;gap:2rem;padding: clamp(22px, 6vw, 72px) 0}
.hero img.hero-art{width:100%;height:auto;border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--border)}
.hero h1{font-size: clamp(1.8rem, 4.2vw, 3rem);line-height:1.15;margin:.25rem 0 .5rem}
.hero p{color:var(--muted);font-size: clamp(1rem, 2.2vw, 1.1rem)}
.cta{display:inline-block;background:var(--red);color:#fff;font-weight:700;border:0;padding:.8rem 1rem;border-radius:12px;box-shadow:var(--shadow);text-decoration:none}
.cta:hover{background:var(--red-2)}

/* Cards */
.cards{display:grid;grid-template-columns: repeat(3,1fr);gap:1rem;margin-top:1rem}
.card{
  background:linear-gradient(180deg,#141414,#0e0e0e);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1rem; box-shadow:var(--shadow);
}
.card h3{margin-top:0}








/*New form style*/

.form-wrap {
  width: 50%;
  margin-left: auto;
 margin-right: auto;
}
form input {
  width: 100%;
  display: block;
  margin-top: 6px;
  padding: 10px;
  height: 40px;
  border: solid 1px red;
  border-radius: 1rem;
  
}
form textarea{
  margin-top: 6px;
   padding: 8px;
  width: 100%;
  border: solid 1px red;
  border-radius: 1rem;
}

.photo-input{
  margin-bottom:  6px;
 
}

.browse-button{
height: 50px;
  font-size: 1.5rem;
  border: none;
}
 
/*BUTTON STYLES */
.logout-button-form{
  margin-top: 9px;
      width: 50px;
      height: 26px;

}
.logout-button{
      
  background-color: green;
}
.input input:focus,.input textarea:focus{outline:3px solid rgba(228,30,30,.25)}
button.btn{background:var(--red);color:#fff;border:none;padding:.85rem 1rem;border-radius:12px;font-weight:700}
button.btn:hover{background:var(--red-2)} 

/* Footer */
.site-footer{border-top:1px solid var(--border);background:#0a0a0a;padding:22px 0;color:#bdbdbd}
.site-footer .small{opacity:.9}

/* Utility */
.muted{color:var(--muted)}
.lead{font-size:1.1rem;color:var(--muted)}
.center{text-align:center}
.design-by-easybooks{
  display: flex;
  font-size: .8rem;
  justify-content: center;
  text-decoration: underline;
  
}

.login-h1-title{
  font-weight: 800;
  margin-left: 25%;
  padding: 0;
  
}


/* CAPTCHA styling start*/
.captcha{
  display:flex;
  align-items:center;
  gap:.5rem;
}

.captcha img{
  border-radius:8px;
  border:1px solid var(--border);
  margin-bottom: 5px;
}

.captcha input{
  background:#0f0f0f;
  color:#fff;
  border:1px solid var(--border);
  padding:.6rem;
  border-radius:12px;
  
}
/* CAPTCHA styling end*/
/* Stack on mobile */
@media (max-width: 900px){
  .form-grid{
    grid-template-columns: 1fr;
  }

  .cards{grid-template-columns:1fr}

  .hero .container{grid-template-columns:1fr}
}

@media(max-width:880px){
    /*added */
.menu-toggle{display:block;}

  .nav{
    position:absolute;
    top: calc(100% + 8px); /* better than hard-coded 64px */
    left:0; right:0;
    background:#0f0f10;
    border-bottom:1px solid var(--border);
    display:none;
    flex-direction:column;
    padding:10px;
    z-index: 60; /* prevents being hidden behind other content */
  }
  .nav.open{display:flex}


    .nav{
    top: calc(100% + 0px);
  }
  /*added*/
  .menu-toggle{display:block;}
  .nav{
    position:absolute;top:64px;left:0;right:0;
    background:#0f0f10;border-bottom:1px solid var(--border);
    display:none;flex-direction:column;padding:10px;
  }
 
.logout-button-form{
  margin-left: 2%;
}

}

@media(max-width:766px){

 .form-wrap{
  width: 100%;
  max-width: 90%;
 }



}

