* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", sans-serif;
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none;
    color: #ffffff;
}


/* Navbar Başlangıç */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    padding: 10px 20px;
    color: #fff;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.menu {
    list-style: none;
    display: flex;
    z-index: 999;
}

.menu li {
    margin: 0 15px;
    font-size: 18px;
}

.menu li a {
    color: #fff;
    text-decoration: none;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
}

.phone-number i {
    padding-right: 10px;
}

.social-icons {
    margin-left: 40px;
}

.social-icons .icon {
    color: #fff;
    font-size: 20px;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.social-icons .icon:hover {
    transform: scale(1.2);
}

#menu-toggle {
    display: none;
}

@media (min-width: 1472px) {
    .mobilepoh {
        display: none;
    }
}

@media (max-width: 1472px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 106px;
        left: 0;
        background-color: #000000;
    }
    .menu li {
        margin: 10px 0;
        text-align: center;
    }
    .menu-icon {
        display: block;
        font-size: 28px;
    }
    .menu-icon::before {
        font-size: 18px;
        margin-right: 5px;
    }
    #menu-toggle:checked+.menu-icon+.menu {
        display: flex;
    }
    .phone-number {
        display: none;
    }
    .logopng {
        max-height: 80px;
    }
    .social-icons {
        text-align: center;
        padding-right: 35px;
        padding-top: 10px;
    }
    .social-icons i {
        font-size: 28px;
        padding-bottom: 10px;
        padding: 10px;
    }
    .mobilepoh {
        text-align: center;
        font-size: 24px;
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: red;
        font-weight: bold;
    }
    .mobilepoh i {
        padding-right: 10px;
    }
    .menu li {
        font-size: 18px;
        padding: 5px;
    }
}


/* Navbar Bitiş */

/* Slider Başlangıç */

.slider-container {
    position: relative;
    max-width: 1100px;
    overflow: hidden;
    padding-top: 30px;
    margin: 0 auto;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 auto;
    width: 100%;
}

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

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    outline: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

@media screen and (max-width: 1366px) {
    .slider-container {
        max-width: 800px;
        z-index: 1;
    }
    .slide img {
        max-width: 800px;
    }
}

/* Slider Bitiş */
/* Hizmetler Başlangıç */

.services-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: red;
    margin-top: 20px;
    margin-bottom: 20px;
}

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

.service {
    width: calc(50% - 20px);
    text-align: center;
    margin-bottom: 20px;
}

.service img {
    width: 364px;
    height: 227px;
    margin: 0 auto;
    display: block;
    padding-top: 15px;
}

.service-title {
    font-size: 22px;
    font-weight: bold;
    color: #ff0000;
    margin-top: 15px;
    margin-bottom: 5px;
    max-width: 364px;
    margin-left: auto;
    margin-right: auto;
}

.service-description {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    max-width: 364px;
    margin: 0 auto;
    padding-top: 10px;
}

@media only screen and (max-width: 500px) {
    .service {
        width: calc(100% - 20px);
    }
}

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

.service {
    width: calc(33.33% - 20px);
    text-align: center;
    margin-bottom: 20px;
}

@media only screen and (max-width: 1250px) {
    .service {
        width: calc(50% - 20px);
    }
}

@media only screen and (max-width: 768px) {
    .service {
        width: calc(500% - 20px);
    }
}


/* Hizmetler Bitiş*/
/* Hakkında Başlangıç */

