/* iletişim sayfası stilleri */
body {
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.card-custom {
    width: 350px;
    max-width: 500px;
    padding: 20px;
    border-radius: 20px;
    border: 2.7px solid #4a89a8;
    background-color: #fff;
}

.card-custom h2 {
    margin-top: 0;
    font-size: 35px;
    color: #333;
}

.contact-item {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.contact-item i {
    margin-right: 10px;
    color: #4a89a8;
    width: 20px;
    text-align: center;
}

.contact-item a,
.contact-item span {
    font-size: 23px;
    color: #333;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

a[href^="https:"],
a[href^="tel:"] {
    color: black;
    text-decoration: none;
}

a[href^="https:"]:hover,
a[href^="tel:"]:hover {
    color: darkred;
    text-decoration: underline;
}

ul {
    list-style-type: none;
}

iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

.text-primary-custom {
    color: #4a89a8 !important;
}

.text-secondary-custom {
    color: #12293b !important;
}

.text-color-custom {
    color: #e93e24 !important;
}

.carousel-inner img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    height: auto;
    min-height: 350px;
    max-height: 500px;
}

.carousel-caption.glass-effect {
    background: rgba(34, 41, 59, 0.7);
    /* Koyu yarı saydam */
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1) !important;
    width: 3rem;
    height: 3rem;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 0 !important;
}

.carousel-control-next {
    right: 0 !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 4rem;
    /* Buton genişliği */
    top: 50%;
    transform: translateY(-50%);
}

.carousel-item {
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 41, 59, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    width: auto;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: bold;
}

.carousel-caption p {
    font-size: 1.5rem;
}

.card-body {
    position: relative;
    z-index: 1;
    margin-top: 32px !important;
}

.card-body img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.border-start {
    border-color: #4a89a8;
}

/* Yeni stil eklemeleri */
.vertical-border {
    position: relative;
    width: 4px;
    height: 40px;
    background-color: #e93e24;
    margin: 0 20px;
    border-radius: 1px;
}

@media (max-width: 768px) {
    .carousel-inner img {
        min-height: 160px;
        max-height: 220px;
    }

    .carousel-caption {
        width: 96%;
        left: 2%;
        right: 2%;
        padding: 1rem 0.5rem;
    }

    .carousel-caption h1 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.7rem;
    }

    .card-body img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

    .project-img {
        max-width: 100%;
        height: 120px;
        margin-bottom: 10px;
    }

    .vertical-border {
        display: none;
    }

    .d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        height: auto !important;
        gap: 10px;
        text-align: center;
    }

    .d-flex.align-items-center.h-100 {
        flex-direction: column;
        gap: 8px;
    }

    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .card-body {
        margin-top: 8px !important;
    }

    #projeler {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem 0;
    }

    footer {
        font-size: 0.95rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
        opacity: 0 !important;
        position: absolute !important;
        pointer-events: none !important;
    }

    .carousel-control-prev,
    .carousel-control-next,
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        display: none !important;
    }
}

/* Projeler alanı stilleri */
#projeler {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.project-img {
    width: 100%;
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border: 2px solid #4a89a8;
    border-radius: 8px;
    transition: transform 0.3s;
    display: block;
    margin: 0 auto;
}

.project-img:hover {
    transform: scale(1.05);
}

.carousel-caption h1 {
    transition: transform 0.3s;
    transform-origin: left center;
    /* Sol kenar sabit, sağa büyür */
}

.carousel-caption h1:hover {
    transform: scaleX(1.15) scaleY(1.15);
}

.faq-list {
    text-align: left;
}

.faq-question {
    color: #12293b;
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #4a89a8;
    text-decoration: underline;
}

.faq-answer {
    margin-left: 0.5rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #333;
    min-height: 24px;
    border-left: 3px solid #4a89a8;
    padding-left: 12px;
    transition: all 0.3s;
}

.nav-link {
    border-radius: 10px;
    border: 1px solid #12293b;
    margin: 2px;
    color: grey;
}

.nav-link:hover {
    color: #e93e24;
}

.nav-link.active {
    font-weight: 600;
    background-color: #4a89a8 !important;
    color: white !important;
    border-radius: 10px;
}

.navbar-toggler {
    border-radius: 50%;
    width: 42px;
    height: 42px;
    border: 2px solid #4a89a8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.navbar-toggler-icon {
    filter: invert(1);
    width: 22px;
    height: 22px;
}

.fixed-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #12293b;
  color: white !important;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

