/*
Theme Name: Boudrie Metaalbewerking
Author: Boudrie
Version: 1.0
*/

body{
margin:0;
font-family:Montserrat,sans-serif;
background:#f5f7fb;
color:#222;
}

.container{
max-width:1200px;
margin:auto;
padding:20px;
}

/* HEADER */

header{
position:sticky;
top:0;
background:white;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
z-index:1000;
transition:all .3s;
}

.header-inner{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
padding:20px;
transition:all .3s;
}

header img{
height:60px;
transition:all .3s;
}

header.scrolled .header-inner{
padding:10px 20px;
}

header.scrolled img{
height:40px;
}

nav a{
margin-left:25px;
text-decoration:none;
font-weight:600;
color:#0e3a66;
}

.hero{
background:linear-gradient(135deg,#0e3a66,#3a7bc8);
color:white;
text-align:center;
padding:90px 20px;
}

.section{
max-width:1200px;
margin:auto;
padding:70px 0px;
}

.product-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
gap:30px;
margin:30px 0;
}

.product-card{
background:white;
border-radius:14px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:transform .3s ease, box-shadow .3s ease;
display:block;
position:relative;
}

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

.product-card img{
width:100%;
height:220px;
object-fit:cover;
}

.product-info{
padding:20px;
text-align:center;
}

#contact{
background:linear-gradient(135deg,#0e3a66,#3a7bc8);
color:white;
padding:0px 20px;
}

#contact h2{
color:white;
}

.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
max-width:1200px;
margin-left:auto;
margin-right:auto;
}

#contact input,
#contact textarea{
width:100%;
padding:14px;
border-radius:8px;
border:none;
margin-bottom:15px;
}

#contact input[type=submit]{
background:white;
color:#0e3a66;
font-weight:600;
border:none;
padding:14px 24px;
border-radius:8px;
cursor:pointer;
}

#contact input[type=submit]:hover{
    background:#e6eef9;
}

/* FOOTER */

footer{
    text-align:center;
    padding:40px 20px;
    background:#f1f4f8;
    color:#666;
    font-size:14px;
}

/* MOBILE */

@media(max-width:800px){

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

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

}