﻿/* Imperial Auctions Styles */
.footer {
    background-color: #b66600;
    color: #ccc;
    padding: 20px 0;
    font-size: 14px;
}

    .footer h6 {
        color: white;
        margin-bottom: 15px;
        font-weight: 600;
        font-size: 15px;
    }

    .footer a {
        color: #ccc;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

    .footer .payment-icons img {
        width: 40px;
        margin-right: 8px;
    }

    .footer .copyright {
        text-align: center;
        padding-top: 10px;
        font-size: 13px;
        color: #777;
    }

.section-highlight {
    background-color: #f5c979;
    padding: 30px;
}

.auction-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.auction-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.btn-custom {
    width: 100%;
    margin-bottom: 4px;
}

.auction-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

    .auction-card:hover {
        transform: translateY(-3px);
    }

    .auction-card img {
        width: 100%; /* Use full width of card */
        height: 160px; /* Consistent height */
        object-fit: cover; /* Keeps image nicely cropped */
        border-radius: 6px;
        transition: transform 0.3s ease;
    }

        .auction-card img:hover {
            transform: scale(1.05);
        }

@media (max-width: 576px) {
    .auction-card img {
        height: 140px;
    }
}

/* Infinity & E-store Styles */
.estore-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s;
    position: relative;
}

    .estore-card:hover {
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
    }

    .estore-card img {
        width: 100%;
        height: auto;
        display: block;
    }

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.heart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    color: #333;
}

.countdown {
    background: #f8f9fa;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    font-size: 12px;
}

    .countdown div {
        text-align: center;
    }

.card-body {
    padding: 10px 15px;
}

