/* GENERAL SETTINGS */

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Regular.ttf');
}

body{
    background: #008B8B	;
    color: white;
    font-size: 14px;
    line-height: 28px;
    font-family: 'Raleway', arial;
}

h1 {
    font-size: 52px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.sectionHeader {
    background:#3F602B;
    border-bottom: 6px solid forestgreen;
    height: 60px;
    color: #fff;
    display: inline-block;
    line-height: 60px;
    font-size: 24px;
    padding: 5px 40px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h3 {
    font-size: 16px;
    color: white;
    font-weight: bold;
    transition: all .5s ease;
}

.sectionArea {
    padding: 80px 0;
}

/* GRID SETTINGS */

.container{
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.featuresBody .container {
    justify-content: space-between;
}

.col3 {
    box-sizing: border-box;
    width: 33.33%;
}



/* HOME SETTINGS */

header .logo {
    margin-right: auto;
}

header .logo img {
    display: block;
    height: 80px;
}

.menu li {
    float: left;
}

.menu li a {
    padding: 27px 17px;
    display: block;
    text-decoration: none;
    letter-spacing: 2px;
    color:white;
    transition: all .5s ease;
}

.menu li:hover a {
    background: #808000;
        color: white;
}

#mainSlider {
    height: 500px;
    background: url('../img/anasayfa.webp') center center no-repeat;
    background-size: cover;
}

#mainCaption {
    height: 500px;
    background: rgba(0,0,0,.3);
    font-size: 18px;
}

.caption {
    display: flex;
    font-size: 18px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: white;
    
}


.featuresTop {
    text-align: center;
}

.item {
    padding: 20px;
}

.zoom {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    
}


.zoom img {
    display: block;
    width: 100%;
    height: auto;
    transition: all .5s ease;
}

.item .itemText {
    text-align: center;
    padding: 5px;
    border: 2px solid grey;
}

.item:hover .zoom img {
    transform: scale(1.25);
    
}

.item:hover h3 {
    color: #32CD32;
}

.item:hover .itemText {
    background: grey;
    color: white;
    transition: all .5s ease;
}


.itemText p {
    margin: 20px;
}


#parallax {
    background: linear-gradient(
                rgba(0,0,0,.1),
                rgba(0,0,0,.7)
                ),
                url('../img/bekleme.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
}

#parallax p {
    color: white;
    padding: 20px;
}

.caption p {
    text-align: center;
        padding: 20px;
    
}


footer {
    background: #008B8B;
    text-align: center;
}


.footerItem img {
    height: 80px;
}

footer h3 {
    color: white;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

footer .fa {
    font-size: 30px;
    color: azure;
    line-height: 50px;
    transition: .3s ease;
}

footer .fa:hover {
    color: white;
    font-size: 35px;
    line-height: 55px;
}


.footerLinks a {
    text-decoration: none;
    color: azure;
    letter-spacing: 2px;
    transition: .3s ease;
}


.footerLinks a:hover {
    color:white;
    text-decoration: underline;
    font-size: 20px;
    line-height: 35px;
}



.socialLinks li {
    display: inline-block;
    width: 50px;
    height: 50px;
}

.footerItem p {
    font-size: 15px;
    color: azure;
}
.footerPhone i {
    margin-right: 6px;
}
.footerPhone a {
    color: azure !important;
    text-decoration: none;
}
.footerMail a{
  color: azure;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: inline-block;
  text-decoration: none;
  margin-top: 8px;
}


/* HİZMETLER SETTINGS */

#hizmetlerSlider {
    height: 350px;
    background: url('../img/hizmet.webp') center center no-repeat;
    background-size: cover;
}

#hizmetlerCaption {
    height: 350px;
    background: rgba(0,0,0,.3);
}

#inspect {
    background-color: #008B8B;
}


.inspectTop {
    text-align: center;
}

.inspectBody .col2 {
    display: flex;
    width: 48%;
    box-sizing: border-box;
}

.catalog-text {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.catalog-buttons {
    text-align: center;
    margin-top: 20px;
}

.catalog-btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Görüntüle butonu */
.catalog-btn.view {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

/* Hover efekti */
.catalog-btn.view:hover {
    background-color: #808000;
    color: aliceblue;
    transform: translateY(-2px);
}

.inspectImage {
    width: 40%;
    padding: 10px;
}

.inspectImage img {
    width: 100%;
    height: auto;
}


.inspectText {
    width: 60%;
    padding-left: 10px;
}

.inspectText h4 a{
  text-decoration: none;
  color: inherit;
  transition: .3s ease;
}

.inspectText h4 a:hover{
  color: white; 
}
/* Kart hover olunca hafif kalksın */
.inspectBody .col2{
  transition: transform .25s ease, box-shadow .25s ease;
}

.inspectBody .col2:hover{
  transform: translateY(-6px);
}

/* Başlık linki */
.inspectText h4 a{
  text-decoration: underline;
  color: white;
  display: inline-block;
  transition: transform .25s ease, color .25s ease;
}

/* Kart hover olunca başlık büyüsün */
.inspectBody .col2:hover .inspectText h4 a{
  transform: scale(1.14);
  color: azure;
}
.inspectBody .col2:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.20);
}
h4 {
    color: #95a5a6;
    font-size: 17px;
    font-weight: bold;
}


