/*==================================================
TOSBİK Elektrik & Otomasyon
style.css
==================================================*/

@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;
scroll-behavior:smooth;
font-family:'Poppins',sans-serif;
}

body{

background:#0f172a;

color:#ffffff;

overflow-x:hidden;

}

a{

text-decoration:none;

}

ul{

list-style:none;

}

img{

max-width:100%;

display:block;

}

/*==========================
NAVBAR
==========================*/

.navbar{

background:rgba(15,23,42,.92)!important;

backdrop-filter:blur(12px);

transition:.4s;

padding:15px 0;

}

.navbar-brand{

font-size:30px;

font-weight:700;

letter-spacing:1px;

color:#38bdf8!important;

}

.nav-link{

color:#fff!important;

font-weight:500;

margin-left:15px;

transition:.3s;

position:relative;

}

.nav-link:hover{

color:#38bdf8!important;

}

.nav-link::after{

content:"";

position:absolute;

left:0;

bottom:-6px;

width:0;

height:2px;

background:#38bdf8;

transition:.3s;

}

.nav-link:hover::after{

width:100%;

}

/*==========================
HERO
==========================*/

.hero{

min-height:100vh;
display:flex;
align-items:center;

background:
linear-gradient(rgba(15,23,42,.85),
rgba(15,23,42,.92)),
url("../images/arkaplan.jpg");

background-size:cover;
background-position:center center;
background-repeat:no-repeat;

padding-top:120px;

}

.hero h1{

    font-size:48px;
    font-weight:700;
    color:#38bdf8;
    line-height:1.2;
}

.hero h3{

color:#38bdf8;

font-size:28px;

margin-bottom:25px;

}

.hero p{

font-size:18px;

color:#d1d5db;

line-height:1.9;

margin-bottom:35px;

}

/*==========================
BUTONLAR
==========================*/

.btn{

padding:14px 32px;

border-radius:10px;

font-weight:600;

transition:.3s;

margin-right:10px;

}

.btn-info{

background:#0ea5e9;

border:none;

color:#fff;

}

.btn-info:hover{

background:#0284c7;

transform:translateY(-3px);

box-shadow:0 10px 25px rgba(14,165,233,.35);

}

.btn-success{

background:#22c55e;

border:none;

}

.btn-success:hover{

background:#16a34a;

transform:translateY(-3px);

box-shadow:0 10px 25px rgba(34,197,94,.35);

}

.hero img{

animation:float 4s ease-in-out infinite;

}

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0);

}

}

/*==========================
GENEL BAŞLIKLAR
==========================*/

section{

padding:90px 0;

}

section h2{

font-size:42px;

font-weight:700;

margin-bottom:50px;

text-align:center;

color:#38bdf8;

}
/*==================================================
HİZMET KARTLARI
==================================================*/

.services{

    background:#111827;

}

.service-card{

    background:#1e293b;
    padding:35px 30px;
    border-radius:18px;
    text-align:center;
    height:100%;
    min-height:340px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;

    transition:all .30s ease;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 10px 25px rgba(0,0,0,.15);

    cursor:pointer;

}

.service-card:hover{

    transform:translateY(-8px);

    border-color:#38bdf8;

    box-shadow:0 18px 35px rgba(0,0,0,.28);

}

.service-card i{

    font-size:60px;
    color:#38bdf8;
    margin-bottom:20px;

}

.service-card h4{

    font-size:24px;
    font-weight:600;
    margin-bottom:18px;
    color:#ffffff !important;

}

.service-card p{

    color:#d1d5db !important;
    line-height:1.8;
    font-size:15px;
    margin-bottom:0;

}

/* Kartın tamamı tıklanabilir */

a.text-decoration-none{

    display:block;
    color:inherit;

}

a.text-decoration-none:hover{

    color:inherit;
    text-decoration:none;

}
/*==================================================
HAKKIMIZDA
==================================================*/

.about{

background:#0f172a;

}

.about p{

font-size:17px;

line-height:2;

color:#d1d5db;

}

.list-group{

border-radius:15px;

overflow:hidden;

box-shadow:0 15px 30px rgba(0,0,0,.25);

}

.list-group-item{

background:#1e293b;

color:#fff;

border:1px solid rgba(255,255,255,.05);

padding:18px;

transition:.3s;

}

.list-group-item:hover{

background:#0284c7;

padding-left:30px;

}

/*==================================================
İSTATİSTİKLER
==================================================*/

.stats{

background:#111827;

}

.stat-box{

background:#1e293b;

padding:35px;

border-radius:18px;

text-align:center;

transition:.35s;

}

.stat-box:hover{

transform:translateY(-8px);

}

.stat-box h2{

font-size:52px;

color:#38bdf8;

margin-bottom:10px;

}

.stat-box p{

color:#d1d5db;

font-size:16px;

}

/* HTML'de stat sınıfı kullandıysan uyumluluk */

.stat{

background:#1e293b;

padding:35px;

border-radius:18px;

text-align:center;

transition:.35s;

height:100%;

}

.stat:hover{

transform:translateY(-8px);

}

.stat h2{

font-size:52px;

color:#38bdf8;

}

.stat p{

color:#d1d5db;

}

