
/** * Shelco Construction - Responsive Landing Page Styles
 * @project      Shelco Construction Brand
 * @author       Strange Shapes Studio
 * @version      1.5.2
 * @file         /css/landing_style.css
 */

:root {
    --shelco-red: #b30000;
    --shelco-black: #1a1a1a;
    --shelco-grey: #2a2a2a;
    --white: #ffffff;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--shelco-black);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Changed to min-height for mobile scrolling */
    margin: 0;
}

/* TOP HEADER */
header {
    background: var(--shelco-black);
    padding: 20px;
    border-bottom: 5px solid var(--shelco-red);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-wrap: wrap; /* Allows button to wrap on very small screens */
    gap: 15px;
}

.logo-box img {
    max-width: 180px; /* Scaled down slightly for mobile */
    height: auto;
    border-radius: 10px;
    display: block;
}

.btn-portal-top {
    background: var(--shelco-red);
    color: var(--white);
    text-decoration: none;
    padding: 8px 14px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: 0.3s;
}

/* HERO SECTION */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-image: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), 
                      url('https://www.transparenttextures.com/patterns/asphalt-dark.png');
}

.hero h2 {
    font-size: 0.9rem;
    color: var(--shelco-red);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero h1 {
    font-size: 2.5rem; /* Base size for mobile */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--shelco-black);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-divider {
    width: 60px;
    height: 6px;
    background: var(--shelco-red);
    margin-bottom: 20px;
}

.hero p {
    max-width: 600px;
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
}

/* FOOTER AREA */
footer {
    background: var(--shelco-black);
    color: #999;
    padding: 40px 20px;
    text-align: center;
    border-top: 8px solid var(--shelco-grey);
}

.footer-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column for mobile */
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--shelco-red);
    display: inline-block;
    padding-bottom: 4px;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #bbb;
}

.contact-link {
    color: #bbb;
    text-decoration: none;
}

.copyright {
    font-size: 0.7rem;
    border-top: 1px solid #333;
    padding-top: 20px;
    text-transform: uppercase;
}

.copyright a { color: var(--white); text-decoration: none; font-weight: bold; }

/* ==========================================
   RESPONSIVE QUERIES (The Fix)
   ========================================== */

/* TABLETS & DESKTOPS */
@media (min-width: 768px) {
    body { overflow: hidden; } /* Lock height on large screens */

    .btn-portal-top {
        position: absolute;
        right: 40px;
        top: 20px;
        padding: 10px 18px;
        font-size: 0.7rem;
    }

    .logo-box img { max-width: 220px; }

    .hero h1 { font-size: 3.5rem; }
    .hero h2 { font-size: 1.1rem; letter-spacing: 5px; }
    .hero-divider { width: 80px; height: 8px; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}