/* services_list.css */

/* Main Container */
.services-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 4rem 2rem;
    border-radius: 20px;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    min-height: 48px;
    display: flex;
    align-items: center;
}

.hero-btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
}

.hero-guest-section {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hero-guest-main {
    margin-bottom: 1rem;
}

.hero-guest-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* Category Section */
.category-section {
    margin-bottom: 4rem;
}

.category-header {
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-title {
    color: #667eea;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.category-icon {
    font-size: 1.2em;
    margin-right: 1rem;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Service Image/Icon */
.service-image-container {
    height: 180px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.service-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.9);
}

.duration-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Service Content */
.service-content {
    padding: 2rem;
}

.service-name {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Price and Details Section */
.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.price-section {
    flex: 1;
}

.service-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
}

.service-duration {
    font-size: 0.9rem;
    color: #888;
}

.staff-assignment {
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.staff-self-service {
    color: #6c757d;
}

.staff-required {
    color: #ffc107;
}

.staff-choice {
    color: #28a745;
}

.details-section {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
}

.detail-row {
    margin-bottom: 0.2rem;
}

/* Action Buttons */
.service-actions {
    display: flex;
    gap: 1rem;
}

.btn-view-details {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    color: #667eea;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-view-details:hover {
    background: #e9ecef;
    color: #667eea;
    text-decoration: none;
}

.btn-book-now {
    flex: 2;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-sign-in {
    flex: 2;
    text-align: center;
    padding: 1rem;
    background: #28a745;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-sign-in:hover {
    background: #218838;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* No Services Message */
.no-services-message {
    text-align: center;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.no-services-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.no-services-title {
    color: #333;
    margin-bottom: 1rem;
}

.no-services-text {
    color: #666;
    font-size: 1.1rem;
}

/* Staff Panel */
.staff-panel {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 15px;
    text-align: center;
    border: 2px dashed #28a745;
}

.staff-panel-title {
    color: #28a745;
    margin-bottom: 1rem;
}

.staff-panel-text {
    color: #666;
    margin-bottom: 1.5rem;
}

.staff-panel-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-staff-dashboard {
    background: #28a745;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-staff-dashboard:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}

.btn-admin-panel {
    background: #6f42c1;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-admin-panel:hover {
    background: #5a3a9a;
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-list-container {
        padding: 0.5rem;
    }

    .hero-section {
        padding: 3rem 1rem;
    }

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

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

    .category-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-details {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .details-section {
        text-align: center;
    }

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

    .staff-panel-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-staff-dashboard,
    .btn-admin-panel {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .services-list-container {
        padding: 0.25rem;
    }

    .hero-section {
        padding: 2rem 0.5rem;
    }

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

    .category-header,
    .service-content {
        padding: 1rem;
    }

    .service-image-container {
        height: 150px;
    }

    .service-icon {
        font-size: 3rem;
    }

    .service-price {
        font-size: 1.5rem;
    }
}