@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#1e293b;
    line-height:1.7;
    padding-top:85px;
}

a{
    text-decoration:none;
    color:inherit;
}

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

/* HEADER */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(12px);
    box-shadow:0 2px 15px rgba(0,0,0,.05);
}

.nav-wrap{
    height:85px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

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

.logo img{
    height:100px;
    width:auto;
    object-fit:contain;
    display:block;
    transition:0.3s;
}

.logo img:hover{
    transform:scale(1.05);
}

.navbar{
    display:flex;
    gap:30px;
}

.navbar a{
    font-weight:500;
    position:relative;
}

.navbar a::after{
    content:"";
    position:absolute;
    bottom:-6px;
    left:0;
    width:0;
    height:2px;
    background:#2563eb;
    transition:.4s;
}

.navbar a:hover::after,
.navbar .active::after{
    width:100%;
}

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

.socials i{
    font-size:18px;
    transition:.3s;
    cursor:pointer;
}

.socials i:hover{
    color:#2563eb;
    transform:translateY(-3px);
}

.whatsapp{
    background:#25d366;
    color:#fff;
    padding:12px 20px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.whatsapp:hover{
    transform:translateY(-3px);
}

.menu-btn{
    display:none;
}

/* HERO */

.tech-hero{
    min-height:680px;
    padding-top:120px;
    display:flex;
    align-items:center;
    background:
        linear-gradient(120deg,rgba(5,15,35,.92),rgba(9,38,78,.78)),
        url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80') center/cover;
    color:#fff;
}

.hero-content{
    max-width:760px;
}

.section-tag{
    display:inline-block;
    color:#0b7cff;
    background:rgba(11,124,255,.12);
    padding:8px 16px;
    border-radius:50px;
    font-weight:700;
    font-size:14px;
    margin-bottom:18px;
}

.tech-hero h1{
    font-size:58px;
    line-height:1.1;
    margin-bottom:22px;
}

.tech-hero p{
    font-size:18px;
    color:#dbeafe;
    max-width:700px;
}

.hero-buttons{
    margin-top:34px;
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 26px;
    border-radius:12px;
    font-weight:700;
    transition:.3s;
}

.btn.primary{
    background:#0b7cff;
    color:#fff;
    box-shadow:0 15px 35px rgba(11,124,255,.35);
}

.btn.primary:hover{
    background:#075fc4;
    transform:translateY(-3px);
}

.btn.outline{
    border:1px solid rgba(255,255,255,.45);
    color:#fff;
}

.btn.outline:hover{
    background:#fff;
    color:#0f172a;
}

/* SECTIONS */

.solutions,
.gallery-section{
    padding:95px 0;
}

.section-title{
    text-align:center;
    max-width:740px;
    margin:0 auto 55px;
}

.section-title h2{
    font-size:38px;
    color:#0f172a;
    margin-bottom:14px;
}

.section-title p{
    color:#64748b;
}

/* SOLUTIONS */

.solution-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.solution-card{
    background:#fff;
    padding:32px 24px;
    border-radius:22px;
    box-shadow:0 12px 35px rgba(15,23,42,.08);
    border:1px solid rgba(15,23,42,.06);
    transition:.35s;
    position:relative;
    overflow:hidden;
}

.solution-card::before{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height:4px;
    background:#0b7cff;
    transform:scaleX(0);
    transform-origin:left;
    transition:.35s;
}

.solution-card:hover{
    transform:translateY(-10px);
    box-shadow:0 22px 45px rgba(15,23,42,.14);
}

.solution-card:hover::before{
    transform:scaleX(1);
}

.icon{
    width:64px;
    height:64px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(145deg,#0b7cff,#063f91);
    color:#fff;
    font-size:25px;
    margin-bottom:22px;
}

.solution-card h3{
    font-size:18px;
    margin-bottom:12px;
    color:#0f172a;
}

.solution-card p{
    color:#64748b;
    font-size:14px;
}

/* FILTER */

.filter-buttons{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:34px;
}

.filter-btn{
    border:0;
    background:#fff;
    color:#0f172a;
    padding:11px 20px;
    border-radius:50px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(15,23,42,.08);
    transition:.3s;
}

.filter-btn.active,
.filter-btn:hover{
    background:#0b7cff;
    color:#fff;
}

/* GALLERY GRID */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:40px;
}

/* ================= GENERAL ================= */



/* ================= GALLERY GRID ================= */

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

/* ================= CARD ================= */

.gallery-card {
  background: #dee0e2;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.4s;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card h3 {
  padding: 15px;
  font-size: 15px;
}

/* ================= HIDE FILTER ================= */

.hide {
  display: none !important;
}

/* ================= MODAL ================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(202, 195, 195, 0.9);
  z-index: 9999;

  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal img {
  max-width: 80%;
  max-height: 70%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(200, 191, 191, 0.6);
}

.modal h3 {
  margin-top: 10px;
  color: #fff;
}

/* CLOSE BUTTON */

#close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
}

#close:hover {
  color: #22c55e;
}

/* ================= ANIMATION ================= */