.estore-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.artist {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.bid {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.bidding-btn {
    font-size: 0.85rem;
    padding: 4px 10px;
}

.navbar-custom {
    background-color: #a65d00; /* brown background */
}

.navbar-nav .nav-link {
    color: #fff;
    margin-right: 10px;
}

    .navbar-nav .nav-link:hover {
        color: #ffd700; /* gold/yellow on hover */
    }

.search-box {
    display: flex;
}

    .search-box input {
        border: none;
        padding: 2px 5px;
    }

    .search-box button {
        background-color: #ffd700; /* yellow */
        border: none;
        padding: 2px 8px;
    }

.navbar-brand img {
    height: 60px;
}

.highlight-slider {
    background: linear-gradient(135deg, #8B0000, #5a0000); /* dark red gradient */
    color: yellow;
    text-align: center;
    padding: 40px 0;
}

    .highlight-slider h3 {
        background-color: rgba(0, 0, 0, 0.6);
        display: inline-block;
        padding: 10px 20px;
        border-radius: 5px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .highlight-slider img {
        max-width: 150px;
        margin: 0 10px;
    }

.lot-description {
    font-size: 1rem;
    color: yellow;
    margin-top: 10px;
}

.estimate {
    font-size: 1.1rem;
    font-weight: bold;
    color: yellow;
}

.carousel-item img {
    width: 100%;
    height: auto;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.carousel-indicators [data-bs-target] {
    background-color: #fff;
}

.carousel-item img {
    width: 100%;
    height: auto; /* keep aspect ratio */
    object-fit: cover; /* cover keeps image nice, or change to 'contain' to see full image */
}

/* Optional: if you want to always show the full image without cropping */
@media (max-width: 767.98px) {
    .carousel-item img {
        object-fit: contain; /* show entire image */
        /* adjust height for mobile view as needed */
    }
}

.auction-card img,
.section-highlight img {
    width: 100%;
    height: auto;
    display: block;
}

/* page header css */

.page-header {
    position: relative;
    background: url('../images/banner_auction_list.jpg') no-repeat center center;
    background-size: cover; /* <-- correct way to fill area */
    color: #fff;
    width: 100%;
    padding: 60px 0;
    height: auto; /* keep vertical space */
}

    .page-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5); /* dark overlay for text visibility */
    }

    .page-header .container {
        position: relative;
        z-index: 1;
    }

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #ccc;
}

/* form header css */

.form-section {
    background: url('top-bg (2).jpg') no-repeat center center;
    background-size: cover;
    padding: 30px 0; /* add some vertical spacing */
}

.filter-box {
    background: #fff;
    border: 1px solid #b36a00;
    padding: 20px;
}

    .filter-box .form-control,
    .filter-box .form-select {
        border: 1px solid #b36a00;
        border-radius: 0;
    }

    .filter-box .btn {
        background-color: #b36a00;
        color: #fff;
        border-radius: 0;
        min-width: 90px;
    }

    .filter-box label {
        font-size: 14px;
        font-weight: 500;
        margin-right: 5px;
    }
/* main page code css */
.filter-box {
    background-color: #5b82b3;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

.auction-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.sold-box {
    background: #f1f1f1;
    border-radius: 8px;
    padding: 10px;
}

    .sold-box span {
        color: red;
        font-weight: bold;
    }

.information {
    background-color: #b66600;
    ;
}

.social-icons img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    /* background: #fff; */
    padding: 4px;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

    .social-icons img:hover {
        transform: scale(1.2);
        opacity: 0.8;
    }

.social-link img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .social-link img:hover {
        transform: scale(1.2);
        opacity: 0.8;
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.8s ease forwards;
}



.btn-brown {
    background-color: #b66600; /* brown shade */
    color: white;
    border: none;
}

    .btn-brown:hover {
        background-color: #b66600; /* darker brown on hover */
        color: white;
    }

.bg-light-brown {
    /* light beige background */
    padding: 15px;
    border-radius: 4px;
}

.btn-browns {
    background-color: white; /* brown color */
    color: black;
    font-weight: bold;
    border: none;
}

    .btn-browns:hover {
        background-color: white; /* darker brown hover */
        color: black;
    }

.dropdown-menu {
    background-color: #b66600; /* or any color you prefer */
}

    .dropdown-menu .dropdown-item {
        color: white; /* Text color inside dropdown */
    }

        .dropdown-menu .dropdown-item:hover {
            background-color: #a65d00; /* Optional: hover background */
            color: yellow; /* Optional: hover text color */
        }



:root {
    --brand-brown: #b66600;
    --brand-brown-dark: #9a5600;
    --badge-bg: #f8f1e6;
}

/* Card shell */
.auction-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
}

/* Little entrance animation (respect reduced motion) */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp .6s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        animation: none;
    }
}

/* Buttons */
.btn-brown {
    background-color: var(--brand-brown);
    color: #fff;
    border: none;
}

    .btn-brown:hover {
        background-color: var(--brand-brown-dark);
        color: #fff;
    }

.btn-browns {
    background-color: #b66600;
    color: #eee;
    font-weight: 600;
    border: 1px solid #eee;
}

    .btn-browns:hover {
        background-color: #f5f5f5;
        color: #000;
    }

/* Info box */
.information {
    background-color: var(--brand-brown);
}

.bg-light-brown {
    background-color: var(--badge-bg);
    padding: 12px;
    border-radius: 8px;
}

/* Social icons (use images you provided, but consistent size + hover) */
.social-icons img {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    padding: 2px;
    transition: transform .2s, opacity .2s;
    box-shadow: 0 0 4px rgba(0,0,0,.15);
    display: inline-block;
}

    .social-icons img:hover {
        transform: scale(1.13);
        opacity: .9;
    }

/* LIST vs GRID handling
       - In LIST view, cards are "rows" inside container.
       - In GRID view, cards become columns and stack internal columns. */
.grid-view .auction-card .col-md-3,
.grid-view .auction-card .col-md-6,
.grid-view .auction-card .col-md-3.text-md-end {
    width: 100% !important;
    text-align: center !important;
}

/* Make images always behave */
.lot-img {
    max-width: 100%;
    height: auto;
}

/* Small screen spacing tweaks */
@media (max-width: 767.98px) {
    .auction-card {
        padding: 16px;
    }

    .badge + .badge {
        margin-left: .5rem;
    }
}
