/* Your exact styles from index.php */
body { background-color: #f8f9fa; font-family: 'Inter', sans-serif; }
.navbar-brand { font-weight: bold; letter-spacing: 1px; }
.product-card { transition: transform 0.3s; border: none; border-radius: 15px; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-buy { background-color: #000; color: #fff; border-radius: 25px; }

/* The Right-Side Cart Notification */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    color: #000;
    padding: 20px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1050;
    border: 1px solid #eee;
    animation: slideIn 0.5s ease-out;
}

.cart-notification a {
    display: inline-block;
    margin-top: 10px;
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}

@keyframes scrollMulti {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move by -200% to show the 2nd and 3rd images */
        transform: translateX(-200%);
    }
}


/* Cart Drawer Layout */
.cart-page {
    background-color: rgba(0,0,0,0.5); /* Dims the background */
    display: flex;
    justify-content: flex-end;
    height: 100vh;
    margin: 0;
}

.cart-overlay-container {
    background: #fff;
    width: 100%;
    max-width: 450px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2000;
}

/* Header */
.cart-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.cart-header h5 {
    font-weight: 400;
    letter-spacing: 1px;
}

.cart-count-badge {
    background: #8b735b; /* Bronze/Brown color from your image */
    color: #fff;
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 50%;
    vertical-align: top;
}

.btn-close-cart {
    position: absolute;
    left: 20px;
    top: 25px;
    font-size: 30px;
    text-decoration: none;
    color: #000;
}

/* Items List */
.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.cart-item-img {
    width: 80px;
    height: 110px;
    margin-right: 20px;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.product-meta {
    font-size: 13px;
    color: #999;
}

.cart-item-remove a {
    color: #000;
    font-size: 18px;
}

/* Footer Buttons */
.cart-footer {
    display: flex;
    height: 80px;
}

.btn-panier, .btn-commander {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
}

.btn-panier {
    background-color: #000;
    color: #fff;
}

.btn-commander {
    background-color: #333;
    color: #fff;
    border-left: 1px solid #444;
}

.btn-panier:hover, .btn-commander:hover {
    opacity: 0.9;
    color: #fff;
    
}

/* Hero Container */
.main-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Hide the overflow of the scrolling images */
    display: flex;
    flex-direction: column;
}
/* The actual scrolling element */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    /* We make the width 300% to fit 3 full-screen images side-by-side */
    width: 300%; 
    height: 100%;
    
    /* List your images here */
    background-image: 
        url('images/backround1.jpg'), 
        url('images/backround2.jpg'), 
        url('images/backround1.jpg'), 
        url('images/backround2.jpg'), 
        url('images/backround1.jpg'), 
        url('images/backround2.jpg'), 
        url('images/backround1.jpg'), 
        url('images/backround2.jpg'), 
        url('images/backround1.jpg'), 
        url('images/backround2.jpg');
    
    /* This is the key: Give each image a 33.33% share of the 300% width */
    background-size: 33.33% 100%, 33.33% 100%, 33.33% 100%, 33.33% 100%;
    
    /* Position them side-by-side: 0% (left), 50% (middle), 100% (right) */
    background-position: 0% 0%, 50% 0%, 100% 0%;
    
    background-repeat: no-repeat;
    z-index: -1;
    animation: scrollMulti 60s linear infinite;
}

/* Transparent Navbar Over the Image */
.main-hero .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    padding-top: 20px;
    z-index: 10;
}

.main-hero .nav-link, 
.main-hero .navbar-brand {
    color: #000 !important; /* Adjust to #fff if your image is dark */
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 15px;
}

/* Hero Text Styling */
.hero-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    position: relative;
    z-index: 2;
    color: #000; /* Or #fff depending on your image brightness */
    text-shadow: 2px 2px 10px rgba(255,255,255,0.5); /* Optional: makes text pop */
}

/* Bag/Cart Icon styling like the image */
.cart-icon-wrapper {
    position: relative;
    color: #000;
    font-size: 20px;
    margin-left: 20px;
}

.cart-badge-dot {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #8b735b; /* That bronze color from the image */
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Mobile-Specific Adjustments */
@media (max-width: 768px) {
    .hero-slider {
        animation: scrollMulti 60s linear infinite; /* Much slower on mobile */
    }
    /* Make the hero title smaller so it doesn't overflow */
    .hero-content h1 {
        font-size: 28px !important;
        letter-spacing: 4px !important;
        padding: 0 15px;
    }

    /* Adjust the hero height for mobile */
    .main-hero {
        height: 60vh;
    }

    /* Make the navbar links scrollable or hidden if they are too many */
    .navbar-nav {
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
        padding: 20px 0;
    }

    /* Make buttons easier to tap on mobile */
    .btn-buy {
        padding: 15px;
        font-size: 1rem;
    }
    
    /* Side cart notification: make it wider for small screens */
    .cart-notification {
        width: 90%;
        right: 5%;
        left: 5%;
        top: 10px;
    }
}

.form-select {
    border-radius: 0; /* Square edges look more high-end */
    border: 1px solid #e0e0e0;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-select:focus {
    border-color: #000;
    box-shadow: none;
}

.letter-spacing-2 {
    letter-spacing: 5px;
    font-weight: 300;
    text-transform: uppercase;
}

.category-menu .btn {
    border-radius: 0;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 10px 25px;
    transition: 0.3s;
}

.category-menu .btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.category-menu .btn:hover:not(.active) {
    background-color: #f0f0f0;
    color: #000;
}

.developer-credit {
    font-size: 11px;
    letter-spacing: 1px;
    color: #888; /* A muted grey so it stays subtle */
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.developer-credit strong {
    color: #bbb; /* Slightly brighter for the agency name */
    font-weight: 600;
}

/* Optional: If you want to link to your agency site */
.developer-credit a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.developer-credit a:hover {
    color: #fff;
}


/* Table Styles */
.cart-table th {
    padding: 20px;
    letter-spacing: 1px;
    border-bottom: 2px solid #eee;
}

.cart-table td {
    padding: 20px;
}

/* Summary Box Styling */
.cart-summary-box {
    margin-top: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.summary-header {
    background-color: #8b735b; /* The bronze/brown color from your image */
    color: #fff;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.summary-body {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

/* Big Black Action Button */
.btn-checkout-dark {
    background-color: #000;
    color: #fff;
    width: 100%;
    border-radius: 0;
    padding: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-checkout-dark:hover {
    background-color: #222;
    color: #fff;
}

/* Minimalist Trash Icon */
.fa-trash-can {
    cursor: pointer;
    transition: color 0.2s;
}

.fa-trash-can:hover {
    color: #d9534f;
}

