/* ============================================
   CLEAN HERO SECTION
   Simple & Professional Design
   ============================================ */

/* Hero Section - Clean Blue Gradient */
.hero-section {
    background: linear-gradient(135deg, #0a77bc 0%, #3490ff 100%);
    min-height: 480px;
    padding: 2rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(10, 119, 188, 0.25);
}

/* Subtle overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Hero Content - Title Area */
.hero-content {
    text-align: center;
    margin: 1rem 0 1.25rem 0;
    position: relative;
    z-index: 5;
}

/* Single Line Title */
.hero-title-single {
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.hero-title-single .text-light {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.3px;
    font-weight: 500;
}

.hero-title-single .highlight-text {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.4px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Search Container - Clean White & Compact */
.search-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 2rem 1.25rem 2rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* Search Tabs */
.search-tabs {
    margin-bottom: 1rem;
    background: #f5f7fa;
    border-radius: 10px;
    /*padding: 4px;*/
}

.tab-btn {
    width: 100%;
    padding: 9px;
    border: none;
    background: transparent;
    transition: all 0.25s ease;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
    border-radius: 8px;
}

.tab-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn.active {
    background: linear-gradient(135deg, #0a77bc, #3490ff);
    color: white;
    box-shadow: 0 3px 10px rgba(10, 119, 188, 0.25);
}

.tab-btn:hover:not(.active) {
    background: #e8ecef;
    color: #0a77bc;
}

/* Search Content */
.search-content {
    padding-top: 0.25rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Tire Size Input Container */
.tire-size-input-container {
    /*padding-right: 1rem;*/
}

/* Input Group */
.input-group {
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.input-group-text {
    background: white;
    border: 2px solid #e0e0e0;
    border-right: none;
    color: #0a77bc;
    font-size: 1rem;
}

.search-content .form-control,
.search-content .form-select {
    background: white !important;
    border: 2px solid #e0e0e0 !important;
    color: #333 !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 14px;
    transition: all 0.25s ease;
}

.search-content .form-control:focus,
.search-content .form-select:focus {
    border-color: #0a77bc !important;
    box-shadow: 0 0 0 3px rgba(10, 119, 188, 0.08) !important;
}

/* Search Button */
.search-btn {
    background: linear-gradient(135deg, #0a77bc, #3490ff);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #065a94, #0a77bc);
    box-shadow: 0 5px 15px rgba(10, 119, 188, 0.35);
    transform: translateY(-1px);
}

/* Popular Sizes */
.popular-sizes {
    margin-top: 0.5rem;
}

.popular-sizes h6 {
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.size-tag {
    padding: 5px 12px;
    background: #f0f8ff;
    border: 1px solid #d0e5f5;
    border-radius: 6px;
    color: #0a77bc;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.size-tag:hover {
    background: linear-gradient(135deg, #0a77bc, #3490ff);
    color: white;
    border-color: #0a77bc;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(10, 119, 188, 0.25);
}

/* Tire Visual Wrapper - Centered & Clean */
.tire-visual-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Car Wheel Image */
#car-wheel-half {
    width: 280px;
    height: auto;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

/* Tire Size Text Container */
.tire-size-text {
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Tire Size SVG Text */
#tireSizeText {
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 600px;
        padding: 2rem 1rem;
    }

    .hero-title-single .text-light {
        font-size: 1.3rem;
    }

    .hero-title-single .highlight-text {
        font-size: 1.6rem;
    }

    .search-container {
        padding: 1.5rem;
    }

    #car-wheel-half {
        width: 220px !important;
    }

    .tire-size-input-container {
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title-single {
        flex-direction: column;
        gap: 0.3rem;
    }

    .search-tabs {
        padding: 3px;
    }

    .tab-btn {
        padding: 8px;
        font-size: 0.85rem;
    }
}
