/* Honest Restaurant - Inner Pages Styles */
/* Extends home.css design system */

/* ========== PAGE HERO - Inner Pages ========== */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--chili-red);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(232, 168, 56, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 30, 63, 0.2) 0%, transparent 50%);
}

.page-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0zm0 10L10 30l20 20 20-20-20-20z' fill='%23F7F3EB'/%3E%3C/svg%3E");
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.5rem;
    background: rgba(247, 243, 235, 0.1);
    border: 1px solid rgba(247, 243, 235, 0.2);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.page-hero-badge span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 1rem;
}

.page-hero-title em {
    font-style: italic;
    color: var(--saffron);
}

.page-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(247, 243, 235, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== MENU PAGE ========== */

/* Menu Navigation/Filter */
.menu-filter-section {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid rgba(30, 15, 7, 0.1);
    padding: 1rem 0;
}

.menu-filter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.menu-filter-btn {
    padding: 0.7rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brown-deep);
    background: transparent;
    border: 1px solid rgba(30, 15, 7, 0.2);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.menu-filter-btn:hover {
    border-color: var(--chili-red);
    color: var(--chili-red);
}

.menu-filter-btn.active {
    background: var(--chili-red);
    color: var(--cream);
    border-color: var(--chili-red);
}

/* Menu Grid */
.menu-section {
    padding: clamp(60px, 10vw, 100px) 2rem;
    background: var(--cream);
}

.menu-category {
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.menu-category:last-child {
    margin-bottom: 0;
}

.menu-category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.menu-category-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--chili-red), transparent);
}

.menu-category-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--brown-deep);
}

.menu-category-title em {
    font-style: italic;
    color: var(--chili-red);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Menu Item Card */
.menu-item-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(30, 15, 7, 0.05);
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
}

.menu-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 15, 7, 0.12);
}

.menu-item-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.menu-item-card:hover .menu-item-image img {
    transform: scale(1.08);
}

.menu-item-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    background: var(--chili-red);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--brown-deep);
    line-height: 1.2;
}

.menu-item-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--chili-red);
    white-space: nowrap;
}

.menu-item-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(30, 15, 7, 0.6);
    margin-bottom: 1rem;
}

.menu-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.menu-item-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    background: rgba(30, 15, 7, 0.05);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--brown-warm);
}

.menu-item-tag svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.menu-item-tag.spicy {
    background: rgba(194, 58, 34, 0.1);
    color: var(--chili-red);
}

.menu-item-tag.vegan {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.menu-item-tag.jain {
    background: rgba(232, 168, 56, 0.15);
    color: var(--gold);
}

/* Spice Level Indicator */
.spice-level {
    display: flex;
    gap: 0.2rem;
}

.spice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(194, 58, 34, 0.2);
}

.spice-dot.active {
    background: var(--chili-red);
}

/* ========== ABOUT PAGE ========== */

/* Story Section */
.story-section {
    padding: clamp(80px, 15vw, 150px) 2rem;
    background: var(--cream);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-text {
    max-width: 550px;
}

.story-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.story-label-line {
    width: 30px;
    height: 1px;
    background: var(--chili-red);
}

.story-label span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--chili-red);
}

.story-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--brown-deep);
    margin-bottom: 1.5rem;
}

.story-title em {
    font-style: italic;
    color: var(--chili-red);
}

.story-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(30, 15, 7, 0.7);
    margin-bottom: 1.5rem;
}

.story-quote {
    padding: 1.5rem;
    background: rgba(232, 168, 56, 0.1);
    border-left: 4px solid var(--saffron);
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.story-quote p {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--brown-deep);
}

.story-image {
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.story-image:hover img {
    transform: scale(1.03);
}

/* Timeline Section */
.timeline-section {
    padding: clamp(80px, 15vw, 150px) 2rem;
    background: var(--brown-deep);
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(232, 168, 56, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(194, 58, 34, 0.05) 0%, transparent 50%);
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 1rem;
}

.timeline-title em {
    font-style: italic;
    color: var(--saffron);
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--saffron), var(--chili-red));
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--saffron);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(232, 168, 56, 0.2);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--saffron);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(247, 243, 235, 0.6);
}

