/*=========================================
        HAKSAN ENERJİ
        STYLE.CSS
=========================================*/

/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#1e293b;
    overflow-x:hidden;
    line-height:1.7;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:90%;
    max-width:1280px;
    margin:auto;

}

/*=========================================
            RENKLER
=========================================*/

:root{

--primary:#f59e0b;
--secondary:#0f172a;
--dark:#020617;
--gray:#64748b;
--light:#f8fafc;
--white:#ffffff;

}

/*=========================================
            HEADER
=========================================*/

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    transition:.4s;
    padding:18px 0;

}

header .container{

display:flex;
justify-content:space-between;
align-items:center;

}

.logo img{

height:60px;

}

nav ul{

display:flex;
gap:35px;

}

nav ul li a{

color:#fff;
font-weight:500;
transition:.3s;

}

nav ul li a:hover{

color:var(--primary);

}

.mobile-menu{

display:none;
font-size:30px;
color:#fff;
cursor:pointer;

}

/*=========================================
            HERO
=========================================*/

.hero{

height:100vh;

background:url("../images/hero.jpg") center center/cover no-repeat;

position:relative;

display:flex;

align-items:center;

}

.overlay{

position:absolute;

width:100%;

height:100%;

background:rgba(2,6,23,.70);

}

.hero-content{

position:relative;

z-index:5;

color:#fff;

}

.hero span{

color:var(--primary);

font-size:18px;

font-weight:600;

letter-spacing:3px;

}

.hero h1{

font-size:70px;

line-height:1.1;

margin:20px 0;

font-weight:800;

max-width:800px;

}

.hero p{

font-size:18px;

color:#e2e8f0;

max-width:650px;

margin-bottom:40px;

}

/*=========================================
            BUTONLAR
=========================================*/

.hero-buttons{

display:flex;

gap:20px;

}

.btn{

background:var(--primary);

color:#fff;

padding:18px 38px;

border-radius:50px;

transition:.4s;

font-weight:600;

}

.btn:hover{

transform:translateY(-5px);

box-shadow:0 20px 40px rgba(245,158,11,.35);

}

.btn-outline{

border:2px solid #fff;

padding:18px 38px;

border-radius:50px;

color:#fff;

transition:.4s;

}

.btn-outline:hover{

background:#fff;

color:#000;

}

/*=========================================
            BÖLÜMLER
=========================================*/

section{

padding:120px 0;

}

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title h2{

font-size:45px;

color:var(--secondary);

margin-bottom:15px;

}

.section-title p{

max-width:700px;

margin:auto;

color:var(--gray);

}

/*=========================================
        ABOUT
=========================================*/

.about-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}

.about-image img{

border-radius:25px;

box-shadow:0 25px 60px rgba(0,0,0,.15);

}

.about-text h3{

font-size:40px;

margin-bottom:20px;

}

.about-text p{

margin-bottom:30px;

color:var(--gray);

}

.about-text ul li{

margin-bottom:15px;

font-weight:500;

}

/*=========================================
        SERVICES
=========================================*/

.services{

background:#f8fafc;

}

.cards{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}

.card{

background:#fff;

padding:45px;

border-radius:20px;

text-align:center;

transition:.4s;

box-shadow:0 10px 40px rgba(0,0,0,.06);

}

.card:hover{

transform:translateY(-12px);

}

.card i{

font-size:55px;

color:var(--primary);

margin-bottom:25px;

}

.card h3{

margin-bottom:15px;

}
 /*=========================================
            PRODUCTS
=========================================*/

.products{

    background:#ffffff;

}


.product-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}


.product{

    height:260px;

    background:

    linear-gradient(
    rgba(15,23,42,.75),
    rgba(15,23,42,.75)
    ),

    url("../images/product.jpg");

    background-size:cover;
    background-position:center;

    border-radius:25px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    font-size:25px;

    font-weight:700;

    position:relative;

    overflow:hidden;

    transition:.5s;

}


.product::before{

    content:"";

    position:absolute;

    width:0;
    height:5px;

    background:var(--primary);

    bottom:0;
    left:0;

    transition:.5s;

}


.product:hover{

    transform:translateY(-10px);

    box-shadow:
    0 20px 50px rgba(0,0,0,.15);

}


.product:hover::before{

    width:100%;

}


/*=========================================
            STATS
=========================================*/


.stats{

    background:

    linear-gradient(
    rgba(15,23,42,.95),
    rgba(15,23,42,.95)
    ),

    url("../images/stats.jpg");

    background-size:cover;

    background-position:center;

    color:#fff;

}


.stats .container{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    text-align:center;

}


.stat h2{

    font-size:55px;

    color:var(--primary);

    margin-bottom:10px;

}