/*==================================================
REFERANSLAR
==================================================*/

.gallery{

background:#0f172a;

}

.gallery-box{

background:#1e293b;

border-radius:18px;

padding:55px 20px;

text-align:center;

transition:.35s;

border:2px dashed rgba(56,189,248,.4);

height:100%;

}

.gallery-box:hover{

background:#0284c7;

transform:scale(1.03);

border-color:#38bdf8;

}

.gallery-box h3{

margin-bottom:15px;

}

.gallery-box p{

color:#d1d5db;

}

/*==================================================
MÜŞTERİ YORUMLARI
==================================================*/

.comments{

background:#111827;

}

.comment-card{

background:#1e293b;

padding:35px;

border-radius:18px;

margin-bottom:25px;

border-left:5px solid #38bdf8;

box-shadow:0 10px 25px rgba(0,0,0,.2);

}

.comment-card p{

font-style:italic;

line-height:1.8;

color:#d1d5db;

}

.comment-card h4{

margin-top:20px;

color:#38bdf8;

}

/*==================================================
SSS
==================================================*/

.faq{

background:#0f172a;

}

.faq-item{

background:#1e293b;

padding:25px;

margin-bottom:20px;

border-radius:15px;

transition:.3s;

}

.faq-item:hover{

background:#243447;

}

.faq-item h3{

font-size:20px;

color:#38bdf8;

margin-bottom:12px;

}

.faq-item p{

color:#d1d5db;

line-height:1.8;

}
/*==================================================
İLETİŞİM
==================================================*/

.contact{
background:#111827;
}

.contact p{
font-size:18px;
margin-bottom:18px;
color:#d1d5db;
}

.contact i{
color:#38bdf8;
margin-right:10px;
}

.contact .btn{
margin-top:10px;
margin-right:12px;
}

.map iframe{
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,.25);
}

/*==================================================
FOOTER
==================================================*/

footer{
background:#020617;
border-top:1px solid rgba(255,255,255,.08);
}

footer p{
margin:0;
color:#94a3b8;
font-size:15px;
}

/*==================================================
WHATSAPP SABİT BUTON
==================================================*/

.floating-whatsapp{

position:fixed;

right:25px;

bottom:25px;

width:65px;

height:65px;

background:#25D366;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:32px;

color:#fff;

z-index:999;

box-shadow:0 15px 30px rgba(37,211,102,.45);

transition:.3s;

}

.floating-whatsapp:hover{

transform:scale(1.12);

color:#fff;

}

/*==================================================
YUKARI ÇIK
==================================================*/
#topBtn i{
    margin:0;
    transform:translateY(1px);
}
#topBtn{
    position:fixed;
    left:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#0ea5e9;
    color:#fff;
    font-size:22px;
    cursor:pointer;
    display:none;
    transition:.3s;
    z-index:999;
    box-shadow:0 10px 25px rgba(14,165,233,.35);

    display:flex;
    justify-content:center;
    align-items:center;
    line-height:1;
    padding:0;
}

/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#0f172a;

}

::-webkit-scrollbar-thumb{

background:#38bdf8;

border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

background:#0284c7;

}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width:991px){

.hero{
    text-align:center;
    padding-top:140px;
}

.hero h1{
    font-size:34px;
    color:#38bdf8;
    font-weight:700;
    line-height:1.2;
}

.hero h5{
    font-size:20px;
}

.hero p{
    font-size:18px;
}

}

.hero img{

margin-top:40px;

}

.navbar-brand{

font-size:24px;

}

}

@media(max-width:768px){

section{

padding:70px 0;

}

section h2{

font-size:32px;

}

.hero h1{

font-size:34px;

}

.btn{

width:100%;

margin-bottom:12px;

}

.hero .btn{

display:block;

}

.service-card{

padding:25px;

}

.comment-card{

padding:25px;

}

.gallery-box{

padding:35px 20px;

}

.floating-whatsapp{

width:58px;

height:58px;

font-size:28px;

}

#topBtn{

    display:flex;
    justify-content:center;
    align-items:center;
    padding:0;
    line-height:1;

}

#topBtn i{

    margin:0;
    transform:translateY(1px);


}
}

@media(max-width:576px){

.hero{

padding-top:120px;

}

.hero h1{

font-size:30px;

}

.hero h3{

font-size:20px;

}

.hero p{

font-size:15px;

line-height:1.8;

}

section h2{

font-size:28px;

}

.contact p{

font-size:16px;

}

}

/*==================================================
GİRİŞ ANİMASYONU
==================================================*/

.fade-up{

opacity:0;

transform:translateY(40px);

animation:fadeUp .8s ease forwards;

}

@keyframes fadeUp{

to{

opacity:1;

transform:translateY(0);

}

}
.reference-card{

border:none;

border-radius:18px;

overflow:hidden;

transition:.4s;

}

.reference-card:hover{

transform:translateY(-12px);

box-shadow:0 20px 40px rgba(0,0,0,.25);

}

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

.reference-card:hover img{

transform:scale(1.08);

}

.reference-card .card-body{

padding:25px;

}

.reference-card h5{

font-weight:700;

margin-bottom:15px;

}

.reference-card p{

font-size:15px;

color:#666;

min-height:70px;

}