/* Values Section */
.values-section {
    padding: clamp(80px, 15vw, 150px) 2rem;
    background: var(--cream-dark);
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--brown-deep);
    margin-bottom: 1rem;
}

.values-title em {
    font-style: italic;
    color: var(--chili-red);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(30, 15, 7, 0.05);
    transition: all 0.5s var(--ease-out-expo);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 15, 7, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--saffron), var(--chili-red));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--brown-deep);
    margin-bottom: 0.8rem;
}

.value-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(30, 15, 7, 0.6);
}

/* ========== CONTACT PAGE ========== */

/* Contact Info Section */
.contact-section {
    padding: clamp(80px, 15vw, 150px) 2rem;
    background: var(--cream);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 30px rgba(30, 15, 7, 0.05);
}

.contact-info-header {
    margin-bottom: 2rem;
}

.contact-info-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--brown-deep);
    margin-bottom: 0.5rem;
}

.contact-info-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(30, 15, 7, 0.6);
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(30, 15, 7, 0.08);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--saffron), var(--chili-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.contact-item-text h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 0.3rem;
}

.contact-item-text p,
.contact-item-text a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(30, 15, 7, 0.7);
    text-decoration: none;
    line-height: 1.6;
}

.contact-item-text a:hover {
    color: var(--chili-red);
}

.contact-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: 1px solid rgba(30, 15, 7, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
}

.social-link:hover {
    background: var(--chili-red);
    border-color: var(--chili-red);
}

.social-link:hover svg {
    fill: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--brown-deep);
    transition: fill 0.3s;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 30px rgba(30, 15, 7, 0.05);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--brown-deep);
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(30, 15, 7, 0.6);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brown-deep);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--brown-deep);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--chili-red);
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(30, 15, 7, 0.4);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    padding: 1.2rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    background: var(--chili-red);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    align-self: flex-start;
}

.form-submit:hover {
    background: var(--brown-deep);
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    padding: clamp(60px, 10vw, 100px) 2rem;
    background: var(--cream-dark);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 4px 30px rgba(30, 15, 7, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Hours Grid */
.hours-section {
    padding: clamp(80px, 15vw, 150px) 2rem;
    background: var(--brown-deep);
    position: relative;
}

.hours-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(232, 168, 56, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(194, 58, 34, 0.05) 0%, transparent 50%);
}

.hours-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hours-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hours-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--cream);
}

.hours-title em {
    font-style: italic;
    color: var(--saffron);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background: rgba(247, 243, 235, 0.05);
    border: 1px solid rgba(247, 243, 235, 0.1);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out-expo);
}

.hours-item:hover {
    background: rgba(247, 243, 235, 0.08);
    border-color: var(--saffron);
}

.hours-item.today {
    background: rgba(232, 168, 56, 0.15);
    border-color: var(--saffron);
}

.hours-day {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cream);
}

.hours-time {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(247, 243, 235, 0.7);
}

.hours-time.closed {
    color: var(--chili-red);
}

/* ========== CATERING SECTION (Contact Page) ========== */
.catering-section {
    padding: clamp(80px, 15vw, 150px) 2rem;
    background: var(--cream);
}

.catering-container {
    max-width: 1200px;
    margin: 0 auto;
}

.catering-header {
    text-align: center;
    margin-bottom: 4rem;
}

.catering-section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--brown-deep);
    margin-bottom: 1rem;
}

.catering-section-title em {
    font-style: italic;
    color: var(--chili-red);
}

.catering-section-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(30, 15, 7, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.catering-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.catering-feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 15, 7, 0.05);
    transition: all 0.4s var(--ease-out-expo);
}

.catering-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 15, 7, 0.1);
}

.catering-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--saffron), var(--chili-red));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.catering-feature-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.catering-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--brown-deep);
    margin-bottom: 0.5rem;
}

.catering-feature-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(30, 15, 7, 0.6);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-text {
        max-width: 100%;
        text-align: center;
    }

    .story-label {
        justify-content: center;
    }

    .story-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .menu-filter-container {
        padding: 0 1rem;
    }

    .menu-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-dot {
        left: -2rem;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-submit {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-hero-content {
        padding: 5rem 1rem 3rem;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .menu-item-price {
        order: -1;
    }
}
