/* ==========================================
   QR FURNITURE - VIBRANT THEME
   Color Palette:
   - Primary: #2c3e50 (Dark Blue-Gray)
   - Accent: #f39c12 (Orange)
   - Blue Accent: #3498db (Blue)
   - Red Accent: #e74c3c (Red)
   - Background: #f8f9fa (Light Gray)
   - Text: #333333
   - Light Accent: #ecf0f1
   ========================================== */

/* Base Styles */
img,
video,
iframe {
    max-width:100%;
    height: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    color: #333333;
    line-height: 1.6;
    background: #ffffff;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   PRODUCT SLIDESHOW SECTION - 3D EFFECT
   ========================================== */
.slideshow-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #2c3e50;
    padding: 40px 0;
}

.slideshow-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 2600px;
    margin: 0 auto;
    gap: 25px;
    padding: 0 20px;
}

/* Side Panels */
.side-panel {
    flex: 1;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    perspective: 1000px;
}

.side-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left-panel .side-image {
    transform: rotateY(15deg);
    transform-origin: right center;
}

.right-panel .side-image {
    transform: rotateY(-15deg);
    transform-origin: left center;
}

.left-panel .side-image:hover,
.right-panel .side-image:hover {
    transform: rotateY(0deg) scale(1.05);
    z-index: 10;
}

.left-panel .side-image-1 { transform: rotateY(15deg) translateZ(-50px); }
.left-panel .side-image-2 { transform: rotateY(15deg) translateZ(-20px); }
.left-panel .side-image-3 { transform: rotateY(15deg) translateZ(0px); }

.right-panel .side-image-4 { transform: rotateY(-15deg) translateZ(0px); }
.right-panel .side-image-5 { transform: rotateY(-15deg) translateZ(-20px); }
.right-panel .side-image-6 { transform: rotateY(-15deg) translateZ(-50px); }

/* Main Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 580px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-radius: 8px;
    z-index: 5;
}

.slideshow-container .slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding: 20px;
    background: linear-gradient(135deg, #2c3e50, #3498db, #e74c3c, #f39c12, #2c3e50);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.slideshow-container .slideshow-slide.active {
    opacity: 1;
}

/* ==========================================
   HEADER STYLES
   ========================================== */
.ts-header {
    position: relative;
    z-index: 100;
    background: #2c3e50;
}

.header-top {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: -1;
}

.header-sticky {
    background: #2c3e50;
    border-bottom: 3px solid #f39c12;
}

.header-bottom {
    background: rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
}

.nav-top ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-top ul li a {
    color: #ecf0f1;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-top ul li a:hover, 
.nav-top ul li a.active {
    color: #f39c12;
}

.social-icons ul {
    display: flex;
    gap: 15px;
    list-style: none;
    margin-right: 25px;
}

.social-icons ul li a {
    color: #ecf0f1;
    font-size: 16px;
    transition: color 0.3s;
}

.social-icons ul li a:hover {
    color: #f39c12;
}

.hotline {
    color: #ecf0f1;
    font-size: 14px;
}

.header-middle .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #f39c12;
    letter-spacing: 1px;
}

.ts-search-by-category {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}

.ts-search-by-category form {
    display: flex;
    gap: 0;
}

.select-category {
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    background: #ecf0f1;
    font-family: 'Poppins', sans-serif;
}

.search-field {
    flex: 1;
    display: flex;
}

.search-field input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.search-button input {
    padding: 10px 25px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background 0.3s;
}

.search-button input:hover {
    background: #2980b9;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.header-icon-item a {
    color: #ecf0f1;
    font-size: 20px;
    position: relative;
    transition: color 0.3s;
}

.header-icon-item a:hover {
    color: #f39c12;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.vertical-menu-wrapper {
    position: relative;
}

.vertical-menu-toggle {
    color: #ecf0f1;
    cursor: pointer;
    padding: 10px 0;
    font-weight: 500;
}

.vertical-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}

.vertical-menu-wrapper:hover .vertical-menu {
    display: block;
}

.vertical-menu ul {
    list-style: none;
}

.vertical-menu ul li {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.vertical-menu ul li:last-child {
    border-bottom: none;
}

.vertical-menu ul li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    transition: all 0.3s;
}

.vertical-menu ul li a:hover {
    background: #f8f9fa;
    color: #f39c12;
    padding-left: 20px;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 0 4px 4px 4px;
}

.vertical-menu ul li:hover .sub-menu {
    display: block;
}

/* ==========================================
   FEATURES BAR
   ========================================== */
