/* 
========================================
   CSS for Ramen Tatsuya Theme
======================================== 
*/

/* Variables */
:root {
	--primary-color: #8c1b1b;
	--primary-hover: #b32424;
	--bg-color: #0d0d0d;
	--text-main: #f5f5f5;
	--text-muted: #aaaaaa;
	--border-color: #333333;
	--font-main: 'Noto Sans JP', sans-serif;
	--font-catch: 'Oswald', 'Noto Sans JP', sans-serif;
	--glass-bg: rgba(13, 13, 13, 0.85);
}

/* Reset & Base */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-main);
	color: var(--text-main);
	background-color: var(--bg-color);
	line-height: 1.6;
	overflow-x: hidden;
}
a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}
ul {
	list-style: none;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Layout */
.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 5%;
}
.section-padding {
	padding: 100px 0;
}
.pc-only {
	display: none;
}
@media (min-width: 768px) {
	.pc-only { display: block; }
}

/* Typography */
.section-title-wrapper {
	text-align: center;
	margin-bottom: 60px;
}
.section-title {
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 10px;
}
.section-subtitle {
	font-family: var(--font-catch);
	color: var(--primary-color);
	font-size: 1rem;
	letter-spacing: 0.2em;
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 20px 0;
	transition: all 0.4s ease;
	background: transparent;
}
.site-header.scrolled {
	background: var(--glass-bg);
	backdrop-filter: blur(10px);
	padding: 15px 0;
	border-bottom: 1px solid var(--border-color);
}
.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo {
	display: flex;
	align-items: center;
}
.logo-text {
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	color: #fff;
}
.logo-sub {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--primary-color);
	margin-left: 8px;
}
.main-navigation .menu {
	display: none;
}
@media (min-width: 768px) {
	.main-navigation .menu {
		display: flex;
		gap: 30px;
	}
	.menu-toggle {
		display: none;
	}
	.main-navigation a {
		font-size: 0.95rem;
		font-weight: 500;
		letter-spacing: 0.05em;
	}
	.main-navigation a:hover {
		color: var(--primary-color);
	}
}

/* Hero Section */
.hero-section {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
	transform: scale(1.05); /* For load animation */
	animation: bgZoom 10s infinite alternate ease-in-out;
}
@keyframes bgZoom {
	0% { transform: scale(1.05); }
	100% { transform: scale(1.1); }
}
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.3) 50%, rgba(13,13,13,1));
	z-index: 1;
}
.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	width: 100%;
}
.hero-title {
	font-size: 3rem;
	line-height: 1.4;
	font-weight: 900;
	color: #fff;
	text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
	margin-bottom: 30px;
	letter-spacing: 0.1em;
}
/* Vertical text option for traditional feeel */
.vertical-text {
	writing-mode: unset;
}
@media (min-width: 768px) {
	.vertical-text {
		writing-mode: vertical-rl;
		text-orientation: upright;
		margin: 0 auto;
		letter-spacing: 0.3em;
		line-height: 2;
	}
}
.hero-subtitle {
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #fff;
	text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* About Section */
.about-section {
	text-align: center;
}
.lead-text {
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 2;
	margin-bottom: 40px;
	color: #fff;
}
.about-content p:not(.lead-text) {
	color: var(--text-muted);
	margin-bottom: 20px;
}

/* News Section */
.news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}
@media (min-width: 768px) {
	.news-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.news-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	height: 100%;
}
.news-card-link {
	display: flex;
	flex-direction: column;
	padding: 30px;
	height: 100%;
}
.news-card:hover {
	transform: translateY(-8px);
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--primary-color);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.news-card-date {
	font-family: var(--font-catch);
	font-size: 0.9rem;
	color: var(--primary-color);
	margin-bottom: 12px;
	font-weight: 700;
}
.news-card-title {
	font-size: 1.3rem;
	line-height: 1.4;
	margin-bottom: 15px;
	color: #fff;
	font-weight: 700;
}
.news-card-excerpt {
	font-size: 0.95rem;
	color: var(--text-muted);
	margin-bottom: 25px;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-read-more {
	font-family: var(--font-catch);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--primary-color);
	display: flex;
	align-items: center;
}
.news-read-more::after {
	content: '→';
	margin-left: 8px;
	transition: transform 0.3s ease;
}
.news-card:hover .news-read-more::after {
	transform: translateX(5px);
}
.no-news {
	text-align: center;
	color: var(--text-muted);
	width: 100%;
	padding: 40px;
}

/* Menu Section */
.menu-section {
	background-color: #141414;
}
.menu-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}
@media (min-width: 992px) {
	.menu-grid {
		grid-template-columns: repeat(2, 1fr);
		align-items: start;
	}
}
.menu-category {
	background: rgba(255, 255, 255, 0.02);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	height: 100%;
}
.category-title {
	font-size: 1.5rem;
	color: var(--primary-color);
	border-bottom: 2px solid var(--border-color);
	padding-bottom: 10px;
	margin-bottom: 25px;
	font-weight: 700;
	letter-spacing: 0.05em;
}
.menu-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.menu-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-bottom: 1px dashed #333;
	padding-bottom: 6px;
	transition: all 0.3s ease;
}
.menu-list li:hover {
	color: #fff;
	border-bottom-color: var(--primary-color);
	padding-left: 5px;
}
.menu-name {
	font-size: 1rem;
	font-weight: 500;
}
.menu-price {
	font-family: var(--font-catch);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-main);
	white-space: nowrap;
	margin-left: 10px;
}
.menu-note {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-top: 15px;
	font-style: italic;
}

