/*
Theme Name: Geetom Traders
Theme URI: https://geetomtraders.com/
Author: Geetom Traders Development Team
Author URI: https://geetomtraders.com/
Description: Custom WordPress B2B Corporate Theme for Geetom Traders - Government Supplier, Distributor, Dealer & Trading Company.
Version: 1.0.0
Text Domain: geetom-traders
Requires at least: 6.0
Requires PHP: 8.2
*/

/* Reset & Global Scroller Fix */
:root {
    --gt-primary: #1F2148;      /* Deep Corporate Blue #1F2148 */
    --gt-primary-dark: #141530;
    --gt-secondary: #00a8cc;    /* Professional Accent Teal Blue */
    --gt-light-bg: #f8f9fa;     /* Light Gray */
    --gt-dark-text: #212529;
    --gt-gray-muted: #6c757d;
    --gt-border-color: #e2e8f0;
    --gt-box-shadow: 0 4px 12px rgba(31, 33, 72, 0.08);
    --gt-transition: all 0.3s ease-in-out;
}

.text-primary,
.text-primary-custom { 
    color: #1F2148 !important; 
}

.bg-primary,
.bg-primary-custom { 
    background-color: #1F2148 !important; 
}

.border-primary {
    border-color: #1F2148 !important;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--gt-dark-text);
    background-color: #ffffff;
    line-height: 1.6;
}

.site-main, .site-header, footer {
    overflow-x: hidden !important;
    max-width: 100%;
}

/* Custom Scrollbar & Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gt-primary);
    letter-spacing: -0.3px;
    word-wrap: break-word;
}

.text-primary-custom { color: var(--gt-primary) !important; }
.bg-primary-custom { background-color: var(--gt-primary) !important; }
.bg-light-custom { background-color: var(--gt-light-bg) !important; }

/* Sticky Header & Topbar */
.gt-topbar {
    background-color: var(--gt-primary-dark);
    color: #e0e6ed;
    font-size: 0.775rem;
    padding: 4px 0;
    overflow-x: hidden;
}
.gt-topbar .badge {
    padding: 3px 8px;
    font-size: 0.7rem;
}
.gt-topbar a {
    color: #e0e6ed;
    text-decoration: none;
}
.gt-topbar a:hover {
    color: var(--gt-secondary);
}

.gt-navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 4px 0 !important;
    transition: var(--gt-transition);
}

.gt-navbar .navbar-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gt-primary);
}

.gt-navbar .custom-logo, 
.gt-navbar img {
    max-height: 65px !important;
    width: auto !important;
}

.gt-navbar .nav-link {
    font-weight: 600;
    color: var(--gt-primary);
    padding: 4px 10px !important;
    font-size: 0.875rem;
    transition: var(--gt-transition);
}
.gt-navbar .nav-link:hover, .gt-navbar .nav-link.active {
    color: var(--gt-secondary);
}

/* Corporate Buttons */
.btn-primary-gt {
    background-color: var(--gt-primary);
    color: #ffffff;
    border: 2px solid var(--gt-primary);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--gt-transition);
}
.btn-primary-gt:hover {
    background-color: var(--gt-primary-dark);
    border-color: var(--gt-primary-dark);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(15, 44, 89, 0.25);
}

.btn-outline-gt {
    background-color: transparent;
    color: var(--gt-primary);
    border: 2px solid var(--gt-primary);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--gt-transition);
}
.btn-outline-gt:hover {
    background-color: var(--gt-primary);
    color: #ffffff;
}

.btn-secondary-gt {
    background-color: var(--gt-secondary);
    color: #ffffff;
    border: 2px solid var(--gt-secondary);
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--gt-transition);
}
.btn-secondary-gt:hover {
    background-color: #008fae;
    color: #ffffff;
}

/* Card Styles */
.gt-card {
    border: 1px solid var(--gt-border-color);
    border-radius: 8px;
    box-shadow: var(--gt-box-shadow);
    transition: var(--gt-transition);
    background: #ffffff;
}
.gt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 44, 89, 0.12);
}

/* Badges */
.geetom-badge {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

/* Hero Section */
.gt-hero-section {
    background: linear-gradient(135deg, rgba(15, 44, 89, 0.95) 0%, rgba(9, 28, 58, 0.9) 100%);
    color: #ffffff;
    padding: 70px 0;
}
.gt-hero-section h1 {
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1.2;
}

/* Footer Styling */
.gt-footer {
    background-color: var(--gt-primary-dark);
    color: #c2cfdf;
    font-size: 0.925rem;
    padding-top: 50px;
}
.gt-footer h5 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--gt-secondary);
    display: inline-block;
    padding-bottom: 5px;
}
.gt-footer a {
    color: #c2cfdf;
    text-decoration: none;
    transition: var(--gt-transition);
}
.gt-footer a:hover {
    color: #ffffff;
    padding-left: 4px;
}
.gt-footer-bottom {
    background-color: #051226;
    padding: 20px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Responsive Overrides & Mobile Optimization */
@media (min-width: 992px) and (max-width: 1280px) {
    .gt-navbar .nav-link {
        padding: 6px 8px !important;
        font-size: 0.85rem;
    }
    .gt-navbar .btn {
        padding: 6px 12px;
        font-size: 0.825rem;
    }
    .gt-hero-section h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 991.98px) {
    .gt-navbar .navbar-collapse {
        background: #ffffff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        margin-top: 10px;
    }
    .gt-navbar .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid #f0f0f0;
    }
    .gt-hero-section {
        padding: 40px 0;
        text-align: center;
    }
    .gt-hero-section h1 {
        font-size: 1.9rem;
    }
    .gt-hero-section p.lead {
        font-size: 1rem;
    }
    .gt-hero-section .d-flex {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .gt-hero-section h1 {
        font-size: 1.6rem;
    }
    .display-5 {
        font-size: 1.8rem;
    }
    .display-6 {
        font-size: 1.5rem;
    }
    .btn-lg {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}
