/* Trans Express Lojistik - Ana Stil Dosyası */

/* Genel Stiller */
:root {
    --primary-color: #0056b3;
    --primary-hover: #004494;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 86, 179, 0.2);
}

/* Header Stiller */
.navbar {
    background-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow: none;
    padding: 2rem 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.scrolled {
    padding: 1rem 0;
}

.navbar-brand {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: transparent;
}

.navbar-brand img {
    max-height: 150px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    display: block;
    margin: 0 auto;
    background-color: transparent;
    border: none;
    padding: 0;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Slider Stiller */
.carousel-item {
    height: 500px;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    bottom: 120px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-caption p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Bölüm Stiller */
.section-heading {
    position: relative;
    padding-bottom: 15px;
}

.section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #0056b3;
}

/* Kart Stiller */
.card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.2rem;
}

.card-title {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
}

.card-text {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Footer Stiller */
footer {
    background-color: var(--dark-gray);
    color: #fff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
}

.footer-heading {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

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

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.social-icons {
    margin-top: 2rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Jumbotron Stiller */
.jumbotron {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    margin-bottom: 0;
}

.jumbotron::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.jumbotron .container {
    position: relative;
    z-index: 1;
}

/* Responsive Ayarlar */
@media (max-width: 991px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar-brand {
        display: block;
        text-align: center;
    }

    .navbar-brand img {
        max-height: 120px;
    }

    .nav-link:after {
        display: none;
    }

    .carousel-item {
        height: 400px;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .carousel-item {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .carousel-item {
        height: 200px;
    }
}

    .carousel-caption {
        bottom: 60px;
        padding: 20px;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .jumbotron {
        padding: 60px 0;
    }

    .card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .carousel-item {
        height: 300px;
    }

    .carousel-caption {
        bottom: 30px;
        padding: 15px;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .card-img-top {
        height: 180px;
    }

    footer {
        padding: 3rem 0 1rem;
    }

    .footer-heading {
        margin-top: 2rem;
    }

    .social-icons {
        margin-top: 1rem;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
        margin-right: 0.5rem;
    }
}

/* WhatsApp Butonu Stili */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.whatsapp-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, #25D366, #128C7E);
    color: white !important;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #fff;
    position: relative;
    z-index: 2;
    animation: whatsapp-pulse 2s infinite;
    visibility: visible !important;
    opacity: 1 !important;
}

.whatsapp-button i {
    font-size: 42px;
    display: inline-block !important;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background: linear-gradient(145deg, #128C7E, #075E54);
    transform: scale(1.1) rotate(5deg);
    color: white !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.whatsapp-button:hover i {
    transform: scale(1.1);
}

.whatsapp-pulse {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.5);
    z-index: 1;
    animation: whatsapp-pulse 1.5s infinite;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 575px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-button i {
        font-size: 36px;
    }
    
    .whatsapp-pulse {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 575px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .carousel-caption {
        bottom: 20px;
        padding: 10px;
    }

    .carousel-caption h2 {
        font-size: 1.25rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
        font-size: 0.8rem;
    }
    
    /* WhatsApp butonu mobil görünüm ayarları */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999;
    }
    
    .whatsapp-button {
        width: 60px;
        height: 60px;
        display: flex !important;
    }
    
    .whatsapp-button i {
        font-size: 36px;
        display: inline-block !important;
    }
    
    .whatsapp-pulse {
        width: 70px;
        height: 70px;
    }
}