.inspectBody .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.inspectBody .col2 {
    width: 48%;
}


.projectXTop {
    text-align: center;
}

#projectX .containerFluid {
    height: 500px;
    background: url('../img/hizmet5.webp') center center no-repeat;
    background-size: cover;
}


.captionPX {
    display: flex;
    background: rgba(0,0,0, .2);
    width: 100%;
    height: 500px;
}

.projectXInfo {
    position: relative;
    text-align: center;
    font-size: 18px;
    top: 40%;
    
}


.projectXText {
    color: white;
}

.btnDetails {
    color:aqua;
    padding: 5px 10px;
    border: 1px solid darkturquoise;
    transition:  all .5s ease;
    text-decoration: none;
}

.item:hover .btnDetails {
    color: white;
    border: 1px solid white;
}

.all-projects-btn {
    text-align: center;
    margin-top: 40px;
}

.btnAllProjects {
    display: inline-block;
    padding: 14px 36px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    color: #000;
    border: 2px solid #000;
    transition: all 0.3s ease;
    border-radius: 6px;
}

/* Hover */
.btnAllProjects:hover {
    background-color: green;
    color: #fff;
     transform: translateY(-2px);
}




/* HAKKIMIZDA SETTINGS */

#hakkimizdaSlider {
    height: 350px;
    background: url('../img/hakkimizda.webp') center center no-repeat;
    background-size: cover;
}

#hakkimizdaCaption {
    height: 350px;
    background: rgba(0,0,0, .4);
    font-size: 18px;
}


/* İLETİSİM SETTINGS */

#iletisimSlider {
    height: 550px;
    background: url('../img/iletisim.webp') center center no-repeat;
    background-size: cover;
    position: relative;
}

.slider {
    width: 100%;
}

#iletisimCaption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    height: 550px;
    background: rgba(0,0,0, .3);
    font-size: 18px;
}

#iletisimCaption p {
    margin: 2px 0;
    padding: 0;
  line-height: 1.25;
    
}    
/* =========================
   HIZLI FORM - BİZİMLE ÇALIŞIN
========================= */

.quickFormBox{
  width: 100%;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.20);
}

.quickFormBox .workTop{
  text-align: center;
  margin-bottom: 20px;
}

.quickFormBox .workTop p{
  color: #f1f1f1;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.8;
}

.quickForm label{
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}

.quickForm input,
.quickForm textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.92);
  outline: none;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 14px;
}

.quickForm textarea{
  resize: vertical;
}

.formRow{
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.formCol{
  flex: 1;
  min-width: 220px;
}

.formCol.full{
  flex: 1 1 100%;
}

.formActions{
  margin-top: 12px;
}

.workBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: .25s ease;
  border: none;
  font-size: 14px;
}

.submitBtn{
  background: #2e7d32;
  color: #fff;
}

.workBtn:hover{
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.formNote{
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

/* Mobil */
@media (max-width: 768px){
  .quickFormBox{
    padding: 20px;
  }

  .formActions .workBtn{
    width: 100%;
  }
}
/* Bizimle çalışın form butonu ortada dursun */
.quickFormBox .formActions{
  text-align: center;
}

.quickFormBox .formActions .workBtn{
  width: auto !important;
  min-width: 220px;       /* buton dolu dolu dursun */
  justify-content: center;
}

/* PROJELER SETTINGS */

.fixedBackBtn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    padding: 12px 20px;
    background-color: #2e7d32;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    z-index: 9999;
}

.fixedBackBtn:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
}

.projectDetail .projectGallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.projectDetail .projectGallery img {
    width: 32%;
    border-radius: 6px;
}

/* ✅ İletişim - Bizimle Çalışın form taşma düzeltme */
#bizimleCalisin .quickFormBox,
#bizimleCalisin .quickForm,
#bizimleCalisin .formRow,
#bizimleCalisin .formCol {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#bizimleCalisin input,
#bizimleCalisin textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}


/* MEDIA QUERIES */

@media screen and (max-width: 960px) { 
    .caption h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }
    .caption p {
        font-size: 15px;
    }
    footer h3 {
        font-size: 15px;
    }
    
    .inspectBody .container {
        flex-direction: column;
    }
    .inspectBody .container .col2 {
        width: 100%;
    }
    .projectXInfo p {
        font-size: 15px;
    }
}

/* HAMBURGER MENU - SADECE MOBİL */
@media (min-width: 769px) {
    .menu {
        display: block; /* normal menü görünür */
    }

    #hamburgerMenu {
        display: none; /* hamburger gizli */
    }
}
@media (max-width: 768px) {
    .menu {
        display: none;
    }
    #hamburgerMenu {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 10001;
        font-family: Arial, sans-serif;
    }

    .hamburgerIcon {
        font-size: 28px;
        cursor: pointer;
        color: darkturquoise;
        user-select: none;
    }

    .menuItems {
        display: none;
        flex-direction: column;
        background-color: grey;
        position: absolute;
        top: 40px;
        left: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        border-radius: 6px;
        overflow: hidden;
    }

    .menuItems a {
        padding: 12px 20px;
        text-decoration: none;
        color: white;
        font-weight: 600;
        display: block;
    }

    .menuItems a:hover {
        background-color: #2e7d32;
        color: #fff;
    }
}

