/* Ana Stil Dosyası */

/* Genel Stiller */
:root {
    /* Bu sabitlere ihtiyaç var çünkü Bootstrap üzerine eklediğimiz
       değişkenlerle özelleştirildi. Renkler her zaman header'da
       dinamik olarak ayarlanan değişkenlerden alınır */
    --primary-color: var(--primary-color);
    --secondary-color: var(--secondary-color);
    --danger-color: #dc3545;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: var(--text-color);
    --dark-color-2: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
}

main {
    flex: 1 0 auto;
}

/* Yardımcı Sınıflar */
.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin-bottom: 25px;
}

.min-vh-80 {
    min-height: 60vh;
}

.shadow-hover {
    transition: box-shadow 0.3s;
}

.shadow-hover:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* Üst Bar */
.top-bar {
    font-size: 0.9rem;
}

.top-bar .list-inline-item {
    margin-right: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .active>.nav-link {
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(13, 110, 253, 0.85), rgba(13, 90, 230, 0.95)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.hero-image {
    max-height: 350px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(33, 37, 41, 0.85), rgba(33, 37, 41, 0.95)), url('../img/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    margin-bottom: 0;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
}

/* Section Titles */
.section-title .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.section-title .title {
    font-weight: 700;
    margin-bottom: 15px;
}

/* Features Section */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border-bottom: 3px solid var(--primary-color);
}

.feature-icon {
    color: var(--primary-color);
}

/* Services Section */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.service-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 60px 0;
}

.service-item:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(220, 53, 69, 0.9), rgba(200, 35, 51, 0.95)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* About Section */
.about-image {
    position: relative;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    width: 120px;
    height: 120px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    right: -30px;
    bottom: -30px;
    z-index: 2;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Team Section */
.team-member {
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-img {
    overflow: hidden;
    border-radius: 10px;
}

.member-img img {
    transition: transform 0.3s ease;
}

.team-member:hover .member-img img {
    transform: scale(1.05);
}

.social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(13, 110, 253, 0.9) 0%, rgba(13, 110, 253, 0) 100%);
    padding: 20px 0 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 10px 10px;
}

.team-member:hover .social-links {
    opacity: 1;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Testimonial Section */
.testimonial-item {
    position: relative;
}

.testimonial-img img {
    border: 3px solid var(--primary-color);
}

/* Contact Section */
.contact-info-item .icon-box {
    margin: 0 auto 20px;
}

/* Form Styles */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.contact-map iframe {
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Working Hours Section */
.working-hours-wrapper {
    position: relative;
}

/* Emergency Tips Section */
.emergency-tip {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emergency-tip:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.tip-icon {
    font-size: 2.5rem;
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
}

.footer-top {
    padding: 60px 0 30px;
}

.footer-bottom {
    background-color: var(--dark-color-2);
    padding: 15px 0;
}

.widget-title {
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.social-icon-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon-footer:hover {
    background-color: var(--primary-color);
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Animasyonlar */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .btn-group {
        justify-content: center;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        right: -20px;
        bottom: -20px;
    }
}

@media (max-width: 767.98px) {
    .divider {
        margin: 0 auto 25px;
    }
    
    .top-bar {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .top-bar .list-inline-item {
        margin-right: 8px;
    }
    
    .service-item .flex-row-reverse {
        flex-direction: column-reverse !important;
    }
    
    .service-content {
        text-align: center;
        margin-top: 30px;
    }
    
    .service-content .divider {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Sayfa Başlık Alanı */
.page-title-area {
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    background-color: var(--primary-color);
    color: white;
    overflow: hidden; /* Taşan içerikleri gizle */
    z-index: 10; /* düşük z-index yapsın */
}

.page-title-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.page-title-content ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Wrap on small screens */
}

.page-title-content ul li {
    display: inline-block;
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.page-title-content ul li::after {
    content: "/";
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.page-title-content ul li:last-child::after {
    display: none;
}

.page-title-content ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-title-content ul li a:hover {
    color: white;
}

/* Takip Alanı İçin Özel Stiller */
.tracking-area {
    padding: 60px 0;
}

.tracking-form {
    margin-top: 30px;
}

/* Transport Status Timeline */
.transport-status-timeline .timeline {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0 20px;
    list-style: none;
    position: relative;
}

.transport-status-timeline .timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #eee;
    z-index: 0;
}

.transport-status-timeline .timeline li {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.transport-status-timeline .timeline li .timeline-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.transport-status-timeline .timeline li .status-icon {
    width: 40px;
    height: 40px;
    background-color: #eee;
    color: #aaa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.transport-status-timeline .timeline li.active .status-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.2);
}

.transport-status-timeline .timeline li .status-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #777;
    transition: color 0.3s ease;
}

.transport-status-timeline .timeline li.active .status-text {
    color: var(--primary-color);
    font-weight: 600;
}

.updates-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.update-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.update-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.update-date {
    min-width: 80px;
    text-align: center;
    margin-right: 20px;
}

.update-date .date {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.update-date .time {
    display: block;
    font-size: 0.8rem;
    color: #777;
}

.update-content {
    flex: 1;
}

.ptb-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .ptb-100 {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .page-title-area {
        padding: 30px 0;
        margin-bottom: 30px;
        min-height: 100px;
        display: flex;
        align-items: center;
    }
    
    .page-title-content h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .transport-status-timeline .timeline {
        flex-direction: column;
        margin: 0;
    }
    
    .transport-status-timeline .timeline::before {
        top: 0;
        left: 20px;
        width: 4px;
        height: 100%;
    }
    
    .transport-status-timeline .timeline li {
        display: flex;
        margin-bottom: 20px;
        text-align: left;
        padding: 0;
    }
    
    .transport-status-timeline .timeline li .timeline-info {
        flex-direction: row;
        align-items: center;
    }
    
    .transport-status-timeline .timeline li .status-icon {
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    /* WhatsApp ve Mobil Tarayıcı Uyumluluğu Düzeltmeleri */
    .container {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
        overflow-x: hidden;
    }
    
    body, html {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .update-item {
        flex-direction: column;
    }
    
    .update-date {
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
        width: 100%;
        text-align: left;
        margin-right: 0;
    }
}

/* WhatsApp specific fixes */
@media screen and (max-width: 600px) {
    .page-title-area {
        min-height: 80px !important;
        padding: 15px 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .page-title-content {
        width: 100% !important;
        z-index: 2 !important;
    }
    
    .page-title-content h2 {
        font-size: 1.3rem !important;
        margin-bottom: 5px !important;
    }
    
    .page-title-content ul {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .page-title-content ul li {
        font-size: 0.8rem !important;
        margin: 0 3px !important;
    }
    
    body, html {
        width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix scroll issues */
    html, body {
        position: relative;
        height: auto;
        min-height: 100%;
    }
    
    /* Prevent horizontal scrolling on all container elements */
    div, section, header, footer, main, article, nav, aside {
        max-width: 100%;
    }
}

/* Extra fixes for small screens */
@media screen and (max-width: 480px) {
    .page-title-area {
        height: auto !important;
        min-height: 60px !important;
    }
    
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
} 