/* TaxiVan MyG La Serena - Main Styles */

:root {
    --primary-color: #0066cc;
    --secondary-color: #f8f9fa;
    --dark-color: #212529;
    --light-color: #ffffff;
    --success-color: #28a745;
    --info-color: #17a2b8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .carousel-item {
    height: 600px;
    min-height: 400px;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.6)
    );
}

.carousel-caption {
    text-align: center;
}

.carousel-caption h1,
.carousel-caption h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Feature Boxes */
.feature-box {
    border: 1px solid #e9ecef;
}

.feature-icon {
    color: var(--primary-color);
}

/* Cards */
.card {
    border: none;
    transition: all 0.3s ease;
}

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

.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 2rem 0;
    }

    .hero-section .carousel-item {
        height: 400px;
    }

    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .display-4,
    .display-5 {
        font-size: 2rem;
    }
}

/* Contact Section */
#contacto {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
}

#contacto a {
    text-decoration: none;
}

#contacto a:hover {
    text-decoration: underline;
}

/* Services and Vehicles Grid */
.service-card,
.vehicle-card {
    height: 100%;
}

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

.animate-on-scroll {
    animation: fadeIn 0.6s ease-out;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.rounded {
    border-radius: 0.5rem !important;
}

.text-muted {
    color: #6c757d !important;
}
