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

html{
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:transparent;
  scroll-behavior:smooth;
}

body{
  font-family:Poppins,sans-serif;
  background:#f4f4f4;
  color:#222;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* GLOBAL LINKS */
a{
  color:inherit;
  text-decoration:none;
}

/* CONTAINER */
.container{
  width:100%;
  max-width:1200px;
  margin:auto;
  padding:0 16px;
}

/* PRELOADER */
#preloader{
  position:fixed;
  inset:0;
  background:#fff;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.loader{
  width:48px;
  height:48px;
  border:4px solid #eee;
  border-top:4px solid #c40000;
  border-radius:50%;
  animation:spin .8s linear infinite;
}

@keyframes spin{
  to{
    transform:rotate(360deg);
  }
}

/* TOP BAR */
.top-bar{
  background:#c40000;
  color:#fff;
  text-align:center;
  padding:12px;
  font-size:16px;
}

/* HEADER */
.header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:999;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.nav-wrapper{
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LOGO */
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#111;
  font-size:38px;
  font-weight:700;
}

.logo i{
  color:#c40000;
  font-size:40px;
}

.logo em{
  color:#c40000;
  font-style:normal;
}

/* NAVIGATION */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav a{
  text-decoration:none;
  color:#222;
  font-size:15px;
  font-weight:500;
  transition:.2s;
}

.nav a:hover{
  color:#c40000;
}

/* MOBILE MENU BUTTON */
.menu-toggle{
  display:none;
  border:none;
  background:none;
  font-size:24px;
  cursor:pointer;
}

/* PAGE TITLE */
.section-title{
  text-align:center;
  padding:30px 0 20px;
}

.section-title h1{
  font-size:28px;
  line-height:1.3;
  margin-bottom:15px;
}

.section-title a,
.section-title p{
  display:block;
  font-size:15px;
  line-height:1.7;
  color:#555;
  max-width:900px;
  margin:auto;
}

/* CARD GRID */
.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  margin-bottom:40px;
}

/* CARD */
.camera-card{
  background:#fff;
  border-radius:16px;
  padding:20px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  gap:15px;
}

.camera-card h2{
  font-size:18px;
  line-height:1.5;
}

.camera-card h2 i{
  color:#c40000;
  margin-right:8px;
}

/* BUTTON */
.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:12px 18px;
  border-radius:12px;
  background:#c40000;
  color:#fff;
  font-size:14px;
  font-weight:600;
  transition:.2s ease;
}

.btn:hover{
  background:#a30000;
  transform:translateY(-2px);
}

/* FOOTER */
.footer{
  background:#c40000;
  color:#fff;
  text-align:center;
  padding:25px 20px;
  margin-top:40px;
}

.footer-logo{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  font-size:26px;
  font-weight:700;
}

.footer-logo em{
  font-style:normal;
}

/* SOCIALS */
.socials{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0;
}

.socials a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.15);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  border:1px solid rgba(255,255,255,.25);
  transition:.2s;
}

.socials a:hover{
  background:rgba(255,255,255,.25);
}

.footer p{
  margin-top:10px;
}

.copyright{
  font-size:14px;
  opacity:.85;
}

/* TABLET */
@media(max-width:1024px){

  .logo{
    font-size:32px;
  }

  .logo i{
    font-size:34px;
  }

}

/* MOBILE */
@media(max-width:768px){

  .nav{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    padding:20px;
    display:none;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
  }

  .nav.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .section-title h1{
    font-size:24px;
  }

  .logo{
    font-size:28px;
  }

  .logo i{
    font-size:30px;
  }

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

}
@media(min-width:1025px){

  main.container{
    max-width:1100px;
    margin:20px auto 40px;
    background:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
  }

  .card-grid{
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
  }

  .camera-card{
    padding:24px;
    border-radius:18px;
  }

  .section-title{
    max-width:900px;
    margin:0 auto;
  }

  .section-title h1{
    font-size:32px;
  }

}
.camera-card img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  border-radius:12px;
  margin-top:10px;
}
figure {
  margin: 0 0 35px;
  padding: 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}