/* Optimized CSS - Removed unused styles, kept only essential ones */
/* IQBAL BROS SOUTH EX - Production Optimized */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Essential Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    padding-top: 76px;
    line-height: 1.6;
}

.main-content {
    min-height: calc(100vh - 76px);
}

/* Essential Button Styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Essential Form Styles */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
}

/* Booking Process Flow Chart - Used on homepage */
.process-step {
    padding: 20px;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-icon {
    transition: var(--transition);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    color: var(--accent-color) !important;
}

/* Essential Modal Styles */
.modal-lg {
    max-width: 900px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Essential Alert Styles */
.booking-success-alert {
    border-left: 4px solid var(--success-color);
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.booking-error-alert {
    border-left: 4px solid var(--accent-color);
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* WhatsApp Button - Essential for business */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: #fff;
    transform: scale(1.1);
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Essential responsive styles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .process-step {
        padding: 15px;
    }
    
    .step-number .badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .modal-lg {
        max-width: 95%;
        margin: 1rem auto;
    }
}

/* Loading states for performance */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

img.loading {
    filter: blur(2px);
    opacity: 0.5;
}

img.loaded {
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

/* Print optimization */
@media print {
    .whatsapp-float,
    .navbar,
    .modal,
    .btn {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
