/* Bicycle Service Website - Creative Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a5490;
    --secondary: #ff6b35;
    --accent: #2ecc71;
    --warning: #f39c12;
    --light-bg: #f5f7fa;
    --card-bg: #ffffff;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --border: #e1e8ed;
    --bike-blue: #3498db;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--card-bg) 0%, #fafbfc 100%);
    border-bottom: 4px solid var(--secondary);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 101;
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-close {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary);
    font-weight: 700;
}

.main-nav a.active::after {
    width: 100%;
    height: 3px;
    background: var(--secondary);
}

/* Main Content */
main {
    min-height: calc(100vh - 250px);
    padding: 3rem 0;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary);
    font-weight: 700;
    letter-spacing: -1px;
}

.intro {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 800px;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 5px solid var(--primary);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.card h2 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1.7rem;
    font-weight: 700;
}

.card h3 {
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Symptom Cards */
.symptom-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #fafbfc 100%);
    border: 2px solid var(--border);
    border-left: 6px solid var(--warning);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.symptom-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-left-color: var(--secondary);
}

.symptom-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.symptom-item {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.symptom-item strong {
    color: var(--primary);
    font-weight: 600;
}

.symptom-arrow {
    color: var(--secondary);
    margin: 0 0.5rem;
    font-weight: bold;
}

/* Lists */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
}

.checklist {
    list-style: none;
    margin-left: 0;
}

.checklist li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    border-radius: 4px;
    transition: all 0.2s;
    list-style: none;
}

.checklist li::before {
    display: none;
}

.checklist li:hover {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    transform: translateX(3px);
}

.checklist.no-markers li::before {
    display: none;
}

/* CSS Diagrams */
.diagram {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--card-bg) 100%);
}

.diagram-part {
    display: inline-block;
    padding: 1.2rem 2rem;
    margin: 0.5rem;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.diagram-arrow {
    display: inline-block;
    color: var(--secondary);
    font-size: 1.8rem;
    margin: 0 0.75rem;
    vertical-align: middle;
    font-weight: bold;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    color: var(--secondary);
    font-weight: 700;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 0.7rem;
    transition: all 0.2s;
}

.footer-section a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #4a5f7a;
    color: #95a5a6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 4px solid var(--primary);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.85rem 1.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5490 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(26, 84, 144, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #154376 0%, #1a5490 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 84, 144, 0.4);
}

.btn-secondary {
    background: var(--text-light);
    color: white;
}

.btn-secondary:hover {
    background: #6c757d;
    transform: translateY(-2px);
}

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

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

/* Cookie Settings Modal */
.cookie-settings {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1001;
    padding: 2rem;
    overflow-y: auto;
}

.cookie-settings.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-content {
    background: var(--card-bg);
    max-width: 600px;
    width: 100%;
    padding: 2.5rem;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.cookie-settings h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cookie-option {
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.cookie-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

/* Forms */
.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text);
}

.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: 500;
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, var(--card-bg) 0%, #fafbfc 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary);
    margin: 2.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.contact-info p {
    margin-bottom: 0.9rem;
    line-height: 1.8;
}

.contact-info strong {
    color: var(--primary);
    font-weight: 600;
}

/* FAQ */
.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Sitemap */
.sitemap-list {
    list-style: none;
    margin-left: 0;
}

.sitemap-list li {
    margin-bottom: 0.6rem;
    padding: 0.8rem;
    background: var(--light-bg);
    border-left: 4px solid var(--primary);
    padding-left: 1.2rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.sitemap-list li:hover {
    background: #e8ecf1;
    transform: translateX(3px);
}

.sitemap-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.sitemap-list a:hover {
    text-decoration: underline;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border-left: 5px solid var(--warning);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
}

.warning-box h2 {
    color: #856404;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.warning-box p, .warning-box ul {
    color: #856404;
}

/* Form Notifications */
.form-notification {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.form-notification-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    color: #155724;
}

.form-notification-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* Links styling */
.card a:not(.btn),
.content a,
main p a,
main li a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid rgba(26, 84, 144, 0.3);
    transition: all 0.3s;
    font-weight: 500;
    padding-bottom: 2px;
}

.card a:not(.btn):hover,
.content a:hover,
main p a:hover,
main li a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 53, 0.1) 100%);
}

.sitemap-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid transparent;
}

.sitemap-list a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
    padding-left: 5px;
}

/* Images */
.content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.image-with-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.image-with-text.reverse {
    grid-template-columns: 1fr 1fr;
}

.image-with-text .image-container {
    order: 1;
}

.image-with-text.reverse .image-container {
    order: 2;
}

.image-with-text .text-container {
    order: 2;
}

.image-with-text.reverse .text-container {
    order: 1;
}

.image-with-text img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .image-with-text,
    .image-with-text.reverse {
        grid-template-columns: 1fr;
    }
    
    .image-with-text .image-container,
    .image-with-text.reverse .image-container {
        order: 1;
    }
    
    .image-with-text .text-container,
    .image-with-text.reverse .text-container {
        order: 2;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--card-bg);
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s;
        z-index: 10000;
        padding-top: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .menu-close {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10001;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 5px;
    }
    
    .menu-close span {
        position: absolute;
        width: 25px;
        height: 3px;
        background: var(--primary);
        border-radius: 2px;
        transition: all 0.3s;
    }
    
    .menu-close span:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .menu-close span:nth-child(2) {
        transform: rotate(-45deg);
    }
    
    .menu-close:hover span {
        background: var(--secondary);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        padding-top: 4rem;
        margin: 0;
        list-style: none;
        width: 100%;
        align-items: flex-start;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-buttons .btn {
        flex: 1;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
