/*
CSS yazarken kurallar

- stil yazarken yorumun altında belirlenmiş yere yaz
- çöp kod yazma
- aiden yardım alma, soru sorabilirsin ama malca kod kopyala yapıştır yaparsan olmaz
*/

/* sitenin her yerine uygulanacak stilleri */

/* chrome `body { display: block; margin: 8px; }` atıyordu o yüzden böyle birşey yaptım */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
temel elementler,
bunlar sitenin her yerinde kullanılabilir stiller
ona göre
*/

.img {
    max-width: 100%;
}

.text-black {
    color: black;
}

.text-white {
    color: white;
}

.container {
    padding: 16px;
}

.w-50 {
    width: 50%;
}

.w-75 {
    width: 75%;
}

.link {
    text-align: center;
}

.bg-white {
    background-color: #FFFFFF;
    color: black;
}

.bg-blue {
    background-color: #075985;
    color: white;
}

.btn {
    border-width: 0px; /* user agent stylesheetlerden nefret ediyorum */
    padding: 12px 16px;
    border-radius: 0px;
    font-size: large;
    cursor: pointer;
    text-align: center;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #074a6e;
}

.btn-primary {
    background-color: #075985;
    color: white;
}

.input {
    padding: 12px 16px;
    border-radius: 0px;
    font-size: large;
    text-decoration: none;
    margin-top: 4px;
    margin-bottom: 4px;
}

.nav-link a {
    /* text-decoration "y" gibi harfler tarafından etkileniyor, bende böyle bir çözüm buldum */
    text-decoration: none; 
    
    border-bottom: 3px solid currentColor; 
    padding-bottom: 1px; 
    margin-left: 8px;
    margin-right: 8px;
    color: inherit;
}

/*
sayfaya spesifik stiller
sadece sayfaya spesifik stiller

kural yazma biçimi

.sayfaismi-element-stilismi

örnekler:

.iletisim-element-special-style    DOĞRU
.element-special-style             DOĞRU
.iletisim-element                  YANLIŞ
.iletişim-element-special-style    YANLIŞ
.special-style-element             YANLIŞ
.special-style-iletisim-element    YANLIŞ
*/

.index-main-content {
    background: fixed;
    background-size: cover;
    background-image: url(images/anasayfa_arkaplan.jpg);
    min-height: 600px;
}

.index-main-content h1 {
    font-size: 8rem;
}

.index-section-sagsol {
    display: inline-flex;
}

.index-main-content p, .index-main-content b {
    font-size: 2rem;
}

.index-section-content h1 {
    font-size: 3rem;
    padding-bottom: 8px;
}

.index-section-content p {
    font-size: 1.5rem;
}

@media screen and (max-width: 1080px) {
    .index-section-sagsol {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .w-50 {
        width: 100%;
        padding: 20px;
    }
    
    .index-main-content img, iframe {
        max-width: 100%;
        height: auto;
    }

    iframe {
        min-height: 400px;
    }
}

.iletisim-div-center {
    background-image: url(images/anasayfa_arkaplan.jpg);
    background-size: cover;
    display: grid;
    place-items: center;
    height: 100vh;
}

.iletisim-contact-div {

}

.lezzetler-main-content {
    display: inline-flex;
    text-align: center;
}

.lezzetler-main-content h1 {
    font-size: 2.5rem;
}

.lezzetler-section-sagsol {
    display: inline-flex;
}

.lezzetler-main-content p, .lezzetler-main-content b {
    font-size: 1.5rem;
}

@media screen and (max-width: 1080px) {
    .lezzetler-main-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lezzetler-main-content .w-50 {
        width: 100%;
        padding: 20px;
    }
    
    .lezzetler-main-content img {
        max-width: 100%;
        height: auto;
    }
}