.stat span{

    font-size:18px;

    color:#e2e8f0;

}



/*=========================================
            WHY US
=========================================*/


.why{

    background:#f8fafc;

}


.why-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}



.why-grid div{

    background:#fff;

    padding:40px 20px;

    text-align:center;

    border-radius:20px;

    font-size:18px;

    font-weight:600;

    transition:.4s;

    box-shadow:
    0 10px 30px rgba(0,0,0,.06);

}



.why-grid div:hover{

    background:var(--secondary);

    color:#fff;

    transform:translateY(-10px);

}



/*=========================================
            CONTACT
=========================================*/


.contact{

    background:#fff;

}



.contact form{

    max-width:800px;

    margin:auto;

    display:grid;

    gap:20px;

}



.contact input,

.contact textarea{

    width:100%;

    padding:18px 20px;

    border:1px solid #e2e8f0;

    border-radius:12px;

    font-size:16px;

    outline:none;

    font-family:inherit;

    transition:.3s;

}



.contact textarea{

    min-height:150px;

    resize:none;

}



.contact input:focus,

.contact textarea:focus{

    border-color:var(--primary);

    box-shadow:
    0 0 0 4px rgba(245,158,11,.15);

}



.contact button{

    background:var(--primary);

    color:#fff;

    border:none;

    padding:18px;

    border-radius:50px;

    cursor:pointer;

    font-size:17px;

    font-weight:600;

    transition:.4s;

}



.contact button:hover{

    background:#d97706;

    transform:translateY(-5px);

}



/*=========================================
            FOOTER
=========================================*/


footer{

    background:#020617;

    padding:50px 0;

    text-align:center;

    color:#fff;

}



.footer-logo{

    height:70px;

    margin:0 auto 20px;

}



footer p{

    color:#94a3b8;

}



/*=========================================
            WHATSAPP
=========================================*/


.whatsapp{

    position:fixed;

    right:30px;

    bottom:30px;

    width:60px;

    height:60px;

    background:#25D366;

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:32px;

    z-index:999;

    box-shadow:
    0 10px 30px rgba(0,0,0,.2);

}



/*=========================================
            RESPONSIVE
=========================================*/


@media(max-width:992px){


    nav{

        display:none;

    }


    .mobile-menu{

        display:block;

    }


    .hero h1{

        font-size:48px;

    }


    .about-grid{

        grid-template-columns:1fr;

    }


    .cards{

        grid-template-columns:1fr;

    }


    .product-grid{

        grid-template-columns:1fr 1fr;

    }


    .stats .container{

        grid-template-columns:1fr 1fr;

    }


    .why-grid{

        grid-template-columns:1fr 1fr;

    }


}



@media(max-width:600px){


    .hero h1{

        font-size:36px;

    }


    .hero p{

        font-size:15px;

    }


    .hero-buttons{

        flex-direction:column;

    }


    .product-grid{

        grid-template-columns:1fr;

    }


    .stats .container{

        grid-template-columns:1fr;

    }


    .why-grid{

        grid-template-columns:1fr;

    }


    .section-title h2{

        font-size:32px;

    }


}

/* SCRIPT ANIMATION */

.card,
.product,
.why-grid div,
.about-grid{

    opacity:0;

    transform:translateY(40px);

    transition:.8s;

}


.show{

    opacity:1;

    transform:translateY(0);

}



/* MOBILE MENU */

@media(max-width:992px){


nav.active{

display:block;

position:absolute;

top:90px;

left:0;

width:100%;

background:#0f172a;

padding:30px;


}


nav.active ul{

flex-direction:column;

text-align:center;

}


}



/* TOP BUTTON */


.top-button{

position:fixed;

right:30px;

bottom:100px;

width:50px;

height:50px;

background:#f59e0b;

color:white;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

cursor:pointer;

opacity:0;

visibility:hidden;

transition:.3s;

z-index:999;


}



.top-button.active{

opacity:1;

visibility:visible;


}
.hero-content{

display:flex;

justify-content:space-between;

align-items:center;

}


.hero-text{

max-width:750px;

}


.hero-box{

display:flex;

flex-direction:column;

gap:20px;

}


.energy-card{

background:
rgba(255,255,255,.12);

backdrop-filter:blur(10px);

border:1px solid rgba(255,255,255,.2);

padding:30px;

border-radius:20px;

width:260px;

color:white;

}


.energy-card i{

font-size:35px;

color:#f59e0b;

margin-bottom:15px;

}


.energy-card h3{

font-size:22px;

}


.energy-card p{

font-size:14px;

}


@media(max-width:992px){

.hero-content{

flex-direction:column;

align-items:flex-start;

}


.hero-box{

display:none;

}

}
