/* Ciclofficina - Styles.css */

/* Custom Colors */
:root {
    --primary-color: #2c5530;
    --secondary-color: #4a7c59;
    --accent-color: #7fb069;
    --light-green: #d0f0c0;
    --text-dark: #333333;
    --text-light: #666666;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bike" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="20" cy="50" r="15" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="80" cy="50" r="15" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><path d="M20 50 L35 30 L65 30 L80 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></pattern></defs><rect width="100" height="100" fill="url(%23bike)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Quote Section */
.quote-section .blockquote {
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

/* Featured Content */
.featured-content .card-body {
    padding: 2rem;
}

/* Calendar Widget */
.calendar-widget .card {
    background: linear-gradient(135deg, var(--light-green) 0%, #ffffff 100%);
}

/* Latest News */
.latest-news .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--text-dark) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

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

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.25);
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    footer {
        display: none;
    }

    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
}



/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Content Cards Enhancement */
.card-text a {
    color: var(--primary-color);
    font-weight: 500;
}

.card-text a:hover {
    color: var(--secondary-color);
}

/* Benefit Cards */
.bg-light .card-title i {
    font-size: 1.2rem;
}

/* Image Styling */
.card-img-top {
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.02);
}


/* Tool Category Cards */
.tool-category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Feature Lists */
.feature-list {
    margin: 1rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Tip Cards */
.tip-card {
    transition: transform 0.2s ease;
    border-left: 4px solid var(--primary-color);
}

.tip-card:hover {
    transform: translateX(5px);
}

/* Card Headers */
.card-header h3 {
    font-size: 1.2rem;
}




/* Maintenance Cards */
.maintenance-card, .control-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.maintenance-card:hover, .control-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Benefits List */
.benefits-list {
    margin: 1rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Timeline */
.timeline-card {
    border: 1px solid #dee2e6;
}

.timeline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Headers */
.maintenance-card .card-header,
.control-card .card-header {
    font-weight: 600;
}



/* Repair Cards */
.repair-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.repair-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Steps Preview */
.steps-preview {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

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

/* Tool Items */
.tool-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.tool-item:last-child {
    border-bottom: none;
}

/* Emergency Tips */
.emergency-tips ul li {
    margin-bottom: 0.5rem;
}

/* Tip Cards */
.tip-card {
    border-left: 3px solid #dee2e6;
    transition: transform 0.2s ease;
}

.tip-card:hover {
    transform: translateX(5px);
}


/* Material Cards */
.material-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Featured Calendar */
.featured-calendar {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Material Lists */
.materials-list, .features-list {
    margin: 1rem 0;
}

.material-item, .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Feature Highlights */
.feature-highlight {
    border-left: 4px solid #dee2e6;
    transition: transform 0.2s ease;
}

.feature-highlight:hover {
    transform: translateX(5px);
}

/* Stats Card */
.stats-card {
    border: 1px solid #dee2e6;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Welcome Content */
.welcome-content {
    padding: 2rem 0;
}

/* Philosophy Section */
.philosophy-section .blockquote {
    border-left: 4px solid var(--accent-color);
}

/* Content Cards */
.content-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.content-card .card-title a {
    color: var(--primary-color);
}

.content-card .card-title a:hover {
    color: var(--secondary-color);
}

/* Author Info */
.author-info {
    border-left: 4px solid var(--primary-color);
}

/* Tech Info */
.tech-info i {
    font-size: 1.2rem;
}

/* License Cards */
.card .list-unstyled li i {
    width: 20px;
}




