/* Custom styles for Miami Trash Solutions */

/* Logo-inspired color scheme */
:root {
    --miami-teal: #17a2b8;
    --miami-blue: #0066cc;
    --miami-dark-blue: #003d7a;
    --miami-light-teal: #20c997;
    --miami-accent: #ffc107;
}

/* Logo styling */
.company-logo {
    height: 80px;
    width: auto;
    vertical-align: middle;
}

.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--miami-dark-blue) 0%, var(--miami-teal) 100%);
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section h2 {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Custom button styling and hover effects */
.btn[style*="miami-teal"]:hover {
    background-color: var(--miami-light-teal) !important;
    border-color: var(--miami-light-teal) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
    transition: all 0.3s ease;
}

/* Card hover effect */
.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

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

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Icon animations */
.fa-truck {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Benefits section icons with logo colors */
.fa-3x {
    margin-bottom: 1rem;
}

.fa-dollar-sign {
    color: var(--miami-light-teal) !important;
}

.fa-clock {
    color: var(--miami-blue) !important;
}

.fa-recycle {
    color: var(--miami-teal) !important;
}

/* Better focus states for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid var(--miami-teal);
    outline-offset: 2px;
}

/* Section headers with accent colors */
.h4 {
    color: var(--miami-blue);
}

/* Check mark icons in lists */
.fa-check {
    color: var(--miami-light-teal) !important;
}

/* Improve readability */
.lead {
    line-height: 1.6;
}

p {
    line-height: 1.5;
}

/* Make sure lists are properly aligned */
.list-unstyled li {
    display: flex;
    align-items: center;
}

/* Before/After Gallery styling */
.card-img-top {
    height: 250px;
    object-fit: cover;
    border-radius: 0.375rem 0.375rem 0 0;
}

.card {
    border: 1px solid var(--bs-border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Responsive logo sizing */
@media (max-width: 768px) {
    .company-logo {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .company-logo {
        height: 50px;
    }
}
