/* ========================================
   InterWest Fire Sprinkler Inspections
   Color palette: #000 black, #CC0000 red, #FFF white
   ======================================== */

:root {
    --iw-black: #0d0d0d;
    --iw-red: #cc0000;
    --iw-red-dark: #a30000;
    --iw-white: #ffffff;
    --iw-gray: #f5f5f5;
    --iw-dark-section: #111111;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #1a1a1a;
    margin: 0;
}

/* ---- TYPOGRAPHY ---- */
.iw-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.iw-red-rule {
    width: 60px;
    height: 4px;
    background: var(--iw-red);
    margin: 0.75rem auto 0;
}

.text-iw-red { color: var(--iw-red) !important; }

/* ---- NAVBAR ---- */
.iw-navbar {
    background: var(--iw-black) !important;
    padding: 0.75rem 0;
    border-bottom: 3px solid var(--iw-red);
}

.iw-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
}

.iw-logo {
    height: 56px;
    width: auto;
    display: block;
}

@media (max-width: 576px) {
    .iw-logo { height: 42px; }
}

.brand-inter {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--iw-white);
    letter-spacing: 2px;
}

.brand-west {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--iw-red);
    letter-spacing: 2px;
}

.brand-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}

.iw-navbar .nav-link {
    color: #ccc !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.iw-navbar .nav-link:hover { color: var(--iw-white) !important; }

/* ---- BUTTONS ---- */
.iw-btn-red {
    background: var(--iw-red);
    color: var(--iw-white);
    border: 2px solid var(--iw-red);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
    border-radius: 2px;
}
.iw-btn-red:hover {
    background: var(--iw-red-dark);
    border-color: var(--iw-red-dark);
    color: var(--iw-white);
}

.iw-btn-outline {
    background: transparent;
    color: var(--iw-white);
    border: 2px solid var(--iw-white);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
    border-radius: 2px;
}
.iw-btn-outline:hover {
    background: var(--iw-white);
    color: var(--iw-black);
}

/* ---- HERO ---- */
.iw-hero {
    position: relative;
    background: linear-gradient(135deg, var(--iw-black) 0%, #2a0000 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.iw-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M0 300 L0 220 L150 120 L300 200 L450 80 L600 160 L750 60 L900 150 L1050 70 L1200 140 L1200 300 Z' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") center bottom/cover no-repeat;
    pointer-events: none;
}

.iw-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(204,0,0,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.iw-tagline-bar {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--iw-red);
    text-transform: uppercase;
    font-weight: 600;
}

.iw-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.iw-hero-sub {
    font-size: 1.1rem;
    color: #ccc;
    letter-spacing: 1px;
    margin-top: 0.75rem;
}

/* ---- PILLARS ---- */
.iw-pillars {
    background: var(--iw-gray);
}

.iw-pillar-card {
    background: var(--iw-white);
    border-top: 4px solid var(--iw-red);
    padding: 2rem 1.25rem;
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.iw-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
}

.iw-pillar-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--iw-red);
}
.iw-pillar-icon svg {
    width: 100%;
    height: 100%;
}

.iw-pillar-card h5 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.iw-pillar-card p { font-size: 0.88rem; color: #555; margin: 0; }

/* ---- WHY CHOOSE US ---- */
.iw-why {
    background: var(--iw-dark-section);
}

.iw-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.iw-check-list li {
    color: #ccc;
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
}
.iw-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--iw-red);
    font-weight: 700;
    font-size: 1rem;
}

.iw-mission-box {
    background: rgba(204,0,0,0.1);
    border: 2px solid var(--iw-red);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    text-align: center;
}
.iw-mission-icon { font-size: 2.5rem; }
.iw-mission-label {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3px;
    color: var(--iw-red);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.iw-mission-text {
    color: var(--iw-white);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}

/* ---- ABOUT ---- */
.iw-about { background: var(--iw-white); }
.iw-about-text { color: #444; line-height: 1.8; }

/* ---- CONTACT ---- */
.iw-contact { background: var(--iw-black); }

.iw-contact-info { padding: 1rem 0; }

.iw-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.iw-contact-icon { font-size: 1.2rem; flex-shrink: 0; }
.iw-contact-item a {
    color: var(--iw-white);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1rem;
}
.iw-contact-item a:hover { color: var(--iw-red); }

.iw-input {
    background: #1a1a1a;
    border: 1px solid #333;
    color: var(--iw-white);
    border-radius: 2px;
    padding: 0.75rem 1rem;
}
.iw-input:focus {
    background: #222;
    border-color: var(--iw-red);
    color: var(--iw-white);
    box-shadow: 0 0 0 2px rgba(204,0,0,0.25);
}
.iw-input::placeholder { color: #666; }
.iw-input option { background: #222; color: var(--iw-white); }

/* ---- FOOTER ---- */
.iw-footer {
    background: #050505;
    border-top: 3px solid var(--iw-red);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .iw-hero { min-height: 400px; }
    .iw-hero-title { font-size: 2.2rem; }
}
