/* ========================= */
/* STYLE.CSS */
/* ========================= */

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat',sans-serif;
  background:#f5f5f5;
  color:#222;
}

header{
  width:100%;
  background:#111;
  color:white;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 8%;
  position:fixed;
  z-index:999;
}

.logo h1{
  font-size:30px;
  color:#00aaff;
}

.logo span{
  font-size:12px;
}

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

nav a:hover{
  color:#00aaff;
}

.hero{
  height:100vh;
  background:url('https://images.unsplash.com/photo-1565043589221-1a6fd9ae45c7?q=80&w=1600&auto=format&fit=crop')
  center/cover;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.65);
}

.hero-content{
  position:relative;
  color:white;
  max-width:800px;
  padding:20px;
}

.hero-content h2{
  font-size:55px;
  margin-bottom:20px;
}

.hero-content p{
  font-size:20px;
  line-height:1.6;
}

.hero-buttons{
  margin-top:35px;
}

.btn{
  display:inline-block;
  padding:14px 30px;
  background:#00aaff;
  color:white;
  text-decoration:none;
  border-radius:5px;
  margin:10px;
  transition:.3s;
}

.btn:hover{
  background:#008ecc;
}

.btn-outline{
  display:inline-block;
  padding:14px 30px;
  border:2px solid white;
  color:white;
  text-decoration:none;
  border-radius:5px;
  margin:10px;
  transition:.3s;
}

.btn-outline:hover{
  background:white;
  color:black;
}

section{
  padding:100px 8%;
  scroll-margin-top:50px;
}

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

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:42px;
  color:#111;
}

.about p{
  text-align:center;
  line-height:1.8;
  margin-bottom:25px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
  margin-top:50px;
}

.card{
  background:white;
  padding:35px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.card h3{
  margin-bottom:15px;
  color:#00aaff;
}

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

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

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

.service-card h3{
  color:#111;
}

.machines{
  background:#111;
  color:white;
}

.machines .section-title h2{
  color:white;
}

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

.machine-card{
  background:#1e1e1e;
  padding:35px;
  border-radius:10px;
}

.machine-card h3{
  color:#00aaff;
  margin-bottom:15px;
}

.machine-card p{
  margin-bottom:20px;
}

.contact-box{
  background:white;
  padding:50px;
  border-radius:10px;
  text-align:center;
  box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.contact-box p{
  margin-bottom:20px;
}

footer{
  background:#111;
  color:white;
  text-align:center;
  padding:25px;
}

@media(max-width:900px){

  header{
    flex-direction:column;
  }

  nav{
    margin-top:15px;
  }

  .hero-content h2{
    font-size:38px;
  }

}

/* ========================= */
/* LOGO HEADER */
/* ========================= */

.logo{
  display:flex;
  align-items:center;
  gap:15px;
}

.logo img{
  width:100px;
  height:100px;
  object-fit:contain;
}

.logo-text h1{
  font-size:32px;
  color:#00aaff;
  margin:0;
  line-height:1;
}

.logo-text span{
  color:white;
  font-size:13px;
  letter-spacing:1px;
}

/* ========================= */
/* GALERIA */
/* ========================= */

.gallery{
  background:#f0f0f0;
}

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

.gallery-item{
  position:relative;
  overflow:hidden;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,.15);
  background:white;
}

.gallery-item img{
  width:100%;
  height:300px;
  object-fit:cover;
  transition:.4s;
}

.gallery-item:hover img{
  transform:scale(1.05);
}

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

.gallery-info h3{
  color:#111;
}