/* Reset CSS */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* General Styles */
body {
    font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    color: #e0e0e0;
    background-color: #1a1a2e; 
    background-image: url('../images/75.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative; 
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: -1;
}

a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #e4ca86;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    margin-top: 20px;
}
.btn:hover {
    color: #e4ca86;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-size: 1.2em;
    opacity: 1;
    transition: opacity 1s ease-out;
}
#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}
#loading-screen img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 46, 0.8); 
    padding: 15px 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}
#header.scrolled {
    background-color: rgba(26, 26, 46, 0.95);
}

#main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-size: 1.8em;
    font-weight: normal;
    letter-spacing: 2px;
}
.site-title a {
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

#main-nav ul {
    display: flex;
}
#main-nav ul li {
    margin-left: 30px;
}
#main-nav ul li a {
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}
#main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: width 0.3s ease;
}
#main-nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section (First View) */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url(../images/1.webp);
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.hero-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-content .site-name {
    font-size: 4em;
    letter-spacing: 5px;
    margin-bottom: 30px;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.hero-nav ul {
    display: flex;
    justify-content: center;
}
.hero-nav ul li {
    margin: 0 20px;
}
.hero-nav ul li a {
    font-size: 1.2em;
    padding: 5px 10px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.hero-nav ul li a:hover {
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    margin-bottom: 40px; 
}
.content-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Concept Section */
#concept .concept-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
#concept .concept-story p {
    font-size: 1.1em;
    text-align: center;
    max-width: 700px;
    line-height: 1.8;
}
#concept .concept-story img {
    max-width: 80%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Menu/Goods Preview */
.menu-items, .goods-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.menu-item, .goods-item {
    width: 300px;
    text-align: center;
    padding: 20px;
    border-radius: 5px;;
}
.menu-item img, .goods-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 15px;
}
.menu-item h3, .goods-item h3 {
    font-size: 1.4em;
    color: #e4ca86;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}
.menu-item p, .goods-item p {
    font-size: 0.95em;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* News Section */
.news-list {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    border-radius: 5px;
}
.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #3a3a5a;
    display: flex;
    align-items: center;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-list li time {
    color: #e4ca86;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    margin-right: 20px;
    flex-shrink: 0;
}
.news-list li a {
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-size: 1.05em;
}
.news-list li a:hover {
    color: #e4ca86;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Access Section */
#access .access-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 5px;
}
#access .access-info p {
    margin-bottom: 10px;
    font-size: 1.1em;
}
.map-placeholder img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 3px;
    margin-top: 20px;
}

/* Contact Link Section */
#contact-link p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Footer */
#footer {
    background-color: rgba(17, 17, 17, 0.9); 
    color: #aaa;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* Page Top Button */
#page-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#page-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
}
#page-top-btn a {
    display: block;
    width: 175px;
    height: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
#page-top-btn img {
    width: 230px;
    height: 230px;
    object-fit: contain;
}

/* Menu Page Specific Styles */
#menu-full .menu-category {
    margin-bottom: 60px;
}
#menu-full .menu-category h3 {
    font-size: 2em;
    color: #e4ca86;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}
#menu-full .menu-category h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: #e4ca86;
    text-shadow: 0 0 10px rgba(255, 2255, 255, 0.5);
}
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.menu-item-card {
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}
.menu-item-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 15px;
}
.menu-item-card h4 {
    font-size: 1.5em;
    color: #e4ca86;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}
.menu-item-card p {
    font-size: 0.95em;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 15px;
}
.menu-item-card .price {
    font-size: 1.2em;
    color: #e4ca86 ;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

/* Goods Page Specific Styles */
#goods-full .goods-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.goods-item-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 15px;
}
.goods-item-card h4 {
    font-size: 1.5em;
    color: #e4ca86;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}
.goods-item-card p {
    font-size: 0.95em;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 15px;
}
.goods-item-card .price {
    font-size: 1.2em;
    color: #e4ca86;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

/* Contact Page Specific Styles */
#contact-form .form-area {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 5px;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #e0e0e0;
}
.form-group .required {
    color: #ff6b6b;
    margin-left: 5px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
    font-size: 1em;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e4ca86;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}
.form-group textarea {
    resize: vertical;
}
.form-group button {
    width: auto;
    padding: 15px 40px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
     color: #000;
    background-color: #e0e0e0;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}
.form-group button:hover {
    color: #e0e0e0;
    background-color: #000;
}

/* Placeholder Images for all pages */
img[alt*="placeholder"], .map-placeholder img {
    filter: grayscale(100%) brightness(50%); 
}

/* Responsive Design */
@media (max-width: 768px) {
    #main-nav {
        flex-direction: column;
        padding: 10px 20px;
    }
    #main-nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    #main-nav ul li {
        margin: 5px 15px;
    }
    .site-title {
        font-size: 1.5em;
    }
    .hero-content .site-name {
        font-size: 3em;
    }
    .hero-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .hero-nav ul li {
        margin: 0;
    }
    .section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }
    #concept .concept-story img {
        max-width: 100%;
    }
    .menu-items, .goods-items {
        flex-direction: column;
        align-items: center;
    }
    .menu-item, .goods-item {
        width: 90%;
    }
    .news-list {
        padding: 20px;
    }
    .news-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .news-list li time {
        margin-right: 0;
    }
    #page-top-btn {
        bottom: 20px;
        right: 20px;
    }
    #page-top-btn a {
        width: 50px;
        height: 50px;
    }
    #page-top-btn img {
        width: 30px;
        height: 30px;
    }
    .menu-items-grid, .goods-items-grid {
        grid-template-columns: 1fr;
    }
    #contact-form .form-area {
        padding: 20px;
    }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        width: calc(100% - 24px); /* Adjust for padding and border */
    }
}

