/* ==========================
   AVER Enterprise Style Sheet
========================== */

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

html{
    scroll-behavior:smooth;
}

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

/* HEADER */

header{
    position:fixed;
    top:0;
    width:100%;
    background:#0f2748;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    z-index:1000;
    transition:.3s;
}

header.sticky{
    box-shadow:0 5px 15px rgba(0,0,0,.3);
}

.logo{
    display:flex;
    align-items:center;
    font-size:28px;
    font-weight:bold;
}

.logo img{
    height:60px;
    margin-right:15px;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    font-weight:bold;
    transition:.3s;
}

nav a:hover,
nav a.active{
    color:#d62828;
}

/* HERO */

.hero{
    height:100vh;

    background-image:
        linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
        url("../images/carport.jpg");

    background-repeat:no-repeat;
    background-size:90% auto;
    background-position:center 90%;
    background-color:#111;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;

    padding-top:90px;
}
}

.hero .overlay{
    max-width:900px;
}

.hero h1{
    font-size:58px;
    margin-bottom:20px;
}

.hero p{
    font-size:24px;
    margin-bottom:35px;
}

.btn{
    background:#d62828;
    color:white;
    padding:15px 40px;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#b91c1c;
}

/* SECTIONS */

section{
    padding:90px 10%;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    color:#0f2748;
    font-size:40px;
}

/* ABOUT */

.about{
    background:white;
}

.about p{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:18px;
}

/* SERVICES */

.services{
    background:#eef3f8;
}

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

.service{
    background:white;
    padding:30px;
    border-radius:8px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.3s;
}

.service:hover{
    transform:translateY(-8px);
}

.service h3{
    color:#0f2748;
    margin-bottom:15px;
}

/* GALLERY */

.gallery{
    background:white;
}

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

.gallery-grid img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:8px;
    box-shadow:0 4px 10px rgba(0,0,0,.2);
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.04);
}

/* CONTACT */

.contact{
    background:#0f2748;
    color:white;
    text-align:center;
}

.contact h2{
    color:white;
}

.contact p{
    margin:12px 0;
    font-size:20px;
}

.contact .btn{
    display:inline-block;
    margin-top:25px;
}

/* FOOTER */

footer{
    background:#081728;
    color:white;
    text-align:center;
    padding:20px;
}

/* ANIMATIONS */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* RESPONSIVE */

@media(max-width:900px){

header{
    flex-direction:column;
    padding:15px;
}

nav{
    margin-top:15px;
}

nav a{
    margin:10px;
    display:inline-block;
}

.hero h1{
    font-size:42px;
}

.hero p{
    font-size:20px;
}

section{
    padding:70px 6%;
}

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

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

}