/* ========================================
   CSS Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1628;
    --navy-light: #1A2942;
    --navy-lighter: #2A3952;
    --orange: #FF6B35;
    --orange-dark: #E55A2B;
    --yellow: #FFB627;
    --white: #FFFFFF;
    --gray-light: #F4F4F4;
    --gray: #E0E0E0;
    --gray-dark: #757575;
    --text-primary: #0A1628;
    --text-secondary: #4A5568;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--orange);
    text-decoration: none;
}

a:hover {
    color: var(--orange-dark);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

/* ========================================
   Header
   ======================================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo h1 {
    color: var(--navy);
    font-size: 1.75rem;
    margin: 0;
}

.logo .tagline {
    color: var(--orange);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Navigation
   ======================================== */
.nav-desktop {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-desktop a {
    color: var(--navy);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--orange);
}

.nav-desktop a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 1px;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--gray);
    padding: 16px 20px;
    gap: 0;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    color: var(--navy);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-light);
}

.nav-mobile a:last-child {
    border-bottom: none;
}

.nav-mobile a.active {
    color: var(--orange);
}

.nav-mobile-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
}

.nav-mobile-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
}

.header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
    font-size: 1.125rem;
}

.phone-link .icon {
    width: 20px;
    height: 20px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-service-area {
    margin-top: 40px;
    font-size: 1rem;
    opacity: 0.8;
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
    padding: 80px 0;
    background: var(--gray-light);
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    color: var(--navy);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    position: relative;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: 50%;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--navy);
}

.step h3 {
    color: var(--navy);
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--orange);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.2);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.size-visual {
    margin: 20px auto 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 80px;
}

.dumpster-icon {
    background: var(--navy);
    border-radius: 4px;
    position: relative;
}

.size-visual[data-size="small"] .dumpster-icon {
    width: 60px;
    height: 40px;
}

.size-visual[data-size="medium"] .dumpster-icon {
    width: 80px;
    height: 55px;
}

.size-visual[data-size="large"] .dumpster-icon {
    width: 100px;
    height: 65px;
}

.size-visual[data-size="xlarge"] .dumpster-icon {
    width: 120px;
    height: 75px;
}

.pricing-card h3 {
    color: var(--navy);
    margin-bottom: 12px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 24px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

/* ========================================
   Why HaulNow
   ======================================== */
.why-haulnow {
    padding: 80px 0;
    background: var(--gray-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit {
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    padding: 20px;
    background: var(--orange);
    border-radius: 50%;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--white);
}

.benefit h3 {
    color: var(--navy);
    margin-bottom: 12px;
}

.benefit p {
    color: var(--text-secondary);
}

/* ========================================
   Service Area
   ======================================== */
.service-area {
    padding: 80px 0;
    background: var(--navy);
    color: var(--white);
}

.service-area-content {
    text-align: center;
}

.service-area h2 {
    margin-bottom: 40px;
}

.cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.cities span {
    background: var(--navy-light);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.service-note {
    opacity: 0.8;
    font-size: 1rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--orange);
    border-color: var(--white);
}

.cta-buttons .btn-primary:hover {
    background: var(--gray-light);
    color: var(--orange);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--orange);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 16px;
}

.footer-section h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section a {
    color: var(--white);
}

.footer-section a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--navy-light);
    opacity: 0.6;
}

/* ========================================
   Provider Page Specific Styles
   ======================================== */
.provider-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.provider-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.provider-hero .hero-subtitle {
    color: var(--orange);
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.125rem;
    opacity: 0.9;
}

.provider-benefits {
    padding: 80px 0;
    background: var(--gray-light);
}

.provider-form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-container h2 {
    color: var(--navy);
    margin-bottom: 12px;
}

.form-intro {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.provider-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.form-group small {
    margin-top: 6px;
    color: var(--gray-dark);
    font-size: 0.875rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.pricing-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.pricing-input-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.pricing-input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 0.875rem;
}

.input-with-prefix {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    min-width: 0;
    width: 100%;
}

.input-with-prefix:focus-within {
    border-color: var(--orange);
}

.input-with-prefix .prefix {
    background: var(--gray-light);
    padding: 12px;
    font-weight: 600;
    color: var(--navy);
}

.input-with-prefix input {
    border: none;
    padding: 12px;
    flex: 1;
    font-size: 1rem;
    min-width: 0;
}

.input-with-prefix input:focus {
    outline: none;
    border: none;
}

.form-actions {
    margin-top: 20px;
}

.form-message {
    padding: 16px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.form-message.error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.provider-process {
    padding: 80px 0;
    background: var(--gray-light);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero .hero-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-hero .hero-description {
    font-size: 1.125rem;
    opacity: 0.9;
}

.contact-form-section {
    padding: 80px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Consent Section */
.consent-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 8px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    line-height: 1.6;
}

.consent-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--orange);
}

.consent-text {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.65;
}

/* Legal Links */
.legal-links {
    padding-top: 4px;
}

.legal-links a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
}

.legal-links a:hover {
    color: var(--orange-dark);
}

/* Submit Button - full width */
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ========================================
   Mobile Responsive
   ======================================== */
@media (max-width: 768px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .nav-desktop {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .header-cta {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 16px;
        margin: 0 8px;
        border-radius: 8px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pricing-inputs {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pricing-input-group label {
        font-size: 0.8rem;
    }

    .input-with-prefix .prefix {
        padding: 10px;
        font-size: 0.875rem;
    }

    .input-with-prefix input {
        padding: 10px;
        font-size: 0.875rem;
    }

    .provider-form-section {
        padding: 40px 0;
    }

    .container {
        padding: 0 12px;
    }

    .phone-link {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pricing-card {
        padding: 20px;
    }

    .price {
        font-size: 2rem;
    }

    .cities span {
        font-size: 0.875rem;
        padding: 8px 14px;
    }
}