/* roomCategory.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* Hero Section */
.room-hero {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 0;
}

.hero-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 40px;
    /* padding: 40px 60px; */
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to { transform: translateY(0); opacity: 1; }
    from { transform: translateY(30px); opacity: 0; }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    font-weight: 300;
}
/* --- FAQ Section Styles --- */

.bf-faq-section {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    padding: 80px 0;
}

.bf-faq-container {
    width: 90%;
    max-width: 800px; /* FAQs के लिए छोटा विड्थ बेस्ट होता है */
    margin: 0 auto;
}

/* FAQ Header */
.bf-faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.bf-faq-tag {
    background-color: #e67e22;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.bf-faq-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 10px;
}

.bf-faq-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

/* Accordion Wrapper */
.bf-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual FAQ Item */
.bf-faq-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Question Button */
.bf-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: color 0.3s ease;
}

.bf-faq-question i {
    font-size: 0.9rem;
    color: #a0aec0;
    transition: transform 0.3s ease;
}

.bf-faq-question:hover {
    color: #e67e22;
}

/* Answer Content Box */
.bf-faq-answer {
    max-height: 0; /* डिफ़ॉल्ट रूप से बंद */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 25px;
    background-color: #fafafa;
}

.bf-faq-answer p {
    color: #5a6a85;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-bottom: 20px;
}

/* Active State Styles (जब कोई FAQ खुला हो) */
.bf-faq-item.active {
    border-color: #e67e22;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.08);
}

.bf-faq-item.active .bf-faq-question {
    color: #e67e22;
}

.bf-faq-item.active .bf-faq-question i {
    transform: rotate(180deg);
    color: #e67e22;
}

.bf-faq-item.active .bf-faq-answer {
    max-height: 200px; /* ज़रूरत के अनुसार बढ़ा सकते हैं */
    padding-top: 5px;
}

/* Responsive */
@media (max-width: 600px) {
    .bf-faq-header h2 { font-size: 1.8rem; }
    .bf-faq-question { padding: 15px 20px; font-size: 1rem; }
    .bf-faq-answer { padding: 0 20px; }
}
/* =========================
   SUB CATEGORY SLIDER
========================= */

.sub-categories{
    padding:50px 0;
    background:#fff;
}

.sub-categories .container{
    position:relative;
    display:flex;
    align-items:center;
}

.sub-cat-wrapper{
    overflow:hidden;
    width:100%;
}

.sub-cat-slider{
    display:flex;
    gap:15px;
    overflow-x:auto;
    scroll-behavior:smooth;

    scrollbar-width:none;
}

.sub-cat-slider::-webkit-scrollbar{
    display:none;
}

/* BUTTONS */

.sub-cat-btn{
    min-width:max-content;

    padding:14px 28px;

    border:none;
    border-radius:50px;

    background:#f5f5f5;
    color:#222;

    font-size:15px;
    font-weight:600;

    cursor:pointer;

    transition:0.3s ease;
}

.sub-cat-btn:hover{
    background:#c19a6b;
    color:#fff;
}

.sub-cat-btn.active{
    background:#111;
    color:#fff;
}

/* ARROWS */

.sub-arrow{
    width:45px;
    height:45px;

    border:none;
    border-radius:50%;

    background:#111;
    color:#fff;

    cursor:pointer;

    font-size:18px;
    z-index:10;

    transition:0.3s;
}

.sub-arrow:hover{
    background:#c19a6b;
}

.sub-arrow.left{
    margin-right:15px;
}

.sub-arrow.right{
    margin-left:15px;
}
.pinterest-grid {
    column-count: 3;
    column-gap: 25px;
}
.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.85);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:20px;
}

.lightbox.show{
    display:flex;
}

.lightbox-content{
    background:#fff;
    max-width:900px;
    width:100%;
    border-radius:20px;
    overflow:hidden;
    display:grid;
    grid-template-columns:1fr 1fr;
}

.lightbox-content img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.lightbox-info{
    padding:30px;
}

.close-btn{
    position:absolute;
    top:20px;
    right:30px;
    font-size:40px;
    color:#fff;
    cursor:pointer;
}
.product-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-image img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
}

.product-info{
    padding:20px;
}

.product-info h3{
    font-size:22px;
    margin-bottom:10px;
}

.product-info p{
    color:#666;
    margin-bottom:15px;
}

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

.price{
    font-size:20px;
    font-weight:700;
    color:#c19a6b;
}

.view-btn{
    border:none;
    background:#111;
    color:#fff;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
}
/* =========================
SERVICE DETAILS
========================= */

.service-details{
    padding:80px 0;
    background:#fff;
}

.sd-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.sd-content h2{
    font-size:42px;
    margin-bottom:20px;
    color:#222;
}

.sd-content p{
    font-size:16px;
    line-height:1.8;
    color:#666;
    margin-bottom:18px;
}

.feature-heading{
    margin-top:30px;
    margin-bottom:20px;
    font-size:24px;
    color:#222;
}

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

.features-list li{
    margin-bottom:14px;
    font-size:16px;
    color:#444;
    display:flex;
    align-items:center;
    gap:10px;
}

