/* Main Styles */
:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Header Styles */
.header-section {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand i {
    font-size: 1.5rem;
    color: var(--whatsapp-color);
}

/* Hero Section */
.hero-section {
    background: var(--light-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248,249,250,0.95) 0%, rgba(233,236,239,0.85) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h2 {
    font-weight: 700;
    color: var(--dark-color);
}

.hero-image-container {
    position: relative;
}

.hero-card, .hero-stats-card {
    height: 100%;
    min-height: 500px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-card:hover, .hero-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.delivery-time {
    background: var(--light-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.delivery-time i {
    font-size: 1.2rem;
}

.stat-item {
    padding: 15px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--light-color);
    transform: translateY(-3px);
}

.stat-icon {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.stat-label {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Stats Card Carousel */
.hero-stats-card {
    padding: 2rem;
}

.carousel {
    width: 100%;
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.carousel-item img {
    object-fit: contain;
    max-height: 400px;
    width: auto;
    margin: 0 auto;
    background: white;
    padding: 1rem;
    border-radius: 15px;
}

.stats-display {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
}

.stats-display h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stats-display .lead {
    font-size: 1.25rem;
    font-weight: 500;
}

.stats-indicators {
    position: absolute;
    bottom: -30px;
    z-index: 10;
}

.stats-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid white;
    margin: 0 5px;
}

.stats-indicators .active {
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--primary-color);
}

/* Stats Display Animation */
.carousel-item.active .stats-display i {
    animation: bounceIn 1s ease;
}

.carousel-item.active .stats-display h3 {
    animation: fadeInUp 0.5s ease 0.3s both;
}

.carousel-item.active .stats-display p {
    animation: fadeInUp 0.5s ease 0.5s both;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Kurye Animasyonları */
.floating {
    animation: 
        floating 3s ease-in-out infinite,
        moveRight 0.5s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes moveRight {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

/* Speed Lines Animation */
.floating svg g[stroke="#0D6EFD"] path {
    animation: flash 1s linear infinite;
    opacity: 0;
}

.floating svg g[stroke="#0D6EFD"] path:nth-child(2) {
    animation-delay: 0.3s;
}

.floating svg g[stroke="#0D6EFD"] path:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes flash {
    0% { opacity: 0; transform: translateX(20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-20px); }
}

/* Features Section */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-circle {
    transform: scale(1.1);
}

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

/* Service Areas */
.area-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    height: 100%;
}

.area-card .card-header {
    padding: 1.5rem;
    background: var(--light-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.area-card .card-header i {
    font-size: 1.5rem;
}

.area-card .card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.area-card .card-body {
    padding: 1.5rem;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.area-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.area-badge.active {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.area-badge.coming-soon {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

/* Courier Recruitment Section */
.courier-recruitment {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.15);
}

.benefit-item i {
    font-size: 1.5rem;
}

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

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.requirements-list i {
    color: #98ff98;
}

.recruitment-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.recruitment-card .card-icon {
    font-size: 3rem;
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: var(--whatsapp-color);
    border-color: var(--whatsapp-color);
    padding: 15px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn:hover {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    transform: scale(1.05);
    animation: none;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.2) 50%, rgba(255,255,255,0));
    transform: rotateZ(60deg) translate(-5em, 7.5em);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotateZ(60deg) translate(-5em, 7.5em); }
    100% { transform: rotateZ(60deg) translate(12em, -7.5em); }
}

/* Contact Banner */
.contact-banner {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    position: relative;
    overflow: hidden;
}

.contact-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        left: 150%;
    }
}

/* Footer */
.footer a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer a:hover {
    transform: scale(1.1);
}

/* All Districts Section */
.districts-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.district-group h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.districts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.districts-list span {
    background: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    cursor: default;
}

.districts-list span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .districts-list span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }

    .whatsapp-btn {
        width: 100%;
    }
}
