/* Bisiklet Bakım Rehberi - Creative Bicycle Themed Stylesheet */

:root {
    --chain-silver: #8b8b8b;
    --rubber-black: #1a1a1a;
    --frame-blue: #2c5f7c;
    --frame-green: #3d7a4e;
    --accent-orange: #ff6b35;
    --accent-yellow: #ffc857;
    --metal-gray: #4a5568;
    --road-gray: #6c757d;
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-cream: #fef9f3;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --success-green: #48bb78;
    --warning-amber: #ed8936;
    --danger-red: #f56565;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%);
    background-attachment: fixed;
}

/* Header with bicycle theme */
header {
    background: linear-gradient(135deg, var(--frame-blue) 0%, var(--frame-green) 100%);
    color: white;
    padding: 1.2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.03) 10px,
        rgba(255,255,255,0.03) 20px
    );
    animation: chainMove 20s linear infinite;
}

@keyframes chainMove {
    0% { left: -50%; }
    100% { left: 0%; }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
    transition: transform 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    opacity: 0;
    animation: fadeInNav 0.6s ease-out 0.2s forwards;
}

@keyframes fadeInNav {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: all 0.3s;
    transform: translateX(-50%);
}

nav a:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

nav a:hover::after {
    width: 80%;
    background: white;
}

nav a.active {
    background: rgba(255,255,255,0.25);
    color: var(--accent-yellow);
}

nav a.active::after {
    width: 80%;
    background: var(--accent-yellow);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
    min-height: calc(100vh - 200px);
    position: relative;
    margin-top: 80px;
}

/* Breadcrumbs with chain link style */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--frame-blue);
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.breadcrumbs a:hover {
    background: var(--bg-light);
    color: var(--frame-green);
}

.breadcrumbs span {
    color: var(--chain-silver);
    font-weight: bold;
}

/* Page Title with decorative underline */
.page-title {
    font-size: 3rem;
    color: var(--frame-blue);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    line-height: 1.2;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow));
    border-radius: 2px;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    color: var(--frame-green);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--accent-yellow);
    position: relative;
    font-weight: 600;
}


h3 {
    font-size: 1.6rem;
    color: var(--frame-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h4 {
    font-size: 1.3rem;
    color: var(--metal-gray);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem;
    text-align: justify;
    color: var(--text-medium);
    font-size: 1.05rem;
}

/* Lists with custom markers */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
    color: var(--text-medium);
}

/* Tables with bicycle theme */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-light);
}

th {
    background: linear-gradient(135deg, var(--frame-blue), var(--frame-green));
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

tr:hover {
    background-color: var(--bg-cream);
    transition: background 0.3s;
}

/* Cards with depth */
.card {
    background-color: var(--bg-white);
    border: 2px solid var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-orange), var(--accent-yellow));
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--accent-yellow);
}

.card-title {
    font-size: 1.5rem;
    color: var(--frame-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Quick Links with bicycle wheel effect */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.quick-link {
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-yellow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.quick-link:hover::before {
    opacity: 0.1;
}

.quick-link:hover {
    transform: translateY(-6px) rotate(1deg);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    border-color: var(--accent-yellow);
}

.quick-link h3 {
    color: var(--frame-blue);
    margin-top: 0;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Checklist with gear icon */
.checklist {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-cream));
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid var(--success-green);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.checklist li {
    list-style: none;
    margin-left: 0;
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, #fff8e1, #ffe0b2);
    border-left: 5px solid var(--warning-amber);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(237, 137, 54, 0.2);
}

.warning-box strong {
    color: #e65100;
    font-size: 1.1rem;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 5px solid var(--frame-blue);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44, 95, 124, 0.2);
}

/* Related Content */
.related-content {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
    padding: 2rem;
    border-radius: 12px;
    margin-top: 4rem;
    border: 2px dashed var(--chain-silver);
    position: relative;
}

.related-content::before {
    content: 'İlgili';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--bg-cream);
    padding: 2px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--frame-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-content h3 {
    margin-top: 0;
    border: none;
}

.related-content ul {
    list-style: none;
    margin-left: 0;
}

.related-content li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.related-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.related-content a {
    color: var(--frame-blue);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.related-content a:hover {
    color: var(--frame-green);
    transform: translateX(5px);
}

/* Table of Contents */
.toc {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-cream));
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    border: 2px solid var(--bg-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.toc h3 {
    margin-top: 0;
    border: none;
}

.toc ul {
    list-style: none;
    margin-left: 0;
}

.toc li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.toc li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.toc a {
    color: var(--frame-blue);
    text-decoration: none;
    transition: all 0.3s;
}

.toc a:hover {
    color: var(--frame-green);
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--metal-gray), var(--rubber-black));
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow), var(--accent-orange));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.footer-section h4 {
    color: var(--accent-yellow);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    margin-left: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-yellow);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
    border-top: 4px solid var(--frame-blue);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner.active {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.85rem 1.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--success-green), #38a169);
    color: white;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.cookie-btn-reject {
    background: var(--road-gray);
    color: white;
}

