/* ========== ENHANCED COMPONENTS - INDUSTRIAL POWER DESIGN ========== */

/* ========== DEALER CARDS ========== */
.dealer-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.dealer-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: var(--gradient-metal);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(227, 6, 19, 0.3);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.dealer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.1), transparent);
    transition: left 0.6s;
}

.dealer-card:hover::before {
    left: 100%;
}

.dealer-card .card-header {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.2) 0%, rgba(227, 6, 19, 0.05) 100%);
    border-bottom: 2px solid rgba(227, 6, 19, 0.3);
}

.dealer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-red);
    color: var(--text-primary);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-red);
}

.dealer-badge i {
    font-size: 1.2rem;
}

.dealer-card .card-body {
    padding: 2rem;
}

.dealer-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dealer-description {
    font-family: var(--font-body);
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* ========== BRAND STRIP ========== */
.brand-strip {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(18, 18, 18, 0.9) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(227, 6, 19, 0.2);
    margin-top: 3rem;
}

.strip-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.brand-item {
    position: relative;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.brand-item strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all var(--transition-normal);
    display: block;
}

.brand-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-red);
    transition: width var(--transition-normal);
}

.brand-item:hover strong {
    color: var(--hope-red-bright);
    transform: scale(1.1);
}

.brand-item:hover::after {
    width: 100%;
}

/* ========== PRODUCT CARDS ========== */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-description {
    font-family: var(--font-body);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}

.product-features {
    list-style: none;
    margin: 1.5rem 0;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-features li i {
    color: var(--hope-red);
    font-size: 1rem;
}

.card-footer {
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(227, 6, 19, 0.2);
    margin-top: auto;
}

/* ========== SECTIONS ========== */
.products-section {
    background: linear-gradient(180deg, var(--primary-black) 0%, var(--deep-charcoal) 100%);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(227, 6, 19, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(227, 6, 19, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.brands-section {
    background: var(--deep-charcoal);
    position: relative;
}

/* ========== WHATSAPP FLOAT BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 
        var(--shadow-lg),
        0 0 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 
        var(--shadow-xl),
        0 0 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            var(--shadow-lg),
            0 0 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 
            var(--shadow-lg),
            0 0 35px rgba(37, 211, 102, 0.6);
    }
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    box-shadow: var(--shadow-red);
    z-index: 900;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--shadow-xl),
        0 0 40px rgba(227, 6, 19, 0.6);
}

/* ========== FOOTER ========== */
.main-footer {
    background: var(--deep-charcoal);
    border-top: 3px solid var(--hope-red);
    position: relative;
}

.footer-top {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(18, 18, 18, 0.9) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hope-red);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    font-family: var(--font-body);
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '▸';
    color: var(--hope-red);
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.footer-links a:hover {
    color: var(--hope-red-bright);
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
}

.footer-contact-item i {
    color: var(--hope-red);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.1);
    border: 2px solid rgba(227, 6, 19, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hope-red);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-red);
    color: var(--text-primary);
    border-color: var(--hope-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-red);
}

.footer-bottom {
    padding: 2rem 0;
    background: var(--primary-black);
    border-top: 1px solid rgba(227, 6, 19, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-bottom-links a {
    font-family: var(--font-body);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--hope-red);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: var(--gradient-red);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(0, 0, 0, 0.1) 50px,
            rgba(0, 0, 0, 0.1) 100px
        );
    animation: diagonalMove 20s linear infinite;
}

@keyframes diagonalMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-actions .btn-secondary {
    background: var(--text-primary);
    color: var(--hope-red);
    border-color: var(--text-primary);
}

.cta-actions .btn-secondary:hover {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/* ========== FORM COMPONENTS ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(227, 6, 19, 0.3);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--hope-red);
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-control.error {
    border-color: #ff4444;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 992px) {
    .dealer-cards {
        flex-direction: column;
    }
    
    .dealer-card {
        max-width: 100%;
    }
    
    .brand-logos {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .whatsapp-float,
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        right: 1.5rem;
        bottom: 1.5rem;
    }
    
    .back-to-top {
        left: 1.5rem;
        bottom: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-column h3::after {
        width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .brand-logos {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .brand-item strong {
        font-size: 1.3rem;
    }
    
    .product-features li {
        font-size: 0.9rem;
    }
}