/* STL Mattress Express - Component Styles */

/* ===== BRAND COMPONENTS ===== */
.brands-section {
    padding: 4rem 0;
    background: white;
}

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

.brand-item {
    text-align: center;
    padding: 2rem;
    background: #F9FAFB;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.brand-item h3 {
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.brand-item p {
    color: #6B7280;
    font-size: 0.875rem;
}

/* ===== FAQ COMPONENTS ===== */
.faq-section {
    padding: 4rem 0;
    background: #F9FAFB;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #F9FAFB;
}

.faq-icon {
    font-size: 1.5rem;
    color: #3B82F6;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #4B5563;
    line-height: 1.6;
}

/* ===== CALCULATOR COMPONENTS ===== */
.calculator-section {
    padding: 4rem 0;
    background: white;
}

.calculator-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.payment-calculator {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.calc-input {
    margin-bottom: 1.5rem;
}

.calc-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.calc-input input,
.calc-input select {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
}

.calc-result {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid #3B82F6;
    margin-top: 1.5rem;
}

.calc-result #monthlyPayment {
    font-size: 2rem;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 0.5rem;
}

.calc-result small {
    color: #6B7280;
    font-size: 0.875rem;
}

/* ===== AREAS/NEIGHBORHOODS COMPONENTS ===== */
.areas-section,
.neighborhoods-section {
    padding: 4rem 0;
    background: white;
}

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

.area-card {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.area-card:hover {
    border-color: #3B82F6;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.area-card h3 {
    color: #1F2937;
    margin-bottom: 1rem;
}

.area-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.area-card li {
    padding: 0.25rem 0;
    color: #4B5563;
}

.delivery-time {
    display: inline-block;
    background: #10B981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.neighborhood-pills {
    margin-top: 2rem;
}

.pill-group {
    margin-bottom: 2rem;
}

.pill-group h3 {
    color: #1F2937;
    margin-bottom: 1rem;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    background: #E5E7EB;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pill:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-2px);
}

/* ===== FURNITURE CATEGORIES ===== */
.available-section {
    padding: 4rem 0;
    background: #F9FAFB;
}

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

.category-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

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

.category-item h3 {
    color: #1F2937;
    margin-bottom: 1rem;
}

.category-item ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.category-item li {
    padding: 0.25rem 0;
    color: #4B5563;
}

.favorites-btn {
    background: transparent;
    border: 2px solid #F59E0B;
    color: #F59E0B;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorites-btn:hover,
.favorites-btn[aria-pressed="true"] {
    background: #F59E0B;
    color: white;
}

/* ===== ZIP CHECKER ===== */
.zip-checker-section {
    padding: 4rem 0;
    background: white;
}

.zip-checker-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.zip-checker {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.zip-checker input {
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    min-width: 200px;
}

.zip-result {
    background: #F0F9FF;
    border: 2px solid #3B82F6;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
    color: #1E40AF;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-alert-signup {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

.price-alert-signup h3 {
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.alert-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.alert-form input {
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    min-width: 250px;
}

/* ===== TESTIMONIAL COMPONENTS ===== */
.testimonial-section {
    padding: 4rem 0;
    background: #F9FAFB;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-content .stars {
    color: #FFC107;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-content blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-content cite {
    color: #6B7280;
    font-weight: 600;
    font-style: normal;
}

/* ===== USE CASES COMPONENTS ===== */
.use-cases-section {
    padding: 4rem 0;
    background: #F9FAFB;
}

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

.use-case-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.use-case-item:hover {
    transform: translateY(-5px);
}

.use-case-item .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case-item h3 {
    color: #1F2937;
    margin-bottom: 1rem;
}

.use-case-item p {
    color: #4B5563;
    font-size: 0.875rem;
}

/* ===== HOW IT WORKS COMPONENTS ===== */
.how-it-works-section {
    padding: 4rem 0;
    background: white;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #3B82F6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-item h3 {
    color: #1F2937;
    margin-bottom: 1rem;
}

.step-item p {
    color: #4B5563;
    line-height: 1.6;
}

/* ===== ZONES COMPONENTS ===== */
.zones-section {
    padding: 4rem 0;
    background: #F9FAFB;
}

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

.zone {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.zone h3 {
    color: #1F2937;
    margin-bottom: 1rem;
}

.zone ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.zone li {
    padding: 0.25rem 0;
    color: #4B5563;
}

.delivery-badge {
    background: #10B981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* ===== CITIES COMPONENTS ===== */
.cities-section {
    padding: 4rem 0;
    background: white;
}

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

.cities-column {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 1rem;
}

.cities-column h3 {
    color: #1F2937;
    margin-bottom: 1rem;
    text-align: center;
}

.cities-column ul {
    list-style: none;
}

.cities-column li {
    padding: 0.5rem 0;
    color: #4B5563;
    border-bottom: 1px solid #E5E7EB;
}

.cities-column li:last-child {
    border-bottom: none;
}

/* ===== CONTACT COMPONENTS ===== */
.contact-info-section {
    padding: 4rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-details {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 1rem;
}

.contact-details h2 {
    color: #1F2937;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: #374151;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #4B5563;
    line-height: 1.6;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-form-section {
    padding: 4rem 0;
    background: #F9FAFB;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.rental-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

.info-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .brands-grid,
    .areas-grid,
    .furniture-categories,
    .use-cases-grid,
    .steps-container,
    .zone-map,
    .cities-grid {
        grid-template-columns: 1fr;
    }

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

    .zip-checker,
    .alert-form {
        flex-direction: column;
        align-items: center;
    }

    .zip-checker input,
    .alert-form input {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .quick-actions {
        flex-direction: column;
    }

    .rental-info {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}