/* ============================================
   WhitePlus Trading LLC - Custom Styles
   Red & Black Color Scheme
   ============================================ */

/* Color Variables */
:root {
    --primary-red: #DC143C;
    --dark-red: #B22222;
    --light-red: #FF6B6B;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Fluid Typography */
h1, .h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
h2, .h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); }
h4, .h4 { font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.5rem); }
p, li { font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.075rem); }

/* Navbar Styles */
.navbar {
    background-color: var(--black) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.95) !important;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-img-footer {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.logo-img-footer:hover {
    opacity: 1;
}

.leadership-card {
    transition: transform 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    /*color: var(--primary-red) !important;*/
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border-color: var(--primary-red);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28220, 20, 60, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Slider/Carousel Styles */
.carousel {
    margin-top: 76px;
}

.carousel-item {
    height: min(70vh, 600px);
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.carousel-caption p {
    font-size: 1.25rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-red);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.carousel-indicators button {
    background-color: var(--primary-red);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Section Styles */
section {
    padding: 3.5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-red), var(--dark-red));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* Who We Are Section */
#who-we-are {
    background-color: var(--white);
}

.content-box {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-box h3 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-box p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.specializations-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.specializations-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.specializations-list li i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Products Showcase Section */
#products-showcase {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.3);
}

.product-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.product-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-card h4 {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    color: var(--black);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.product-card p {
    padding: 0 1.5rem;
    margin: 0;
}

/* Why Choose Us Section */
.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.feature-card h4 {
    color: var(--black);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Counter Section */
#counter-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
}

#counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(220,20,60,0.1)"/></svg>');
    opacity: 0.3;
}

.counter-box {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.counter-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.counter-box h2 {
    font-size: 4rem;
    font-weight: bold;
    color: var(--white);
    margin: 1rem 0;
}

.counter-label {
    font-size: 1.25rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Styles */
footer {
    background: var(--black) !important;
    color: var(--white);
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, rgba(220,20,60,0.15) 0%, rgba(178,34,34,0.15) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

footer h5 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-red) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gray);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-contact-list li a {
    text-decoration: none;
}

.footer-contact-list li i {
    width: 1.25rem;
    text-align: center;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    margin-top: 76px;
    padding: 3.5rem 0;
}

.page-header h1 {
    font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* About Page Styles */
.mission-vision-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.mission-vision-card h3 {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--black);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.achievements-list {
    list-style: none;
    padding: 0;
}

.achievements-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.achievements-list li i {
    color: var(--primary-red);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.achievement-icon {
    font-size: 8rem;
    color: var(--primary-red);
    opacity: 0.3;
}

/* Products Page Styles */
.product-category {
    margin-bottom: 4rem;
}

.category-icon {
    font-size: 4rem;
    color: var(--primary-red);
}

.product-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.3);
}

.product-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.product-content h4 {
    color: var(--black);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.product-content p {
    color: #666;
    line-height: 1.6;
}

.product-link-btn {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.product-link-btn span {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.product-card:hover .product-link-btn span {
    color: var(--dark-red);
    transform: translateX(5px);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-card-link:hover {
    text-decoration: none;
}

/* Contact Page Styles */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.25);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--black);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.8;
}

.social-links-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--gray);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
    color: var(--white);
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-iframe {
    border: none;
    width: 100%;
}

/* Cards shared across product detail pages */
.product-detail-card,
.application-card,
.brand-card,
.cta-box,
.specifications-box {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.spec-list {
    margin: 0;
    padding-left: 1rem;
}

.cta-box {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .counter-box h2 {
        font-size: 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .counter-box h2 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }

    section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 42vh;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .product-card,
    .feature-card,
    .value-card {
        margin-bottom: 1.5rem;
    }

    .product-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    section {
        padding: 2rem 0;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

/* Utility Classes */
.text-danger {
    color: var(--primary-red) !important;
}

.bg-danger {
    background-color: var(--primary-red) !important;
}

/* Media helper */
img,
video,
svg,
canvas {
    max-width: 100%;
    height: auto;
}

