:root {
    --primary-color: #22252a;
    --secondary-color: #2e3238;
    --light-color: #fff;
    --dark-color: #333;
    --font-color: #000;
    --logo-turuncu: #f48420;
    --logo-siyah: #090808;
    --logo-beyaz: #d9d9d9;
}

/* Genel Ayarlar */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color) !important;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    background-color: #2e3238;
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    color: white;
}

.container {
    max-width: 75%;
}

/* NAVBAR */
.navbar {
    background: var(--primary-color) !important;
}

.bg-dark {
    background: var(--dark-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

.bg-light {
    background: var(--light-color);
}

.navbar-brand img {
    max-height: 80px;
    height: auto;
    width: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.3s ease, font-weight 0.3s ease;
}

    .navbar-dark .navbar-nav .nav-link.active {
        opacity: 1;
        border-bottom: 2px solid #fff;
        padding-bottom: 4px;
    }

/* HEADER */
header h1,
header p {
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgb(0, 0, 0);
}

/* PROJECTS */
#projects {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}

.project-card {
    height: 631px;
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-color);
    color: var(--logo-beyaz);
    text-shadow: 1px 1px 6px rgb(0, 0, 0);
    border: none;
    border-radius: 2%;
    width: 100%;
}

    .project-card .card-img-top {
        height: 600px;
        object-fit: cover;
        width: 100%;
        border-radius: 2% !important;
    }

    .project-card .card-body {
        padding: 0.25rem 0.5rem;
        background-color: var(--secondary-color);
    }

    .project-card .card-title {
        font-size: 1rem;
        margin-bottom: 0;
    }

/* One Cikan Baslik */
.one-cikan-baslik {
    display: block;
    margin: 0 auto;
    width: fit-content;
    text-align: center;
    color: var(--light-color);
    margin-bottom: 1.5rem;
    padding: .5rem 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 6px rgb(0, 0, 0);
    border-bottom: 1px solid #ccc;
}

/* HAKKIMIZDA */
#hakkimizda-section {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

    #hakkimizda-section .hakkimizda-baslik {
        color: var(--primary-color);
        text-align: center;
    }

        #hakkimizda-section .hakkimizda-baslik p {
            font-style: italic;
            font-size: 1.1rem;
        }

        #hakkimizda-section .hakkimizda-baslik a {
            color: var(--primary-color);
            text-decoration: none;
        }

            #hakkimizda-section .hakkimizda-baslik a:hover {
                text-decoration: underline;
            }

.hakkimizda-foto {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    height: 450px;
}
/* HİZMETLER */
#hizmetler {
    border-bottom: 1px solid #ccc;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 4rem;
}

    #hizmetler h2 {
        font-size: 2rem;
        font-weight: bold;
        color: var(--light-color);
        position: relative;
        display: inline-block;
        padding-bottom: 0.5rem;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 6px rgb(0, 0, 0);
    }

    #hizmetler .card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        #hizmetler .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

    #hizmetler .card-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #222;
    }

    #hizmetler .card-text {
        font-size: 1rem;
        color: #555;
    }

    #hizmetler .card-img-top {
        height: 500px;
        object-fit: cover;
        object-position: center;
    }

    /* FOOTER */
    footer{
        background-color: var(--primary-color);
    }

    footer a {
        color: white;
        text-decoration: none;
    }

    footer a:hover {
        text-decoration: underline;
    }

footer ul {
    list-style: none;
    padding-left: 0;
}

    footer ul li {
        color: white;
        margin-bottom: 0.5rem;
    }

    footer ul.list-unstyled {
        display: flex;
        flex-wrap: wrap; /* Gerekirse alt satıra geç */
        gap: 10px; /* Elemanlar arası boşluk */
        justify-content: center; /* Ortala veya istersen flex-start */
        padding-left: 0;
        margin: 0;
    }

        /* Telefon numaraları yan yana */
        footer ul.list-unstyled li {
            white-space: nowrap; /* Satır kırılmasını engelle */
            font-size: 1rem;
        }



footer .btn-icon {
    color: white;
    border: 1px solid white;
    margin-right: 0.25rem;
}

