/**
 * Main CSS File
 * Base styles and global utilities only
 * Page-specific styles are in separate files
 */

/* Root Variables */
:root {
    --primary-black: #000000;
    --primary-red: #DC2626;
    --dark-grey: #374151;
    --medium-grey: #6B7280;
    --light-grey: #F3F4F6;
    --pure-white: #FFFFFF;
    --hover-red: #B91C1C;
    --background: #FAFAFA;
    --border: #E5E7EB;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--primary-black);
    background: var(--pure-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Common Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Common Button Styles */
.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--hover-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
}

.btn-outline:hover {
    background: var(--primary-black);
    color: white;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Common Section Styles */
.section {
    padding: 80px 0;
}

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

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title span {
    color: var(--primary-red);
}

.section-subtitle {
    color: var(--medium-grey);
    font-size: 18px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-top: 0;
    padding: 20px 0;
    padding-top: 90px;
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: #6B7280;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.breadcrumb-link:hover {
    color: var(--primary-red);
    background: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.15);
}

.breadcrumb-separator {
    color: #D1D5DB;
    font-size: 16px;
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(220, 38, 38, 0.15);
    display: inline-flex;
    align-items: center;
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, var(--light-grey) 25%, #e0e0e0 50%, var(--light-grey) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 20px; }
.pt-3 { padding-top: 30px; }
.pt-4 { padding-top: 40px; }
.pt-5 { padding-top: 50px; }

.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 30px; }
.pb-4 { padding-bottom: 40px; }
.pb-5 { padding-bottom: 50px; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Common Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Responsive Base */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(28px, 8vw, 42px);
    }

    .section-subtitle {
        font-size: 16px;
    }

    .container {
        padding: 0 15px;
    }

    /* Breadcrumb mobile styles */
    .breadcrumb-nav {
        padding-top: 80px;
        padding-bottom: 15px;
    }

    .breadcrumb {
        padding: 0 15px;
        gap: 5px;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb-link {
        font-size: 12px;
        padding: 5px 10px;
        flex-shrink: 0;
    }

    .breadcrumb-separator {
        font-size: 14px;
        flex-shrink: 0;
    }

    .breadcrumb-current {
        font-size: 12px;
        padding: 5px 12px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 30px;
    }

    .btn i {
        font-size: 14px;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 25px;
    }

    .btn i {
        font-size: 12px;
        margin-right: 4px;
    }
}