/* ===============================================
   DUMPSTER SIZE PAGES - SHARED STYLES
   Used by: 10-yard, 20-yard, 30-yard, 40-yard pages
   Following DumpsterRentals.co Brand Guidelines v1.0
   =============================================== */

/* Page Container */
.dumpster-size-page {
    padding: 2rem 0;
}

/* Hero Section */
.size-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats .stat {
    text-align: center;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
}

.hero-stats .stat strong {
    display: block;
    font-size: 1.5rem;
    color: #E75A0F; /* Brand: Primary Orange */
}

.hero-stats .stat span {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.hero-cta {
    margin-top: 2rem;
    text-align: center;
}

.cta-subtext {
    margin-top: 0.5rem;
    color: var(--color-text-secondary);
}

/* Hero Form - Compact Vertical Layout */
.hero-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #E5E7EB;
}

.hero-form .dumpster-lead-form {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.hero-form .form-title {
    font-size: 1.75rem;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.hero-form .form-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-form .form-group {
    width: 100%;
}

.hero-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 16px;
    color: #374151;
    background: white;
}

.hero-form .form-control:focus {
    border-color: #1E40AF;
    outline: 2px solid rgba(30, 64, 175, 0.1);
}

.hero-form .form-submit-row {
    margin-top: 0.5rem;
}

.hero-form .form-submit-row .btn {
    width: 100%;
    padding: 14px 24px;
}

.hero-form .form-disclaimer {
    text-align: center;
    color: #6B7280;
    font-size: 0.875rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Dumpster Visual */
/* Dumpster Visualization - Clean & Professional */
.dumpster-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
}

.dumpster-icon {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Dimensions Grid - 3 column layout */
.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.dimension-card {
    background: #FFFFFF;
    border: 2px solid #1E40AF; /* Brand: Primary Blue */
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.dimension-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}

.dimension-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1E40AF; /* Brand: Primary Blue */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.dimension-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827; /* Brand: gray-900 */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dumpster-visual {
        padding: 1.5rem 0.5rem;
    }

    .dimensions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-width: 300px;
    }

    .dumpster-icon {
        width: 180px;
    }

    .dimension-value {
        font-size: 1.25rem;
    }
}

/* Content Sections */
.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2.25rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin: 2rem 0 1rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.key-features {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.key-features ul {
    list-style: none;
    padding: 0;
}

.key-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.key-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.project-card li {
    padding: 0.5rem 0;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.project-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Capacity Examples */
.capacity-examples {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.example-item {
    text-align: center;
}

.example-item .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.example-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.example-item span {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.column h3 {
    margin-bottom: 1rem;
}

.column h3.accepted {
    color: var(--color-success);
}

.column h3.prohibited {
    color: var(--color-error);
}

.column ul {
    list-style: none;
    padding: 0;
}

.column li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.column li:before {
    position: absolute;
    left: 0;
}

.column:first-child li:before {
    content: "✓";
    color: var(--color-success);
}

.column:last-child li:before {
    content: "✗";
    color: var(--color-error);
}

/* Pricing Section */
.pricing-factors {
    margin: 2rem 0;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.factor {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.factor h4 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.factor p {
    font-size: 0.95rem;
    margin: 0;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th {
    background: var(--color-primary);
    color: white;
    padding: 1rem;
    text-align: left;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table tr.highlight {
    background: var(--color-bg-light);
}

.comparison-table tr.highlight td {
    font-weight: 600;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
}

.faq-item h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    margin: 0;
    font-size: 1rem;
}

/* Tips Section */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.tip-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.tip-card ul {
    list-style: none;
    padding: 0;
}

.tip-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tip-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* CTA Section */
.cta-section {
    margin: 4rem 0;
}

.cta-box {
    background: #F9FAFB; /* Brand: Light gray - NO gradients allowed */
    color: #111827;
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid #E5E7EB;
}

.cta-box h2 {
    color: #111827; /* Brand: gray-900 for headings */
    margin-bottom: 1rem;
}

.cta-box p {
    color: #4B5563; /* Brand: gray-600 for secondary text */
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Override for paragraphs inside forms */
.cta-box .dumpster-lead-form p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Specifically hide form-urgency div in cta-box (should not appear here) */
.cta-box .form-urgency {
    display: none !important;
}

/* Trust Section */
.trust-section {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 3rem 0;
}

.trust-section h3 {
    margin-bottom: 2rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-item .icon {
    font-size: 2rem;
    color: var(--color-success);
}

.trust-item strong {
    font-size: 1.125rem;
    color: var(--color-text);
}

.trust-item span {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Form Styling in CTA Box */
.cta-box .dumpster-lead-form {
    max-width: 100%;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.cta-box .form-title {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 700;
}


/* Hide empty elements that might appear in form */
.cta-box .dumpster-lead-form > p:empty,
.cta-box .dumpster-lead-form > div:empty {
    display: none;
}

.cta-box .form-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
}

.cta-box .form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

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

.cta-box .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 16px;
    color: #374151;
    background: white;
}

.cta-box .form-control:focus {
    border-color: #1E40AF;
    outline: 2px solid rgba(30, 64, 175, 0.1);
}

.cta-box .form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.cta-box .form-submit-row .btn {
    width: auto;
    padding: 14px 48px;
}

.cta-box .form-disclaimer {
    text-align: center;
    color: #6B7280;
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .size-hero {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }

    /* Stack form fields on mobile */
    .cta-box .form-row {
        grid-template-columns: 1fr;
    }

    .cta-box .form-title {
        font-size: 1.5rem;
    }
}


/* ===============================================
   FAQ ACCORDION - BRAND COMPLIANT & SEO OPTIMIZED
   Following same standards as Resources Hub page
   =============================================== */

.faq-accordion {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 2px solid #E5E7EB;
    transition: border-color 0.3s;
}

.faq-item.active {
    border-color: #1E40AF; /* Brand: Primary Blue */
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #374151; /* Brand: gray-700 for text */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 60px;
}

.faq-question:hover {
    background: #F9FAFB; /* Brand: gray-50 */
}

.faq-icon {
    flex-shrink: 0;
    color: #1E40AF; /* Brand: Primary Blue for icons */
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #6B7280; /* Brand: gray-500 */
    margin: 0;
}
