/* EMERGENCY VIEWPORT FIX - CUTOFF ISSUE */
/* Add this to the TOP of style.css to override everything */

/* Force viewport to behave */
html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* FORCE TEXTURED BACKGROUND ON ALL PAGES */
body {
    background-color: #0a0a0a !important;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px
        ),
        radial-gradient(circle at 20% 50%, rgba(31, 61, 15, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(15, 31, 7, 0.15) 0%, transparent 50%) !important;
    background-attachment: fixed !important;
}

/* Prevent any element from causing horizontal scroll */
* {
    max-width: 100% !important;
}

/* Ensure containers don't overflow */
.container {
    width: 100% !important;
    max-width: 1200px !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}

/* Lock navbar */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

/* Fix nav wrapper */
.nav-wrapper {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
}

/* Ensure hero doesn't overflow */
.hero {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Fix all sections */
section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Fix main content area */
main {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}
