*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial,sans-serif;
}

body{
  background:#f5f7fc;
  color:#111;
  overflow-x:hidden;
}

img{
  display:block;
  width:100%;
}

/* HEADER */

header{
  background:#0b1f4d;
  padding:20px 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  color:white;
  font-size:28px;
  font-weight:bold;
}

.logo img{
  width:55px;
  height:55px;
  object-fit:contain;
  background:white;
  padding:4px;
  border-radius:50%;
}

nav a{
  color:white;
  text-decoration:none;
  margin-left:25px;
  font-size:17px;
  transition:0.3s;
}

nav a:hover{
  color:#8faeff;
}

/* URUNLER VE HIZMETLER KART ALANI */

.gallery-cards-section{
  padding:90px 40px 80px;
  background:linear-gradient(to bottom,#f5f7fc,#eaf0fb);
  overflow:hidden;
}

.gallery-title{
  text-align:center;
  margin-bottom:40px;
}

.gallery-title h2{
  font-size:42px;
  color:#0b1f4d;
  margin-bottom:12px;
  opacity:0;
  transform:translateY(35px);
  animation:titleUp 1s ease forwards;
  animation-delay:0.2s;
  position:relative;
  display:inline-block;
  padding-bottom:10px;
}

.gallery-title h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0;
  height:3px;
  background:#0b1f4d;
  transform:translateX(-50%);
  animation:lineGrow 0.8s ease forwards;
  animation-delay:1s;
}

.gallery-title p{
  font-size:18px;
  color:#4d5b78;
  line-height:1.7;
  max-width:700px;
  margin:0 auto;
  opacity:0;
  transform:translateY(35px);
  animation:titleUp 1s ease forwards;
  animation-delay:0.5s;
}

.gallery-card-row{
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}

.gallery-card{
  position:relative;
  display:block;
  height:420px;
  border-radius:20px;
  overflow:hidden;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(0,0,0,0.10);
  background:#dfe8f7;
  min-width:0;
  opacity:0;
  transform:translateY(40px);
  animation:cardReveal 0.9s ease forwards;
  transition:transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card:nth-child(1){animation-delay:0.7s;}
.gallery-card:nth-child(2){animation-delay:0.85s;}
.gallery-card:nth-child(3){animation-delay:1s;}
.gallery-card:nth-child(4){animation-delay:1.15s;}
.gallery-card:nth-child(5){animation-delay:1.3s;}
.gallery-card:nth-child(6){animation-delay:1.45s;}

.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.88;
  transition:transform 0.4s ease, opacity 0.4s ease;
}

.gallery-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(11,31,77,0.88), rgba(11,31,77,0.22), rgba(0,0,0,0.08));
}

.gallery-card span{
  position:absolute;
  left:12px;
  right:12px;
  bottom:18px;
  z-index:2;
  color:white;
  font-size:18px;
  font-weight:700;
  line-height:1.3;
  text-align:center;
  text-shadow:0 2px 10px rgba(0,0,0,0.45);
  word-break:break-word;
}

.gallery-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 36px rgba(0,0,0,0.16);
}

.gallery-card:hover img{
  transform:scale(1.05);
  opacity:1;
}

/* HIZMETLER */

.services-area{
  padding:90px 60px;
  text-align:center;
  background:#f5f7fc;
}

.services-area h2{
  font-size:48px;
  color:#0b1f4d;
  margin-bottom:10px;
}

.service-text{
  font-size:18px;
  color:#666;
  margin-bottom:45px;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,320px));
  gap:25px;
  max-width:1900px;
  margin:auto;
  justify-content:center;
}

.last-row{
  display:flex;
  justify-content:center;
  gap:25px;
  margin-top:25px;
  flex-wrap:wrap;
}

.service-box{
  background:white;
  padding:30px 20px;
  border-radius:18px;
  font-size:22px;
  font-weight:bold;
  color:#0b1f4d;
  box-shadow:0 12px 25px rgba(0,0,0,0.08);
  transition:0.4s;
  cursor:pointer;
}

