/* Modern Cinema Equipment Booking System Styles */

/* Filmmakers Choice Badge & Card Styling */
.filmmakers-choice-card,
.filmmakers-choice-card.card,
.filmmakers-choice-card.product-card,
.filmmakers-choice-card.product-card-modern,
div.filmmakers-choice-card {
    border: 3px solid #f5af19 !important;
    box-shadow: 0 0 20px rgba(245, 175, 25, 0.3), 0 8px 30px rgba(0,0,0,0.1) !important;
    position: relative;
    background: #fff8e7 !important;
    background-color: #fff8e7 !important;
}
.filmmakers-choice-card:hover,
.filmmakers-choice-card.card:hover,
.filmmakers-choice-card.product-card:hover,
.filmmakers-choice-card.product-card-modern:hover,
div.filmmakers-choice-card:hover {
    background: #fff8e7 !important;
    background-color: #fff8e7 !important;
    transform: none !important;
    box-shadow: 0 0 25px rgba(245, 175, 25, 0.5), 0 8px 30px rgba(0,0,0,0.1) !important;
}
.filmmakers-choice-card .card-body,
.filmmakers-choice-card .p-3 {
    background: #fff8e7 !important;
}
.filmmakers-choice-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #f5af19 0%, #f12711 50%, #f5af19 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.3;
}

/* Product Card Images - Fit properly without cropping */
.product-card img,
.product-card-modern img,
.card-img-top,
.product-img-hover {
    object-fit: contain !important;
    background: #f8f9fa;
}
.filmmakers-choice-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(245, 175, 25, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filmmakers-choice-badge i {
    font-size: 0.8rem;
    animation: starPulse 2s ease-in-out infinite;
}
@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
/* Filmmakers Choice Product Image Card (booking page) */
.filmmakers-choice-image-card {
    border: 4px solid #f5af19 !important;
    box-shadow: 0 0 30px rgba(245, 175, 25, 0.4), 0 20px 60px rgba(0,0,0,0.15) !important;
    position: relative;
}
.filmmakers-choice-image-card .filmmakers-choice-badge {
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    font-size: 0.85rem;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-light: #ff6b8a;
    --success-color: #00d4aa;
    --warning-color: #ffa500;
    --dark-color: #0f3460;
    --light-color: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff6b8a 100%);
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 35px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.btn-accent:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    background: var(--white);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Navigation */
.navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1050; /* Ensure navbar stays above other content */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    z-index: 1060 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-medium);
}

.dropdown-item {
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 35px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
    font-family: 'Poppins', sans-serif;
    text-transform: none;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.85);
}

/* Categories */
.category-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--border-radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.category-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    height: 100%;
    transition: var(--transition);
}

.product-card:hover .product-img-hover {
    transform: scale(1.05);
}

.product-card .card-img-top {
    overflow: hidden;
}

.product-card a:hover .product-title {
    color: var(--accent-color);
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Booking Form */
.booking-form {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(233, 69, 96, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Cart */
.cart-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-medium);
}

.cart-total {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(255, 165, 0, 0.1);
    color: var(--warning-color);
}

.status-confirmed {
    background: rgba(0, 212, 170, 0.1);
    color: var(--success-color);
}

.status-cancelled {
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent-color);
}

.status-completed {
    background: rgba(40, 167, 69, 0.15);
    color: #155724;
}

.status-picked_up {
    background: rgba(13, 110, 253, 0.15);
    color: #084298;
}

.status-not_returned {
    background: rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.status-not_in_time {
    background: rgba(220, 53, 69, 0.25);
    color: #721c24;
}

/* Footer */
footer {
    background: var(--primary-color) !important;
}

footer a:hover {
    color: var(--accent-light) !important;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

.bg-accent {
    background: var(--accent-color) !important;
}

.border-radius {
    border-radius: var(--border-radius);
}

.shadow-light {
    box-shadow: var(--shadow-light);
}

.shadow-medium {
    box-shadow: var(--shadow-medium);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .card-img-top {
        height: 200px;
    }

    .booking-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 25px 0;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .card-body {
        padding: 1rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Alert Messages */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(0, 212, 170, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent-color);
    border-left: 4px solid var(--accent-color);
}

.alert-warning {
    background: rgba(255, 165, 0, 0.1);
    color: var(--warning-color);
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-left: 4px solid #007bff;
}