/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#111;
    color:white;
}

/* Navbar */

header{
    width:100%;
    position:sticky;
    top:0;
    background:#000;
    z-index:1000;
    box-shadow:0 2px 15px rgba(0,0,0,.4);
}

nav{
    max-width:1200px;
    margin:auto;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav h1{
    color:#d4a55d;
    font-size:30px;
}

nav ul{
    display:flex;
    gap:30px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:white;
    transition:.3s;
    position:relative;
}

nav a:hover{
    color:#d4a55d;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:#d4a55d;
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}

/* Hero */

.hero{
    height:60vh;
    background:linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("Rai Coffee.png");

    background-size:cover;
    background-position:center;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero h1{
    font-size:60px;
    color:#d4a55d;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    color:#ddd;
}

/* Menu */

#menu{
    padding:80px 8%;
}

#menu h2{
    text-align:center;
    color:#d4a55d;
    margin-bottom:50px;
    font-size:40px;
}

.product{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.card{
    width:300px;
    background:#1c1c1c;
    border-radius:20px;
    overflow:hidden;
    transition:.4s;
    box-shadow:0 0 20px rgba(0,0,0,.4);
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(212,165,93,.35);
}

.card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.card h3{
    margin:15px;
    color:#d4a55d;
}

.card p{
    margin:0 15px;
    color:#ccc;
}

.card h4{
    margin:15px;
    color:#fff;
    font-size:22px;
}

/* Form */

#payment{
    padding:80px 8%;
}

#payment h2{
    text-align:center;
    margin-bottom:40px;
    color:#d4a55d;
    font-size:40px;
}

form{
    max-width:700px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

input,
select,
textarea{
    padding:15px;
    border:none;
    border-radius:10px;
    background:#222;
    color:white;
    font-size:16px;
}

input:focus,
select:focus,
textarea:focus{
    outline:2px solid #d4a55d;
}

textarea{
    height:120px;
    resize:none;
}

button{
    padding:15px;
    border:none;
    border-radius:10px;
    background:#d4a55d;
    color:#111;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#f1c27d;
    transform:scale(1.03);
}

/* Footer */

footer{
    text-align:center;
    padding:30px;
    background:#000;
    margin-top:60px;
    color:#aaa;
}

/* Responsive */

@media(max-width:768px){

nav{
    flex-direction:column;
    gap:20px;
}

nav ul{
    flex-direction:column;
    align-items:center;
}

.hero h1{
    font-size:40px;
}

.hero p{
    font-size:16px;
}

.product{
    flex-direction:column;
    align-items:center;
}

.card{
    width:90%;
}

}