/* SepticRoute - Professional Styles with Full Branding v3.0 */
/* Preserves ALL SEO + Adds Logo & Cover Photo Support */

:root {
    --navy: #0A2A43;
    --blue: #3A8DFF;
    --grey-bg: #F7F8FA;
    --white: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #4A5568;
    --border: #E2E8F0;
    --success: #10B981;
    --error: #EF4444;
    --font-base: 1rem;
    --font-sm: 0.875rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2.25rem;
    --font-4xl: 3rem;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-section: 5rem;
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
*:focus:not(:focus-visible) { outline: none; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background: var(--white);
    font-size: var(--font-base);
    -webkit-font-smoothing: antialiased;
}

.skip-to-content, .skip-to-main {
    position: absolute; top: -100px; left: 0;
    background: var(--navy); color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    text-decoration: none; font-weight: 600; z-index: 10000;
}
.skip-to-content:focus, .skip-to-main:focus { top: 0; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: var(--leading-tight); color: var(--navy); margin-bottom: var(--space-md); }
h1 { font-size: var(--font-4xl); letter-spacing: -0.5px; }
h2 { font-size: var(--font-3xl); }
h3 { font-size: var(--font-2xl); }
h4 { font-size: var(--font-xl); }

p { margin-bottom: var(--space-sm); color: var(--text-primary); line-height: var(--leading-relaxed); }
a { color: var(--blue); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--navy); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--grey-bg); }

.header {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: var(--space-lg) 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav { display: flex; justify-content: space-between; align-items: center; }

/* LOGO STYLING */
.logo {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none; transition: transform var(--transition-base);
}
.logo:hover { transform: translateY(-2px); }
.logo-image { height: 40px; width: auto; display: block; }
.logo-text { font-size: var(--font-2xl); font-weight: 700; color: var(--navy); }
.logo-text span { color: var(--blue); }

.nav-menu {
    display: flex; list-style: none;
    gap: var(--space-lg); align-items: center;
}
.nav-menu a {
    color: var(--text-primary); font-weight: 600;
    font-size: var(--font-sm); text-transform: uppercase;
    letter-spacing: 0.5px; padding: var(--space-xs) var(--space-sm);
    border-radius: 4px; transition: all var(--transition-fast);
}
.nav-menu a:hover, .nav-menu a:focus { color: var(--blue); background: var(--grey-bg); }

.nav-toggle {
    display: none; flex-direction: column;
    cursor: pointer; gap: 5px; padding: var(--space-xs);
    background: transparent; border: 2px solid transparent; border-radius: 4px;
}
.nav-toggle:focus { border-color: var(--blue); outline: none; }
.nav-toggle span { width: 25px; height: 3px; background: var(--navy); transition: var(--transition-base); border-radius: 2px; }

.btn {
    display: inline-block; padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-base); font-weight: 600;
    text-align: center; border: none; cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase; letter-spacing: 0.5px;
    border-radius: 4px; min-height: 44px; line-height: 1.5;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-large { padding: var(--space-md) var(--space-xl); font-size: var(--font-lg); min-height: 56px; }

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #0d3d5c 100%);
    color: var(--white); padding: calc(var(--space-section) * 1.5) 0;
    text-align: center; position: relative; overflow: hidden;
}
.hero-with-bg {
    background-image: 
        linear-gradient(135deg, rgba(10, 42, 67, 0.95) 0%, rgba(13, 61, 92, 0.92) 100%),
        url('../images/cover-photo.png');
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero h1 { color: var(--white); font-size: var(--font-4xl); margin-bottom: var(--space-lg); }
.hero p, .hero .subheading {
    color: rgba(255, 255, 255, 0.95); font-size: var(--font-xl);
    max-width: 700px; margin: 0 auto var(--space-xl); line-height: var(--leading-relaxed);
}
.hero-cta { display: flex; gap: var(--space-lg); justify-content: center; flex-wrap: wrap; }
.hero .btn-secondary { background: transparent; color: white; border: 2px solid white; }
.hero .btn-secondary:hover { background: white; color: var(--navy); }
.badge {
    display: inline-block; background: rgba(255, 255, 255, 0.2);
    padding: var(--space-xs) var(--space-md); border-radius: 4px;
    font-size: var(--font-sm); margin-bottom: var(--space-lg);
    color: var(--white); font-weight: 600;
}

.grid { display: grid; gap: var(--space-xl); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
    background: var(--white); padding: var(--space-xl);
    border: 2px solid var(--border); border-radius: 8px;
    transition: all var(--transition-base);
}
.card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card h3 { margin-bottom: var(--space-md); }
.card p { color: var(--text-secondary); line-height: var(--leading-relaxed); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-xl); margin-top: var(--space-xl); }
.pricing-card {
    background: var(--white); border: 3px solid var(--border);
    padding: var(--space-xl) var(--space-lg); text-align: center;
    transition: all var(--transition-base); position: relative; border-radius: 8px;
}
.pricing-card:hover { border-color: var(--blue); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--blue); box-shadow: var(--shadow-md); }
.pricing-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: var(--white);
    padding: var(--space-xs) var(--space-lg); font-size: var(--font-sm);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px;
}
.pricing-plan { font-size: var(--font-2xl); font-weight: 700; color: var(--navy); margin-bottom: var(--space-sm); }
.pricing-price { font-size: var(--font-4xl); font-weight: 700; color: var(--navy); margin: var(--space-lg) 0; }
.pricing-price span { font-size: var(--font-xl); color: var(--text-secondary); font-weight: 400; }
.pricing-features { list-style: none; margin: var(--space-xl) 0; text-align: left; }
.pricing-features li { padding: var(--space-sm) 0; border-bottom: 1px solid var(--border); color: var(--text-primary); }
.pricing-features li:before { content: "✓ "; color: var(--blue); font-weight: 700; margin-right: var(--space-sm); }

