@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}


/* Base */

li{
    list-style: none;
}
/* Base Styles */
:root {
    --primary-color: #4a6b57;
    --secondary-color: #f8f9fa;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-text: #777;
    --border-color: #ddd;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {

    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #3a5545;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-accent {
    background-color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}


/* mainfiles */


.home_section {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.bg_1 {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/lowshadebg.jpg');
        background-attachment: fixed;
}

.bg_2 {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/bg2.png');
        background-attachment: fixed;
}

.bg_3 {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/bg3.jpg');
        background-attachment: fixed;
}

.slide-content {
    color: white;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;

}



.slide h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slide-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.order-now {
    background: #ff4800a9;
    color: white;
}

.order-now:hover {
    background: transparent;
    color: #e67e22;
}

.learn-more {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.learn-more:hover {
    background: white;
    color: #333;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-arrow:hover {
    background: rgba(255,255,255,0.7);
    color: #333;
}

.prev-arrow {
    left: 30px;
}

.next-arrow {
    right: 30px;
}

.indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.main{
 
    margin:0 6%;

}


.furniture-showcase {
    margin: 0 auto;
    padding: 40px 20px;
}

.showcase-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2a2a2a;
}

.showcase-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 40px;
    font-weight: 300;
}

.viewbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.group-bar {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.group-bar:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.group_content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.group-bar:hover .group_content {
    transform: translateY(0);
    opacity: 1;
}

.group_content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.group_content p {
    margin-bottom: 20px;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.collection-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.collection-btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

/* Background Images */
.group_bar1 {
    background: url('images/product1.jpg') center/cover no-repeat;
}

.group_bar2 {
    background: url('images/product3.jpg') center/cover no-repeat;
}

.group_bar3 {
    background: url('images/product2.jpg') center/cover no-repeat;
}


@media (max-width: 768px) {
    .slide {
        padding: 0 5%;
    }
    
    .slide h2 {
        font-size: 2rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .slide-buttons {

        gap: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        width: max-content;
    }
    
    .slide-arrow {
        width: 40px;
        height: 40px;
    }
    
    .prev-arrow {
        left: 10px;
    }
    
    .next-arrow {
        right: 10px;
    }

        .viewbar {
        grid-template-columns: 1fr;
    }
    
    .group-bar {
        height: 350px;
    }
    
    .showcase-title {
        font-size: 2rem;
    }
    
    .group_content {
        padding: 20px;
        transform: translateY(0);
        opacity: 1;
    }
    
    .group_content h1 {
        font-size: 1.5rem;
    }
    .home_section {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}
}