/* Global Font - Inter from Google Fonts */
/* Font sizes based on XO Tech Trading website */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px; /* XO Tech Trading: 14px */
    line-height: 1.7; /* ~23.8px based on XO Tech */
}

/* Standard Typography Scale - Matching XO Tech Trading */
h1, .h1 {
    font-size: 2.5rem; /* 40px - main hero heading */
    font-weight: 700;
    line-height: 1.2;
}

h2, .h2 {
    font-size: 1.625rem; /* 26px - section headings like XO Tech */
    font-weight: 500;
    line-height: 1.3;
}

/* Main page H2 (like "JBL Wholesale Supply") */
h2.display-4, h2.display-5 {
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    line-height: 1.2;
}

h3, .h3 {
    font-size: 1.375rem; /* 22px - XO Tech Trading */
    font-weight: 500;
    line-height: 1.0; /* 22px line-height */
}

h4, .h4 {
    font-size: 1.125rem; /* 18px - XO Tech Trading */
    font-weight: 500;
    line-height: 1.0; /* 18px line-height */
}

h5, .h5 {
    font-size: 1.125rem; /* 18px */
    font-weight: 500;
    line-height: 1.5;
}

h6, .h6 {
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    line-height: 1.5;
}

p, .p {
    font-size: 1.125rem; /* 18px - XO Tech Trading */
    font-weight: 500;
    line-height: 1.8; /* ~32.4px based on XO Tech */
}

.lead {
    font-size: 1.125rem; /* 18px */
    font-weight: 500;
    line-height: 1.8;
}

small, .small {
    font-size: 0.875rem; /* 14px - matching XO Tech */
    font-weight: 500;
    line-height: 1.5;
}

/* Text utilities - consistent across all pages */
.text-muted {
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
}

.text-primary {
    font-size: inherit; /* Inherit from parent */
    font-weight: 500;
}

strong, .fw-bold, b {
    font-weight: 700;
}

.fw-medium {
    font-weight: 500;
}

.fw-semibold {
    font-weight: 600;
}

/* Buttons - consistent font sizes */
.btn {
    font-size: 1rem; /* 16px */
    font-weight: 500;
}

.btn-lg {
    font-size: 1.125rem; /* 18px */
    font-weight: 500;
}

.btn-sm {
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
}

/* Lists - consistent font sizes */
ul, ol {
    font-size: 1.125rem; /* 18px - matching paragraphs */
    font-weight: 500;
    line-height: 1.8;
}

li {
    font-size: inherit; /* Inherit from ul/ol */
    font-weight: 500;
}

/* Navbar - consistent font sizes */
.navbar-nav .nav-link {
    font-size: 1rem; /* 16px */
    font-weight: 500;
}

/* Cards - consistent font sizes */
.card-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
}

.card-text {
    font-size: 1.125rem; /* 18px */
    font-weight: 500;
    line-height: 1.8;
}

/* Footer - consistent font sizes */
footer {
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
}

footer h3, footer .h6 {
    font-size: 1rem; /* 16px */
    font-weight: 600;
}

footer a {
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
}

/* Bootstrap Display Classes - Matching XO Tech Trading */
.display-1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-2 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-3 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-4 {
    font-size: 2.5rem; /* 40px - matching XO Tech main heading */
    font-weight: 700;
    line-height: 1.2;
}

.display-5 {
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    line-height: 1.2;
}

.display-6 {
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    line-height: 1.2;
}

/* Hero Section with Background Image */
.hero {
    /* Option 1: High-quality IT/Technology image from Unsplash (Full HD 1920px) */
    background-image: url('/public/background.avif');
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    background-attachment: fixed; /* Creates parallax effect on scroll */
    /* To blur only the image, use a pseudo-element overlay */
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    background-repeat: inherit;
    background-attachment: inherit;
    z-index: 1;
    filter: blur(3px);
    pointer-events: none;
}
/*/\*\*/ End of Selection */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

/* Brand Logos */
.brand-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: opacity 0.3s, filter 0.3s;
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Card Hover Effect */
.hover-lift {
    transition: transform 0.3s, box-shadow 0.3s;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Bootstrap Icons (if not using CDN) */
.bi {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 40vh;
        background-attachment: scroll; /* Disable parallax on mobile for better performance */
    }
    
    .hero h1 {
        font-size: 2rem; /* 32px */
    }
    
    .hero .lead {
        font-size: 1.125rem; /* 18px - matching XO Tech */
    }
    
    body {
        font-size: 14px; /* Keep XO Tech base size */
    }
    
    p, .p {
        font-size: 1.125rem; /* 18px - matching XO Tech */
    }
    
    /* Navbar mobile optimizations */
    .navbar-brand img {
        max-width: 140px !important;
    }
    
    /* Buttons stack on mobile */
    .btn-group-vertical .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Forms mobile friendly */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Cards stack properly */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Text sizes - Standardized for mobile */
    h1, .h1 {
        font-size: 2rem; /* 32px */
    }
    
    h2, .h2 {
        font-size: 1.75rem; /* 28px */
    }
    
    h3, .h3 {
        font-size: 1.5rem; /* 24px */
    }
    
    .display-5 {
        font-size: 2rem; /* 32px */
    }
    
    .display-4 {
        font-size: 2.5rem; /* 40px */
    }
    
    .lead {
        font-size: 1.125rem; /* 18px */
    }
    
    /* Brand logos smaller on mobile */
    .brand-logo {
        max-height: 40px;
    }
    
    /* WhatsApp icon smaller on mobile */
    .nav-link img[alt="WhatsApp"] {
        width: 28px !important;
        height: 28px !important;
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero {
        min-height: 35vh;
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem; /* 28px */
    }
    
    .hero .lead {
        font-size: 1rem; /* 16px */
    }
    
    body {
        font-size: 14px; /* Keep XO Tech base size */
    }
    
    h1, .h1 {
        font-size: 1.75rem; /* 28px */
    }
    
    h2, .h2 {
        font-size: 1.375rem; /* 22px */
    }
    
    h3, .h3 {
        font-size: 1.125rem; /* 18px */
    }
    
    h4, .h4 {
        font-size: 1rem; /* 16px */
    }
    
    p, .p {
        font-size: 1rem; /* 16px */
    }
    
    .display-5 {
        font-size: 1.75rem; /* 28px */
    }
    
    .display-4 {
        font-size: 2rem; /* 32px */
    }
    
    .lead {
        font-size: 1rem; /* 16px */
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    /* Navbar logo smaller */
    .navbar-brand img {
        max-width: 120px !important;
    }
    
    /* Stack buttons vertically */
    .d-flex.flex-sm-row {
        flex-direction: column !important;
    }
    
    .d-flex.flex-sm-row .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Table responsive */
    .table-responsive {
        font-size: 0.875rem;
    }
    
    /* Modal full width on mobile */
    .modal-dialog {
        margin: 0.5rem;
    }
}