.features-bar {
    padding: 50px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.feature-item i {
    font-size: 32px;
    color: #f39c12;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.feature-text p {
    font-size: 13px;
    color: #666;
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #f39c12;
}

.section-header p {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
}

/* ==========================================
   CATEGORIES SECTION
   ========================================== */
.categories-section {
    padding: 80px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-item {
    text-align: center;
    transition: transform 0.3s;
}

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

.category-image {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-item:hover .category-image img {
    transform: scale(1.08);
}

.category-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.product-filters {
    text-align: center;
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: 50px repeat(4, 1fr) 50px;
    gap: 20px;
    align-items: center;
}

.product-nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2c3e50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #2c3e50;
}

.product-nav-arrow:hover:not(.disabled) {
    background: #3498db;
    border-color: #3498db;
    transform: scale(1.1);
}

.product-nav-arrow.disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.5s;
}

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

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-choose-us {
    padding: 80px 0;
    background: white;
}

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

.feature-box {
    text-align: center;
    padding: 40px 30px;
    border-radius: 8px;
    transition: box-shadow 0.3s, transform 0.3s;
    background: #f8f9fa;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background 0.3s;
}

.feature-box:hover .feature-icon {
    background: #3498db;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.rating {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.customer-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.customer-info span {
    font-size: 14px;
    color: #999;
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter-section {
    padding: 70px 0;
    background: #2c3e50;
    color: white;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.newsletter-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #2980b9;
}

/* ==========================================
   FOOTER
   ========================================== */
.ts-footer {
    background: #1a1a1a;
    color: #999;
}

.footer-main {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #f39c12;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
    color: #999;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #999;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-links li a:hover {
    color: #f39c12;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 18px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #999;
}

.footer-contact li i {
    color: #3498db;
    margin-top: 3px;
    font-size: 16px;
}

.footer-contact li a {
    color: #999;
    transition: color 0.3s;
}

.footer-contact li a:hover {
    color: #f39c12;
}

.footer-bottom {
    background: #111;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-methods span {
    margin-right: 10px;
}

.payment-methods i {
    font-size: 28px;
    color: #666;
}

/* ==========================================
   LIGHTBOX MODAL
   ========================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #f39c12;
}
@media (max-width:700px){
    body {
        overflow-x: hidden;
    }
    .container {
        width: 100%;
        padding: 10px;
    }
    .row {
        
        flex-direction: column;
    }
    .menu {
        width: 100%;
    }
    .product-box {
        width: 100%;
        margin-bottom: 15px;
    }
    
    h1{
        font-size: 24px;
    } 
    p {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .navbar {
        display:block;
    }
    .navbar ul {
        flex-direction: column;
    }
}
/* ==========================================
   MOBILE RESPONSIVE FIX
   ========================================== */

@media only screen and (max-width: 768px) {
html, body { overflow-x: hidden !important; width: 100% !important; }
.header-top { display: none !important; }
.header-middle .container { flex-wrap: wrap !important; }
.ts-search-by-category { order: 3; max-width: 100% !important; margin: 0 !important; flex: 0 0 100% !important; }
.header-sticky .header-bottom { display: none !important; }
.mobile-menu-toggle { display: block !important; color: #ecf0f1; font-size: 22px; cursor: pointer; }
.mobile-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #2c3e50; z-index: 1000; }
.mobile-nav.active { display: block; }
.mobile-nav ul { list-style: none; padding: 10px 0; }
.mobile-nav ul li a { display: block; padding: 12px 20px; color: #ecf0f1; border-bottom: 1px solid rgba(255,255,255,0.1); }
.slideshow-section { padding: 15px 0 !important; overflow: hidden !important; }
.slideshow-wrapper { flex-direction: column !important; gap: 0 !important; padding: 0 !important; max-width: 100% !important; }
.side-panel { display: none !important; }
.slideshow-container { height: 250px !important; max-width: 100% !important; width: 100% !important; }
.features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
.feature-item { padding: 12px !important; flex-direction: column !important; text-align: center !important; }
.categories-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
.category-image img { height: 130px !important; }
.products-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
.product-nav-arrow { display: none !important; }
.features-grid-3 { grid-template-columns: 1fr !important; gap: 15px !important; }
.testimonials-slider { grid-template-columns: 1fr !important; gap: 15px !important; }
.newsletter-form { flex-direction: column !important; }
.footer-grid { grid-template-columns: 1fr !important; gap: 25px !important; }
.footer-bottom-content { flex-direction: column !important; text-align: center !important; gap: 8px !important; }
}