/* Group Food Order Page Styles */

:root {
    --primary-color: #d84315;
    --primary-light: #ff7043;
    --secondary-color: #b71c1c;
    --accent-color: #ffa726;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Hero Section - No Background Image for LCP */
.group-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.group-hero::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(216, 67, 21, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(216, 67, 21, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Inquiry Form Card */
.order-form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 3;
}

.form-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

.form-group-custom {
    margin-bottom: 20px;
}

.form-label-custom {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-input-custom {
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #dfe6e9;
    background: #fdfdfd;
    transition: all 0.3s ease;
}

.form-input-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(216, 67, 21, 0.1);
    outline: none;
    background: #fff;
}

.submit-btn-custom {
    width: 100%;
    padding: 15px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--primary-light)
    );
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(216, 67, 21, 0.2);
}

.submit-btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(216, 67, 21, 0.3);
}

/* Process Section */
.process-section {
    padding: 100px 0;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: translateY(-10px);
    background: var(--primary-color);
    color: #fff;
}

.step-number {
    position: absolute;
    top: -10px;
    right: 30%;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border: 3px solid #fff;
}

/* Benefits Section */
.benefits-section {
    background-color: #fff;
    padding: 80px 0;
}

.benefit-card {
    padding: 30px;
    border-radius: 20px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    background: #fff;
    box-shadow: var(--shadow-premium);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #efefef;
}

.faq-question {
    padding: 20px;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    background: #fff;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .order-form-card {
        margin-top: 50px;
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .group-hero {
        padding: 50px 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Table wrapper border */
.group-content table {
    width: 100%;
    border-collapse: separate; /* مهم change */
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
}

/* Apply border only inside */
.group-content table th,
.group-content table td {
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    padding: 12px 16px;
}

/* Remove extra right border */
.group-content table th:last-child,
.group-content table td:last-child {
    border-right: none;
}

/* Remove last row bottom border */
.group-content table tr:last-child td {
    border-bottom: none;
}

/* Header */
.group-content table thead {
    background-color: #f9fafb;
}

.group-content table thead th {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}

/* Body */
.group-content table tbody td {
    font-size: 14px;
    color: #4b5563;
}

/* Hover */
.group-content table tbody tr:hover {
    background-color: #f9fafb;
}
