
/* Custom Fonts */
@font-face {
    font-family: 'RACE SPORT REGULAR';
    src: url('../fonts/race-sport-regular.woff2') format('woff2'),
         url('../fonts/race-sport-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Root Variables */
:root {
    --colibri-yellow: #F6EA00;
    --colibri-purple: #43374F;
    --colibri-gray: #5B5762;
    --colibri-beige: hsl(30, 15%, 98%);
}

/* Typography */
body {
    font-family: 'Century Gothic', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

.title-font {
    font-family: 'RACE SPORT REGULAR', 'Rubik', sans-serif !important;
    font-weight: normal !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--colibri-yellow) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-image: url('../images/team-motorizados.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(67, 55, 79, 0.75);
}

.stat-badge {
    background-color: var(--colibri-purple);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: inline-block;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 12px !important;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: rgba(246, 234, 0, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--colibri-purple);
}

.service-icon-small {
    width: 20px;
    height: 20px;
    color: var(--colibri-purple);
    background-color: white;
    border-radius: 50%;
    padding: 2px;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Why Choose Us Icons */
.why-choose-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(246, 234, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.why-choose-icon i {
    width: 40px;
    height: 40px;
}

/* FAQ Icons */
.faq-icon-container {
    width: 64px;
    height: 64px;
    background-color: rgba(246, 234, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon-container i {
    width: 32px;
    height: 32px;
}

/* Contact Icons */
.contact-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(67, 55, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.contact-icon i {
    width: 40px;
    height: 40px;
}

/* Accordion Customization */
.accordion-button {
    background-color: white;
    border: none;
    color: var(--colibri-gray);
    font-weight: 600;
    padding: 1.5rem;
    font-family: 'RACE SPORT REGULAR', 'Rubik', sans-serif;
}

.accordion-button:not(.collapsed) {
    background-color: var(--colibri-beige);
    color: var(--colibri-purple);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--colibri-yellow);
    box-shadow: 0 0 0 0.25rem rgba(246, 234, 0, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2343374F'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: var(--colibri-gray);
    line-height: 1.7;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: white;
    transform: scale(1.1);
    text-decoration: none;
}

.whatsapp-float i {
    width: 30px;
    height: 30px;
}

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

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--colibri-yellow);
    box-shadow: 0 0 0 0.25rem rgba(246, 234, 0, 0.25);
}

.form-check-input:checked {
    background-color: var(--colibri-yellow);
    border-color: var(--colibri-yellow);
}

.form-check-input:focus {
    border-color: var(--colibri-yellow);
    box-shadow: 0 0 0 0.25rem rgba(246, 234, 0, 0.25);
}

/* Button Hover Effects */
.btn:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Custom Alert Styles */
.alert-success {
    background-color: rgba(246, 234, 0, 0.1);
    border-color: var(--colibri-yellow);
    color: var(--colibri-purple);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        width: 24px;
        height: 24px;
    }
    
    .stat-badge {
        max-width: 100px;
        padding: 0.8rem 1rem;
    }
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Section Padding */
.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Custom spacing */
.mt-6 {
    margin-top: 4rem;
}

.mb-6 {
    margin-bottom: 4rem;
}

/* Brand colors utility classes */
.bg-colibri-yellow {
    background-color: var(--colibri-yellow) !important;
}

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

.text-colibri-yellow {
    color: var(--colibri-yellow) !important;
}

.text-colibri-purple {
    color: var(--colibri-purple) !important;
}

.text-colibri-gray {
    color: var(--colibri-gray) !important;
}

.border-colibri-yellow {
    border-color: var(--colibri-yellow) !important;
}
