/* ============================================
   Dil Sy Desi — Page-Specific Styles
   ============================================ */

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff7ed 0%, #fff1e6 50%, #ffe4cc 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239,68,68,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: white;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-600);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-600);
}

.hero-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-image-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(249, 115, 22, 0.15);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-xl);
    padding: 14px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: 1s;
}

.hero-float-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.hero-float-card .card-icon.orange {
    background: var(--primary-100);
}

.hero-float-card .card-icon.green {
    background: #dcfce7;
}

.hero-float-card .card-text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-float-card .card-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc { margin: 0 auto var(--space-xl); }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { display: none; }
}

/* ── Featured / Categories Section ── */
.categories-section {
    background: white;
}

.categories-grid {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 28px;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    min-width: 120px;
}

.category-card:hover,
.category-card.active {
    background: var(--primary-50);
    border-color: var(--primary-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card .cat-icon {
    font-size: 2rem;
}

.category-card .cat-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.category-card .cat-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── Food Grid ── */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

@media (max-width: 640px) {
    .food-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Specials Banner ── */
.specials-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.specials-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.specials-section .section-header h2 {
    color: white;
}

.specials-section .section-header p {
    color: var(--gray-400);
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.special-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.special-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.special-card .food-card-image { height: 180px; }

.special-card .food-card-body { padding: 16px; }

.special-card .food-card-name { color: white; }
.special-card .food-card-desc { color: var(--gray-400); }
.special-card .food-card-price { color: var(--primary-400); }

.special-card .food-card-footer {
    border-top-color: rgba(255,255,255,0.1);
}

/* ── Testimonials ── */
.testimonials-section {
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-300), var(--primary-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Menu Page ── */
.menu-page {
    min-height: 100vh;
}

.menu-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.menu-filters {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.menu-search {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.menu-search input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.menu-search input:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.menu-search .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

/* ── Cart Page ── */
.cart-page {
    min-height: 100vh;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-xl);
    align-items: flex-start;
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition-fast);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
}

.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--primary-600);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.qty-btn:hover {
    background: var(--primary-100);
    color: var(--primary-600);
}

.qty-value {
    width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.remove-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 1.1rem;
}

.remove-btn:hover {
    background: #fee2e2;
    color: var(--danger);
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    position: sticky;
    top: 90px;
}

.cart-summary h3 {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--gray-100);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 2px solid var(--gray-100);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.summary-row.total .amount {
    color: var(--primary-600);
}

.cart-summary .btn {
    width: 100%;
    margin-top: var(--space-lg);
}

/* ── Checkout Page ── */
.checkout-page {
    min-height: 100vh;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-xl);
    align-items: flex-start;
}

@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.checkout-form h3 {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--gray-100);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.payment-option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-option:hover,
.payment-option.selected {
    border-color: var(--primary-400);
    background: var(--primary-50);
}

.payment-option input[type="radio"] {
    accent-color: var(--primary-500);
    width: 18px;
    height: 18px;
}

.payment-option .payment-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.payment-option .payment-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Auth Pages ── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff7ed 0%, #ffe4cc 100%);
    padding: var(--space-xl);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-header .auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    text-decoration: none;
    color: var(--text-primary);
}

.auth-header .auth-logo .brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
}

.auth-header h2 {
    margin-bottom: var(--space-xs);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    font-weight: 600;
    color: var(--primary-600);
}

/* ── Order Success Page ── */
.success-page {
    min-height: 100vh;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    animation: scaleIn 0.5s var(--transition-spring);
}

.success-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

.order-detail-row:last-child {
    border-bottom: none;
}

.order-detail-row .label {
    color: var(--text-muted);
}

.order-detail-row .value {
    font-weight: 600;
}

/* ── Legal Pages ── */
.legal-page {
    padding-top: 120px;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
}

.legal-content h1 {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--gray-100);
}

.legal-content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.legal-content p {
    margin-bottom: var(--space-md);
}

.legal-content ul {
    list-style: disc;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-content ul li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}
