/* ============================================
   DISTRITWO Custom Styles
   ============================================ */

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-text {
    color: #072640;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo-link:hover .logo-text {
    color: #0a3a5a;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

/* ============================================
   Hot Items Section
   ============================================ */

.hot-items-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 40px 0;
    margin: 40px 0;
    border-top: 3px solid #072640;
    border-bottom: 3px solid #072640;
}

.hot-items-section .section-title {
    color: #072640;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hot-item-badge {
    position: relative;
    border: 2px solid #072640;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hot-item-badge:hover {
    box-shadow: 0 8px 20px rgba(7, 38, 64, 0.2);
    transform: translateY(-5px);
}

.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* ============================================
   Pickup Status Styling
   ============================================ */

.badge-ready-pickup {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.badge-pending {
    background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%);
    color: #333;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.badge-picked-up {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.badge-cancelled {
    background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
}

/* ============================================
   Checkout Form Styling
   ============================================ */

.checkout-section {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #072640;
}

.checkout-section h3 {
    color: #072640;
    font-weight: bold;
    margin-bottom: 20px;
}

.terms-agreement {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.terms-agreement input[type="checkbox"] {
    margin-right: 10px;
}

.terms-agreement label {
    margin: 0;
    cursor: pointer;
}

.order-confirmation {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.order-confirmation h4 {
    color: white;
    margin-bottom: 10px;
}

/* ============================================
   Maps Styling
   ============================================ */

#map {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.map-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-info {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.map-info h5 {
    color: #072640;
    margin-bottom: 10px;
}

/* ============================================
   Product Card Enhancements
   ============================================ */

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(7, 38, 64, 0.15);
    border-color: #072640;
}

.product-price {
    padding: 10px 0;
}

.product-price .sold-info {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.product-price .sold-info strong {
    color: #072640;
    font-weight: bold;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .logo-text {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .hot-items-section .section-title {
        font-size: 20px;
    }
    
    #map {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .logo-container {
        gap: 5px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .logo-image {
        height: 25px;
    }
}

/* ============================================
   Color Theme - #072640 (Dark Blue)
   ============================================ */

.theme-primary {
    color: #072640;
}

.theme-primary-bg {
    background-color: #072640;
}

.theme-primary-border {
    border-color: #072640;
}

.btn-theme-primary {
    background-color: #072640;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-theme-primary:hover {
    background-color: #0a3a5a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 38, 64, 0.3);
}

/* ============================================
   Animations
   ============================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideInUp 0.5s ease-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   Navbar Color Overrides
   ============================================ */

/* Main desktop navbar bar */
.header.shop .header-inner {
    background-color: #072640 !important; /* Dark Blue */
}

/* Sticky header bar when scrolling */
.header.sticky .header-inner {
    background-color: #072640 !important; /* Dark Blue */
}

/* Main menu links on blue background */
.header.shop .header-inner .nav li a,
.header.sticky .header-inner .nav li a {
    color: #ffffff !important;
}
