/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f5f5;
}

/* ========== CONTAINERS ========== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    background: black;
    color: white;
    padding: 20px;
    text-align: center;
}

.navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h2 {
    font-size: 20px;
    color: black;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #ff4d6d;
}

/* Nav Right Side */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.dropdown-content a:hover {
    background: #f5f5f5;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Menu */
.hamburger {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 10px 20px;
}

.mobile-menu a {
    padding: 10px 0;
    text-decoration: none;
    color: #333;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #ff4d6d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e63946;
}

.btn-login {
    width: 100%;
    padding: 10px;
    background: black;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-login:hover {
    background: #333;
}

.btn-logout {
    background: red;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button {
    cursor: pointer;
}

/* ========== PRODUCT CARDS & GRIDS ========== */
/* Modern Product Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

/* Professional Product Card */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding: 0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    padding: 15px 15px 5px;
    font-size: 18px;
    margin: 0;
    color: #333;
}

.card h3 a {
    text-decoration: none;
    color: #333;
}

.card h3 a:hover {
    color: #ff4d6d;
}

.card p {
    padding: 0 15px;
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.card p b,
.card .price {
    color: #ff4d6d;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
}

/* Add to Cart Button */ 
.card a[href*="cart/add"] {
    display: inline-block;
    margin: 10px 15px;
    padding: 10px 15px;
    background: #ff4d6d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
    text-align: center;
}

.card [href*="cart/add"]:hover {
    background: #e63946;
} 

/* WhatsApp Button */
.whatsapp {
    display: inline-block;
    margin: 10px 15px;
    padding: 10px 15px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
    text-align: center;
}

.whatsapp:hover {
    background: #128C7E;
}

/* Out of Stock styling */
.out-of-stock {
    color: red;
    font-weight: bold;
    display: inline-block;
    margin: 10px 15px;
    padding: 10px 15px;
    background: #f0f0f0;
    border-radius: 6px;
}

/* Search & Filter Form */
form[method="GET"][action="/shop"] {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin: 20px 0 30px !important;
}

form[method="GET"][action="/shop"] input,
form[method="GET"][action="/shop"] select {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

form[method="GET"][action="/shop"] button {
    padding: 12px 25px;
    background: #ff4d6d;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

form[method="GET"][action="/shop"] button:hover {
    background: #e63946;
}

/* ========== ADMIN DASHBOARD ========== */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #ff4d6d;
}

/* Products Grid for Admin */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.product-card h3 {
    padding: 15px 15px 5px;
    font-size: 18px;
}

.product-card .price {
    padding: 0 15px;
    color: #ff4d6d;
    font-size: 20px;
    font-weight: bold;
}

.product-card .stock,
.product-card .category {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

/* Product Actions */
.product-actions {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.actions a {
    margin-right: 10px;
    text-decoration: none;
    font-size: 14px;
}

.edit-btn, .edit {
    color: #007bff;
    text-decoration: none;
}

.delete-btn, .delete {
    color: #dc3545;
    text-decoration: none;
}

.edit-btn, .delete-btn {
    flex: 1;
    padding: 8px;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    transition: opacity 0.3s;
}

.edit-btn {
    background: #007bff;
    color: white;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

/* ========== ORDERS SECTION ========== */

/* Orders List Container */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

/* Order Card (for mobile/list view) */
.order-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.order-card p {
    margin: 5px 0;
}

/* Orders Table (for desktop/table view) */
.orders-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow-x: auto; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.orders-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.orders-table th,
.orders-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.orders-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
}

.orders-table tr:hover {
    background: #f9f9f9;
}

/* Status Badge Styles (unified) */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending,
.status-pending .status-badge,
.status-pending span {
    background: #ffc107;
    color: #333;
}

.status-processing,
.status-processing .status-badge,
.status-processing span {
    background: #17a2b8;
    color: white;
}

.status-delivered,
.status-delivered .status-badge,
.status-delivered span {
    background: #28a745;
    color: white;
}

/* Order Actions Buttons (unified) */
.order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.status-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s;
    text-align: center;
}

.status-btn:hover {
    opacity: 0.8;
}

.processing-btn {
    background: #17a2b8;
    color: white;
}

.delivered-btn {
    background: #28a745;
    color: white;
}

.view-btn {
    background: #6c757d;
    color: white;
}

/* Alternative button styles (if using different classes) */
.status-btn.processing {
    background: #ffc107;
    color: #333;
}

.status-btn.delivered {
    background: #28a745;
    color: white;
}


/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-notification.error {
    background: #dc3545;
}

/* Payment Status Button Styles */
.payment-status-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.payment-status-btn:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.payment-status-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-received {
    background: #28a745;
    color: white;
}

.payment-pending {
    background: #ffc107;
    color: #333;
}

/* ========== SEARCH SECTION STYLES ========== */
.search-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.search-group {
    flex: 1;
    min-width: 200px;
}

.search-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 13px;
    color: #555;
}

.search-group input,
.search-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-group input:focus,
.search-group select:focus {
    outline: none;
    border-color: #ff4d6d;
}

.search-btn {
    background: #ff4d6d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #e63946;
}

.reset-btn {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background 0.3s;
}

.reset-btn:hover {
    background: #5a6268;
}

/* ========== ORDER COUNT STYLES ========== */
.order-count {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .orders-table {
        overflow-x: auto;
        display: block;
    }
    
    .orders-table table {
        min-width: 700px;
    }
    
    .search-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-group {
        width: 100%;
        min-width: auto;
    }
    
    .order-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .order-actions {
        justify-content: center;
    }
    
    .pagination a, 
    .pagination span {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 32px;
    }
}
    
        /* Order Tabs Styles */
        .order-tabs {
            display: flex;
            gap: 10px;
            margin: 20px 0;
            flex-wrap: wrap;
            border-bottom: 2px solid #eee;
            padding-bottom: 10px;
        }
        
        .order-tab {
            padding: 10px 25px;
            background: #f8f9fa;
            border: none;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s;
            color: #555;
        }
        
        .order-tab:hover {
            background: #e9ecef;
        }
        
        .order-tab.active {
            background: #ff4d6d;
            color: white;
        }
        
        .order-tab .count {
            background: rgba(0,0,0,0.1);
            padding: 2px 8px;
            border-radius: 20px;
            font-size: 12px;
            margin-left: 8px;
        }
        
        .order-tab.active .count {
            background: rgba(255,255,255,0.3);
        }
        
        /* Bulk Actions Bar */
        .bulk-actions {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .bulk-actions-left {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .select-all-checkbox {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        
        .bulk-delete-btn {
            background: #dc3545;
            color: white;
            padding: 8px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: opacity 0.3s;
        }
        
        .bulk-delete-btn:hover {
            opacity: 0.8;
        }
        
        .bulk-delete-btn:disabled {
            background: #6c757d;
            cursor: not-allowed;
        }
        
        /* Checkbox in table */
        .order-checkbox {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        
        /* Add margin to actions column */
        .orders-table th:first-child,
        .orders-table td:first-child {
            text-align: center;
            width: 40px;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .order-tabs {
                flex-direction: column;
            }
            .order-tab {
                text-align: center;
                border-radius: 8px;
            }
            .bulk-actions {
                flex-direction: column;
                text-align: center;
            }
        }

/* ========== CUSTOM PAGINATION STYLES ========== */
.custom-pagination {
    margin: 30px 0;
    text-align: center;
}

.custom-pagination-list {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-pagination-list li {
    display: inline-block;
}

.custom-pagination-list a,
.custom-pagination-list span {
    display: inline-block;
    padding: 10px 16px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    min-width: 42px;
    text-align: center;
    cursor: pointer;
}

.custom-pagination-list a:hover {
    background: #ff4d6d;
    color: white;
    border-color: #ff4d6d;
    transform: translateY(-2px);
}

.custom-pagination-list .active span {
    background: #ff4d6d;
    color: white;
    border-color: #ff4d6d;
    box-shadow: 0 2px 8px rgba(255,77,109,0.3);
}

.custom-pagination-list .disabled span {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #e0e0e0;
    transform: none;
}
/* Pagination info text */
.pagination-info {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .custom-pagination-list {
        gap: 5px;
    }
    
    .custom-pagination-list a,
    .custom-pagination-list span {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 32px;
    }
}
    /* Additional styles for home page */
    .product-description {
        padding: 0 15px;
        margin: 5px 0;
        font-size: 13px;
        color: #666;
        line-height: 1.4;
    }
    
    .product-price {
        padding: 0 15px;
        margin: 8px 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 18px;
        font-weight: bold;
        color: #ff4d6d;

    }
    .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    }

    .discounted-price {
        color: #ff4d6d;
        font-size: 18px;
        font-weight: bold;
    }

    .price {
        color: #ff4d6d;
        font-size: 18px;
        font-weight: bold;
    }

    .discount-badge {
        background: #ff4d6d;
        color: white;
        padding: 2px 8px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: bold;
        display: inline-block;
    }

    .quick-buy-btn {
        display: inline-block;
        margin: 10px 15px;
        padding: 8px 15px;
        background: #ff4d6d;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        text-align: center;
        transition: background 0.3s;
    }
    
    .quick-buy-btn:hover {
        background: #e63946;
    }
    
    /* Pagination Styles */
    .pagination-wrapper {
        margin: 30px 0;
        text-align: center;
    }
    
    .pagination {
        display: inline-flex;
        gap: 5px;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination li {
        display: inline-block;
    }
    
    .pagination a, 
    .pagination span {
        display: inline-block;
        padding: 10px 15px;
        background: white;
        color: #333;
        text-decoration: none;
        border-radius: 8px;
        border: 1px solid #ddd;
        transition: all 0.3s;
        font-size: 14px;
        min-width: 40px;
        text-align: center;
    }
    
    .pagination a:hover {
        background: #ff4d6d;
        color: white;
        border-color: #ff4d6d;
    }
    
    .pagination .active span {
        background: #ff4d6d;
        color: white;
        border-color: #ff4d6d;
    }
    
    .pagination .disabled span {
        background: #f5f5f5;
        color: #999;
        cursor: not-allowed;
    }

/* ========== DASHBOARD STATS ========== */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.stat-card h3 {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #ff4d6d;
}

/* ========== AUTH PAGES (LOGIN, REGISTER) ========== */
.login-container {
    width: 350px;
    margin: 80px auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ccc;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.auth-logo {
    margin-bottom: 20px;
    text-align: center;
}

.auth-logo h1 {
    font-size: 28px;
    color: black;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.error {
    color: red;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.success {
    color: green;
    text-align: center;
    margin-bottom: 15px;
}

p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
    margin-top: 40px;
    color: #666;
}

.page-header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 24px;
    color: #333;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .product-card {
        width: 100%;
    }
    
    .order-card {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .order-actions {
        margin-top: 15px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .auth-box {
        margin: 20px;
        padding: 20px;
    }

    .login-container {
        width: 90%;
        margin: 40px auto;
    }

    .container {
        padding: 0 15px;
    }
    
    input, select, button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    form[method="GET"][action="/shop"] {
        flex-direction: column;
    }
    
    form[method="GET"][action="/shop"] input,
    form[method="GET"][action="/shop"] select,
    form[method="GET"][action="/shop"] button {
        width: 100%;
    }

}
/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 20px auto 0;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    position: relative;
    width:  100%;
    height: 60vh;
    min-height: 500px;
    background: #f5f5f5;
} 
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 20px 35px;
    border-radius: 12px;
    max-width: 450px;
    backdrop-filter: blur(5px);
}

.slide-caption h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.slide-caption p {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.slide-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #ff4d6d;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
    font-weight: 500;
}

.slide-btn:hover {
    background: #e63946;
    transform: translateX(5px);
}

/* Navigation Arrows */
.slideshow-prev, .slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
}

.slideshow-prev:hover, .slideshow-next:hover {
    background: rgba(0,0,0,0.8);
}

.slideshow-prev {
    left: 20px;
}

.slideshow-next {
    right: 20px;
}

/* Dots/Indicators */
.slideshow-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
}

.dot.active, .dot:hover {
    background-color: #ff4d6d;
}

/* Fade Animation */
.fade {
    animation: fadeEffect 1s ease-in-out;
}
@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}