/* ============================================
   TasiFix Web - Custom Theme CSS
   Mobil uygulama ile uyumlu renk paleti
   ============================================ */

:root {
    /* Primary Colors */
    --tf-primary-yellow: #FFCC02;
    --tf-primary-yellow-hover: #FFB800;
    --tf-primary-yellow-light: #FFF4CC;
    --tf-primary-dark: #1C1C1E;

    /* Service Colors */
    --tf-courier-blue: #007AFF;
    --tf-courier-blue-hover: #0056b3;
    --tf-moving-orange: #FF6B35;
    --tf-moving-orange-hover: #e55a2b;

    /* Status Colors */
    --tf-success: #34C759;
    --tf-success-light: #d4edda;
    --tf-error: #FF3B30;
    --tf-error-light: #f8d7da;
    --tf-warning: #FF9500;
    --tf-warning-light: #fff3cd;
    --tf-info: #007AFF;
    --tf-info-light: #cce5ff;

    /* Background Colors */
    --tf-bg-light: #FAFAFA;
    --tf-bg-white: #FFFFFF;
    --tf-bg-grey: #F5F5F5;
    --tf-bg-dark: #1C1C1E;

    /* Text Colors */
    --tf-text-primary: #1C1C1E;
    --tf-text-secondary: #8E8E93;
    --tf-text-light: #AEAEB2;
    --tf-text-white: #FFFFFF;

    /* Border Colors */
    --tf-border: #E5E5EA;
    --tf-border-light: #F0F0F0;
    --tf-divider: #E0E0E0;

    /* Shadows */
    --tf-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --tf-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --tf-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --tf-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --tf-radius-sm: 8px;
    --tf-radius-md: 12px;
    --tf-radius-lg: 16px;
    --tf-radius-xl: 24px;
    --tf-radius-full: 50%;

    /* Typography */
    --tf-font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Transitions */
    --tf-transition-fast: 0.15s ease;
    --tf-transition-normal: 0.3s ease;
    --tf-transition-slow: 0.5s ease;
}

/* ============================================
   Global Styles
   ============================================ */

body {
    font-family: var(--tf-font-family);
    background-color: var(--tf-bg-light);
    color: var(--tf-text-primary);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--tf-text-primary);
    margin-bottom: 1rem;
}

a {
    color: var(--tf-primary-yellow);
    text-decoration: none;
    transition: color var(--tf-transition-fast);
}

a:hover {
    color: var(--tf-primary-yellow-hover);
}

/* ============================================
   Button Styles
   ============================================ */

.btn-tf-primary {
    background: var(--tf-primary-yellow);
    border: 2px solid var(--tf-primary-yellow);
    color: var(--tf-primary-dark);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--tf-radius-md);
    transition: all var(--tf-transition-normal);
    box-shadow: var(--tf-shadow-sm);
}

.btn-tf-primary:hover {
    background: var(--tf-primary-yellow-hover);
    border-color: var(--tf-primary-yellow-hover);
    color: var(--tf-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--tf-shadow-md);
}

.btn-tf-outline {
    background: transparent;
    border: 2px solid var(--tf-primary-yellow);
    color: var(--tf-primary-dark);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--tf-radius-md);
    transition: all var(--tf-transition-normal);
}

.btn-tf-outline:hover {
    background: var(--tf-primary-yellow);
    color: var(--tf-primary-dark);
}

.btn-tf-dark {
    background: var(--tf-primary-dark);
    border: 2px solid var(--tf-primary-dark);
    color: var(--tf-text-white);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--tf-radius-md);
    transition: all var(--tf-transition-normal);
}

.btn-tf-dark:hover {
    background: #2c2c2e;
    border-color: #2c2c2e;
    color: var(--tf-text-white);
}

.btn-tf-courier {
    background: var(--tf-courier-blue);
    border: 2px solid var(--tf-courier-blue);
    color: var(--tf-text-white);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--tf-radius-md);
    transition: all var(--tf-transition-normal);
}

.btn-tf-courier:hover {
    background: var(--tf-courier-blue-hover);
    border-color: var(--tf-courier-blue-hover);
    color: var(--tf-text-white);
}

.btn-tf-moving {
    background: var(--tf-moving-orange);
    border: 2px solid var(--tf-moving-orange);
    color: var(--tf-text-white);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--tf-radius-md);
    transition: all var(--tf-transition-normal);
}