.cookie-btn-reject:hover {
    background: var(--metal-gray);
    transform: translateY(-2px);
}

.cookie-btn-settings {
    background: linear-gradient(135deg, var(--frame-blue), var(--frame-green));
    color: white;
}

.cookie-btn-settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.3);
}

/* Cookie Settings Modal */
.cookie-settings {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 1001;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 3px solid var(--accent-yellow);
}

.cookie-settings.active {
    display: block;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.cookie-settings h3 {
    margin-top: 0;
    border: none;
    color: var(--frame-blue);
}

.cookie-setting-item {
    margin: 1.8rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.cookie-setting-item:hover {
    border-color: var(--accent-yellow);
    background: var(--bg-cream);
}

.cookie-setting-item label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.cookie-toggle {
    position: relative;
    width: 55px;
    height: 28px;
    background-color: #ccc;
    border-radius: 14px;
    transition: background-color 0.3s;
}

.cookie-toggle.active {
    background: linear-gradient(135deg, var(--success-green), #38a169);
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-toggle.active .cookie-slider {
    transform: translateX(27px);
}

/* Forms */
.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.2);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-btn {
    background: linear-gradient(135deg, var(--frame-blue), var(--frame-green));
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.3);
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 95, 124, 0.4);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.content-image {
    float: right;
    margin: 0 0 1.5rem 1.5rem;
    max-width: 300px;
}

@media (max-width: 768px) {
    .content-image {
        float: none;
        margin: 1.5rem auto;
        display: block;
        max-width: 100%;
    }
}

/* Links styling */
a {
    color: var(--frame-blue);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--frame-green);
    border-bottom-color: var(--accent-yellow);
}

.content-section a {
    font-weight: 500;
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, var(--success-green), #38a169);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    z-index: 2000;
    display: none;
    animation: slideInRight 0.5s ease-out;
    max-width: 400px;
}

.notification.error {
    background: linear-gradient(135deg, var(--danger-red), #e53e3e);
}

.notification.success {
    background: linear-gradient(135deg, var(--success-green), #38a169);
}

.notification.active {
    display: block;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.menu-toggle:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 0.8rem 0;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: block;
        order: 2;
    }
    
    nav {
        width: 100%;
        order: 3;
        display: none;
        margin-top: 1rem;
        opacity: 1;
        animation: none;
    }
    
    nav.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        display: block;
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2.2rem;
        margin-top: 1.5rem;
    }
    
    .page-title::after {
        width: 60px;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    main {
        margin-top: 70px;
        padding-top: 1.5rem;
    }
    
    .content-section:first-child {
        margin-top: 0.5rem;
    }
    
    .page-title {
        padding-top: 0.5rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
}

/* Blog Styles */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.blog-card {
    background: var(--bg-white);
    border: 2px solid var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-card:hover {
    transform: translateY(-8px) rotate(0.5deg);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    border-color: var(--accent-yellow);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin: 0;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card h3 {
    margin-top: 0;
    border: none;
}

.blog-card a {
    color: var(--frame-blue);
    text-decoration: none;
    transition: all 0.3s;
}

.blog-card a:hover {
    color: var(--frame-green);
}

/* Article Meta */
.article-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-style: italic;
}