.feature-list { list-style: none; margin-top: var(--space-lg); }
.feature-list li { padding: var(--space-md) 0; border-bottom: 1px solid var(--border); font-size: var(--font-lg); }
.feature-list li:before { content: "→ "; color: var(--blue); font-weight: 700; margin-right: var(--space-sm); }

.faq-item { background: var(--white); border: 2px solid var(--border); padding: var(--space-xl); margin-bottom: var(--space-lg); border-radius: 8px; }
.faq-question { font-size: var(--font-xl); font-weight: 700; color: var(--navy); margin-bottom: var(--space-md); }
.faq-answer { color: var(--text-secondary); line-height: var(--leading-relaxed); }

.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; margin-bottom: var(--space-xs); font-weight: 600; color: var(--navy); }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: var(--space-md);
    border: 2px solid var(--border); font-size: var(--font-base);
    font-family: inherit; transition: border-color var(--transition-fast);
    border-radius: 4px; min-height: 44px;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(58, 141, 255, 0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }

.google-form-container {
    background: white; border-radius: 12px; padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 40px auto; max-width: 680px;
}
.google-form-container iframe {
    border: none; border-radius: 8px;
    display: block; margin: 0 auto;
    width: 100%; max-width: 640px;
}
.form-alternative-link { text-align: center; margin-top: 20px; font-size: 14px; color: #6B7280; }
.form-alternative-link a { color: #3A8DFF; text-decoration: underline; }
.form-alternative-link a:hover { color: #2563EB; }

.footer { background: var(--navy); color: var(--white); padding: var(--space-2xl) 0 var(--space-xl); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-xl); margin-bottom: var(--space-xl); }
.footer h4 { color: var(--white); margin-bottom: var(--space-lg); font-size: var(--font-xl); }
.footer p { color: rgba(255, 255, 255, 0.8) !important; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a { color: rgba(255, 255, 255, 0.8); transition: color var(--transition-fast); display: inline-block; padding: var(--space-xs) 0; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: var(--space-xl); text-align: center; }
.footer-bottom p { color: rgba(255, 255, 255, 0.7) !important; }
.footer-logo { height: 32px; width: auto; margin-bottom: var(--space-md); opacity: 0.9; }

.text-center { text-align: center; }
.mb-20 { margin-bottom: var(--space-lg); }
.mb-40 { margin-bottom: var(--space-xl); }
.mt-40 { margin-top: var(--space-xl); }
.highlight { color: var(--blue); font-weight: 600; }
.subheading { font-size: var(--font-lg); color: var(--text-secondary); font-weight: 400; margin-bottom: var(--space-xl); }

@media (max-width: 768px) {
    :root { --font-4xl: 2.25rem; --font-3xl: 1.875rem; --space-section: 3rem; }
    .logo-image { height: 32px; }
    .logo-text { font-size: var(--font-xl); }
    .nav-menu {
        position: fixed; left: -100%; top: 70px;
        flex-direction: column; background: var(--white);
        width: 100%; text-align: center;
        transition: left var(--transition-base);
        box-shadow: var(--shadow-lg);
        padding: var(--space-xl) 0; gap: var(--space-sm);
    }
    .nav-menu.active { left: 0; }
    .nav-menu a { width: 100%; padding: var(--space-md); }
    .nav-toggle { display: flex; }
    .hero { padding: var(--space-2xl) 0; }
    .card { padding: var(--space-lg); }
    .hero-cta { flex-direction: column; gap: var(--space-md); }
    .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    h1 { font-size: var(--font-3xl); }
    h2 { font-size: var(--font-2xl); }
    .google-form-container { padding: 15px; margin: 20px 10px; }
    .google-form-container iframe { height: 950px !important; }
}

@media (max-width: 400px) {
    :root { --font-4xl: 2rem; --font-3xl: 1.5rem; }
    .container { padding: 0 var(--space-sm); }
    .logo-image { height: 28px; }
}

@media print {
    .header, .footer, .btn, .nav-toggle { display: none; }
    body { color: #000; background: #fff; }
}
