/* Custom Color Variables - Must load BEFORE Bootstrap */
/* This file overrides Bootstrap's default color palette */

:root {
    /* Primary Colors */
    --bs-primary: #2E3138;
    --bs-secondary: #FED766;
    --bs-light: #F7F7FF;
    --bs-dark: #121616;
    
    /* Extended Color Palette */
    --primary: #2E3138;
    --secondary: #FED766;
    --light: #F7F7FF;
    --dark: #121616;
    
    /* Bootstrap Component Colors */
    --bs-blue: #2E3138;
    --bs-indigo: #2E3138;
    --bs-purple: #2E3138;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    
    /* Background Colors */
    --bs-body-bg: #F7F7FF;
    --bs-body-color: #121616;
    
    /* Link Colors */
    --bs-link-color: #2E3138;
    --bs-link-hover-color: #FED766;
    
    /* Border Colors */
    --bs-border-color: #dee2e6;
}

/* Default: Hide the dark logo, show the light one */
.navbar-brand .logo-dark { display: none; }
.navbar-brand .logo-light { display: inline-block; }

/* Mobile View: Show dark logo, hide light logo */
@media (max-width: 991.98px) {
    .navbar-brand .logo-light { display: none !important; }
    .navbar-brand .logo-dark { display: inline-block !important; }
}

/* Scrolled/Sticky State: Show dark logo, hide light logo */
.navbar.sticky-top .logo-light { display: none !important; }
.navbar.sticky-top .logo-dark { display: inline-block !important; }

/* Text Color Utilities */
.text-primary {
    color: var(--bs-primary) !important;
}

.text-secondary {
    color: var(--bs-secondary) !important;
}

/* Background Color Utilities */
.bg-primary {
    background-color: var(--bs-primary) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

.bg-light {
    background-color: var(--bs-light) !important;
}

.bg-dark {
    background-color: var(--bs-dark) !important;
}

/* Button Colors */
/* Primary buttons with light background need dark text */
.btn-primary {
    background-color: var(--bs-light) !important;
    border-color: var(--bs-light) !important;
    color: var(--dark) !important;
}

.btn-primary:hover {
    background-color: #e0e0e0 !important;
    border-color: #d0d0d0 !important;
    color: var(--dark) !important;
}

.btn-secondary {
    background-color: var(--primary) !important;
    border-color: var(--bs-secondary) !important;
    color: var(--dark)
}

.btn-secondary:hover {
    background-color: #e5c259 !important;
    border-color: #e5c259 !important;
}

/* Navbar Colors */
.navbar-light .navbar-nav .nav-link {
    color: var(--light) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

/* Section Titles */
.section-title.text-primary span:first-child,
.section-title.text-primary span:last-child,
.section-title.text-primary span:first-child::after,
.section-title.text-primary span:last-child::after {
    background: var(--secondary);
}

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child::after {
    background: var(--primary);
}

/* Feature Icons */
.feature-item i.text-primary {
    color: var(--primary) !important;
}

/* Service Items */
.service-item {
    background: var(--light);
}

.service-item:hover {
    background: var(--primary);
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}

/* Progress Bars */
.progress-bar.bg-primary {
    background-color: var(--primary) !important;
}

.progress-bar.bg-secondary {
    background-color: var(--secondary) !important;
}

.progress-bar.bg-dark {
    background-color: var(--dark) !important;
}

/* Footer */
.footer {
    background-color: var(--dark);
}

.footer .btn.btn-link:hover {
    color: var(--secondary);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--secondary);
}

/* Portfolio */
#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Testimonial */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    color: var(--primary) !important;
    background: var(--light) !important;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary) !important;
    color: #FFFFFF !important;
}

/* Team */
.team-item .btn {
    color: var(--primary) !important;
    background: #FFFFFF !important;
}

.team-item .btn:hover {
    background: var(--primary) !important;
}

/* Footer Social */
.footer .btn.btn-social:hover {
    color: var(--primary) !important;
}

/* Override Hardcoded Purple Colors */

/* Links */
a {
    color: var(--secondary) !important;
}

a:hover {
    color: var(--primary) !important;
}

/* Portfolio Overlay */
.portfolio-item .portfolio-overlay {
    background: rgba(46, 49, 56, .9) !important;
}

/* Service Icon Hover */
.service-item .service-icon {
    background: url(../img/blob-primary.png) center center no-repeat !important;
}

.service-item:hover .service-icon {
    background: url(../img/blob-secondary.png) center center no-repeat !important;
}

/* FULL-WIDTH LAYOUT FIX */

/* Make container-xxl full width on large screens */
@media (min-width: 1400px) {
    .container-xxl {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Full-width sections */
.hero-header,
.bg-primary.fact,
.bg-primary.newsletter,
.bg-primary.footer {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1400px) {
    .hero-header > .container,
    .fact > .container,
    .newsletter > .container,
    .footer > .container {
        max-width: 100% !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* Navbar fix */
@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        max-width: 100%;
        left: 0;
        right: 0;
    }
}

/* INCREASED FONT SIZES FOR NAVBAR AND HERO */

/* Navbar links - increased from 18px */
.navbar-light .navbar-nav .nav-link {
    font-size: 18px;
}

/* Hero section heading - increased from default */
.hero-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Hero section paragraph - increased from default */
.hero-header p {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Navbar brand/logo text */
.navbar-brand h1 {
    font-size: 2rem;
}

/* Hero button sizes */
.btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.btn-lg, .btn-group-lg > .btn {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

/* Section titles */
.section-title {
    font-size: 1.1rem;
}

.section-title + h1,
.section-title ~ h1 {
    font-size: 2.5rem;
}

/* Feature item titles */
.feature-item h5 {
    font-size: 1.25rem;
}

/* Service item titles */
.service-item h5 {
    font-size: 1.25rem;
}

/* Footer headings */
.footer h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* MOBILE RESPONSIVE FIXES */

/* Hero section - Mobile font sizes */
@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    .hero-header p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    .hero-header {
        padding: 4rem 0 6rem 0 !important;
    }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 991.98px) {
    .hero-header h1 {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
    }
    .hero-header p {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
    }
    .hero-header {
        padding: 8rem 0 8rem 0 !important;
    }
}

/* MOBILE NAVBAR CONTACT BUTTON STYLING */
@media (max-width: 991.98px) {
    /* Make navbar contact button look like nav links with pill outline on mobile */
    .navbar .btn {
        display: inline-block !important;
        padding: 8px 20px !important;
        margin-top: 10px;
        margin-left: 0 !important;
        background: transparent !important;
        border: 1px solid rgba(0, 0, 0, 0.2) !important;
        border-radius: 50px !important;
        color: var(--dark) !important;
        font-family: 'Jost', sans-serif !important;
        font-weight: 500 !important;
        font-size: 18px !important;
        text-align: center !important;
        width: auto !important;
        max-width: 150px !important;
        transition: .5s;
    }
    
    .navbar .btn:hover {
        color: var(--secondary) !important;
        background: transparent !important;
        border-color: var(--secondary) !important;
        box-shadow: none !important;
    }
    
    /* Remove any pseudo-element decorations */
    .navbar .btn::before {
        display: none !important;
    }
}

