@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,300;0,400;0,500;0,600;1,200&display=swap');

:root{
    --main-color: #0066b2;
    --black-color: #000;
    --border: 0.1rem solid #4b4b4b;

}

* {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: 0.2s ease;
}

/*! base html codes */
html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: 0.8rem;
    background-color: white;
}

html::-webkit-scrollbar-thumb{
    border-radius: 3rem;
    background-color: var(--black-color)
}

body{
    background-color: var(--main-color);
}

section{
    padding: 3.5rem 7%;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 30rem;
    font-size: 1.7rem;
    color: white;
    background-color: var(--black-color);
    cursor: pointer;
}

.btn:hover{
    background-color: var(--main-color);
}

.heading{
    color: white;
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: 3.5rem;
    border-bottom: 0.1rem solid white;
}

.search-input{
    font-size: 1.6rem;
    color: var(--black-color);
    padding: 1rem;
    text-transform: none;
    border-radius: 3rem;
}

/*! header start */

.header .search-form{
    position: absolute;
    top: 115%;
    right: 7%;
    background-color: white;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    border-radius: 3rem;
    box-shadow: 0px 0px 25px 2px rgba(0 0 0 / 75%);
    transform: scaleY(0);
}

.header .search-form.active{
    transform: scaleY(1);
}

.header .search-form i{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--black-color);
}

.header .search-form input{
    width: 100%;
}

.header .logo img {
    height: 6rem;

}

.header{
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3%;
    margin: 2rem 7%;
    border-radius: 30rem;
    box-shadow: 0px 0px 17px -2px rgba(0, 0, 0, 0.75);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .menu ul{
    list-style: none;
}

.header .menu ul li{
    position: relative;
    float: left;
}

.header .menu ul li ul{
    position: absolute;
    left: 0;
    width: 27rem;
    background-color: white;
    padding: 2rem 1rem;
    margin-top: 2rem;
    display: none;
}

.header .menu ul li ul li{
    padding: 1rem 0;
    width: 100%;
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.25);
}

.header .menu ul li ul li ul{
    left: 26rem;
    margin-top: -3rem;
    width: 30rem;
}

.header .menu ul li:focus-within > ul,
.header .menu ul li:hover > ul{
    display: initial;
}

.header .menu a,
.header .menu button.accordion-toggle{
    margin: 0 1rem;
    font-size: 1.6rem;
    color: var(--black-color);
    border-bottom: 0.2rem solid transparent;
}

.header .menu li.active > a,
.header .menu li.active > button.accordion-toggle{
    border-bottom: 0.2rem solid var(--main-color);
    padding-bottom: 0.5rem;
}

/*!
.header .menu .active,
.header .menu a:hover{
    border-color: var(--main-color);
    padding-bottom: 0.5rem;
}
!*/

/* a üzerinde active varsa */
.header .menu a.active{
    border-bottom: 0.2rem solid var(--main-color);
    padding-bottom: 0.5rem;
}

.header .menu button.accordion-toggle {
    background: none;
    border: none;
    margin: 0 1rem;
    font-size: 1.6rem;
    color: var(--black-color);
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.header .menu button.accordion-toggle:hover {
    color: var(--main-color);
}

.header .buton button{
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
    background-color: transparent;
}

#menu-btn{
    display: none;
}

/*! header end */

/*! anasayfa start */

.anasayfa {
    min-height: 100vh;
    background: url(../slides/slider-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -14.5rem;
    display: flex;
    align-items: center;
}

.anasayfa .content {
    max-width: 60rem;
}

.anasayfa .content h3{
    font-size: 6rem;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25) ;
}

.anasayfa .content p{
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.5;
    color: white;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5) ;
}

/*! anasayfa end */

/*! anasayfa-2 start */

.anasayfa-2 {
    min-height: 100vh;
    background: url(../images/slide.png) no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -14.5rem;
    display: flex;
    align-items: center;
}

.anasayfa-2 .content {
    max-width: 60rem;
}

.anasayfa-2 .content h3{
    font-size: 6rem;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25) ;
}

.anasayfa-2 .content p{
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.5;
    color: white;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5) ;
}

/*! anasayfa-2 end */

/*! urunler start */

