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

:root {
    --main-color: white;
    --black-color: black;
    --border: 0.1rem solid rgba(255, 255, 255, 0.4);
}

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

html {
    height: 100%;
    margin: 0;
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: white;
    overflow-x: hidden;
}
section {
    padding: 3.5rem 7%;

}
.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 2rem 3.75rem;
    border-radius: 30rem;
    font-size: 1.7rem;
    color: white;
    background-color: black;
}

.logo img {
    height: 12rem;
}

header {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    margin: 2rem 7%;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 1rem;
}

header .navbar a {
    margin: 0 1rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: black;
    border-bottom: 0.1rem solid transparent;
    transition: color 0.3s, border-color 0.3s, padding-bottom 0.3s;
}

header .navbar .active,
header .navbar a:hover {
    color: red;
    padding-bottom: 0.5rem;
}

header .buttons button {
    cursor: pointer;
    font-size: 2.5rem;
    background-color: transparent;
}
#menu-btn {
    display: none;
}

.home {
    min-height: 100vh;
    /*margin-top: -14.5rem;
    */
    display: flex;
    align-items: center;
}
.home .content {
    max-width: 60rem;
}
.home .content h3{
   font-size: 6rem;
}

/*menu start*/
.urunler  .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    overflow: hidden;
}
.urunler h1 {
    color: black;
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: 3.54rem;
    border-bottom: 0.1rem solid white;
}
.urunler .box-container .box {
    padding: 3rem;
    background-color: white;
    border-radius: 3rem;
    min-height: 14rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; 
    height: 50rem;
}
.urunler .box-container .box img {
     width: 100%;
    height: 30rem; /* İstediğiniz yüksekliği buraya girin */
    object-fit: cover;
    border-radius: 1rem; /* Görsellerin köşelerini yuvarlatmak için */

}
.urunler .box-container .box-bottom h3 {
    font-size: 2rem;
    margin-bottom: 38rem;
}
/*menu end*/
.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: black;
}
.hakkimizda .row .content p {
    font-size: 1.6rem;
    color: #4b4949;
    padding: 1rem;
    line-height: 1.8;
    text-transform: none;
}

.iletisim .row {
    display: flex;
    background-color: #4b4949;
    flex-wrap: wrap;
    gap: 1rem;
}
.iletisim .row .maps {
    flex: 1 1 45rem;
    width: 100%;
    object-fit: cover;
    height: 40rem;
}
.iletisim .row .contact-details {
    flex: 1 1 45rem;
    padding: 5rem 2rem;
    text-align: center;
    color: #4b4949;
}
.iletisim .row .contact-details h3 {
    font-size: 3.5rem;
    color: white;
}
.iletisim .row .contact-details p {
    font-size: 2rem;
    color: white;
    text-align: start;
}
.iletisim .row .contact-details .contact-button {
    font-size: 3rem; /* Buton boyutunu büyüt */
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
}
.iletisim .row .contact-details strong {
    text-transform: none;
}
.iletisim .row .contact-details strong a {
    color: white;
    text-transform: none;
}

.footer {
    margin-top: auto;
    background-color: #4b4949;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.footer-links {
    margin-bottom: 10px;
}

.footer .footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social {
    margin-bottom: 10px;
}

.footer-social .fa-instagram {
    font-size: 4rem; /* İkonun boyutunu büyüttük */
    color: white;
    text-decoration: none;
}

.footer-designer {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 12px;
}
.footer-designer p {
    color: black;
    font-weight: bold;
}



/* Slider kapsayıcısı */
.slider {
    width: 100vw; /* Ekran genişliğinin %100'ü */
    height: 100vh; /* Ekran yüksekliğinin %100'ü */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Slider içeriği */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

/* Her bir slide */
.slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Görsel stilleri */
.slide img {
    margin-top: -24rem;
    width: 100%; /* Görsel genişliği %100 */
    height: auto; /* Görsel yüksekliği %100 */
    object-fit: cover; /* Görseli tam ekran kaplamasını sağlar */
}

/* Kartlar Bölümü */
#cards {
    background-color: #f4f4f4;
    padding: 2rem 0;
}

#cards h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}
#cards p{
    font-size: 1.6rem;
    text-transform: none;
}

/* Kart Konteyneri */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Her Bir Kart */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(25% - 1rem); /* Kart genişliği ayarlandı */
    margin: 0.5rem; /* Kartlar arasında boşluk */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Padding ve border genişliğini hesaplamaya dahil et */
}

/* Kart İçeriği Konteyneri */
.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* Görsel Stil Ayarları */
.card img {
    width: 100%;
    height: 200px; /* Görsel yüksekliğini sabitle */
    object-fit: cover; /* Görseli kartın içine sığdırırken kırpma yapar */
    border-radius: 10px 10px 0 0; /* Kartla uyumlu olması için köşeleri yuvarla */
}

