/* Custom CSS for Laundry Landing Page */

:root {
    --primary-color: #0066cc;
    --secondary-color: #ffc107;
    --success-color: #28a745;
    --warning-color: #fd7e14;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    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 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-image img {
    max-height: 500px;
    object-fit: cover;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-buttons .btn {
    margin: 0.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Quick Contact Buttons */
.quick-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.quick-btn:hover {
    transform: scale(1.1);
    color: white;
}

.btn-phone {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.btn-line {
    background: linear-gradient(45deg, #00c851, #007e33);
}

.btn-facebook {
    background: linear-gradient(45deg, #3b5998, #8b9dc3);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2) !important;
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.pricing-list .d-flex {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-list .d-flex:last-child {
    border-bottom: none;
}

/* Promotion Banner */
.promotion-banner {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Booking Form */
.booking-form {
    border-top: 4px solid var(--primary-color);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-label {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.map-container {
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    transition: all 0.3s ease;
}

.map-container:hover iframe {
    transform: scale(1.02);
}

/* Social Links */
.social-links .btn {
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    transform: translateY(-2px);
}

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(45deg, var(--primary-color), #4e73df);
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .quick-contact {
        right: 15px;
        bottom: 15px;
    }
    
    .quick-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .contact-item:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .pricing-card:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
    }
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Success Message */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-left: 4px solid var(--success-color);
}

/* Error Message */
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.scroll-to-top.show {
    display: flex;
}

/* Print Styles */
@media print {
    .quick-contact,
    .scroll-to-top,
    .navbar {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
}
