/* ==========================================================
   BusinessPlatform - Site Styles
   Minimal custom CSS on top of Bootstrap 5.3
   Theme: Dark Brown / Rust / Cream / Charcoal
   ========================================================== */

/* ----------------------------------------------------------
   Root Variables
   ---------------------------------------------------------- */
   :root {
    --bp-brown: #2a1b14;
    --bp-charcoal: #15110f;
    --bp-rust: #b86b32;
    --bp-rust-dark: #8f5224;
    --bp-cream: #f5efe6;
    --bp-cream-dark: #e8ddcf;
    --bp-text: #2d2a26;
    --bp-muted: #8a8178;
    --bp-border: rgba(255,255,255,0.08);
    --bp-shadow: 0 20px 40px rgba(0,0,0,0.25);
    --bp-radius: 1.25rem;
    --bp-transition: all 0.3s ease;
}

/* ----------------------------------------------------------
   Base
   ---------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
        "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bp-cream);
    font-size:1.2rem;
    color: var(--bp-text);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    transition: var(--bp-transition);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* ----------------------------------------------------------
   Typography
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

.text-white-75 {
    color: rgba(255,255,255,0.75);
}

.text-white-50 {
    color: rgba(255,255,255,0.50);
}

/*
    Menu 
*/
.nav-item {
    text-transform: uppercase;
    font-size : 0.8rem;
}

/* ----------------------------------------------------------
   Sections
   ---------------------------------------------------------- */
.bp-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.bp-section-sm {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.bp-section-lg {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.bp-hero {
    background:
        linear-gradient(
            90deg,
            rgba(15, 10, 7, 0.92) 0%,
            rgba(15, 10, 7, 0.78) 35%,
            rgba(15, 10, 7, 0.35) 65%,
            rgba(15, 10, 7, 0.15) 100%
        ),
        url("/Images/Design/factory1.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
}

/* ----------------------------------------------------------
   Colors
   ---------------------------------------------------------- */
.bg-bp-brown {
    background-color: var(--bp-brown) !important;
}

.bg-bp-charcoal {
    background-color: var(--bp-charcoal) !important;
}

.bg-bp-cream {
    background-color: var(--bp-cream) !important;
}

.text-bp-rust {
    color: var(--bp-rust) !important;
}

.text-bp-muted {
    color: var(--bp-muted) !important;
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn-bp-primary {
    background-color: var(--bp-rust);
    border-color: var(--bp-rust);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
}

.btn-bp-primary:hover {
    background-color: var(--bp-rust-dark);
    border-color: var(--bp-rust-dark);
    color: #fff;
}

.btn-bp-outline {
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
}

.btn-bp-outline:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

/* ----------------------------------------------------------
   Cards
   ---------------------------------------------------------- */
.bp-card {
    background: #fff;
    border: none;
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
    overflow: hidden;
}

.bp-card-dark {
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--bp-border);
    color: #fff;
    border-radius: var(--bp-radius);
    backdrop-filter: blur(6px);
}

/* ----------------------------------------------------------
   Navbar
   ---------------------------------------------------------- */
.navbar {
    transition: var(--bp-transition);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-link {
    font-weight: 500;
}

/* ----------------------------------------------------------
   Helpers
   ---------------------------------------------------------- */
.bp-rounded {
    border-radius: var(--bp-radius) !important;
}

.bp-shadow {
    box-shadow: var(--bp-shadow) !important;
}

.bp-overlay-dark {
    position: relative;
}

.bp-overlay-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.bp-overlay-dark > * {
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.bp-footer {
    background: var(--bp-charcoal);
    color: rgba(255,255,255,0.75);
}

.bp-footer a {
    color: rgba(255,255,255,0.75);
}

.bp-footer a:hover {
    color: #fff;
}

/* ----------------------------------------------------------
   Responsive Tweaks
   ---------------------------------------------------------- */
@media (max-width: 991.98px) {
    .bp-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .bp-hero h1 {
        font-size: clamp(2.2rem, 8vw, 4rem);
    }
}


/* Page message */
.page-message {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100;
    top: 5%;
    background-color: red;
    color: #eeeeee;
    padding: 2rem;
}

.page-message-content {
    font-size: 2rem;
}

/* Close button styling */
.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: none;
    border: none;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
    /* Highlight on hover */
}