/* Başlık ve Açıklama Stil Ayarları */
.card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #333;
}

.card p {
    padding: 0 1rem;
    font-size: 1rem;
    color: #666;
}

/* Hover Efekti */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* WhatsApp İkonunun Konumu ve Görünümü */
#whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#whatsapp-icon img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#whatsapp-icon img:hover {
    transform: scale(1.1);
}

/* Telefon Simgesinin Konumu ve Görünümü */
#phone-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

#phone-icon img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#phone-icon img:hover {
    transform: scale(1.1);
}
/* Dropdown Menüsü */
.navbar .dropdown {
    position: relative;
    display: inline-block;
}

.navbar .dropbtn {
    background-color: transparent;
    color: black;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.navbar .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.navbar .dropdown-content a {
    font-size: 1.4rem;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.navbar .dropdown-content a:hover {
    background-color: #f1f1f1;
}

.navbar .dropdown .dropbtn {
    cursor: pointer;
}
.show {
    display: block !important;
}
/* styles/style.css */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.gallery img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

#load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#load-more:hover {
    background-color: #444;
}
.fuar h2 {
    font-size: 4rem;
    text-align: center;
    padding: 2rem;
}
/* Video konteyneri için stil */
.video-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.video-container video {
    width: 100%;
    max-width: 400px; /* Görsel genişliğiyle uyumlu olacak şekilde ayarlandı */
    border-radius: 10px; /* Görsellerle uyumlu olacak şekilde yuvarlatıldı */
    object-fit: contain; /* Video görüntüsünün tamamının görünmesini sağlar */
}
.prev-btn, .next-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    font-size: 2em;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .home .content h3 {
        font-size: 5rem;
    }

    .footer-social .fa-instagram {
        font-size: 3.5rem;
    }

    .footer-designer {
        font-size: 10px;
    }
    .slogan {
        font-size: 5.4rem;
    }
    .navbar .dropbtn {
        font-size: 2rem;
    }
}

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

    .home .content h3 {
        font-size: 4.5rem;
    }

    .footer-social .fa-instagram {
        font-size: 3rem;
    }

    .footer-designer {
        font-size: 9px;
    }

    .iletisim .row {
        flex-direction: column;
        align-items: center;
    }

    .iletisim .row .maps,
    .iletisim .row .contact-details {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .slogan .slogan-line {
        font-size: 5rem;
    }
    .navbar .dropbtn {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    #menu-btn{
        display: inline-block;
    }
    header .navbar {
        position: absolute;
        top: 95%;
        background-color: #fff;
        height: calc(100vh - 9rem);
        width: 30rem;
        box-shadow: 0px 20px 14px 0px rgb(0 0 0 / 75%);
        right: -100%;
    }
    header .navbar.active {
        right: 3rem;
    }
    header .navbar a {
        color: black;
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 2rem;
    }
    html {
        font-size: 45%;
    }

    .home .content h3 {
        font-size: 4rem;
    }

    .footer-social .fa-instagram {
        font-size: 2.5rem;
    }

    .footer-designer {
        font-size: 8px;
    }

    header {
        flex-direction: column;
    }

    header .navbar a {
        margin: 0.5rem 0;
    }

    .iletisim .row .contact-details {
        padding: 2rem 1rem;
    }
    .slogan .slogan-line  {
        font-size: 5rem;
    }
    .navbar .dropbtn {
        font-size: 2rem;
    }
}

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

    .home .content h3 {
        font-size: 3.5rem;
    }

    .footer-social .fa-instagram {
        font-size: 2rem;
    }

    .footer-designer {
        font-size: 7px;
    }

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

    .iletisim .row .contact-details {
        padding: 1rem 0.5rem;
    }
    .slogan .slogan-line  {
        font-size: 5rem;
    }
    #menu-btn{
        display: inline-block;
    }
    .navbar .dropbtn {
        font-size: 2rem;
    }
    
}

/* Responsive ayarlar */
@media (max-width: 992px) {
    .slide img {
        height: 60vh; /* Mobil cihazlarda yüksekliği %60 olarak ayarlayın */
    }
}

@media (max-width: 768px) {
    .slide img {
        height: 50vh; /* Daha küçük ekranlarda yüksekliği %50 olarak ayarlayın */
    }
}
/* Responsive ayarlar */
@media (max-width: 768px) {
    #whatsapp-icon {
        bottom: 10px;
        right: 10px;
    }
}
/* Responsive ayarlar */
@media (max-width: 992px) {
    .slogan {
        font-size: 1.4rem; /* Mobil cihazlarda yazı boyutunu küçült */
        bottom: 10px; /* Alt kenardan 10px mesafe */
    }
}

@media (max-width: 768px) {
    .slider img {
        object-fit: contain; /* Küçük ekranlarda kırpmayı engeller ve görseli sığdırır */
    }
}