.btn-tf-moving:hover {
    background: var(--tf-moving-orange-hover);
    border-color: var(--tf-moving-orange-hover);
    color: var(--tf-text-white);
}

/* ============================================
   Card Styles
   ============================================ */

.tf-card {
    background: var(--tf-bg-white);
    border-radius: var(--tf-radius-lg);
    box-shadow: var(--tf-shadow-sm);
    border: 1px solid var(--tf-border-light);
    transition: all var(--tf-transition-normal);
    overflow: hidden;
}

.tf-card:hover {
    box-shadow: var(--tf-shadow-md);
    transform: translateY(-4px);
}

.tf-card-body {
    padding: 24px;
}

.tf-card-courier {
    border-left: 4px solid var(--tf-courier-blue);
}

.tf-card-moving {
    border-left: 4px solid var(--tf-moving-orange);
}

/* ============================================
   Navbar Styles
   ============================================ */

.tf-navbar {
    background: var(--tf-bg-white);
    box-shadow: var(--tf-shadow-sm);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tf-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--tf-primary-dark);
}

.tf-navbar .navbar-brand img {
    height: 40px;
    width: auto;
}

.tf-navbar .nav-link {
    color: var(--tf-text-primary);
    font-weight: 500;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: var(--tf-radius-sm);
    transition: all var(--tf-transition-fast);
}

.tf-navbar .nav-link:hover,
.tf-navbar .nav-link.active {
    color: var(--tf-primary-dark);
    background: var(--tf-primary-yellow-light);
}

/* ============================================
   Hero Section
   ============================================ */

.tf-hero {
    background: linear-gradient(135deg, var(--tf-primary-yellow) 0%, var(--tf-primary-yellow-hover) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.tf-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('/images/hero/hero-banner.png') center center / cover no-repeat;
    opacity: 0.15;
}

.tf-hero-content {
    position: relative;
    z-index: 1;
}

.tf-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--tf-primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tf-hero p {
    font-size: 1.25rem;
    color: var(--tf-primary-dark);
    opacity: 0.9;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .tf-hero h1 {
        font-size: 2.5rem;
    }
    .tf-hero p {
        font-size: 1.1rem;
    }
}

/* ============================================
   Service Cards
   ============================================ */

.tf-service-card {
    background: var(--tf-bg-white);
    border-radius: var(--tf-radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--tf-transition-normal);
    border: 2px solid transparent;
    height: 100%;
}

.tf-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--tf-shadow-lg);
}

.tf-service-card.courier:hover {
    border-color: var(--tf-courier-blue);
}

.tf-service-card.moving:hover {
    border-color: var(--tf-moving-orange);
}

.tf-service-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 24px;
}

.tf-service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.tf-service-card p {
    color: var(--tf-text-secondary);
    margin-bottom: 24px;
}

/* ============================================
   How It Works Section
   ============================================ */

.tf-steps {
    counter-reset: step-counter;
}

.tf-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.tf-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    background: var(--tf-primary-yellow);
    border-radius: var(--tf-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tf-primary-dark);
    box-shadow: var(--tf-shadow-sm);
}

.tf-step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tf-step p {
    color: var(--tf-text-secondary);
    margin: 0;
}

/* ============================================
   Features Section
   ============================================ */

.tf-feature {
    text-align: center;
    padding: 32px 24px;
}

.tf-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--tf-primary-yellow-light);
    border-radius: var(--tf-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--tf-primary-dark);
}