/* Masaüstü ve tabletde gizle */
@media (min-width: 769px) {
    #hamburgerMenu {
        display: none;
    }
}

@media screen and (max-width: 720px) {
    header .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    header .logo {
        margin: 0 auto;
    }

    .caption h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    .caption p {
        font-size: 13px;
    }

    .featuresBody .container {
        flex-direction: column;
        align-items: center;          /* ✅ ORTALAMA */
        justify-content: center;      /* ✅ ORTALAMA */
    }

    .featuresBody .container .col3 {
        width: 95%;                   /* ✅ KÜÇÜLMESİN */
        margin: 0 auto 20px auto;     /* ✅ TAM ORTADA */
    }

    footer .container {
        flex-direction: column;
        align-items: center;
    }
    footer .container .col3 {
        width: 100%;
    }

    .sectionHeader {
        font-size: 24px;
    }

    .inspectBody .container .col2 {
        padding-left: 0;
        padding-right: 0;
    }

    .projectXInfo p {
        font-size: 13px;
    }
}
/* Ana sayfadaki gibi: mobilde col3 ortada ve büyük dursun */
@media screen and (max-width: 720px) {

  .featuresBody .container{
    flex-direction: column !important;
    justify-content: center !important;   /* space-between iptal */
    align-items: center !important;       /* ortala */
  }

  .featuresBody .container .col3{
    width: 80% !important;                /* ana sayfa gibi */
    margin: 0 auto 20px auto !important;  /* ortada + aralık */
  }
}

@media screen and (max-width: 540px) {
    header .logo {
        margin: 0 auto;
    }
    
    .caption h1 {
        font-size: 25px;
        letter-spacing: 0px;
    }
    
    .featuresBody .container .col3 {
        width: 100%;
        margin: 0 auto;
    }
    .projectXInfo p {
        font-size: 12px;
    }    

    .sectionHeader {
        font-size: 18px;
    } 
    
    .menu a {
        font-size: 13px;
        white-space: nowrap;
    }


    .menu li {
        float: none;
    }

    .menu li a {
        font-size: 12px;
        padding: 10px 6px;
        letter-spacing: 1px;
        white-space: nowrap;
    }
    
    .inspectBody {
        font-size: 11px;
    }
    
    .inspectBody h4 {
        font-size: 14px;
    }
     
}  

@media screen and (max-width: 420px) {   
    header .logo {
        margin: 0 auto;
    }
    
    .caption h1 {
        font-size: 23px;
        letter-spacing: 0px;
    }
    
    .featuresBody .container .col3 {
        width: 100%;
        margin: 0 auto;
    }
    .projectXInfo p {
        font-size: 11px;
    }    

    .sectionHeader {
        font-size: 17px;
    } 


    .menu li {
        float: none;
    }

    .menu li a {
        font-size: 12px;
        padding: 8px 5px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
    
    .inspectBody {
        font-size: 11px;
    }
    
    .inspectBody h4 {
        font-size: 13px;
    }
    
}


@media screen and (max-width: 360px) {
    .menu li a {
        font-size: 10.5px;
        padding: 6px 4px;
    }

    .caption h1 {
        font-size: 21px;
    }

    .sectionHeader {
        font-size: 16px;
    }

    .inspectBody p {
        font-size: 11px;
    }
}


@media (max-width: 768px) {

    /* Fotoğraflar alt alta */
    .projectDetail .projectGallery {
        flex-direction: column;
        align-items: center;
    }

    .projectDetail .projectGallery img {
        width: 90%;
        max-width: 500px;
    }

    /* Başlık küçülsün */
    .projectDetail h1 {
        font-size: 22px;
    }

    .itemText h3 {
        font-size: 18px;
    }
}

/* WHATSAPP FLOATING BUTTON */
.wa-float{
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 99999;

    display: flex;
    align-items: center;
    gap: 12px;

    background: #25D366;
    color: #fff;
    text-decoration: none;

    padding: 12px 14px;
    border-radius: 50px;

    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    overflow: hidden;

    transition: all .35s ease;
}

/* ikon */
.wa-icon{
    font-size: 30px;
    line-height: 1;
}

/* yandan açılan yazı */
.wa-text{
    max-width: 0;
    opacity: 0;
    white-space: nowrap;

    font-size: 15px;
    font-weight: 600;

    transition: all .35s ease;
}

/* hover olunca yandan uzasın */
.wa-float:hover .wa-text{
    max-width: 220px;
    opacity: 1;
}

/* hover olunca biraz büyüsün */
.wa-float:hover{
    transform: translateY(-2px);
}

/* mobilde yazı hep kapalı kalsın daha temiz olur */
@media (max-width: 768px){
    .wa-text{
        display: none;
    }
}