.features-list i{
    color:#b88e2f;
}

.sd-images img{
    width:100%;
    border-radius:16px;
    object-fit:cover;
}

.sd-images-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:15px;
}
/* =======================================
   PRODUCT CARDS SECTION STYLES
======================================= */
.inspired-products {
    padding: 70px 0;
    background-color: #fcfcfc;
    font-family: 'Josefin Sans', sans-serif;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #222;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* RESPONSIVE GRID VALUE USING CSS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* CARD CONTAINER */
.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

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

/* IMAGE AREA WITH OVERLAY */
.product-img-box {
    position: relative;
    height: 320px;
    overflow: hidden;
    background-color: #eee;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.08);
}

/* BADGES (SALE / PREMIUM) */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}
.badge.sale { background-color: #e74c3c; }
.badge.luxury { background-color: #b38b6d; }

/* HOVER OVERLAY EFFECT */
.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.view-details-btn {
    background: #fff;
    color: #222;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .view-details-btn {
    transform: translateY(0);
}

/* PRODUCT DETAILS AREA */
.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 500;
}

.product-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
}

/* RATINGS */
.product-rating {
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.product-rating i { color: #f1c40f; }
.product-rating span { color: #888; margin-left: 5px; }

/* PRICE BOX */
.product-price-box {
    margin-bottom: 20px;
    margin-top: auto; /* Push down to keep alignment uniform */
}

.price-current {
    font-size: 1.3rem;
    font-weight: 600;
    color: #b38b6d; /* Premium Golden/Brown shade */
}

.price-old {
    font-size: 1rem;
    color: #999;
    text-decoration: line-line-through;
    text-decoration: line-through;
    margin-left: 10px;
}

/* ADD TO CART BUTTON */
.add-to-cart-btn {
    background-color: #222;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 1.75rem;
    /* font-size: 0.95rem; */
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.add-to-cart-btn:hover {
    background-color: #b38b6d;
}

/* MOBILE RESPONSIVE TWEAKS */
@media (max-width: 576px) {
    .section-header h2 { font-size: 1.9rem; }
    .product-img-box { height: 260px; }
    .inspired-products { padding: 40px 0; }
}

/* RESPONSIVE */

@media(max-width:991px){

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

    .sd-content h2{
        font-size:34px;
    }

}
/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .sub-cat-btn{
        padding:12px 22px;
        font-size:14px;
    }

    .sub-arrow{
        display:none;
    }

}



@media (max-width: 900px) {
    .pinterest-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .pinterest-grid {
        column-count: 1;
    }
}

.pin-card {
    break-inside: avoid;
    margin-bottom: 25px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid #f5f5f5;
}

.pin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.pin-card img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pin-card:hover img {
    transform: scale(1.05);
}

.pin-info {
    padding: 20px;
    position: relative;
    background: white;
    z-index: 2;
}

.pin-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #111;
    font-weight: 600;
}

.pin-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox.show .lightbox-content {
    transform: translateY(0) scale(1);
}

.lightbox-content img {
    width: 55%;
    object-fit: cover;
}

.lightbox-info {
    width: 45%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightbox-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #111;
    font-weight: 700;
}

.lightbox-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.lightbox-tips {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #222;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.5;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 45px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
    font-weight: 300;
}

.close-btn:hover {
    color: white;
    transform: scale(1.1);
}
/* =========================
IMAGE CLICK EFFECT
========================= */

/* --- Bedroom Furniture Section Styles --- */

.bedroom-furniture-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fcfbfc;
    padding: 80px 0;
    color: #2d3748;
}

.bf-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.bf-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.bf-tag {
    background-color: #fef3c7;
    color: #d97706;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.bf-header h2 {
    font-size: 2.5rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 15px;
}

.bf-header p {
    color: #718096;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Cards Grid */
.bf-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.bf-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.bf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.bf-icon-box {
    font-size: 2rem;
    margin-bottom: 15px;
}

.bf-card h3 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.bf-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Content Wrapper (Two Columns Below) */
.bf-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #edf2f7;
}

.bf-text-side h3 {
    font-size: 1.75rem;
    color: #1a202c;
    margin-bottom: 15px;
}

.bf-text-side p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bf-notice {
    background-color: #f7fafc;
    border-left: 4px solid #3182ce;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: #2d3748;
}

/* Beds Tags */
.bf-list-side h4 {
    font-size: 1.2rem;
    color: #1a202c;
    margin-bottom: 20px;
}

.bf-beds-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bf-beds-tags span {
    background-color: #edf2f7;
    color: #4a5568;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: default;
}

.bf-beds-tags span:hover {
    background-color: #3182ce;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .bf-content-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .bf-header h2 { font-size: 2rem; }
    .bf-section { padding: 50px 0; }
}


@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .lightbox-content {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .lightbox-content img {
        width: 100%;
        height: 350px;
    }
    
    .lightbox-info {
        width: 100%;
        padding: 30px 25px;
    }
    
    .close-btn {
        top: 15px;
        right: 20px;
    }
}
