body {
    font-family: -apple-system,
        BlinkMacSystemFont,
        avenir next,
        avenir,
        segoe ui,
        helvetica neue,
        helvetica,
        Cantarell,
        Ubuntu,
        roboto,
        noto,
        arial,
        sans-serif;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
    transition: color 0.3s;
    /* Smooth color transition for hover */
}

/* Header Styles */
.site-header {
    background-color: #f8f9fa;
    /* Light background for the header */
    border-bottom: 1px solid #ccc;
    padding: 1em 0;
    /* Padding around the header */
}

.container-header {
    max-width: 1200px;
    /* Maximum width to keep content centered */
    margin: 0 auto;
    /* Center the container */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    /* Padding on left and right sides */
    flex-wrap: wrap;
}

.site-identity-parent {
    display: flex;
    align-items: center;
}

.site-identity {
    margin-left: 15px;
    /* Space between logo and title */
}

.site-identity h1 {
    font-size: 0.8em;
    margin: 0;
    max-width: 150px;
    /* Prevent title wrapping */
}

.header-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.site-navigation ul {
    margin: 0;
    padding-top: 10px;
    list-style: none;
    display: flex;
    gap: 1.5em;
    /* Space between navigation items */
}

.menu-toggle {
    display: none;
    /* Büyük ekranlarda gizle */
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.site-navigation li {
    display: inline;
}

.site-navigation a {
    font-size: 0.9em;
    color: #333;
    padding: 0.5em 0;
}

.site-navigation a:hover {
    color: #007bff;
    /* Hover color */
}

/* Main Body Styles */
.main-body-1 {
    background-image: url("images/pexels-stywo-1054218.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
   
    height: 600px;
    margin-bottom: 50px;
}

.main-body-2 {

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 380px;

}

.main-body-container {
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding: 20px;
}

.main-body-1-child {
    margin-top: 80px;
    padding-right:50px;
    padding-left:50px;
}

.main-body-1-buttons {
    margin-top: 30px;
}

.main-body-1-button-1 {
    width: 120px;
    height: 50px;
    margin-right: 15px;
    background-color: rgb(255, 174, 0);
    border: 1px solid rgb(255, 174, 0);
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.main-body-1-button-1:hover {
    background-color: rgb(237, 168, 18);
    border: 1px solid rgb(237, 168, 18);
}

.main-body-1-button-2 {
    width: 120px;
    height: 50px;
    background-color: transparent;
    border: 2px solid black;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.main-body-1-button-2:hover {
    background-color: black;
    color: white;
}

.main-body-1-button-5 {
    width: 100px;
    height: 35px;
    margin-right: 15px;
    background-color: rgb(255, 174, 0);
    border: 1px solid rgb(255, 174, 0);
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.main-body-1-button-5:hover {
    background-color: rgb(237, 168, 18);
    border: 1px solid rgb(237, 168, 18);
}

.main-body-2-carts {
    width: 100%;
    height: 300px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-body-cart-1,
.main-body-cart-2,
.main-body-cart-3 {
    padding: 10px;

    max-height: 250px;
    text-align: center;
}

.main-body-cart-1 img,
.main-body-cart-2 img,
.main-body-cart-3 img {
    width: 120px;
    height: 120px;
}

.main-body-3 {
    width: 100%;
    min-height: 450px;
    background-color: gainsboro;
}

.main-body-3-child {
    width: 100%;
    height: 300px;

    margin-top: 50px;
}

.main-body-3-child h2 {
    padding-top: 30px;
}

.main-body-3-image {
    width: 300px;
    height: 300px;
    float: left;
    margin-right: 20px;
    object-fit: cover;
}

.main-body-4 {
    width: 100%;
    min-height: 450px;
    background-color: rgb(27, 27, 27);
}

.main-body-4-child {
    width: 100%;
    height: 300px;
    margin-top: 50px;
}

.main-body-4-child h2 {
    padding-top: 20px;
    color: rgb(187, 187, 187);
}

.main-body-4-child p {
    color: rgb(187, 187, 187);
}

.main-body-4-image {
    width: 300px;
    height: 300px;
    float: right;
    margin-left: 20px;
    object-fit: cover;
}

.main-body-4-button {
    width: 120px;
    height: 50px;
    margin-right: 15px;
    background-color: rgb(255, 174, 0);
    border: 1px solid rgb(255, 174, 0);
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.main-body-4-button:hover {
    background-color: rgb(237, 168, 18);
    border: 1px solid rgb(237, 168, 18);
}

.main-body-5-button {
    width: 160px;
    height: 50px;
    margin-right: 15px;
    background-color: rgb(255, 174, 0);
    border: 1px solid rgb(255, 174, 0);
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.main-body-5-button:hover {
    background-color: rgb(237, 168, 18);
    border: 1px solid rgb(237, 168, 18);
}

.main-body-5 {
    width: 100%;
    min-height: 390px;
    background-color: rgb(27, 27, 27);
}

.main-body-5-child {
    width: 100%;
    height: 300px;
    margin-top: 50px;
}

.main-body-5-child h2 {
    padding-top: 30px;
    color: rgb(187, 187, 187);
}

.main-body-5-child p {
    color: rgb(187, 187, 187);
}

.footer-image {
    width: 40px;
    height: 40px;
    margin-right: 20px;
}

.menu-image{
    width:25px;
    height:25px;
    margin-right: 20px;
    
}


@media (max-width: 1250px) {

    /* Hamburger menü aktif */
    .menu-toggle {
        display: block;
        /* Küçük ekranlarda göster */
       margin-bottom: 0em;
        
        padding:10px;
        
    }

    .site-navigation ul {
        display: none;
        /* Başlangıçta gizle */
        flex-direction: column;
        position: absolute;
        top: 88px;
        right: 0px;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 25px;
        

    }

    .site-navigation ul.show {
        display: flex;
        /* Açılınca göster */
    }

    .site-navigation ul li {
        margin: 10px 0;
    }

    .site-navigation ul a {
        color: black;
        font-size: 16px;
        /* Link rengi */
    }

    .site-navigation ul a:hover {
        color: red;
        /* Hover rengi */
    }
}

@media (max-width: 768px) {
   
.dropdown-content {

        
        right: 0;

    }

    
.site-identity h1{
   font-size:0.8em;

}
    .main-body-1-child{
        margin-top: 20px;
        padding-right: 0px;
        padding-left: 0px;
        
    }


    .main-body-1 {
        height: auto;
        min-height:350px;
        padding: 20px;
    background-position: top;
    }


        

    .main-body-2 {
            height: auto;
            
        }

    .main-body-3-child,.main-body-4-child,.main-body-5-child {
      height: auto;
                }

  

    .main-body-2-carts {
        flex-direction: column;
        align-items: center;
        height:auto;
    }

    .main-body-cart-1,
    .main-body-cart-2,
    .main-body-cart-3 {
        max-width: 100%;
    }

    .main-body-3-child,
    .main-body-4-child {
        flex-direction: column;
    }

    .footer-image {
        margin: 10px;
    }

        .main-body-1-button-2 {
            width: 120px;
            height: 50px;
            background-color: transparent;
            border: 2px solid white;
            background-color: white;
            font-size: 15px;
            cursor: pointer;
            transition: 0.3s;
        }
    
        .main-body-1-button-2:hover {
            background-color: white;
            color: white;
        }



}

@media (max-width: 730px) {
    .main-body-3-child,.main-body-4-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .main-body-3-image,.main-body-4-image{
        margin-right:0px;
        margin-left:0px;
        
    }
    
}


/*Hakkımda Sayfası Kodları */
.hakkımda-main-body-3 {
    width: 100%;
    height: 100%;
}

.hakkımda-main-body-container {
    max-width: 1000px;
    margin: auto;
    
    padding: 20px;

}

.hakkımda-main-body-3-child {
    width: 100%;
    height: 600px;
    
    margin-top: 30px;

}

.hakkımda-main-body-3-child h2 {
    padding-top: 10px;
    font-size: 28px;
}

.hakkımda-main-body-3-child h1 {
    padding-top: 10px;
    font-size: 36px;
}

.hakkımda-main-body-3-child p {
    padding: 15px;
    padding-left:0px;
    font-size: 20px;

}



.hakkımda-main-body-3-image {
    width: 400px;
    height: 560px;
    float: left;
    margin-right: 40px;
    padding-top: 110px;
    padding-bottom: 0px;
    object-fit: cover;

}

.iletişim-image {
    width: 350px;
    height: 350px;
    float: left;
    margin-right: 40px;
    padding-top: 110px;
    padding-bottom: 0px;
    object-fit: cover;

}

.hakkımda-main-body-3-image-2 {

    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    width: 400px;
    height: 560px;
    float: right;
    margin-left: 20px;
    object-fit: cover;
}

@media (max-width: 1000px){

        .hakkımda-main-body-3-child{
            height:auto;
            margin-top: 0px;

        }    

        .hakkımda-main-body-3-image{
            width:100%;
            height:300px;
            display:flex;
            flex-direction: column;
            padding-top: 0px;
        }
    
        .hakkımda-main-body-3-child p{
            display:flex;
            flex-direction: column;
        }

        .hakkımda-main-body-3-image-2{
            width: 100%;
                height: 300px;
                margin-left: 0px;
                padding-right:0px;
                display: flex;
                flex-direction: column;

        }
}


/* iletişim kısmı */

.contact-info {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    background-color: #f8f9fa;
    text-align: center;
}



.info-item {
    flex: 1;
    margin: 0 1rem;
}

.contact-form {
    padding: 2rem;
    background-color: #ffffff;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input,
textarea,
button {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: rgb(255, 174, 0);
    color: black;
    cursor: pointer;
    border: none;
}

.contact-form button:hover {
    background-color: rgb(237, 168, 18);
}

.map {
    
    padding: 2rem;
    text-align: center;
    height:500px;
    margin-bottom:100px;
}

/*mesajlar kısmı */

 table {
     width: 100%;
     max-width: 1000px;
     margin: 0 auto;
     border-collapse: collapse;
     background-color: #fff;
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 }

 th,
 td {
     padding: 12px;
     text-align: left;
     border-bottom: 1px solid #ddd;
 }

 th {
     background-color: #f2f2f2;
 }

 tr:hover {
     background-color: #f1f1f1;
 }

 .container-message {
     margin: 0 auto;
     max-width: 1000px;
 }

 .message-details {
     font-size: 0.9em;
     color: #666;
 }

 @media (max-width: 800px) {

    .contact-info {
        flex-direction: column;
        padding:0.5em;
    }

    .info-item{
        margin: 0;
    }

        .map {
            padding:0rem;
            height: 200px;
            margin-bottom: 100px;
        }

 }


 /* Şifre ekranı */

 .admin-login-body {
     font-family: Arial, sans-serif;
     background-color: #f3f4f6;
     display: flex;
     justify-content: center;
     align-items: center;
     height: 100vh;
     margin: 0;
 }

 .admin-login-container {
     background-color: #fff;
     padding: 20px;
     border-radius: 10px;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     width: 100%;
     max-width: 400px;
 }

 .admin-login-container h2 {
     text-align: center;
     margin-bottom: 20px;
     color: #333;
 }

 .admin-login-container label {
     display: block;
     margin-bottom: 8px;
     font-weight: bold;
     color: #555;
 }

 .admin-login-container input {
     width: 95%;
     padding: 10px;
     margin-bottom: 15px;
     border: 1px solid #ddd;
     border-radius: 5px;
     font-size: 14px;
 }

 .admin-login-container button {
     width: 100%;
     padding: 10px;
     background-color: #007bff;
     border: none;
     border-radius: 5px;
     color: white;
     font-size: 16px;
     cursor: pointer;
     transition: background-color 0.3s;
 }

 .admin-login-container button:hover {
     background-color: #0056b3;
 }

 .admin-login-container p {
     color: red;
     text-align: center;
     margin-top: 10px;
 }

 .menulogos{
    width:30px;
    height:30px;
 }

 .hizmetlerimiz-image{
     
    width: 350px;
    height: 350px;
    float: right;
    margin-right: 40px;
    padding-top: 110px;
    padding-bottom: 0px;
    object-fit: cover;
    margin-right: 100px;
    
 }

 .hizmetlerimiz{
    width:400px;
    float:left;
    margin-left:100px;
 }

.dropbtn {

    color: black;
    color: #333;
    border: none;
    font-size: 0.9em;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 50px;

}

.dropdown-content {

    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;


}

.dropdown-content p {
    color: black;
    padding: 1px 10px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.sorularimage{
    max-width:950px;
    width:100%;
    height:auto;
    max-height: 400px;
    object-fit: cover;
}