/* Tüm sayfa yüksekliği için body ve html */

html, body {

    height: 100%;

    margin: 0;

    padding: 0;

}



/* Sayfa içeriğini flex ile düzenle */

body {

    display: flex;

    flex-direction: column;

}



/* İçerik alanı footer’ı itmek için büyüsün */

main, .content-wrapper {

    flex: 1;

}



/* Footer */

footer {

    background-color: #1a1a1a;

    color: white;

    text-align: center;

    padding: 20px 0;

}





/* Genel Stil */

body {

    font-family: Arial, sans-serif;

    margin: 0;

    padding: 0;

    background-color: #f7f7f7;

    color: #333;

}



a {

    text-decoration: none;

    color: inherit;

}



header {

    background-color: #1a1a1a;

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px 30px;

}



header .logo img {

    height: 50px;

}



header nav ul {

    list-style: none;

    display: flex;

    gap: 20px;

}



header nav ul li a {

    color: white;

    font-weight: bold;

    transition: color 0.3s;

}



header nav ul li a:hover {

    color: #ff6600;

}



/* Home Sections */

.home-section {

    padding: 60px 20px;

    text-align: center;

}



.home-section:nth-child(odd) {

    background-color: #fff;

}



.home-section:nth-child(even) {

    background-color: #eee;

}



.home-section img {

    max-width: 100%;

    height: auto;

    border-radius: 10px;

}



/* Footer */

footer {

    background-color: #1a1a1a;

    color: white;

    text-align: center;

    padding: 20px 0;

}



/* === Home Masthead === */

.masthead {

    background: url('../images/home/home-bg.jpg') no-repeat center center;

    background-size: cover;

    height: 100vh; /* Tüm ekran yüksekliği */

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    color: #fff; /* Yazı rengi, arkaplanla kontrastlı */

    padding-top: 70px; /* navbar yüksekliğine göre ayarla */

}



.masthead .masthead-subheading {

    font-family: "Roboto Slab", serif;

    font-size: 2.25rem;

    font-style: italic;

    color: #ffffff;

    line-height: 1.2;

    margin-bottom: 1.5rem;

    text-transform: none;

}



.masthead .masthead-heading {

    font-family: "Montserrat", sans-serif;

    font-size: 4.5rem;

    font-weight: 700;

    color: #ffffff;

    line-height: 1.1;

    margin-bottom: 2rem;

    text-transform: none;

}



.masthead .btn {

    font-family: "Montserrat", sans-serif;

    font-size: 1.125rem;

    font-weight: 700;

    padding: 1.25rem 2.5rem;

    text-transform: uppercase;

    background-color: #ffc800; /* Sarı renk */

    border-color: #ffc800;     

    color: #000;               

}



.masthead .btn:hover {

    background-color: #e6b800; /* Hover efekti için koyu ton */

    border-color: #e6b800;

}



/* Navbar Logo (Responsive) */

.navbar-logo {

    height: 32px;

    width: auto;

}



/* Mobil için daha küçük logo */

@media (max-width: 576px) {

    .navbar-logo {

        height: 24px;

    }

}



/* Tablet */

@media (max-width: 768px) {

    .navbar-logo {

        height: 28px;

    }

}



/* Küçük ekranlar (tablet ve altı) */

@media (max-width: 991px) {

    .masthead .masthead-heading {

        font-size: 3.25rem;

    }



    .masthead .masthead-subheading {

        font-size: 1.75rem;

    }



    .masthead .btn {

        font-size: 1rem;

        padding: 1rem 2rem;

    }

}



/* Daha küçük ekranlar (telefon) */

@media (max-width: 575px) {

    .masthead .masthead-heading {

        font-size: 2.25rem;

    }



    .masthead .masthead-subheading {

        font-size: 1.25rem;

    }



    .masthead .btn {

        font-size: 0.9rem;

        padding: 0.75rem 1.5rem;

    }

}



/* Navbar home page */

.navbar-home {

    background-color: transparent !important;

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 10; /* masthead'in üstünde görünmesi için */

}



/* Navbar linkleri */

