/* 
=======================
UTILITY CLASSES
Bottini Fuel Clone - Pixel Perfect Designs
=======================
*/

/* Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

/* Flexbox Utilities */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Text Alignment */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* Text Colors */
.text-primary { color: var(--primary-blue) !important; }
.text-secondary { color: var(--secondary-blue) !important; }
.text-white { color: var(--white) !important; }
.text-gray { color: var(--medium-gray) !important; }
.text-orange { color: var(--orange) !important; }

/* Background Colors */
.bg-primary { background-color: var(--primary-blue) !important; }
.bg-secondary { background-color: var(--secondary-blue) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-light { background-color: var(--light-gray) !important; }
.bg-orange { background-color: var(--orange) !important; }

/* Margin Utilities */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mr-0 { margin-right: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }

.m-1 { margin: 10px !important; }
.mt-1 { margin-top: 10px !important; }
.mr-1 { margin-right: 10px !important; }
.mb-1 { margin-bottom: 10px !important; }
.ml-1 { margin-left: 10px !important; }

.m-2 { margin: 20px !important; }
.mt-2 { margin-top: 20px !important; }
.mr-2 { margin-right: 20px !important; }
.mb-2 { margin-bottom: 20px !important; }
.ml-2 { margin-left: 20px !important; }

.m-3 { margin: 30px !important; }
.mt-3 { margin-top: 30px !important; }
.mr-3 { margin-right: 30px !important; }
.mb-3 { margin-bottom: 30px !important; }
.ml-3 { margin-left: 30px !important; }

/* Padding Utilities */
.p-0 { padding: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pr-0 { padding-right: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pl-0 { padding-left: 0 !important; }

.p-1 { padding: 10px !important; }
.pt-1 { padding-top: 10px !important; }
.pr-1 { padding-right: 10px !important; }
.pb-1 { padding-bottom: 10px !important; }
.pl-1 { padding-left: 10px !important; }

.p-2 { padding: 20px !important; }
.pt-2 { padding-top: 20px !important; }
.pr-2 { padding-right: 20px !important; }
.pb-2 { padding-bottom: 20px !important; }
.pl-2 { padding-left: 20px !important; }

.p-3 { padding: 30px !important; }
.pt-3 { padding-top: 30px !important; }
.pr-3 { padding-right: 30px !important; }
.pb-3 { padding-bottom: 30px !important; }
.pl-3 { padding-left: 30px !important; }

/* Width and Height */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.max-w-100 { max-width: 100% !important; }
.max-h-100 { max-height: 100% !important; }

/* Border Radius */
.rounded { border-radius: 5px !important; }
.rounded-lg { border-radius: 10px !important; }
.rounded-xl { border-radius: 20px !important; }
.rounded-full { border-radius: 50% !important; }

/* Shadows */
.shadow-sm {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.shadow {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Position */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }

/* Overflow */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }

/* Font Weights */
.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }

/* Font Sizes */
.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.text-4xl { font-size: 2.25rem !important; }

/* Responsive Utilities */
@media (max-width: 768px) {
    .mobile-hide { display: none !important; }
    .mobile-show { display: block !important; }
    
    .mobile-text-center { text-align: center !important; }
    .mobile-text-left { text-align: left !important; }
    
    .mobile-flex-column { flex-direction: column !important; }
    .mobile-w-100 { width: 100% !important; }
}

@media (min-width: 769px) {
    .desktop-hide { display: none !important; }
    .desktop-show { display: block !important; }
}

/* Hover Effects */
.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease;
}

.hover-opacity:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease;
}

.slide-up {
    animation: slideUp 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