.urunler .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.urunler .box-container .box{
    padding: 3rem;
    background-color: white;
    border-radius: 3rem;
    min-height: 60rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.urunler .box-container .box img{
    width: 100%;
    object-fit: cover;
}

.urunler .box-container .box .urun-kategori{
    font-size: 1.4rem;
}

.urunler .box-container .box h3{
    font-size: 2.2rem;
    padding: 1rem 0;
}

.urunler .box-container .box .aciklama{
    font-size: 1.4rem;
    padding: 1rem 0;
}

/*! urunler end */

/*! uygulamalar start */

.uygulamalar .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.uygulamalar .box-container .box{
    background-color: white;
    border-radius: 3rem;
    min-height: 30rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.uygulamalar .box-container .box img{
    width: 100%;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
}

.uygulamalar .box-container .box img:hover{
    transform: scale(1.05);
    box-shadow: 0px 0px 17px -2px rgba(0, 0, 0, 0.75);
}


.uygulamalar .box-container .box h3{
    font-size: 2.2rem;
    padding: 1rem 0;
}

.uygulamalar .box-container .box .aciklama{
    font-size: 1.4rem;
    padding: 1rem 0;
}

/*! uygulamalar end */

/*! hakkımızda start */

.hakkimizda .row{
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
}

.hakkimizda .row .image{
    flex: 1 1 45rem;
}

.hakkimizda .row img{
    width: 100%;
}
 
.hakkimizda .row .content{
    flex: 1 1 45rem;
}

.hakkimizda .row .content h3{
    font-size: 3rem;
    color: white;
}

.hakkimizda .row .content p{
    font-size: 1.6rem;
    color: white;
    padding: 1rem 0;
    line-height: 1.5;
}

/*! hakkımızda end */

/*! iletişim start */

.iletisim .row {
    display: flex;
    width: 100%;
    height: 450px; /* YÜKSEKLİK ŞART */
}

.iletisim .map {
    width: 50%;
    height: 100%;
    border: none;
}

.iletisim .row form{
    flex: 1 1 45rem;
    padding: 5rem 2rem;
    text-align: center;
}

.iletisim .row form h3{
    font-size: 3rem;
    color: white;
}

.iletisim .row form .inputBox{
    display: flex;
    align-items: center;
    margin-top: 2rem;
    border: var(--border);
}

.iletisim .row form .inputBox i{
    color: white;
    font-size: 2rem;
    padding-left: 2rem;
}

.iletisim .row form .inputBox input{
    width: 100%;
    padding: 2rem;
    font-size: 1.7rem;
    color: white;
    text-transform: none;
    background: none;
}

.iletisim .row form .btn{
    color: var(--main-color);
    background-color: white;
    margin-top: 2rem;
    font-weight: 400;
}

.iletisim .row form .btn:hover{
    color: white;
    background-color: var(--main-color);
    font-weight: 400;
}

/*! iletişim end */

/*! footer start*/

.footer{
    background-color: var(--black-color);
    text-align: center;
}

.footer .search {
    display: flex;
    justify-content: center;
}

.footer .search .search-input{
    width: 30rem;
}

.footer .search .btn-primary{
    color: var(--main-color);
    background-color: white;
    padding: 1rem 2rem;
    margin-left: 1rem;
}

.footer .search .btn-primary:hover{
    color: white;
    background-color: var(--main-color);
}

.footer .share{
    padding: 2rem 0;
}

.footer .share a{
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    color: white;
    font-size: 2rem;
    border: var(--border);
    border-radius: 50%;
    margin: 0.3rem;
}

.footer .share a:hover{
    color: white;
    background-color: var(--main-color);
}

.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer .links a{
    padding: 0.7rem 2rem;
    font-size: 1.7rem;
    color: white;
}

.footer .links a:hover{
    color: var(--main-color);
}

.footer .created{
    padding-top: 3rem;
    color: white;
    font-size: 1.5rem;
}
.footer .created span{
    color: var(--main-color);
    text-decoration: underline;
}
/*! footer end */

/*! responsive start */

@media (max-width: 1104px){
    html {
        font-size: 55%;
    }

    .header{
        padding: 1.5rem 2rem;
    }

    .header .logo img{
        height: 4.5rem;
    }

    section{
        padding: 2rem;
    }
}

@media (max-width: 768px){
    #menu-btn{
        display: inline-block;
    }
    
    /* Mobil menü - tam ekran overlay */
    .header .menu{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;
        height: 100vh;
        width: 100%;
        overflow-y: auto;
        padding: 2rem;
        z-index: 9999;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .header .menu.active{
        transform: translateY(0);
    }

    .header .menu ul li{
        color: var(--black-color);
        display: block;
        font-size: 2rem;
        width: 100%;
        text-align: left;
        border-bottom: 0.1rem solid rgba(0, 0, 0, 0.25);
        padding: 1.5rem 0;
        float: none;
    }

    .header .menu ul li a{
        display: block;
        width: 100%;
        margin: 0;
    }

    /* Submenu stilleri - mobilde */
    .header .menu ul li ul{
        position: static;
        width: 100%;
        padding: 0;
        margin: 0;
        box-shadow: none;
        background-color: #f8f8f8;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .header .menu ul li.open > ul{
        max-height: 1000px;
        padding: 1rem 0;
        margin-top: 1rem;
    }

    .header .menu ul li ul li{
        padding: 1rem 0 1rem 2rem;
        border-bottom: 1px solid #e0e0e0;
        font-size: 1.6rem;
    }

    .header .menu ul li ul li:last-child{
        border-bottom: none;
    }

    /* İç içe submenu */
    .header .menu ul li ul li ul{
        background-color: #eeeeee;
        margin-top: 0.5rem;
    }

    .header .menu ul li ul li ul li{
        padding-left: 3rem;
        font-size: 1.5rem;
    }

    /* Accordion toggle button - mobil */
    .header .menu button.accordion-toggle{
        display: block;
        width: 100%;
        text-align: left;
        margin: 0;
        padding: 0;
        position: relative;
    }

    .header .menu button.accordion-toggle::after{
        content: '+';
        position: absolute;
        right: 1rem;
        font-size: 2rem;
        transition: transform 0.3s ease;
    }

    .header .menu li.open > button.accordion-toggle::after{
        content: '-';
    }
}

@media (max-width: 576px){
    html{
        font-size: 50%;
    }

    .header .menu{
        max-width: 100%;
    }
}

.imagex img {
        max-width: 400px;
        width: 100%;
        height: auto;
        transition: transform 0.3s ease; /* animasyon geçişi */
    }

    .imagex img:hover {
        transform: scale(1.5); /* %5 büyütme */
    }

    .reference-logo {
        filter: grayscale(100%);
        transition: filter 0.3s ease;
      }
      
      .reference-logo:hover {
        filter: grayscale(0%);
      }


.adres-alani {
    width: 50%;
    height: 100%;
    background-color: #000;

    display: flex;
    justify-content: center; /* YATAY ORTA */
    align-items: center;     /* DİKEY ORTA */
}

.adres-icerik {
    text-align: center;
}

.adres-alani h4 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #00a0e3;
}

.adres-alani p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
    color: #fff;
}

.row a img {
    transition: transform 0.3s ease;
}

.row a:hover img {
    transform: scale(1.03);
}

/*! responsive end */