.navbar .navbar-nav .nav-item .nav-link {

    font-family: "Montserrat", sans-serif;

    font-size: 0.95rem;

    color: #fff;

    letter-spacing: 0.0625em;

    transition: color 0.15s ease-in-out;

}



.navbar .navbar-nav .nav-item .nav-link:hover,

.navbar .navbar-nav .nav-item .nav-link:focus,

.navbar .navbar-nav .nav-item .nav-link.active {

    color: #ffc800; /* hover ve aktif renk */

}





/* Social Media Card Image */

.social-card-img {

    max-height: 150px; /* Maksimum yükseklik */

    width: auto;       /* Oranları koruyarak otomatik genişlik */

    object-fit: contain; /* Görsel taşmasını önler */

    margin: 0 auto;    /* Ortala */

    padding: 10px 0;   /* Üst-alt boşluk */

}





/* Contact sayfasındaki butonun navbar ile aynı koyu renk olması */

#contactForm .btn {

    background-color: #1a1a1a; /* Navbar koyu rengi */

    border-color: #1a1a1a;

    color: #fff; /* Yazı rengi beyaz */

    transition: background-color 0.3s, border-color 0.3s;

}



#contactForm .btn:hover {

    background-color: #333; /* Hover efekti biraz daha açık koyu */

    border-color: #333;

}


/* Timeline Ortala */
.timeline {
    display: flex;
    flex-direction: column; /* Dikey liste için */
    align-items: center;    /* İçerikleri yatayda ortala */
    padding: 0;             /* Gereksiz padding varsa kaldır */
    list-style: none;       /* Nokta işaretlerini kaldır */
}

.timeline li {
    width: 100%;            /* Eğer full genişlik istemiyorsan yüzdeyi azaltabilirsin */
    max-width: 700px;       /* İsteğe bağlı: timeline genişliği */
    margin-bottom: 2rem;    /* Liste öğeleri arası boşluk */
}

.timeline .timeline-panel {
    text-align: center;     /* Panel içindeki yazıları ortala */
}


/* Timeline yatay düzen için */
.timeline {
    display: flex;
    flex-direction: column; /* Timeline dikey kalır */
    align-items: center;    
    padding: 0;
    list-style: none;
}

.timeline li {
    display: flex;             /* Foto ve yazı yan yana */
    align-items: center;       /* Dikeyde ortala */
    justify-content: flex-start; /* Foto sol, yazı sağ */
    width: 100%;
    max-width: 900px;          /* Genişliği sınırlamak için */
    margin-bottom: 2rem;
}

.timeline .timeline-image {
    flex: 0 0 150px;           /* Sabit genişlikli foto */
    margin-right: 2rem;        /* Foto ile yazı arası boşluk */
}

.timeline .timeline-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.timeline .timeline-panel {
    flex: 1;                   /* Yazı paneli kalan alanı kaplar */
    text-align: left;          /* Yazılar sola yaslı */
}

#about .timeline {
    margin-top: 50px; /* timeline üstten boşluk */
}

/* Alt 3 resim (team-member) boyutunu ve aralarını düzenleme */
#content .team-member img {
    max-width: 350px; /* resim boyutunu küçülttük, ihtiyaca göre değiştir */
    height: auto;
    margin: 0 auto 20px auto; /* alt boşluk 20px */
    display: block;
}

/* Team-member container arası boşluk */
#content .row > .col-lg-4 {
    padding: 15px; /* kolonlar arasına boşluk ekledik */
}

/* Team-member içeriğini ortala */
#content .team-member {
    text-align: center; /* resim + başlık + açıklama ortalanır */
}

/* Resimler için boyut ve margin (önceki öneriyle birleştirilebilir) */
#content .team-member img {
    max-width: 350px;
    height: auto;
    margin: 0 auto 15px auto; /* alt boşluk 15px */
    display: block;
}

/* About sayfası navbar ile içerik arasına boşluk ekle */
#about {
    padding-top: 50px; /* Navbar altına 100px boşluk bırakır */
}

/* Eğer H2 + H3 arasındaki boşluğu da arttırmak istersen */
#about .text-center h2 {
    margin-bottom: 30px; /* H2 ile H3 arası */
}