/* Custom Styles for Małe Kroki Website - Green Theme */

:root {
    --primary-color: #28a745;
    --primary-dark: #218838;
    --primary-light: #5cb85c;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #28a745 0%, #155724 100%);
    color: white;
    padding: 80px 0;
}

.hero-section h1 {
    color: white;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.3);
}

.card.border-success {
    border-width: 2px !important;
}

/* Icon Circle */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 15px;
    right: -5px;
    background: #ffc107;
    color: #000;
    padding: 5px 15px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.ribbon::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid #d39e00;
    border-top: 5px solid #d39e00;
}

/* Process Steps */
.process-step {
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Quote Cards */
.quote-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.quote-icon {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(21, 87, 36, 0.9)), 
                url('../img/cta-bg.webp') center/cover;
    color: white;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success:hover {
    background-color: var(--primary-dark);
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-outline-success:hover {
    transform: translateY(-2px);
}

/* Text Colors */
.text-success {
    color: var(--primary-color) !important;
}

/* Badges */
.badge.bg-success {
    background-color: var(--primary-color) !important;
}

/* Alerts */
.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
}

/* Cookie Consent */
.cookie-consent {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
}

footer a:hover {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* Links */
a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: -25px;
        width: 20px;
        height: 20px;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Background Colors */
.bg-success {
    background-color: var(--primary-color) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Card Pricing Hover Effect */
.card:hover {
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}