.service-box:hover{
  transform:translateY(-10px) scale(1.03);
  background:linear-gradient(135deg,#0b1f4d,#163a8a);
  color:white;
}

/* FOOTER */

.footer{
  background:#081733;
  color:white;
  margin-top:80px;
}

.footer-container{
  max-width:1400px;
  margin:auto;
  padding:60px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:40px;
}

.footer-box h2{
  font-size:32px;
  margin-bottom:18px;
  color:white;
}

.footer-box h3{
  font-size:24px;
  margin-bottom:18px;
  color:#8faeff;
}

.footer-box p{
  font-size:17px;
  line-height:1.8;
  color:#d6dfff;
  margin-bottom:12px;
}

.footer-box a{
  display:block;
  text-decoration:none;
  color:#d6dfff;
  margin-bottom:12px;
  font-size:17px;
  transition:0.3s;
}

.footer-box a:hover{
  color:white;
  transform:translateX(6px);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12);
  text-align:center;
  padding:22px;
  font-size:15px;
  color:#c7d3ff;
}

/* ANIMASYONLAR */

@keyframes titleUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes lineGrow{
  to{
    width:70%;
  }
}

@keyframes cardReveal{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* TABLET */

@media(max-width:1100px){
  .gallery-card-row{
    grid-template-columns:repeat(3,1fr);
  }

  .gallery-card{
    height:360px;
  }
}

/* MOBIL */

@media(max-width:768px){
  header{
    flex-direction:column;
    align-items:center;
    gap:18px;
    padding:20px;
  }

  .logo{
    font-size:22px;
    gap:10px;
    text-align:center;
  }

  .logo img{
    width:48px;
    height:48px;
  }

  nav{
    text-align:center;
    width:100%;
  }

  nav a{
    display:inline-block;
    margin:8px 10px;
    font-size:16px;
  }

  .gallery-cards-section{
    padding:70px 20px 45px;
  }

  .gallery-title h2{
    font-size:32px;
  }

  .gallery-title p{
    font-size:16px;
  }

  .gallery-card-row{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }

  .gallery-card{
    height:300px;
  }

  .gallery-card span{
    font-size:16px;
    left:10px;
    right:10px;
    bottom:14px;
  }

  .services-area{
    padding:55px 20px;
  }

  .services-area h2{
    font-size:36px;
  }

  .service-text{
    font-size:16px;
    line-height:1.6;
    margin-bottom:30px;
  }

  .service-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .last-row{
    flex-direction:column;
    align-items:center;
    gap:18px;
    margin-top:18px;
  }

  .service-box{
    width:100%;
    max-width:340px;
    font-size:18px;
    padding:22px 15px;
  }

  .footer{
    margin-top:55px;
  }

  .footer-container{
    padding:45px 20px;
    gap:28px;
    text-align:center;
  }

  .footer-box h2{
    font-size:28px;
  }

  .footer-box h3{
    font-size:22px;
  }

  .footer-box p{
    font-size:16px;
    line-height:1.7;
  }

  .footer-box a{
    font-size:16px;
  }

  .footer-box a:hover{
    transform:none;
  }

  .footer-bottom{
    font-size:14px;
    padding:18px;
  }
}

@media(max-width:520px){
  .gallery-card-row{
    grid-template-columns:1fr;
  }

  .gallery-card{
    height:320px;
  }
}
/* =========================
   HİZMETLER MOBİL EXTRA
========================= */

@media(max-width:768px){

/* HEADER */

header{
padding:18px 16px;
}

nav{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:8px;
}

nav a{
margin:0;
font-size:14px;
}

/* BAŞLIK */

.gallery-title{
margin-bottom:28px;
}

.gallery-title h2{
font-size:30px;
line-height:1.2;
}

.gallery-title p{
font-size:15px;
line-height:1.7;
padding:0 8px;
}

/* KARTLAR */

.gallery-card-row{
grid-template-columns:1fr;
gap:18px;
}

.gallery-card{
height:260px;
border-radius:20px;
}

.gallery-card span{
font-size:17px;
padding:0 8px;
line-height:1.4;
}

/* HİZMETLER */

.services-area{
padding:50px 18px;
}

.services-area h2{
font-size:32px;
}

.service-text{
font-size:15px;
margin-bottom:28px;
line-height:1.7;
}

.service-grid{
gap:16px;
}

.service-box{
max-width:100%;
width:100%;
font-size:17px;
line-height:1.5;
padding:20px 16px;
border-radius:18px;
}

.last-row{
gap:16px;
}

/* FOOTER */

.footer-container{
padding:40px 18px;
}

.footer-box p{
font-size:15px;
}

.footer-box a{
font-size:15px;
}

}

/* EXTRA KÜÇÜK TELEFON */

@media(max-width:480px){

.gallery-title h2{
font-size:26px;
}

.gallery-card{
height:230px;
}

.gallery-card span{
font-size:16px;
}

.services-area h2{
font-size:28px;
}

.service-box{
font-size:16px;
padding:18px 14px;
}

}