/* ========== LED Desk Lamp Page Template Styles ========== */

/* ========== CSS Variables ========== */
:root {
    --color-primary: #FF8C00;
    --color-primary-dark: #E67300;
    --color-heading: #222222;
    --color-heading-alt: #333333;
    --color-text: #666666;
    --color-text-light: #999999;
    --color-bg-white: #ffffff;
    --color-bg-gray: #f8f8f8;
    --color-bg-dark: #222222;
    --color-bg-black: #000000;
    --color-border: #e0e0e0;
    --color-footer-gray: #666666;

    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-h1: 48px;
    --font-size-h2: 36px;
    --font-size-h3: 24px;
    --font-size-h4: 18px;
    --font-size-body: 16px;
    --font-size-small: 14px;
    --font-weight-heading: 700;
    --font-weight-body: 400;
    --line-height: 1.6;

    --spacing-container: 1200px;
    --spacing-module-large: 80px;
    --spacing-module-medium: 60px;
    --spacing-module-small: 40px;
    --spacing-element: 30px;
    --spacing-gap: 30px;
    --container-padding: 15px;
}

/* ========== Global Styles ========== */
.page-led-desk-lamp {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: var(--line-height);
}

.page-led-desk-lamp .elementor-container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: var(--font-size-body);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--color-heading);
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

.btn-submit {
    width: 100%;
    background-color: var(--color-footer-gray);
    color: #ffffff;
}

.btn-submit:hover {
    background-color: #555555;
}

/* ========== Section 1: Hero ========== */
.led-desk-lamp-hero {
    position: relative;
    min-height: 600px;
}

.led-desk-lamp-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.led-desk-lamp-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.7);
}

.led-desk-lamp-hero .hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    min-height: 600px;
    gap: 60px;
}

.led-desk-lamp-hero .hero-left {
    flex: 1;
}

.led-desk-lamp-hero .hero-right {
    flex-shrink: 0;
}

.led-desk-lamp-hero .hero-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-heading);
    color: #ffffff;
    margin: 0;
}

/* ========== Section 2: Product Grid ========== */
.product-grid-section {
    background-color: var(--color-bg-white);
    padding: var(--spacing-module-large) 0;
}

.product-grid-section .section-title-center {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-heading);
    color: var(--color-heading);
    text-align: center;
    margin-bottom: 50px;
}

.product-grid-section .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-grid-section .product-card {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-grid-section .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-grid-section .product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--color-bg-gray);
}

.product-grid-section .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-grid-section .product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-grid-section .product-card h3 {
    font-size: var(--font-size-body);
    font-weight: 600;
    color: var(--color-heading-alt);
    margin: 0;
    padding: 20px;
    text-align: center;
}

/* ========== Section 3-9: Content Sections ========== */
.contemporary-house-section,
.buying-guide-section,
.bedroom-lamps-section,
.living-room-lamps-section,
.office-lamps-section,
.outdoor-lamps-section,
.showroom-section {
    background-color: var(--color-bg-white);
    padding: var(--spacing-module-large) 0;
}

.content-wrapper {
    display: flex;
    gap: var(--spacing-gap);
    align-items: flex-start;
}

.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-image {
    width: 50%;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.section-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-heading);
    color: var(--color-heading);
    margin-bottom: 20px;
}

.section-content {
    color: var(--color-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.section-subtitle {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-heading);
    color: var(--color-heading);
    margin-top: 30px;
    margin-bottom: 15px;
}

.showroom-list {
    list-style: disc;
    padding-left: 20px;
    color: var(--color-text);
}

.showroom-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ========== Section 10: FAQs ========== */
.faqs-section {
    background-color: var(--color-bg-white);
    padding: var(--spacing-module-large) 0;
}

.faqs-section .section-title-center {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-heading);
    color: var(--color-heading);
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--color-bg-white);
    color: var(--color-heading);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-left: 50px;
}

.faq-question:before {
    content: '+';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--color-primary);
    font-weight: bold;
}

.faq-item:hover .faq-question {
    background-color: #f9f9f9;
}

/* Section 11: Quote Form — styles provided by shared-quote-form */

/* ========== Responsive Styles ========== */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    :root {
        --font-size-h1: 42px;
        --font-size-h2: 32px;
        --font-size-h3: 22px;
    }

    .product-grid-section .section-title-center {
        font-size: var(--font-size-h3);
    }

    .product-grid-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .content-wrapper.reverse {
        flex-direction: column;
    }

    .content-image {
        width: 100%;
        order: -1;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    :root {
        --spacing-module-large: 60px;
        --spacing-module-medium: 50px;
        --spacing-module-small: 30px;
        --font-size-h1: 36px;
        --font-size-h2: 28px;
        --font-size-h3: 20px;
    }

    .led-desk-lamp-hero .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        min-height: 400px;
    }

    .led-desk-lamp-hero .hero-title {
        font-size: 32px;
    }

    .product-grid-section .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-grid-section .product-card h3 {
        font-size: var(--font-size-small);
        padding: 15px;
    }

    .showroom-list {
        padding-left: 15px;
    }

    .showroom-list li {
        font-size: var(--font-size-small);
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    :root {
        --font-size-h1: 28px;
        --font-size-h2: 24px;
        --font-size-h3: 18px;
        --font-size-body: 15px;
        --font-size-small: 13px;
    }

    .led-desk-lamp-hero .hero-content {
        min-height: 350px;
    }

    .led-desk-lamp-hero .hero-title {
        font-size: 24px;
    }

    .product-grid-section .product-card {
        padding: 20px 15px;
    }

    .faq-question {
        padding-left: 40px;
        font-size: var(--font-size-small);
    }

    .btn-submit {
        width: 100%;
    }
}
