/* ==========================================================================
   Page Restaurants CSS - Restaurant Solution Page Specific Styles
   ========================================================================== */

/* ==========================================================================
   Base Restaurant Variables
   ========================================================================== */

:root {
    --color-restaurant-primary: #ff6b35;
    --color-restaurant-secondary: #ff8860;
    --color-restaurant-light: #fff4f0;
    --color-restaurant-dark: #e85a2b;
}

/* ==========================================================================
   Navigation Section
   ========================================================================== */

.nav-section {
    background-color: var(--color-background-primary);
    border-bottom: 1px solid var(--color-neutral-light);
    padding: var(--spacing-lg) 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.back-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-restaurant-primary);
}

.back-arrow {
    font-size: var(--font-size-lg);
    color: var(--color-restaurant-primary);
}

.page-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin: 0;
}

/* Spacer to balance the nav-content layout when button is removed */
.nav-spacer {
    width: 60px; /* Same width as back-link to balance centering */
}

/* Active nav link styling */
.nav-link.active {
    color: var(--color-restaurant-primary);
    font-weight: var(--font-weight-semibold);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.restaurants-hero {
    position: relative;
    padding: var(--spacing-6xl) 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 40%,
        rgba(255, 255, 255, 0.4) 100%
    );
}

.restaurants-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-text {
    padding-right: var(--spacing-2xl);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background-color: var(--color-restaurant-primary);
    color: var(--color-text-inverse);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
}

.tag-icon {
    font-size: var(--font-size-base);
}

.restaurants-hero .hero-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-xl);
}

.restaurants-hero .hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-3xl);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-2xl);
}

.restaurants-hero .btn-primary {
    background-color: var(--color-restaurant-primary);
    border-color: var(--color-restaurant-primary);
}

.restaurants-hero .btn-primary:hover {
    background-color: var(--color-restaurant-dark);
    border-color: var(--color-restaurant-dark);
}

/* Hero Trust Indicators */
.hero-text .trust-indicators {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.hero-text .trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.hero-text .trust-icon {
    color: var(--color-restaurant-primary);
    font-size: var(--font-size-base);
}

.hero-text .trust-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}


/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    padding: var(--spacing-6xl) 0;
    background-color: var(--color-background-primary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-5xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    line-height: var(--line-height-base);
    max-width: 600px;
    margin: 0 auto;
}

/* Features List - Alternating Layout */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-5xl);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Feature Content */
.feature-content {
    display: flex;
    flex-direction: column;
}

.feature-indicator {
    margin-bottom: var(--spacing-md);
}

.indicator-circle {
    width: 24px;
    height: 24px;
    color: var(--color-restaurant-primary);
}

.feature-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.feature-description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-base);
}

/* ==========================================================================
   Value Strip Section
   ========================================================================== */

.value-strip-section {
    padding: var(--spacing-5xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-top: 1px solid var(--color-neutral-light);
    border-bottom: 1px solid var(--color-neutral-light);
}

.value-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-4xl);
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: var(--spacing-2xl);
}

.value-icon {
    font-size: var(--font-size-2xl);
    color: var(--color-restaurant-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.value-icon.lightning {
    color: #fbbf24;
    animation: lightning-flash 2s ease-in-out infinite;
}

.value-icon.shield {
    color: var(--color-accent-green);
}

.value-icon.support {
    color: var(--color-primary-blue);
}

@keyframes lightning-flash {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.value-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.value-text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-base);
}

/* ==========================================================================
   Bottom CTA Section
   ========================================================================== */

.bottom-cta-section {
    background: linear-gradient(
        135deg,
        var(--color-restaurant-primary) 0%,
        var(--color-restaurant-dark) 100%
    );
    color: var(--color-text-inverse);
    padding: var(--spacing-6xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
}

.cta-subtitle {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-3xl);
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.cta-actions .btn-outline {
    background-color: transparent;
    color: var(--color-text-inverse);
    border-color: var(--color-text-inverse);
}

.cta-actions .btn-outline:hover {
    background-color: var(--color-text-inverse);
    color: var(--color-restaurant-primary);
}

.cta-actions .btn-primary {
    background-color: var(--color-text-inverse);
    color: var(--color-restaurant-primary);
    border-color: var(--color-text-inverse);
}

.cta-actions .btn-primary:hover {
    background-color: var(--color-neutral-light);
    transform: translateY(-2px);
}

/* Bottom Trust Indicators */
.bottom-cta-section .trust-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.bottom-cta-section .trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.bottom-cta-section .trust-icon {
    color: var(--color-accent-green);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
}

.bottom-cta-section .trust-text {
    font-size: var(--font-size-base);
    opacity: 0.9;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet */
@media (max-width: 1023px) {
    .restaurants-hero {
        min-height: 400px;
    }

    .restaurants-hero .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 60%,
            rgba(255, 255, 255, 0.7) 100%
        );
    }

    .hero-text .trust-indicators {
        justify-content: center;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .feature-content {
        text-align: center;
    }

    .feature-indicator {
        display: flex;
        justify-content: center;
    }

    .value-strip {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .nav-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .restaurants-hero .hero-title {
        font-size: var(--font-size-4xl);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .cta-title {
        font-size: var(--font-size-3xl);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .nav-section {
        padding: var(--spacing-md) 0;
    }

    .restaurants-hero {
        padding: var(--spacing-3xl) 0;
        min-height: 350px;
    }

    .restaurants-hero .hero-title {
        font-size: var(--font-size-3xl);
    }

    .restaurants-hero .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-text .trust-indicators {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }

    .features-section {
        padding: var(--spacing-4xl) 0;
    }

    .features-list {
        gap: var(--spacing-3xl);
    }

    .section-header {
        margin-bottom: var(--spacing-3xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    .feature-title {
        font-size: var(--font-size-xl);
    }

    .value-strip-section {
        padding: var(--spacing-3xl) 0;
    }

    .value-item {
        padding: var(--spacing-lg);
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .bottom-cta-section {
        padding: var(--spacing-4xl) 0;
    }

    .cta-title {
        font-size: var(--font-size-2xl);
    }

    .cta-subtitle {
        font-size: var(--font-size-base);
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bottom-cta-section .trust-indicators {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}
