/* DRIVING ITALY - FULL PRODUCTION CSS 
   MODIFIED: Added Global Header Themes and Static Button Hover States
*/

:root {
    --ita-green: #009246;
    --ita-white: #ffffff;
    --ita-red: #ce2b37;
    --ita-black: #000000;
}

/* 1. RESET */
html, body { 
    margin: 0; 
    padding: 0; 
    width: 100%; 
}

body { 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    background-color: var(--ita-white); 
}

/* --- NEW: GLOBAL HEADER THEME --- */
.header-main {
    font-family: 'Arial Black', Gadget, sans-serif !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-top: 20px !important;
    margin-bottom: 5px !important;
    color: var(--ita-black) !important;
    line-height: 1.2 !important;
}

.header-sub {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    color: #333333 !important;
    line-height: 1.4 !important;
}

/* --- NEW: FORM LABELS --- */
.form-label {
    font-family: 'Arial Black', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--ita-black);
}

/* 2. THE NAVIGATION BAR - NUCLEAR OVERRIDE */
html body #nav-bar-outer {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 10px 20px !important;
    box-sizing: border-box !important;
    gap: 20px !important;
    border-bottom: 2px solid var(--ita-black) !important;
    background-color: transparent !important;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
                      url('../navbar-bg1.png') !important;
    background-position: center bottom !important; 
    background-size: cover !important;
    background-repeat: no-repeat !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* 3. NAVIGATION TYPOGRAPHY & BUTTONS */
.nav-title {
    font-family: 'Arial Black', Gadget, sans-serif !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    color: var(--ita-black) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.nav-btn-group { 
    position: relative !important; 
    display: inline-block !important; /* This prevents buttons from stretching 100% width */
}

.tri-border-wrap {
    display: inline-block !important; /* Changed from block to maintain button width */
    position: relative !important;
    outline: 1px solid var(--ita-black) !important;
    border: 1px solid !important;
    border-image-slice: 1 !important;
    border-image-source: linear-gradient(to right, var(--ita-green) 33.3%, #ffffff 33.3%, #ffffff 66.6%, var(--ita-red) 66.6%) !important;
}

.tri-inner-box {
    display: block !important;
    background: #ffffff !important; /* Forced white to match rest of site */
    box-shadow: inset 0 0 0 1px var(--ita-black) !important;
    transition: none !important; /* Kills any animation on hover */
}

/* GLOBAL HOVER OVERRIDE: Prevent black background change */
.tri-inner-box:hover {
    background: #ffffff !important;
    color: var(--ita-black) !important;
}

.nav-anchor {
    display: block !important;
    padding: 8px 12px !important;
    font-family: 'Arial Black', Gadget, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    color: var(--ita-black) !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* 4. MAIN CONTENT LAYOUT */
.content-wrapper { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 40px 20px; 
}

/* 5. FEATURE ROWS & ELEMENT STYLING */
h1 { 
    font-family: 'Arial Black', sans-serif;
    font-size: 1.8rem; 
    font-weight: 900; 
    text-transform: uppercase; 
}

.feature-text h3 {
    font-size: 1.4rem;
    border-left: 6px solid var(--ita-black);
    padding-left: 20px;
    text-transform: uppercase;
}

/* 6. MOBILE & RESPONSIVE */
@media screen and (max-width: 1024px) {
    html body #nav-bar-outer { justify-content: space-between !important; }
    .nav-title { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; }
    .feature-row { flex-direction: column !important; text-align: center; gap: 30px; }
}