/* Enhanced Marine Brand Colors */
:root {
    --marine-blue: #1e40af;
    --marine-light: #dbeafe;
    --marine-dark: #1e3a8a;
    --marine-success: #059669;
    --marine-warning: #d97706;
}

/* Boat Card Enhancements */
.boat-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.boat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.boat-image-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.boat-card:hover .boat-image-container {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: scale(1.05);
}

.boat-style-image {
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

/* Category Navigation Enhancements */
.category-navigation-pills .nav-link {
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}
.category-navigation-pills .nav-link:hover {
    background-color: var(--marine-light);
    border-color: var(--marine-blue);
    transform: translateY(-2px);
}
.category-navigation-pills .nav-link.active {
    background-color: var(--marine-blue);
    border-color: var(--marine-blue);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Section Animations */
.category-section {
    opacity: 1;
    transition: all 0.6s ease;
}
.category-section.fade-in {
    animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Enhanced Boat Description Text */
.boat-card .card-header p.small {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 0.35rem 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(30, 64, 175, 0.1);
    font-weight: 600;
    color: #6c757d !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    line-height: 1.2;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}
.boat-card:hover .card-header p.small {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: rgba(30, 64, 175, 0.2);
    color: #495057 !important;
    transform: scale(1.02);
}

/* Compact Hero Section Styling */
.hero-section {
    padding: 0.75rem 1rem;
}
.hero-section h1.h3 {
    font-size: 1.5rem;
}
.hero-section .small {
    font-size: 0.9rem;
}

/* Compact section headings */
.category-section h2.h4 {
    font-size: 1.25rem;
}

/* Reduced spacing for compact layout */
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.p-3 { padding: 0.75rem !important; }

/* Responsive adjustments for compact design */
@media (max-width: 768px) {
    .hero-section h1.h3 { font-size: 1.3rem; }
    .category-section h2.h4 { font-size: 1.15rem; }
    .boat-card .card-header p.small {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        letter-spacing: 0.3px;
    }
    .category-navigation-pills .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    .mb-4 { margin-bottom: 1rem !important; }
    .mb-3 { margin-bottom: 0.75rem !important; }
}
@media (max-width: 576px) {
    .hero-section h1.h3 { font-size: 1.2rem; }
    .category-section h2.h4 { font-size: 1.1rem; }
    .boat-card .card-header p.small {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        letter-spacing: 0.2px;
        margin-top: 0.25rem;
    }
    .category-navigation-pills .nav-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

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

/* Custom Badge Styling */
.badge.fs-6 {
    font-size: 0.9rem !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Trust section compact styling */
.card.bg-light .card-body { padding: 1rem !important; }
@media (max-width: 768px) {
    .card.bg-light .card-body { padding: 0.75rem !important; }
    .card.bg-light i { font-size: 1.25rem !important; }
    .card.bg-light .small { font-size: 0.8rem; }
}
