/* ==========================================================
   HerrinSucks.com
   Main Stylesheet
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#edf1f5;

    font-family:"Segoe UI",Arial,Helvetica,sans-serif;

    color:#222;

    line-height:1.6;

}

/* ==========================================================
   Header
========================================================== */

header{

    width:100%;

    background:#1d232a;

    color:#fff;

    box-shadow:0 3px 15px rgba(0,0,0,.30);

}

.container{

    max-width:1200px;

    margin:0 auto;

    padding:18px 25px;

}

.logo{

    font-size:42px;

    font-weight:900;

}

.logo a{

    color:#fff;

    text-decoration:none;

}

.logo span{

    color:#48a9ff;

}

/* ==========================================================
   Navigation
========================================================== */

nav{

    display:flex;

    gap:28px;

    margin-top:18px;

    flex-wrap:wrap;

}

nav a{

    color:#ddd;

    text-decoration:none;

    font-weight:600;

    transition:.25s;

}

nav a:hover{

    color:#48a9ff;

}

/* ==========================================================
   Main Content
========================================================== */

.content{

    max-width:1200px;

    margin:35px auto;

    padding:0 20px;

}

/* ==========================================================
   Hero
========================================================== */

.hero{

    background:linear-gradient(135deg,#004d7a,#008793,#00bf72);

    color:white;

    border-radius:16px;

    padding:80px 60px;

    text-align:center;

    box-shadow:0 12px 30px rgba(0,0,0,.18);

    margin-bottom:35px;

}

.hero h1{

    font-size:60px;

    font-weight:800;

    margin-bottom:25px;

}

.hero p{

    font-size:24px;

    max-width:850px;

    margin:auto;

}

.hero-buttons{

    margin-top:40px;

}

/* ==========================================================
   Buttons
========================================================== */

.btn{

    display:inline-block;

    background:white;

    color:#222;

    text-decoration:none;

    font-weight:700;

    padding:16px 36px;

    border-radius:50px;

    margin:8px;

    transition:.25s;

    box-shadow:0 8px 18px rgba(0,0,0,.15);

}

.btn:hover{

    transform:translateY(-3px);

}

.btn-dark{

    background:#232323;

    color:white;

}

/* ==========================================================
   Cards
========================================================== */

.home-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

}

.card{

    background:white;

    border-radius:14px;

    padding:28px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.25s;

}

.card:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.card h2{

    margin-bottom:20px;

    font-size:34px;

}

.card ul{

    list-style:none;

}

.card li{

    padding:10px 0;

    border-bottom:1px solid #ececec;

}

.card li:last-child{

    border-bottom:none;

}

/* ==========================================================
   Footer
========================================================== */

footer{

    background:#1d232a;

    color:white;

    margin-top:45px;

}

footer .container{

    text-align:center;

    padding:25px;

}

/* ==========================================================
   Responsive
========================================================== */

@media(max-width:900px){

.hero{

    padding:55px 30px;

}

.hero h1{

    font-size:42px;

}

.hero p{

    font-size:20px;

}

.logo{

    font-size:34px;

}

nav{

    gap:18px;

}

}

@media(max-width:600px){

.hero h1{

    font-size:34px;

}

.hero p{

    font-size:18px;

}

.btn{

    width:100%;

}

}


/* ==========================================
   Discussion Cards
========================================== */

.discussion-card{

    padding:18px 0;

    border-bottom:1px solid #e8e8e8;

}

.discussion-card:last-child{

    border-bottom:none;

}

.discussion-title{

    font-size:22px;

    font-weight:700;

    color:#222;

    text-decoration:none;

    transition:.25s;

}

.discussion-title:hover{

    color:#0086d7;

}

.discussion-meta{

    margin-top:8px;

    color:#777;

    font-size:14px;

}

/* ==========================================
   Authentication Forms
========================================== */

.auth-card{
    max-width:600px;
    margin:40px auto;
}

.auth-card h1{
    margin-bottom:8px;
}

.auth-intro{
    color:#666;
    margin-bottom:25px;
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:7px;
    font-weight:700;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:13px 14px;
    border:1px solid #ccd3da;
    border-radius:8px;
    font:inherit;
    background:#fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline:none;
    border-color:#0086d7;
    box-shadow:0 0 0 3px rgba(0,134,215,.15);
}

.form-error{
    background:#ffe1e1;
    color:#8c1515;
    border:1px solid #f2bcbc;
    padding:14px;
    border-radius:8px;
    margin-bottom:20px;
}

.auth-footer{
    margin-top:22px;
}

.auth-footer a{
    color:#0078bd;
    font-weight:700;
}