/* Access Section */
.access-inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
@media (min-width: 768px) {
	.access-inner {
		flex-direction: row;
		align-items: center;
	}
	.access-info, .access-map {
		flex: 1;
	}
}
.shop-name {
	font-size: 1.5rem;
	margin-bottom: 20px;
	color: #fff;
}
.shop-details {
	margin-bottom: 30px;
}
.shop-details li {
	padding: 15px 0;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
}
@media (min-width: 768px) {
	.shop-details li {
		flex-direction: row;
	}
	.shop-details li strong {
		min-width: 120px;
	}
}
.shop-details a {
	color: var(--primary-hover);
}
.shop-details a:hover {
	color: #fff;
}
.btn {
	display: inline-block;
	padding: 15px 30px;
	background: var(--primary-color);
	color: #fff;
	border-radius: 4px;
	font-weight: 700;
	letter-spacing: 0.05em;
	transition: background 0.3s ease;
	text-align: center;
}
.btn:hover {
	background: var(--primary-hover);
	color: #fff;
}
.map-responsive iframe {
	width: 100%;
	border-radius: 8px;
	filter: grayscale(80%) invert(90%) contrast(1.2); /* Dark mode map styling */
}

/* Footer */
.site-footer {
	background: #000;
	padding: 60px 0 20px;
	border-top: 1px solid var(--border-color);
}
.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-bottom: 60px;
	text-align: center;
}
@media (min-width: 768px) {
	.footer-inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}
.footer-logo {
	font-size: 1.5rem;
	font-weight: 900;
	color: #fff;
	margin-bottom: 15px;
}
.footer-info p {
	color: var(--text-muted);
	margin-bottom: 5px;
}
.footer-info .tel {
	font-family: var(--font-catch);
	font-size: 1.2rem;
	color: #fff;
	margin-top: 15px;
}
.footer-links ul {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.site-info {
	text-align: center;
	color: #666;
	font-size: 0.85rem;
	border-top: 1px solid #1a1a1a;
	padding-top: 20px;
}

/* Utilities & Animations */
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

/* Store Selection Page (Split Hero) */
.store-selection-wrapper {
	display: flex;
	flex-direction: column;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}
@media (min-width: 992px) {
	.store-selection-wrapper {
		flex-direction: row;
	}
}

.store-panel {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
	cursor: pointer;
	text-decoration: none;
}
.store-panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.8s ease;
	z-index: 0;
}
.store-panel.nagata-panel::before {
	background-image: url('../images/nagata_hero.jpg');
}
.store-panel.idogaya-panel::before {
	background-image: url('../images/idogaya_hero.jpg');
}
.store-panel .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
	z-index: 1;
	transition: background 0.4s ease;
}
.store-panel:hover .overlay {
	background: rgba(0,0,0,0.3);
}
.store-panel:hover::before {
	transform: scale(1.1);
}

.store-info {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	padding: 20px;
}
.store-label {
	font-family: var(--font-catch);
	font-size: 0.9rem;
	letter-spacing: 0.3em;
	color: var(--primary-color);
	margin-bottom: 10px;
	text-transform: uppercase;
}
.store-name {
	font-size: 3rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	margin-bottom: 20px;
	text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.store-desc {
	font-size: 1rem;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.4s ease;
	max-width: 300px;
	margin: 0 auto;
}
.store-panel:hover .store-desc {
	opacity: 1;
	transform: translateY(0);
}

/* Feature Box for Idogaya */
.feature-box {
	background: var(--primary-color);
	color: #fff;
	padding: 60px;
	border-radius: 20px;
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 20px 40px rgba(140, 27, 27, 0.3);
}
.feature-box-title {
	font-size: 2rem;
	font-weight: 900;
	margin-bottom: 20px;
}
.feature-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	width: 100%;
	margin-top: 30px;
}
@media (min-width: 768px) {
	.feature-list {
		grid-template-columns: repeat(3, 1fr);
	}
}
.feature-item {
	background: rgba(255, 255, 255, 0.1);
	padding: 20px;
	border-radius: 12px;
}
.feature-item h4 {
	font-size: 1.2rem;
	margin-bottom: 10px;
}

/* Header Adjustments for Selection */
.selection-header {
	background: rgba(0,0,0,0.3);
}

/* Animations */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

/* Menu Item Highlight */
.highlight-item {
    color: var(--primary-color) !important;
    font-weight: 700;
    border-bottom: 1px solid var(--primary-color) !important;
    background: rgba(140, 27, 27, 0.05);
    padding: 10px 5px !important;
    margin: 5px 0;
    border-radius: 4px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 20px;
    font-family: var(--font-english);
}
.lang-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 5px;
    transition: color 0.3s;
}
.lang-btn:hover {
    color: var(--primary-color);
}
.lang-btn.active {
    color: var(--primary-color);
    font-weight: 700;
}
.lang-sep {
    color: var(--border-color);
    font-size: 0.8rem;
}
@media (max-width: 768px) {
    .lang-switcher {
        margin-right: 60px; /* Space for hamburger */
        gap: 4px;
    }
    .lang-btn {
        font-size: 0.8rem;
        padding: 3px;
    }
}
