/* Trekkoa Brand System - Shared Styles */

/* Color Variables */
:root {
    --trekkoa-primary: #660530;
    --trekkoa-secondary: #970747;
    --trekkoa-primary-dark: #4A0E23;
    --trekkoa-secondary-dark: #7A0A3A;
    --trekkoa-background: #fef4e8;
    --trekkoa-text-primary: #2D3748;
    --trekkoa-text-secondary: #4A5568;
    --trekkoa-text-dark: #1A202C;
    --trekkoa-white: #ffffff;
    --trekkoa-light-gray: #e6e6e6;
}

/* Typography System */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--trekkoa-text-primary);
    background: var(--trekkoa-background);
}

/* Trekkoa Logo Component */
.trekkoa-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--trekkoa-background);
    text-decoration: none;
    transition: opacity 0.3s;
}

.trekkoa-logo:hover {
    opacity: 0.8;
    color: var(--trekkoa-background);
}

.trekkoa-logo-symbol {
    width: 36px;
    height: 36px;
    background-image: url('/static/images/trekkoa_TR.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.trekkoa-logo-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.025em;
}

/* Button System */
.btn {
    padding: 12px 24px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    font-family: inherit;
}

.btn-primary {
    background: var(--trekkoa-secondary);
    color: white;
}

.btn-primary:hover {
    background: var(--trekkoa-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(151, 7, 71, 0.3);
}

.btn-secondary {
    background: #F1F5F9;
    color: var(--trekkoa-text-dark);
    border: 2px solid var(--trekkoa-light-gray);
}

.btn-secondary:hover {
    background: var(--trekkoa-light-gray);
    color: var(--trekkoa-text-dark);
}

/* Typography Scale */
.heading-xl {
    font-size: 3rem;
    font-weight: 700;
    color: var(--trekkoa-primary);
    margin-bottom: 20px;
}

.heading-lg {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--trekkoa-primary);
    margin-bottom: 20px;
}

.heading-md {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--trekkoa-primary);
    margin-bottom: 15px;
}

.price-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--trekkoa-secondary);
    margin-bottom: 20px;
}

.price-display-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--trekkoa-secondary);
    margin-bottom: 30px;
}

/* Card Components */
.trekkoa-card {
    background: var(--trekkoa-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid var(--trekkoa-light-gray);
}

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

.trekkoa-card-featured {
    border: 3px solid var(--trekkoa-secondary);
}

/* Badge Component */
.trekkoa-badge {
    background: var(--trekkoa-secondary);
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Icon Components */
.trekkoa-feature-icon {
    background: var(--trekkoa-background);
    color: var(--trekkoa-secondary-dark);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--trekkoa-secondary-dark);
}

/* Gradient Backgrounds */
.trekkoa-gradient-primary {
    background: linear-gradient(135deg, var(--trekkoa-primary) 0%, var(--trekkoa-secondary) 50%, var(--trekkoa-primary) 100%);
}

.trekkoa-gradient-secondary {
    background: linear-gradient(135deg, var(--trekkoa-secondary), var(--trekkoa-primary));
}

/* Container Utilities */
.trekkoa-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Navigation Header */
.trekkoa-header {
    background: var(--trekkoa-primary);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Accessibility - Focus States */
.btn:focus,
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--trekkoa-secondary);
    outline-offset: 2px;
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--trekkoa-secondary);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --trekkoa-text-primary: var(--trekkoa-text-dark);
        --trekkoa-text-secondary: var(--trekkoa-text-primary);
    }
    
    .btn-primary {
        border: 2px solid var(--trekkoa-white);
    }
    
    .trekkoa-card {
        border: 2px solid var(--trekkoa-text-primary);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .heading-xl {
        font-size: 2.5rem;
    }
    
    .heading-lg {
        font-size: 2rem;
    }
    
    .trekkoa-container {
        padding: 0 15px;
    }
}