footer .col-md-2,
footer .col-md-3 {
    padding-bottom: 1rem;
}

/* BUTONLAR */
.btn-light {
    border: none;
}

    .btn-light:hover {
        color: var(--light-color);
        background-color: var(--primary-color);
        border: none;
    }

.invert-hover {
    background-color: #fff;
    color: #393E46;
    border: 1px solid transparent !important;
    transition: all 0.3s ease !important;
}

    .invert-hover:hover {
        background-color: var(--primary-color) !important;
        color: var(--light-color) !important;
        border-color: var(--light-color) !important;
    }

.invert-hover-2 {
    background-color: var(--light-color) !important;
    color: var(--primary-color) !important;
    border: 1px solid transparent !important;
    transition: all 0.3s ease !important;
}

    .invert-hover-2:hover {
        background-color: var(--primary-color) !important;
        color: var(--light-color) !important;
        border-color: var(--light-color) !important;
    }

/* LOGO FADE */
#logo-fade {
    background-color: #393E46;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

    #logo-fade.visible {
        opacity: 1 !important;
        pointer-events: all;
        background-color: #393E46 !important;
        transition: opacity 0.6s ease;
    }
footer .row {
    min-height: 150px; /* İstersen artırabilir ya da azaltabilirsin */
}

    footer .row > div {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Dikey ortala */
        align-items: center; /* Yatay ortala */
        text-align: center;
    }

/* RESPONSIVE */
@media (min-width: 1400px) {
    .row-cols-lg-2 {
        --bs-columns: 2;
    }
    .project-card {
        height: auto;
    }
        .project-card .card-img-top {
            height: 500px;
        }
}

@media (min-width: 991.98px) and (max-width: 1400px) {
    .row-cols-md-2 {
        --bs-columns: 2;
    }
    .project-card {
        height: auto;
    }
        .project-card .card-img-top {
            height: 450px;
        }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .row-cols-md-2 {
        --bs-columns: 2;
    }
    .project-card {
        height: auto;
    }
        .project-card .card-img-top {
            height: 400px;
        }
}

@media (max-width: 767.98px) {
    header > div {
        text-align: center !important;
        padding: 1rem;
    }

    header .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        float: none !important;
    }

    header button.btn {
        display: block !important;
        margin: 0 auto !important;
    }

    .row-cols-1 {
        --bs-columns: 1;
    }

    .hakkimizda-foto {
        max-width: 100%;
        height: 250px;
    }

    #hakkimizda-section .hakkimizda-baslik p {
        font-style: italic;
        font-size: 0.8rem;
    }

    #hakkimizda-section .hakkimizda-baslik h2 {
        margin-top: 1.5rem;
    }

    .project-card .card-img-top {
        height: 350px;
    }

    .project-card {
        height: auto;
    }

    .card-body h5 {
        font-size: 1rem;
    }

    .card-body p {
        font-size: 0.85rem;
    }

    .navbar-brand img {
        height: 75px;
        width: auto;
    }

    #hizmetler .card-img-top {
        height: 200px;
    }
}

/* ÖZEL RENKLER */
.icon-kat-karsiligi,
.icon-kentsel-donusum {
    color: var(--logo-turuncu);
}

.big-image {
    width: 600px;
    height: 400px;
    object-fit: cover;
}

.thumbnail-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

@media (max-width: 1250px) {
    footer .row {
        display: flex;
        flex-wrap: wrap; /* Satır taşarsa alt satıra geçsin */
        justify-content: center;
        text-align: center;
    }

        footer .row > div {
            flex: 0 0 50%; /* Her kolon genişliği %50 yani 2 kolon */
            max-width: 50%;
            margin-bottom: 1rem;
            box-sizing: border-box;
            padding: 0 1rem; /* İstersen yatay boşluk */
        }

    /* text-nowrap iPad’de normal yap */
    footer .text-nowrap {
        white-space: normal !important;
    }

    /* Adres paragrafı */
    footer p {
        max-width: 100%;
        margin: 0 auto;
        word-wrap: break-word;
    }
    footer ul.list-unstyled li {
        font-size: 0.9rem;
    }
}