.tf-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tf-feature p {
    color: var(--tf-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   Section Styles
   ============================================ */

.tf-section {
    padding: 80px 0;
}

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

.tf-section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tf-section-title p {
    font-size: 1.125rem;
    color: var(--tf-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.tf-section-alt {
    background: var(--tf-bg-grey);
}

/* ============================================
   CTA Section
   ============================================ */

.tf-cta {
    background: var(--tf-primary-dark);
    padding: 80px 0;
    text-align: center;
}

.tf-cta h2 {
    color: var(--tf-text-white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.tf-cta p {
    color: var(--tf-text-light);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* ============================================
   Footer Styles
   ============================================ */

.tf-footer {
    background: var(--tf-primary-dark);
    color: var(--tf-text-light);
    padding: 60px 0 30px;
}

.tf-footer h5 {
    color: var(--tf-text-white);
    font-weight: 600;
    margin-bottom: 20px;
}

.tf-footer a {
    color: var(--tf-text-light);
    transition: color var(--tf-transition-fast);
}

.tf-footer a:hover {
    color: var(--tf-primary-yellow);
}

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

.tf-footer-links li {
    margin-bottom: 12px;
}

.tf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 40px;
}

.tf-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--tf-radius-full);
    margin-right: 12px;
    font-size: 1.125rem;
    transition: all var(--tf-transition-fast);
}

.tf-footer-social a:hover {
    background: var(--tf-primary-yellow);
    color: var(--tf-primary-dark);
}

/* ============================================
   Form Styles
   ============================================ */

.tf-form-control {
    background: var(--tf-bg-grey);
    border: 2px solid transparent;
    border-radius: var(--tf-radius-md);
    padding: 14px 18px;
    font-size: 1rem;
    transition: all var(--tf-transition-fast);
}

.tf-form-control:focus {
    background: var(--tf-bg-white);
    border-color: var(--tf-primary-yellow);
    box-shadow: 0 0 0 4px rgba(255, 204, 2, 0.15);
    outline: none;
}

.tf-form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--tf-text-primary);
}

/* ============================================
   Price Calculator
   ============================================ */

.tf-price-box {
    background: linear-gradient(135deg, var(--tf-primary-yellow) 0%, var(--tf-primary-yellow-hover) 100%);
    border-radius: var(--tf-radius-xl);
    padding: 40px;
    text-align: center;
}

.tf-price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--tf-primary-dark);
}

.tf-price-label {
    font-size: 1.125rem;
    color: var(--tf-primary-dark);
    opacity: 0.8;
}

/* ============================================
   FAQ Accordion
   ============================================ */

.tf-accordion .accordion-button {
    background: var(--tf-bg-white);
    font-weight: 600;
    color: var(--tf-text-primary);
    padding: 20px 24px;
    border-radius: var(--tf-radius-md);
}

.tf-accordion .accordion-button:not(.collapsed) {
    background: var(--tf-primary-yellow-light);
    color: var(--tf-primary-dark);
}

.tf-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--tf-primary-yellow);
}

.tf-accordion .accordion-body {
    padding: 20px 24px;
    color: var(--tf-text-secondary);
}

/* ============================================
   Legal Pages
   ============================================ */

.tf-legal {
    background: var(--tf-bg-white);
    border-radius: var(--tf-radius-lg);
    padding: 48px;
    box-shadow: var(--tf-shadow-sm);
}

.tf-legal h1 {
    font-size: 2rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--tf-primary-yellow);
}

.tf-legal h2 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 16px;
}

.tf-legal h3 {
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.tf-legal p, .tf-legal li {
    color: var(--tf-text-secondary);
    line-height: 1.8;
}

.tf-legal ul, .tf-legal ol {
    padding-left: 24px;
}

.tf-legal li {
    margin-bottom: 8px;
}

/* ============================================
   Contact Page
   ============================================ */

.tf-contact-info {
    background: var(--tf-bg-grey);
    border-radius: var(--tf-radius-lg);
    padding: 32px;
}

.tf-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.tf-contact-item:last-child {
    margin-bottom: 0;
}

.tf-contact-icon {
    width: 48px;
    height: 48px;
    background: var(--tf-primary-yellow);
    border-radius: var(--tf-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--tf-primary-dark);
    margin-right: 16px;
    flex-shrink: 0;
}

.tf-contact-text h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.tf-contact-text p {
    color: var(--tf-text-secondary);
    margin: 0;
}

/* ============================================
   Payment Page
   ============================================ */

.tf-payment-card {
    background: var(--tf-bg-white);
    border-radius: var(--tf-radius-xl);
    padding: 40px;
    box-shadow: var(--tf-shadow-md);
}

.tf-payment-summary {
    background: var(--tf-bg-grey);
    border-radius: var(--tf-radius-lg);
    padding: 24px;
}

.tf-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tf-success-light);
    color: var(--tf-success);
    padding: 8px 16px;
    border-radius: var(--tf-radius-md);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ============================================
   Animations
   ============================================ */

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   Responsive Utilities
   ============================================ */

@media (max-width: 992px) {
    .tf-section {
        padding: 60px 0;
    }

    .tf-section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .tf-hero {
        padding: 60px 0 80px;
    }

    .tf-section {
        padding: 48px 0;
    }

    .tf-legal {
        padding: 24px;
    }

    .tf-payment-card {
        padding: 24px;
    }
}
