/* ================================
HISTORY OF FOODS - MAIN CSS
================================ */

/* COLOR PALETTE */
:root {
    --background: #000000;
    --navbar-bg: #000000;
    --card-bg: #F3C41D;
    --card-light: #FFF8E6;
    --card-hover: #FFD83D;
    --yellow: #F3C41D;
    --yellow-hover: #FFD83D;
    --yellow-dark: #C69D0A;
    --text-white: #FFFFFF;
    --text-dark: #171717;
    --text-muted: #333333;
    --border: #D6AC13;
}

/* GENERAL STYLING */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--text-white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.site-container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

section {
    scroll-margin-top: 100px;
}

/* NAVIGATION BAR */
.custom-navbar {
    background-color: var(--navbar-bg);
    border-bottom: 2px solid var(--yellow);
    padding: 15px 0;
    z-index: 1000;
}

.custom-navbar .navbar-brand {
    color: var(--yellow);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.custom-navbar .navbar-brand:hover {
    color: var(--yellow-hover);
}

.custom-navbar .navbar-nav .nav-link {
    color: var(--text-white);
    font-weight: 600;
    margin-left: 18px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.custom-navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 0;
    background-color: var(--yellow);
    transition: width 0.3s ease;
}

.custom-navbar .navbar-nav .nav-link:hover {
    color: var(--yellow);
}

.custom-navbar .navbar-nav .nav-link:hover::after,
.custom-navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.custom-navbar .navbar-nav .nav-link.active {
    color: var(--yellow);
}

.custom-navbar .navbar-toggler {
    border: 1px solid var(--yellow);
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(243, 196, 29, 0.25);
}

.custom-navbar .navbar-toggler-icon {
    filter: invert(82%) sepia(80%) saturate(700%) hue-rotate(350deg);
}

/* SECTION HEADINGS */
.section-heading {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.section-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.glance-title {
    color: var(--yellow);
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
}

/* AT A GLANCE */
.quick-facts {
    padding: 25px 0;
}

.fact-card {
    background-color: var(--card-bg);
    color: var(--text-dark);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fact-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-5px);
}

.fact-label {
    color: #5B4700;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.fact-value {
    color: var(--text-dark);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.fact-description {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* HERO SECTION */
.hero-section {
    padding: 35px 0;
}

.history-content {
    background: linear-gradient(135deg, #F3C41D, #FFD83D);
    color: var(--text-dark);
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 35px;
    min-width: 0;
}

.eyebrow {
    color: #5B4700;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-title {
    color: var(--text-dark);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: #5B4300;
}

.history-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.history-description p:last-child {
    margin-bottom: 0;
}

.hero-image,
.food-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid var(--yellow);
}

.food-figure {
    width: 100%;
    margin: 0;
}

.history-tags {
    margin-top: 15px;
}

.history-tag {
    display: inline-block;
    background-color: #000000;
    color: var(--yellow);
    border-radius: 30px;
    padding: 7px 15px;
    margin: 5px 5px 0 0;
    font-size: 0.85rem;
    font-weight: 700;
}

/* CONTENT CARDS */
.content-card {
    background-color: var(--card-bg);
    color: var(--text-dark);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}

.content-card p {
    color: var(--text-muted);
}

.history-paragraph {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 18px;
}

.content-card .history-paragraph:last-child {
    margin-bottom: 0;
}

.content-title {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* EXPLORE FOOD CARDS */
.food-card {
    background-color: var(--card-bg);
    color: var(--text-dark);
    border: 2px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.food-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-6px);
}

.food-card-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.food-card-content {
    padding: 25px;
}

.food-card-label {
    color: #5B4700;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.food-card-title {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.food-card-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.food-card-link {
    display: inline-block;
    color: #000000;
    background-color: var(--yellow);
    border: 2px solid #000000;
    border-radius: 25px;
    padding: 9px 20px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.food-card-link:hover {
    background-color: #000000;
    color: var(--yellow);
}

/* INGREDIENT / HISTORY ITEMS */
.ingredient-item {
    background-color: #000000;
    color: var(--yellow);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    font-weight: 700;
}

.ingredient-item span {
    color: var(--yellow);
    font-weight: 900;
    margin-right: 8px;
}

/* FEEDBACK SECTION */
.feedback-section {
    background-color: #111111;
    border: 2px solid var(--yellow);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
}

.feedback-title {
    color: var(--yellow);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.feedback-description {
    color: var(--text-white);
    margin-bottom: 25px;
}

.feedback-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.feedback-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    color: var(--text-dark);
    border: 2px solid var(--yellow);
    border-radius: 10px;
    padding: 12px 25px;
    min-width: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feedback-option:hover {
    background-color: var(--yellow-hover);
    transform: translateY(-3px);
}

.feedback-option input {
    margin-right: 8px;
    accent-color: #000000;
}

.btn-submit {
    display: inline-block;
    background-color: var(--yellow);
    color: #000000;
    border: 2px solid var(--yellow);
    border-radius: 25px;
    padding: 11px 28px;
    margin-top: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-submit:hover {
    background-color: #000000;
    color: var(--yellow);
}

.feedback-message {
    color: var(--yellow);
    font-weight: 700;
    margin-top: 18px;
}

/* FOOTER */
.site-footer {
    background-color: #000000;
    border-top: 2px solid var(--yellow);
    padding: 30px 0;
    margin-top: 30px;
    text-align: center;
}

.footer-brand {
    color: var(--yellow);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-text {
    color: #CCCCCC;
    margin-bottom: 0;
}

/* SUSHI SLIDESHOW */
.sushi-banner {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border: 3px solid var(--yellow);
    border-radius: 14px;
    background-color: #111111;
}

.sushi-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.sushi-slide.active {
    display: block;
    animation: sushiFade 0.6s ease;
}

.sushi-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes sushiFade {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--yellow);
    border: 2px solid var(--yellow);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.banner-arrow:hover {
    background-color: var(--yellow);
    color: #000000;
}

.banner-arrow.prev { left: 12px; }
.banner-arrow.next { right: 12px; }

.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.banner-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid #000000;
    border-radius: 50%;
    background-color: #FFFFFF;
    cursor: pointer;
}

.banner-dot.active {
    background-color: var(--yellow);
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .custom-navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .history-content {
        padding: 30px;
    }

    .sushi-banner {
        height: 360px;
    }
}

@media (max-width: 767px) {
    .site-container {
        width: 92%;
    }

    .quick-facts {
        padding: 20px 0;
    }

    .hero-section {
        padding: 25px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-image,
    .food-image {
        min-height: 220px;
        max-height: 280px;
        margin-top: 20px;
    }

    .section-heading,
    .glance-title {
        font-size: 1.7rem;
    }

    .content-title {
        font-size: 1.7rem;
    }

    .content-card {
        padding: 22px;
    }

    .history-content {
        padding: 25px;
    }

    .food-card-image {
        height: 210px;
    }

    .feedback-section {
        padding: 25px 18px;
    }

    .sushi-banner {
        height: 280px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .history-content {
        padding: 20px;
    }

    .fact-card {
        padding: 20px 15px;
    }

    .food-card-content {
        padding: 20px;
    }
}