/* ================================
   HOW-TO PAGE - STEP-BY-STEP GUIDE
   ================================ */

/* Hero Section */
.how-to-hero {
    background: linear-gradient(135deg, rgba(155, 0, 19, 0.95), rgba(44, 62, 80, 0.9)), 
                url('../images/Atlantic-City-Car-Classic-Car_Auction_June_2026.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.how-to-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.how-to-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-meta {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Quick Navigation */
.quick-nav-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Tabbed Navigation */
.how-to-tabs {
    display: flex;
    gap: 1rem;
    border: none;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.how-to-tabs .nav-item {
    flex: 1;
}

.how-to-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border: 2px solid rgba(155, 0, 19, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.how-to-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 0, 19, 0.05), transparent);
    transition: left 0.5s ease;
}

.how-to-tabs .nav-link:hover::before {
    left: 100%;
}

.how-to-tabs .nav-link:hover {
    border-color: #9b0013;
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 0, 19, 0.15);
}

.how-to-tabs .nav-link.active {
    background: linear-gradient(135deg, #9b0013, #e74c3c);
    border-color: #9b0013;
    color: white;
    box-shadow: 0 8px 25px rgba(155, 0, 19, 0.3);
}

.how-to-tabs .nav-link.active .tab-icon,
.how-to-tabs .nav-link.active .tab-content-text h5,
.how-to-tabs .nav-link.active .tab-content-text p {
    color: white;
}

.tab-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #9b0013, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(155, 0, 19, 0.3);
    transition: all 0.3s ease;
}

.how-to-tabs .nav-link.active .tab-icon {
    background: white;
    color: #9b0013;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.how-to-tabs .nav-link:not(.active) .tab-icon {
    background: rgba(155, 0, 19, 0.1);
    color: #9b0013;
    box-shadow: none;
}

.tab-content-text {
    flex: 1;
    text-align: left;
}

.tab-content-text h5 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.tab-content-text p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

/* Tab Content Area */
.tab-content {
    animation: fadeIn 0.4s ease-in-out;
}

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

/* Guide Section */
.guide-section {
    scroll-margin-top: 100px;
}

.section-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #9b0013, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    box-shadow: 0 15px 40px rgba(155, 0, 19, 0.4);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* Steps Container */
.steps-container {
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: 60px;
    width: 3px;
    background: linear-gradient(180deg, #9b0013, #e74c3c, #9b0013);
    z-index: 0;
}

/* Step Cards */
.step-card {
    position: relative;
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    z-index: 1;
}

.step-card:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9b0013, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(155, 0, 19, 0.4);
    border: 4px solid white;
}

.step-content {
    flex: 1;
    background: white;
    border: 2px solid rgba(155, 0, 19, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step-content:hover {
    border-color: rgba(155, 0, 19, 0.3);
    box-shadow: 0 8px 30px rgba(155, 0, 19, 0.15);
    transform: translateX(10px);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.step-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.step-list li {
    padding: 0.75rem 0;
    color: #2c3e50;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-list li i {
    color: #28a745;
    font-size: 1.1rem;
    min-width: 20px;
}

.step-action {
    margin-top: 1.5rem;
}

.btn-step {
    display: inline-block;
    background: linear-gradient(135deg, #9b0013, #e74c3c);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(155, 0, 19, 0.25);
}

.btn-step:hover {
    background: linear-gradient(135deg, #c41e3a, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 0, 19, 0.35);
    color: white;
}

/* Info Boxes */
.info-box, .warning-box, .success-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.info-box {
    background: rgba(23, 162, 184, 0.1);
    border-left: 4px solid #17a2b8;
}

.info-box i {
    color: #17a2b8;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
}

.warning-box i {
    color: #ffc107;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.success-box {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
}

.success-box i {
    color: #28a745;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-box strong, .warning-box strong, .success-box strong {
    color: #2c3e50;
}

/* Tips Box */
.tips-box {
    background: #f8f9fa;
    border: 2px solid rgba(155, 0, 19, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.tips-box h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tips-box h5 i {
    color: #ffc107;
}

.tips-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.tips-box ul li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1.5rem;
}

.tips-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #9b0013;
    font-weight: 700;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(155, 0, 19, 0.9), rgba(231, 76, 60, 0.9));
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(155, 0, 19, 0.3);
}

.cta-box h4 {
    font-weight: 700;
}

/* Help Section */
.help-section {
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

.help-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(155, 0, 19, 0.1), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(231, 76, 60, 0.1), transparent 50%);
    z-index: 1;
}

.help-section .container {
    position: relative;
    z-index: 2;
}

.contact-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #9b0013, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    box-shadow: 0 15px 40px rgba(155, 0, 19, 0.4);
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    min-width: 280px;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: white;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9b0013, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(155, 0, 19, 0.4);
}

.method-details h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.method-details p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .how-to-tabs {
        flex-direction: column;
        gap: 1rem;
    }
    
    .how-to-tabs .nav-link {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .tab-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .tab-content-text h5 {
        font-size: 1.1rem;
    }
    
    .tab-content-text p {
        font-size: 0.9rem;
    }
    
    .steps-container::before {
        left: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step-card {
        gap: 1.5rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .how-to-tabs .nav-link {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .tab-content-text {
        text-align: center;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .step-content:hover {
        transform: none;
    }
    
    .quick-nav-card {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-arrow {
        display: none;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-method {
        min-width: auto;
        width: 100%;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .step-content {
        padding: 1.25rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .section-icon-wrapper {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .contact-icon-wrapper {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}
