/*==================================================
    Eagle Furniture Design System (EFDS)
    File: cards.css
    Purpose: Reusable Card Components
==================================================*/


/*=========================================
    BASE CARD
=========================================*/

.card{

    background:var(--color-surface);

    border:1px solid var(--color-border);

    border-radius:var(--radius-lg);

    overflow:hidden;

    transition:var(--transition);

    box-shadow:var(--shadow-sm);

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}


/*=========================================
    CARD IMAGE
=========================================*/

.card-image{

    position:relative;

    overflow:hidden;

}

.card-image img{

    width:100%;

    height:280px;

    object-fit:cover;

    transition:.5s ease;

}

.card:hover .card-image img{

    transform:scale(1.05);

}


/*=========================================
    CARD BODY
=========================================*/

.card-body{

    padding:var(--space-xl);

}


/*=========================================
    CARD TITLE
=========================================*/

.card-title{

    font-size:var(--fs-h4);

    margin-bottom:var(--space-md);

    color:var(--color-text);

}


/*=========================================
    CARD TEXT
=========================================*/

.card-text{

    color:var(--color-text-light);

    line-height:1.7;

    margin-bottom:var(--space-lg);

}


/*=========================================
    CARD FOOTER
=========================================*/

.card-footer{

    padding:0 var(--space-xl) var(--space-xl);

}


/*=========================================
    PRODUCT CARD
=========================================*/

.product-card{

    position:relative;

}

.product-price{

    font-size:22px;

    font-weight:var(--fw-bold);

    color:var(--color-primary);

    margin-bottom:var(--space-md);

}


/*=========================================
    CATEGORY CARD
=========================================*/

.category-card{

    text-align:center;

}

.category-card .card-image img{

    height:240px;

}


/*=========================================
    BLOG CARD
=========================================*/

.blog-card .card-image img{

    height:240px;

}

.blog-meta{

    font-size:var(--fs-small);

    color:var(--color-text-light);

    margin-bottom:var(--space-md);

}


/*=========================================
    TESTIMONIAL CARD
=========================================*/

.testimonial-card{

    text-align:center;

    padding:var(--space-2xl);

}

.testimonial-avatar{

    width:80px;

    height:80px;

    border-radius:50%;

    margin:0 auto var(--space-lg);

    object-fit:cover;

}

.testimonial-stars{

    color:var(--color-accent);

    margin-bottom:var(--space-md);

}


/*=========================================
    TRUST CARD
=========================================*/

.trust-card{

    text-align:center;

    padding:40px 30px;

    border-radius:var(--radius-lg);

    background:var(--color-surface);

    border:1px solid var(--color-border);

    transition:var(--transition);

}

.trust-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-md);

}

.trust-icon{

    width:72px;

    height:72px;

    margin:0 auto var(--space-lg);

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--color-background);

    color:var(--color-primary);

    font-size:30px;

}

.trust-card h3{

    margin-bottom:var(--space-md);

}

.trust-card p{

    margin-bottom:0;

}


/*=========================================
    BADGE
=========================================*/

.badge{

    display:inline-block;

    padding:6px 14px;

    border-radius:var(--radius-round);

    background:var(--color-accent);

    color:#ffffff;

    font-size:var(--fs-caption);

    font-weight:var(--fw-semibold);

}


/*=========================================
    CARD ACTIONS
=========================================*/

.card-actions{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:var(--space-md);

    margin-top:var(--space-lg);

}
/*=========================================
FEATURE CARD
=========================================*/

.feature-card{

    background:#fff;

    padding:40px 30px;

    border-radius:20px;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

    height:100%;

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

}

.feature-icon{

    width:80px;

    height:80px;

    margin:0 auto 25px;

    border-radius:50%;

    background:rgba(93,64,55,.10);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:36px;

}

.feature-card h4{

    margin-bottom:15px;

    color:var(--color-primary);

}

.feature-card p{

    margin:0;

    color:var(--color-text-light);

}
/*=========================================
CATEGORY CARD
=========================================*/

.category-card{

    position:relative;

    display:block;

    overflow:hidden;

    border-radius:20px;

    height:320px;

    box-shadow:var(--shadow-sm);

}

.category-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.category-card:hover img{

    transform:scale(1.08);

}

.category-overlay{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:30px;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );

    color:#fff;

}

.category-overlay h3{

    color:#fff;

    margin-bottom:10px;

}

