/* ===========================
   MAHDI CMS v0.1
=========================== */

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

html{
    scroll-behavior:smooth;
}

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

.container{
    width:min(1100px,90%);
    margin:auto;
}

a{
    text-decoration:none;
    color:white;
}

ul{
    list-style:none;
}

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

.hero{

    min-height:100vh;

    background:
    linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,.75)),
    url("../images/hero.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    flex-direction:column;
}

nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 0;
}

.logo{

    font-size:2rem;

    font-weight:bold;

    color:#ff9800;
}

nav ul{

    display:flex;

    gap:30px;
}

nav a{

    transition:.3s;
}

nav a:hover{

    color:#ff9800;
}

.hero-content{

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:center;
}

.hero h1{

    font-size:4rem;

    max-width:700px;

    margin-bottom:20px;
}

.hero p{

    font-size:1.3rem;

    max-width:650px;

    color:#ddd;

    margin-bottom:35px;
}

.btn{

    display:inline-block;

    width:fit-content;

    background:#ff9800;

    color:#111;

    padding:15px 35px;

    border-radius:40px;

    font-weight:bold;

    transition:.3s;
}

.btn:hover{

    transform:translateY(-3px);

    background:#ffb340;
}

/* ===========================
SECTIONS
=========================== */

section{

    padding:90px 0;
}

section h2{

    font-size:2.4rem;

    margin-bottom:35px;

    color:#ff9800;
}

section p{

    color:#ccc;
}

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

.cards{

    display:grid;

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

    gap:25px;
}

.card{

    background:#1d1d1d;

    padding:25px;

    border-radius:15px;

    transition:.3s;
}

.card:hover{

    transform:translateY(-5px);

    background:#262626;
}

.card h3{

    color:#ff9800;

    margin-bottom:12px;
}

.price{

    margin-top:15px;

    font-size:1.3rem;

    font-weight:bold;
}

/* ===========================
CONTACT
=========================== */

.contact-box{

    background:#1d1d1d;

    padding:35px;

    border-radius:15px;
}

.contact-box p{

    margin-bottom:12px;
}

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

footer{

    background:#000;

    padding:40px 0;

    text-align:center;

    color:#777;
}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:900px){

.hero h1{

font-size:3rem;

}

nav{

flex-direction:column;

gap:20px;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

}

}

@media(max-width:600px){

.hero h1{

font-size:2.2rem;

}

.hero p{

font-size:1rem;

}

.btn{

width:100%;

text-align:center;

}

section{

padding:60px 0;

}

}