: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;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('https://www.hasnerlaw.com/wp-content/uploads/2022/07/Can-Trucks-Drive-in-the-Left-Lane-in-Georgia.jpg') no-repeat fixed left center/cover;
    overflow-x: hidden;
}

/* Testimonial box için farklı arka plan desenleri */
.testimonial-box:nth-child(odd) {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.384) 95%, var(--opacity-blue) 95%);
}

/* Contact info ve form için arka plan desenleri */
.contact-info {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.384) 85%, var(--opacity-red) 85%);
}

.contact-form {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.384) 85%, var(--opacity-red) 85%);
}

.city-card {
    position: relative;
    background: rgba(255, 255, 255, 0.384);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s;
    height: 100%;
    border: 0;
}

.city-card::before {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 150px;
    height: 150px;
    background: var(--opacity-red);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.city-card:nth-child(even)::before {
    background: var(--opacity-red);
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.city-card:hover::before {
    opacity: 0.5;
}

/* FAQ soru kutuları için farklı arka plan desenleri */
.faq-question:nth-child(odd) {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.384) 93%, var(--opacity-red) 93%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.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: linear-gradient(to right, var(--primary-blue) 0%, var(--primary-blue) 30%, var(--primary-red) 100%);
    transition: width 0.3s;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.page-header {
    padding: 150px 0 80px;
    position: relative;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.breadcrumb {
    background: transparent;
    display: inline-flex;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--dark-red);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--dark-red);
}

.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));
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-list li i {
    margin-right: 10px;
    color: var(--primary-blue);
}

#about-detail h2 {
    font-size: 40px;
    color: var(--primary-red);
}

.team-box {
    background: rgba(255, 255, 255, 0.384);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.team-box::before {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 150px;
    height: 150px;
    background: var(--opacity-blue);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.team-box:nth-child(even)::before {
    background: var(--opacity-red);
}

.team-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-box:hover::before {
    opacity: 0.5;
}

.team-img {
    height: 300px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.team-box:hover .team-img img {
    transform: scale(1.1);
}

.team-content {
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.team-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-content p {
    color: #777;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-gray);
    color: var(--primary-blue);
    border-radius: 50%;
    transition: all 0.3s;
}

.team-social a:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.milestone-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    background: rgba(255, 255, 255, 0.384);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.milestone-box::before {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 150px;
    height: 150px;
    background: var(--opacity-blue);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.milestone-box:nth-child(even)::before {
    background: var(--opacity-red);
}

.milestone-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.milestone-box:hover::before {
    opacity: 0.5;
}

.milestone-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.milestone-box:nth-child(even) .milestone-icon {
    color: var(--primary-red);
}

.milestone-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.milestone-box:nth-child(even) .milestone-number {
    color: var(--primary-red);
}

.milestone-text {
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.history-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.history-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-red));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
    z-index: -1;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background: white;
    border: 4px solid var(--primary-blue);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -12px;
    border-color: var(--primary-red);
}

.timeline-content {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.384);
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    position: absolute;
    top: -15px;
    font-size: 1rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
}

.left .timeline-year {
    right: 20px;
    background: var(--primary-blue);
}

.right .timeline-year {
    left: 20px;
    background: var(--primary-red);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 10px;
}

.left .timeline-content h3 {
    color: var(--primary-blue);
}

.right .timeline-content h3 {
    color: var(--primary-red);
}

@media screen and (max-width: 767px) {
    .history-timeline::after {
        left: 31px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    

    .left::after,
    .right::after {
        left: 18px;
    }

    .right {
        left: 0%;
    }

    .left .timeline-year,
    .right .timeline-year {
        left: 50%;
        right: auto;
        transform: translate(-50%);
    }
}

.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;
}

/* Responsive */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .about-img {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 110px 0 0 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 20px 0;
    }

    .section-title h2,#about-detail h2 {
        font-size: 2rem;
        text-align:center;
    }
    p{
        text-align:center;
    }
    .milestone-number {
        font-size:1.7rem;
    }
    .milestone-text{
        font-size:1.4rem;
        text-align:center;
    }
    .team-box {
        margin-bottom: 30px;
    }
    .right .timeline-content h3,.left .timeline-content h3 {
        text-align:center;
    }
}


/* 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;
}


/* 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);
    }
}
