/* MQUBE INTEGRATED HOMES - MASTER PRODUCTION CSS 
   Final Layout: Full-Bleed Hero + Floating Header + Bullet Sub-Hero
*/

/* --- 1. GLOBAL RESET & TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.8;
    color: #333;
    background-color: #fcfcfc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* --- 2. THE FLOATING HEADER --- */
.mqube-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    height: 100px;
    position: absolute; 
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: transparent !important;
}

.logo-area { display: flex; flex-direction: column; align-items: flex-start; }

.logo-area img { max-height: 80px; width: auto; filter: drop-shadow(0px 2px 8px rgba(0,0,0,0.3)); }

/* Bolds 'Mqube' only and removes underline */
.logo-text { 
    text-decoration: none !important; 
    font-size: 0.9rem; 
    color: #ffffff; 
    font-weight: 300; 
}

.logo-text::first-word { font-weight: 700 !important; }

.nav-links { display: flex; list-style: none; gap: 2rem; }

.nav-links li a { 
    text-decoration: none; 
    color: #ffffff !important; 
    font-weight: 600; font-size: 0.9rem; 
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* --- 3. THE BULLET-STYLE HERO --- */
.hero {
    height: 100vh; width: 100%;
    display: flex; align-items: flex-end; justify-content: flex-start;
    position: relative;
    background: #0c2438 url('assets/images/hero/industrial-housing-hero.jpg') no-repeat center/cover;
    overflow: hidden;
}

.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative; z-index: 2; color: #ffffff;
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 0 0 10vh 10%; text-align: left; max-width: 1400px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem); font-weight: 700;
    line-height: 1.1; text-transform: uppercase; margin-bottom: 2rem;
    white-space: nowrap; /* Single line impact */
}

/* Sub-Hero Bullet Point Container */
.hero-description {
    display: flex; flex-direction: column; gap: 1.2rem;
    max-width: 600px; margin-bottom: 3.5rem;
}

.sub-hero-content {
    font-size: 1rem; font-weight: 400; color: rgba(255, 255, 255, 0.9);
    position: relative; padding-left: 25px; text-transform: uppercase;
    letter-spacing: 1px;
}

.sub-hero-content::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 6px; height: 6px; background-color: #ffffff; border-radius: 50%;
}

/* --- 4. BUTTONS & GRID --- */
.hero-links { display: flex; gap: 1.5rem; justify-content: flex-start; }

.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem; text-decoration: none;
    font-weight: 700; text-transform: uppercase; transition: 0.3s;
}

.btn-primary { background-color: #0F4C81; color: #ffffff !important; }

.btn-secondary { background-color: transparent; color: #ffffff !important; border: 2px solid #ffffff; }

section { padding: 6rem 10%; max-width: 1600px; margin: 0 auto; }

.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }

.sol-card { background: #fff; border: 1px solid #eee; transition: 0.4s; }

.sol-card img { width: 100%; height: 280px; object-fit: cover; }

/* --- 5. FOOTER --- */
footer {
    background: #ffffff url('assets/images/footer-ribbon.png') no-repeat;
    background-position: 0px center; background-size: 100% 100%;
    height: 85px; display: flex; align-items: center; padding: 0 10%;
    border-top: 1px solid #eee; color: #777; font-size: 0.85rem;
}

footer::after { display: none !important; }

/* --- 6. MOBILE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; white-space: normal; }
    .hero-content { padding: 0 5% 10% 5%; text-align: center; align-items: center; }
    .hero-links { flex-direction: column; align-items: center; }
    .solutions { grid-template-columns: 1fr; }
}