/* Services Page Enhanced Styles */

/* Animated background for services section */
.fuel-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.fuel-particles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.9);
    z-index: 1;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 94, 20, 0.15) 0%, 
        rgba(18, 18, 18, 0.9) 100%);
    z-index: 2;
}

/* Fancy cards with 3D hover effect */
.service-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(255, 94, 20, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 94, 20, 0.05), 
        rgba(0, 0, 0, 0));
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
    border-radius: 15px;
}

.service-card:hover::before {
    opacity: 1;
}

/* Glowing fuel icon */
.fuel-icon {
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover .fuel-icon {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(255, 94, 20, 0.5);
}

/* Particle effect */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Interactive form with depth */
.order-form {
    transform-style: preserve-3d;
    perspective: 1000px;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 94, 20, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-form:hover {
    box-shadow: 0 20px 40px rgba(255, 94, 20, 0.15);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.form-group:hover {
    transform: translateZ(10px);
}

/* Floating labels */
.form-group label {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 16px;
    color: #aaa;
    pointer-events: none;
    transition: 0.3s ease all;
    transform-origin: left top;
}

.form-group.active label,
.form-group input:focus ~ label,
.form-group select:focus ~ label,
.form-group textarea:focus ~ label {
    transform: translateY(-130%) scale(0.8);
    color: #FF5E14;
}

/* Enhanced inputs */
.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(40, 40, 40, 0.7);
    border: none;
    border-bottom: 2px solid #333;
    padding: 10px 15px;
    border-radius: 8px;
    width: 100%;
    color: white;
    font-size: 16px;
    transition: 0.3s ease all;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #FF5E14;
    box-shadow: 0 5px 15px rgba(255, 94, 20, 0.1);
    background: rgba(50, 50, 50, 0.8);
}

/* Animated button with ripple */
.btn-order {
    position: relative;
    padding: 12px 30px;
    background: linear-gradient(45deg, #FF5E14, #FF8F1F);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.btn-order:hover {
    box-shadow: 0 7px 20px rgba(255, 94, 20, 0.4);
    transform: translateY(-3px);
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Fuel quantity visualizer */
.fuel-visualizer {
    height: 15px;
    width: 100%;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.fuel-level {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #FF5E14, #FF8F1F);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.quantity-display {
    text-align: right;
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
}

/* Fuel type cards */
.fuel-type-cards {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.fuel-type-card {
    flex: 1;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    background: rgba(40, 40, 40, 0.7);
    text-align: center;
    margin: 0 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.fuel-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fuel-type-card.active {
    border-color: #FF5E14;
    background: rgba(255, 94, 20, 0.1);
}

.fuel-type-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #FF5E14;
}

.fuel-type-name {
    font-weight: bold;
    color: white;
}

.fuel-type-price {
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
}

/* Service hero enhancements */
.services-hero {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-title {
    position: relative;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 94, 20, 0), 
        rgba(255, 94, 20, 1), 
        rgba(255, 94, 20, 0));
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Animated particles */
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.btn-primary {
    animation: pulse 2s infinite;
}

/* Notification styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    background: rgba(30, 30, 30, 0.9);
    color: white;
    border-radius: 5px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #4CAF50;
}

.notification.error {
    border-left: 4px solid #F44336;
}

.notification.info {
    border-left: 4px solid #2196F3;
}

/* Adaptive styles for smaller screens */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .fuel-type-cards {
        flex-direction: column;
    }
    
    .fuel-type-card {
        margin: 5px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
} 