.category-overlay p{

    color:#f5f5f5;

    margin:0;

}
/*=========================================
PRODUCT CARD
=========================================*/

.product-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

    height:100%;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}

.product-image{

    position:relative;

    overflow:hidden;

    height:260px;

}

.product-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.product-card:hover .product-image img{

    transform:scale(1.08);

}

.product-badge{

    position:absolute;

    top:15px;

    left:15px;

    background:var(--color-accent);

    color:#fff;

    padding:6px 14px;

    border-radius:999px;

    font-size:.8rem;

    font-weight:600;

}

.product-content{

    padding:25px;

}

.product-content h4{

    color:var(--color-primary);

    margin-bottom:10px;

}

.product-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:20px;

}

.product-footer h5{

    margin:0;

    color:var(--color-primary);

    font-weight:700;

}
/*=========================================
TESTIMONIAL CARD
=========================================*/

.testimonial-card{

    background:#fff;

    padding:35px;

    border-radius:20px;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

    height:100%;

}

.testimonial-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}

.stars{

    color:#F4B400;

    font-size:1.2rem;

    margin-bottom:20px;

    letter-spacing:3px;

}

.testimonial-text{

    color:var(--color-text-light);

    line-height:1.8;

    margin-bottom:30px;

    font-style:italic;

}

.testimonial-user{

    display:flex;

    align-items:center;

    gap:15px;

}

.testimonial-avatar{

    width:60px;

    height:60px;

    border-radius:50%;

    background:var(--color-primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.3rem;

    font-weight:700;

}

.testimonial-user h5{

    margin:0;

    color:var(--color-primary);

}

.testimonial-user small{

    color:var(--color-text-light);

}
/*=========================================
CALL TO ACTION
=========================================*/

.cta-section{

    padding:100px 0;

}

.cta-box{

    background:linear-gradient(135deg,#5D4037,#7A5A4F);

    color:#fff;

    border-radius:30px;

    padding:80px 50px;

    text-align:center;

    box-shadow:var(--shadow-lg);

}

.cta-tag{

    display:inline-block;

    background:rgba(255,255,255,.15);

    padding:10px 20px;

    border-radius:999px;

    font-size:.9rem;

    font-weight:600;

    letter-spacing:1px;

    margin-bottom:20px;

}

.cta-box h2{

    color:#fff;

    font-size:3rem;

    margin-bottom:20px;

}

.cta-box p{

    color:rgba(255,255,255,.9);

    max-width:750px;

    margin:0 auto 40px;

    font-size:1.15rem;

    line-height:1.8;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.btn-light{

    background:#fff;

    color:var(--color-primary);

    border:none;

}

.btn-light:hover{

    background:#f3f3f3;

    color:var(--color-primary);

}

.btn-outline-light{

    border:2px solid #fff;

    color:#fff;

}

.btn-outline-light:hover{

    background:#fff;

    color:var(--color-primary);

}

@media(max-width:768px){

    .cta-box{

        padding:60px 30px;

    }

    .cta-box h2{

        font-size:2.2rem;

    }

}
/*=========================================
CONTACT PREVIEW
=========================================*/

.contact-preview{

    background:#fff;

    padding:40px;

    border-radius:20px;

    box-shadow:var(--shadow-sm);

}

.contact-item{

    display:flex;

    align-items:flex-start;

    gap:20px;

    margin-bottom:30px;

}

.contact-item:last-child{

    margin-bottom:0;

}

.contact-icon{

    width:60px;

    height:60px;

    border-radius:50%;

    background:rgba(93,64,55,.1);

    color:var(--color-primary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    flex-shrink:0;

}

.contact-item h5{

    color:var(--color-primary);

    margin-bottom:8px;

}

.contact-item p{

    margin:0;

    color:var(--color-text-light);

    line-height:1.7;

}

.map-wrapper{

    overflow:hidden;

    border-radius:20px;

    box-shadow:var(--shadow-md);

}

.map-wrapper iframe{

    display:block;

}
/*=========================================
CLICKABLE CONTACT LINKS
=========================================*/

.contact-item a{

    color:var(--color-primary);

    font-weight:600;

    text-decoration:none;

    transition:.3s;

}

.contact-item a:hover{

    color:var(--color-accent);

}

/*=========================================
WHATSAPP BUTTON
=========================================*/

.btn-success{

    background:#25D366;

    border:2px solid #25D366;

    color:#fff;

}

.btn-success:hover{

    background:#1da851;

    border-color:#1da851;

    color:#fff;

}