.gallery-card {
  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */

.footer{
    margin-top:100px;
    background:#0f172a;
    color:white;
    padding-top:70px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1.5fr 1.5fr 1.5fr;
    gap:35px;
}

.footer h4{
    color:#60a5fa;
    margin-bottom:18px;
    font-size:15px;
    letter-spacing:1px;
}

.footer a,
.footer p{
    display:block;
    margin-bottom:10px;
    color:#cbd5e1;
    font-size:14px;
    transition:0.3s;
}

.footer a:hover{
    color:#60a5fa;
}

.footer-logo img{
    height:60px;
    margin-bottom:15px;
    transition:0.3s;
}

.footer-logo img:hover{
    transform:scale(1.05);
}

.footer-social{
    display:flex;
    gap:12px;
    margin-top:15px;
}

.footer-social a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(224, 230, 227, 0.08);
    color:white;
    transition:0.3s;
    font-size:16px;
}

.footer-social a:hover{
    background:#2563eb;
    transform:translateY(-4px);
}

.contact-info p{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:12px;
    color:#cbd5e1;
    font-size:14px;
    line-height:1.5;
}

.contact-info i{
    color:#60a5fa;
    margin-top:4px;
    min-width:18px;
}

.contact-info a{
    color:#cbd5e1;
    transition:0.3s;
}

.contact-info a:hover{
    color:#60a5fa;
    text-decoration:underline;
}

.newsletter{
    display:flex;
    margin-top:15px;
}

.newsletter input{
    flex:1;
    padding:12px;
    border:none;
    outline:none;
    border-radius:8px 0 0 8px;
}

.newsletter button{
    width:50px;
    border:none;
    background:#2563eb;
    color:white;
    border-radius:0 8px 8px 0;
    cursor:pointer;
}

.copyright{
    border-top:1px solid rgba(231, 221, 221, 0.1);
    margin-top:50px;
    padding:20px 0;
    display:flex;
    justify-content:space-between;
    color:#94a3b8;
    font-size:13px;
}

/* ================= RESPONSIVE - SAME AS HOME PAGE MENU ================= */

@media (max-width: 1200px){
    .navbar{
        gap:18px;
    }

    .whatsapp{
        padding:10px 14px;
        font-size:13px;
    }

    .solution-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width: 992px){
    body{
        padding-top:85px;
    }

    .nav-wrap{
        height:85px;
        display:flex;
        align-items:center;
        justify-content:space-between;
        flex-direction:row;
        gap:20px;
        position:relative;
    }

    .logo img{
        height:80px;
    }

    .menu-btn{
        display:flex;
        align-items:center;
        justify-content:center;
        width:45px;
        height:45px;
        border:none;
        background:#2563eb;
        color:#fff;
        border-radius:10px;
        font-size:20px;
        cursor:pointer;
        z-index:1001;
    }

    .socials{
        display:none;
    }

    .navbar{
        position:absolute;
        top:85px;
        left:0;
        width:100%;
        background:#fff;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        justify-content:flex-start;
        gap:0;
        padding:15px 25px;
        box-shadow:0 10px 30px rgba(0,0,0,.12);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transform:translateY(-15px);
        transition:.3s ease;
        z-index:1000;
    }

    .navbar.active{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:translateY(0);
    }

    .navbar a{
        width:100%;
        padding:14px 0;
        border-bottom:1px solid #eee;
        font-size:15px;
    }

    .navbar a::after{
        display:none;
    }

    .tech-hero{
        min-height:560px;
        padding-top:80px;
    }

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

    .tech-hero p{
        font-size:16px;
    }

    .solution-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

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

    .copyright{
        flex-direction:column;
        text-align:center;
        gap:10px;
    }
}

@media (max-width: 768px){
    .container{
        width:92%;
    }

    .tech-hero{
        min-height:520px;
        padding-top:70px;
        text-align:left;
    }

    .tech-hero h1{
        font-size:38px;
    }

    .hero-buttons{
        flex-direction:column;
        width:100%;
    }

    .btn{
        width:100%;
    }

    .solutions,
    .gallery-section{
        padding:65px 0;
    }

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

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

    .modal img{
        max-width:92%;
        max-height:65%;
    }

    .newsletter{
        flex-direction:column;
        gap:10px;
    }

    .newsletter input,
    .newsletter button{
        width:100%;
        border-radius:8px;
    }
}

@media (max-width: 480px){
    body{
        padding-top:75px;
    }

    .nav-wrap{
        height:75px;
    }

    .logo img{
        height:68px;
    }

    .menu-btn{
        width:42px;
        height:42px;
        font-size:19px;
    }

    .navbar{
        top:75px;
        padding:14px 20px;
    }

    .tech-hero{
        min-height:500px;
        padding-top:60px;
    }

    .tech-hero h1{
        font-size:32px;
    }

    .tech-hero p{
        font-size:15px;
        line-height:1.8;
    }

    .section-title h2{
        font-size:28px;
    }

    .filter-btn{
        width:100%;
    }

    .gallery-card img{
        height:210px;
    }

    .footer{
        padding-top:50px;
    }
}

/* Mobil menü WhatsApp butonu */
.navbar .nav-wa{display:none;}
@media(max-width:992px){.navbar .nav-wa{display:block;background:#25d366;color:#fff;text-align:center;border-radius:8px;margin-top:12px;border:none !important;padding:13px;}}
