:root {
    --primary-blue: #0088e2;
    --primary-red: #c20000;
    --opacity-blue: #0088e231;
    --opacity-red: #c200002c;
    --soft-blue: #81c6ff;
    --soft-red: #ff8f8f;
    --dark-blue: #0073c0;
    --dark-red: #a30000;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #333;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* Navbar Stilleri */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    background-color: white !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-brand span.blue {
    color: var(--primary-blue);
}

.navbar-brand span.red {
    color: var(--primary-red);
}

.nav-link {
    font-weight: 500;
    margin-left: 15px;
    position: relative;
}

.nav-link.active {
    color: var(--primary-red) !important;
    font-weight: 600;
}

.nav-link:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

/* Hero Section - Sayfanın en üst bölümü */
.hero-section {
    background-size: cover !important;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 100px;
    /* Navbar için boşluk */
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-content .btn-cta {
    background: var(--primary-red);
    border: 2px solid var(--primary-red);
    color: white;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.hero-content .btn-cta:hover {
    background: transparent;
    color: var(--soft-red);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Ortak Bölüm Stilleri */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: var(--primary-blue);
}

.section-title h2:after {
    content: "";
    position: absolute;
    width: 70%;
    height: 3px;
    bottom: -10px;
    left: 15%;
    background: linear-gradient(
        to right,
        var(--primary-blue),
        var(--primary-red)
    );
}

/* Hakkımızda Bölümü */
.about-image-container {
    position: relative;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
}

.about-image-container img {
    width: 100%;
    border-radius: 15px;
}

.about-image-container:hover {
    transform: rotate(0deg);
}

.about-text h3 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.about-text ul li i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-right: 15px;
}

/* Neden Biz? Bölümü */
.why-us-card {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-us-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        to right,
        var(--primary-blue),
        var(--primary-red)
    );
    transform: translateY(-5px);
    transition: transform 0.4s ease;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.why-us-card:hover:before {
    transform: translateY(0);
}

.why-us-card .icon-box {
    display: inline-flex;
    width: 80px;
    height: 80px;
    background-color: var(--opacity-blue);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-us-card .icon-box i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.btn-primary {
    background-color: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Yeni Müşteri Yorumları Karusel Stilleri */
.testimonial-container {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.testimonial-container::-webkit-scrollbar {
    display: none;
}

.testimonial-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.review-card {
    flex: 0 0 auto;
    width: calc(100% - 2rem);
    max-width: 100%;
    scroll-snap-align: center;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.review-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.review-card .h5 {
    font-weight: 600;
    color: var(--primary-blue);
}

.review-card p.role {
    font-size: 0.9rem;
    color: #6c757d;
}

.testimonial-nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-nav-buttons button {
    background-color: #e2e8f0;
    color: #4a5568;
    padding: 12px;
    border-radius: 9999px;
    transition-property: background-color;
    transition-duration: 200ms;
    margin: 0 8px;
    border: none;
    cursor: pointer;
}

.testimonial-nav-buttons button:hover {
    background-color: #cbd5e0;
}

.testimonial-nav-buttons button svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 640px) {
    .review-card {
        width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .review-card {
        width: calc(33.333% - 16px);
    }
}

/* Galeri Bölümü */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: white;
}

/* Sıkça Sorulan Sorular */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    color: var(--dark-gray);
    background-color: white;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: var(--opacity-blue);
    box-shadow: none;
}

.accordion-body {
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #555;
    padding: 20px;
}

/* Teklif Alın Bölümü (Alt) - Yeni Desenli Arka Plan */
.cta-section {
    background: var(--primary-blue);
    background: linear-gradient(
        45deg,
        var(--primary-blue) 0%,
        var(--dark-blue) 100%
    );
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-radius: 15px;
    margin: 50px auto;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cta-section .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: white;
    color: var(--primary-blue);
    border: 2px solid white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-section .btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Harita Bölümü */
.map-section {
    background-color: #e9ecef;
}

.map-section h2 {
    margin-bottom: 30px;
}

.map-container {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 60px 0 0;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo span.blue {
    color: var(--soft-blue);
}

.footer-logo span.red {
    color: var(--soft-red);
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-links .h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links .h4:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--soft-blue), var(--soft-red));
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links ul li a i {
    margin-right: 10px;
    color: var(--soft-blue);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to top button */
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(
        to right,
        var(--primary-blue),
        var(--primary-red)
    );
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.back-to-top i {
    font-size: 1.5rem;
}

@media (max-width: 992px) {
    .navbar-nav {
        margin-top: 15px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
    }
    
}
@media (max-width: 720px) {
    .hero-content .btn-cta{
        font-size:1rem;
        padding: 5px 10px;
    }
    .section-title h2{
        font-size: 2rem;
        text-align:center;
    }
    .lead{
        font-size: 1rem;
    }
    .w-m-100{
        width:100%;
    }
}

/* Modal (Lightbox) Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

/* Modal içeriği ve görselin orantısını koruyan yeni stil */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90vw;
    /* Ekran genişliğinin %90'ı kadar */
    max-height: 90vh;
    /* Ekran yüksekliğinin %90'ı kadar */
    border-radius: 15px;
    object-fit: contain;
    /* Resmin orantısını koruyarak sığmasını sağlar */
}

.modal-content,
.modal-caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoom {
    from {
        transform: scale(0.1);
    }

    to {
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.breadcrumb {
    background-color: #ffffff9c;
    border-radius: 10px;
    width: max-content;
    padding: 5px 15px;
}

.breadcrumb a {
    text-decoration: none;
}
.breadcrumb-item.active {
    color: var(--primary-red);
}