.about-section {
    text-align: center;
    max-width: 800px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.about-section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.about-content {
    text-align: left;
}

.about-content h3 {
    color: #333;
    font-size: 24px;
}

.about-content p {
    color: #666;
    line-height: 1.6;
}

/* Hakkında Bitiş */

/* Referanslar Başlangıç */

.referanslar-container {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.referanslar {
    display: flex;
    transition: transform 0.3s ease;
    padding-top: 15px;
}

.referans {
    flex: 0 0 auto;
    width: 175px;
    margin-right: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

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

.referanslar-container h3 {
    text-align: center;
    color: red;
    font-size: 34px;
}

@media (max-width: 768px) {
    .referanslar-container {
        max-width: 300px;
        text-align: center;
    }
    .referans {
        width: 160px;
    }
}


/* Referanslar Bitiş */

/* Footer Başlangıç */
footer {
    display: flex;
    justify-content: space-between;
    background-color: #f2f2f2;
    padding: 20px;
    margin-top: 60px; 
}

.footer-item {
    color: black;
    width: 25%;
    text-align: center; 
    font-size: 20px;
}
.footer-item a{
    color: rgb(0, 0, 0);
}

.footer-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.footer-item ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.footer-item ul li {
    margin-bottom: 5px;
    text-align: center; 
    padding: 10px;
    font-weight: 500;
}
.sosyay-med-fot i{
    font-size: 28px;
    padding: 10px;
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-item {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
}

.copyright {
    background-color: #f2f2f2;
    text-align: center;
    padding: 10px 0;
}
/* Footer Bitiş */

/* İletişim Başlangıç */
.contact-container{
    text-align: center;
}
.contact-container a{
    color: black;
}
.contact-container h1 {
    color: red;
    padding-top: 10px;
}
.contact-item{
    padding: 12px;
    font-size: 18px;
    font-weight: 500;
}
@media screen and (min-width: 769px){
    .harita-{
        padding-top: 0.75rem;
        width: 100%;
        height: 35rem;
        padding-left: 5rem;
        padding-right: 5rem;
        padding-bottom: 0.75rem;
    }
}
@media screen and (max-width: 768px){
    .harita-{
        padding-top: 0.25rem;
        width: 100%;
        height: 30rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}
/* İletişim Bitiş */

/* Galeri Başlangıç */

.gallery {
    display: flex;
    flex-wrap: wrap;
}

.item {
    margin: 10px;
}

.thumbnail {
    width: 200px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.thumbnail {
    max-width: 365px;

    max-height: 350px;
    width: 100px; 
    height: auto; 
    cursor: pointer; 
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%; 
    max-height: 80%; 
}


.thumbnail {
    width: 367px;
    height: 227px;
}

@media screen and (min-width: 501px) {
    .gallery {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .item {
        width: 367px;
        margin: 10px; 
    }
    .thumbnail {
        margin: 0 auto; 
    }
}
.thumbnail {
    width: 100%; 
    height: auto; 
    margin-bottom: 10px; 
}

@media screen and (max-width: 500px) {
    .gallery {
        text-align: center; 
    }
    .item {
        width: 100%;
    }
    .thumbnail{
        max-width: 300px;
        max-height: 300px;
    }
}

/* Galeri Bitiş */
/* Hizmetler Başlangıç */

.services-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: red;
    margin-top: 20px;
    margin-bottom: 20px;
}

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

.service {
    width: calc(50% - 20px);
    text-align: center;
    margin-bottom: 20px;
}

.service img {
    width: 364px;
    height: 227px;
    margin: 0 auto;
    display: block;
    padding-top: 15px;
}

.service-title {
    font-size: 22px;
    font-weight: bold;
    color: #ff0000;
    margin-top: 15px;
    margin-bottom: 5px;
    max-width: 364px;
    margin-left: auto;
    margin-right: auto;
}

.service-description {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    max-width: 364px;
    margin: 0 auto;
    padding-top: 10px;
}

@media only screen and (max-width: 500px) {
    .service {
        width: calc(100% - 20px);
    }
}

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

.service {
    width: calc(33.33% - 20px);
    text-align: center;
    margin-bottom: 20px;
}

@media only screen and (max-width: 1250px) {
    .service {
        width: calc(50% - 20px);
    }
}

@media only screen and (max-width: 768px) {
    .service {
        width: calc(500% - 20px);
    }
}

.blog {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.blog h1 {
    text-align: center;
    color: red;
    padding-top: 15px;
}

.blog p {
    padding-top: 20px;
    text-align: center;
    font-weight: 500;
    max-width: 90%;
    margin: 0 auto;
}

.blog span {
    font-size: 24px;
    font-weight: bold;
}

/* Hizmetler Bitiş */
/* Hizmet Bölgelerimiz Başlangıç*/

.hizmet {
    width: 800px;
    margin: 0 auto;
    margin-bottom: 20px;
    padding-top: 10px;
}

.hizmet h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.hizmet p {
    font-size: 16px;
    color: #666;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .hizmet {
        width: auto;
    }
}

.site-footer{
    background-color: #000;
}
.iller-container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .iller-container .iller-row {
    display: flex;
    flex-wrap: wrap;
  }
  
  .iller-container a {
    flex: 0 0 calc(50% - 10px); 
    padding: 10px;
    margin: 5px;
    background-color: #f2f2f2;
    color: #333;
    text-align: center;
  }
  
  .iller-container a:hover {
    background-color: #ddd;
  }
  
  @media screen and (max-width: 600px){
    .iller-container .iller-row a {
      flex: 0 0 100%; 
      text-align: center;
      max-width: 97.5%;
    }
 }

/* Hizmet Bölgelerimiz Bitiş*/
/* Anasayfa Hizmetler Başlangıç*/
.hidrolik-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center; 
}

.hidrolik-image {
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 0 auto; 
    padding-top: 25px;
}

.hidrolik-title,
.hidrolik-description {
    font-size: 18px; 
    margin-top: 10px;
    text-align: center;
    max-width: 800px; 
    margin: 0 auto; 
    padding-top: 10px;
}
.hidrolik-title{
    font-size: 24px;
    padding-top: 10px;
}
/* Anasayfa Hizmetler Bitiş */