/* ===========================
   QUYNH NGA MAKEUP ACADEMY
   Version 1.0
=========================== */

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

html{
    scroll-behavior:smooth;
}

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

/* HEADER */

.header{

    width:100%;

    background:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 8%;

    position:sticky;

    top:0;

    z-index:1000;

    box-shadow:0 3px 15px rgba(0,0,0,.08);

}

.logo h1{

    color:#b8860b;

    font-size:34px;

    letter-spacing:2px;

}

.logo span{

    color:#777;

    font-size:13px;

}

nav{

    display:flex;

    gap:30px;

}

nav a{

    text-decoration:none;

    color:#444;

    font-weight:bold;

    transition:.3s;

}

nav a:hover{

    color:#d4af37;

}

/* HERO */

.hero{

    height:90vh;

    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?w=1600");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.overlay{

    color:white;

}

.overlay h2{

    font-size:55px;

    margin-bottom:20px;

}

.overlay p{

    font-size:22px;

    margin-bottom:35px;

}

.btn{

    display:inline-block;

    padding:15px 35px;

    background:#d4af37;

    color:white;

    border-radius:40px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.btn:hover{

    background:#b8860b;

    transform:translateY(-3px);

}

/* TITLE */

.title{

    text-align:center;

    margin:60px 0 40px;

    color:#b8860b;

    font-size:34px;

}

/* SERVICES */

.cards{

    width:90%;

    margin:auto;

    display:grid;

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

    gap:25px;

    margin-bottom:70px;

}

.card{

    background:white;

    border-radius:18px;

    padding:35px;

    text-align:center;

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

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

}

.card h3{

    margin-bottom:15px;

}

.card span{

    color:#d4af37;

    font-size:24px;

    font-weight:bold;

}

/* BOOKING */

#booking{

    width:90%;

    max-width:900px;

    margin:auto;

    margin-bottom:80px;

}

.step{

    background:white;

    padding:30px;

    margin-bottom:25px;

    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.step h3{

    margin-bottom:20px;

    color:#b8860b;

}

input,
textarea{

    width:100%;

    padding:15px;

    margin-top:12px;

    margin-bottom:18px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

}

textarea{

    min-height:120px;

}

label{

    display:block;

    margin-bottom:14px;

    font-size:17px;

}

button{

    width:100%;

    padding:18px;

    border:none;

    background:#d4af37;

    color:white;

    font-size:18px;

    border-radius:40px;

    cursor:pointer;

    transition:.3s;

}

button:hover{

    background:#b8860b;

}

.total{

    text-align:center;

}

#totalPrice{

    color:#d4af37;

    font-size:42px;

    margin:20px 0;

}

/* FOOTER */

footer{

    background:#222;

    color:white;

    text-align:center;

    padding:40px;

}

footer h3{

    margin-bottom:10px;

}

/* MOBILE */

@media(max-width:768px){

.header{

    flex-direction:column;

    gap:15px;

}

nav{

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

}

.overlay h2{

    font-size:34px;

}

.overlay p{

    font-size:18px;

}

.title{

    font-size:28px;

}

#totalPrice{

    font-size:32px;

}

}
