/* ==========================================
   Calming Space
   style.css
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4fbf9;
    color:#333;
    line-height:1.6;
}

/* ================= HEADER ================= */

header{
    background:linear-gradient(135deg,#59c7b4,#3aa78d);
    color:#fff;
    text-align:center;
    padding:70px 20px;
}

header h1{
    font-size:3rem;
    margin-bottom:10px;
}

header p{
    font-size:1.2rem;
    margin-bottom:30px;
}

.buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

/* ================= BUTTONS ================= */

.button{
    display:inline-block;
    background:#ffffff;
    color:#2d8f7a;
    text-decoration:none;
    padding:12px 28px;
    border-radius:30px;
    font-weight:bold;
    transition:.3s;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

.button:hover{
    background:#2d8f7a;
    color:#fff;
    transform:translateY(-2px);
}

.secondary{
    background:#1f6f5f;
    color:#fff;
}

.secondary:hover{
    background:#16584b;
}

/* ================= HERO ================= */

.hero{
    max-width:900px;
    margin:60px auto;
    text-align:center;
    padding:0 20px;
}

.hero h2{
    font-size:2.2rem;
    color:#2d8f7a;
    margin-bottom:20px;
}

.hero p{
    font-size:1.1rem;
    color:#555;
}

/* ================= CARDS ================= */

.cards{
    max-width:1200px;
    margin:50px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    border-radius:18px;
    padding:30px;
    text-align:center;

    box-shadow:0 10px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 30px rgba(0,0,0,.12);
}

.card h3{
    color:#2d8f7a;
    margin-bottom:15px;
    font-size:1.3rem;
}

.card p{
    color:#666;
}

/* ================= ABOUT ================= */

.about{
    max-width:900px;
    margin:70px auto;
    padding:0 20px;
    text-align:center;
}

.about h2{
    color:#2d8f7a;
    margin-bottom:20px;
}

.about p{
    color:#555;
    font-size:1.1rem;
}

/* ================= LOGIN / REGISTER ================= */

.login-box{
    width:400px;
    max-width:90%;
    margin:70px auto;
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.login-box h2{
    text-align:center;
    margin-bottom:25px;
    color:#2d8f7a;
}

.login-box input{
    width:100%;
    padding:14px;
    margin:10px 0 20px;
    border:1px solid #ccc;
    border-radius:10px;
    font-size:16px;
}

.login-box input:focus{
    border-color:#2d8f7a;
    outline:none;
}

.login-box button{
    width:100%;
    background:#2d8f7a;
    color:#fff;
    border:none;
    padding:14px;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.login-box button:hover{
    background:#236f5f;
}

.login-box a{
    display:block;
    text-align:center;
    margin-top:20px;
    color:#2d8f7a;
    text-decoration:none;
}

.login-box a:hover{
    text-decoration:underline;
}

/* ================= DASHBOARD ================= */

.dashboard{
    max-width:900px;
    margin:60px auto;
    padding:30px;
    text-align:center;
}

.dashboard h1{
    color:#2d8f7a;
    margin-bottom:20px;
}

.dashboard ul{
    list-style:none;
    margin-top:30px;
}

.dashboard li{
    background:#fff;
    margin:12px auto;
    padding:15px;
    border-radius:10px;
    max-width:500px;
    box-shadow:0 5px 10px rgba(0,0,0,.08);
}

/* ================= FOOTER ================= */

footer{
    background:#2d8f7a;
    color:#fff;
    text-align:center;
    padding:25px;
    margin-top:70px;
}

/* ================= MOBILE ================= */

@media (max-width:768px){

header h1{
    font-size:2.2rem;
}

.hero h2{
    font-size:1.8rem;
}

.cards{
    grid-template-columns:1fr;
}

.button{
    width:220px;
}

}