/* ============================================================
   MY TEPPANYAKI - Main Stylesheet (Public)
   Theme: Red, Black, White
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Noto+Sans+JP:wght@300;400;700&family=Oswald:wght@400;600;700&display=swap');

:root {
  --red: #C0392B;
  --red-dark: #922B21;
  --red-light: #E74C3C;
  --black: #111111;
  --black-soft: #1E1E1E;
  --gray-dark: #2C2C2C;
  --gray-mid: #555555;
  --gray-light: #AAAAAA;
  --white: #FFFFFF;
  --gold: #D4AC0D;
  --shadow: 0 4px 24px rgba(0,0,0,0.35);
  --transition: all 0.3s ease;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Noto Sans JP', sans-serif; background: var(--black); color: var(--white); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- ALERTS ---- */
.alert { padding: 13px 18px; border-radius: 4px; margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: rgba(39,174,96,0.12); border: 1px solid rgba(39,174,96,0.35); color: #2ecc71; }
.alert-error   { background: rgba(192,57,43,0.12); border: 1px solid rgba(192,57,43,0.35); color: #E74C3C; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(17,17,17,0.97);
  border-bottom: 2px solid var(--red);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(192,57,43,0.3); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--red); object-fit: cover; }
.nav-brand span { font-family: 'Oswald', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: 2px; text-transform: uppercase; }
.nav-brand span em { color: var(--red); font-style: normal; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-family: 'Oswald', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-light); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--white); border-bottom-color: var(--red); }
.nav-order-btn { background: var(--red) !important; color: var(--white) !important; padding: 10px 22px !important; border-radius: var(--radius) !important; border-bottom: none !important; font-weight: 700 !important; }
.nav-order-btn:hover { background: var(--red-dark) !important; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); transition: var(--transition); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 50%, #1a0000 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 100px 5% 60px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 50%, rgba(192,57,43,0.18) 0%, transparent 70%); }
.hero-pattern { position: absolute; inset: 0; opacity: 0.04; background-image: repeating-linear-gradient(45deg, var(--red) 0, var(--red) 1px, transparent 0, transparent 50%); background-size: 20px 20px; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge { display: inline-block; background: var(--red); color: var(--white); font-family: 'Oswald', sans-serif; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; padding: 6px 18px; border-radius: 2px; margin-bottom: 24px; animation: fadeDown 0.8s ease both; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.05; color: var(--white); margin-bottom: 16px; animation: fadeUp 0.9s ease 0.2s both; }
.hero h1 span { color: var(--red); }
.hero-jp { font-family: 'Noto Sans JP', sans-serif; font-size: 1rem; color: var(--gray-light); letter-spacing: 4px; margin-bottom: 20px; animation: fadeUp 0.9s ease 0.35s both; }
.hero p { font-size: 1.05rem; color: #ccc; max-width: 560px; margin: 0 auto 36px; animation: fadeUp 0.9s ease 0.45s both; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.9s ease 0.55s both; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: var(--radius); font-family: 'Oswald', sans-serif; font-size: 0.9rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--black); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.hero-logo { width: 160px; height: 160px; border-radius: 50%; border: 4px solid var(--red); object-fit: cover; margin: 0 auto 28px; box-shadow: 0 0 40px rgba(192,57,43,0.35); animation: pulse-ring 2s infinite; }
@keyframes pulse-ring { 0%{box-shadow:0 0 0 0 rgba(192,57,43,0.5)} 70%{box-shadow:0 0 0 20px rgba(192,57,43,0)} 100%{box-shadow:0 0 0 0 rgba(192,57,43,0)} }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--gray-light); font-size: 0.75rem; letter-spacing: 2px; animation: bounce 2s infinite; }
.hero-scroll::after { content: ''; display: block; width: 1px; height: 40px; background: linear-gradient(to bottom, var(--red), transparent); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }

/* ---- SECTIONS ---- */
section { padding: 90px 5%; }
.section-tag { display: inline-block; font-family: 'Oswald', sans-serif; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--red); border-left: 3px solid var(--red); padding-left: 12px; margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.section-title span { color: var(--red); }
.section-sub { color: var(--gray-light); font-size: 1rem; max-width: 520px; line-height: 1.8; }
.section-divider { width: 60px; height: 3px; background: linear-gradient(to right, var(--red), var(--red-light)); margin: 20px 0; }

/* ---- ABOUT ---- */
.about { background: var(--black-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1100px; margin: 0 auto; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: 6px; border: 3px solid var(--red); object-fit: cover; height: 420px; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--red); color: var(--white); width: 100px; height: 100px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; box-shadow: var(--shadow); }
.about-badge strong { font-size: 1.8rem; line-height: 1; }
.about-badge span { font-size: 0.65rem; letter-spacing: 1px; }
.about-stats { display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--red); font-weight: 900; }
.stat-item span { font-size: 0.8rem; color: var(--gray-light); letter-spacing: 1px; }

/* ---- SERVICES ---- */
.services { background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 28px; max-width: 1100px; margin: 48px auto 0; }
.service-card { background: var(--black-soft); border: 1px solid #2a2a2a; border-radius: 6px; padding: 36px 28px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.service-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 12px 40px rgba(192,57,43,0.2); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 56px; height: 56px; background: rgba(192,57,43,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; border: 1px solid rgba(192,57,43,0.3); }
.service-card h3 { font-family: 'Oswald', sans-serif; font-size: 1.2rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.service-card p { color: var(--gray-light); font-size: 0.9rem; line-height: 1.8; }

/* ---- GALLERY ---- */
.gallery { background: var(--black-soft); }
.gallery-header { max-width: 1100px; margin: 0 auto 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; max-width: 1100px; margin: 0 auto; }
.gallery-item { overflow: hidden; border-radius: 4px; cursor: pointer; position: relative; background: var(--gray-dark); min-height: 200px; display: flex; align-items: center; justify-content: center; }
.gallery-first { grid-column: span 2; grid-row: span 2; min-height: 412px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; position: absolute; inset: 0; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(192,57,43,0.7); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; opacity: 0; transition: var(--transition); }
.gallery-overlay span { font-size: 2rem; }
.gallery-overlay p { font-size: 0.8rem; color: #fff; text-align: center; padding: 0 12px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-placeholder { width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg,#2a2a2a,#1a1a1a); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; }
.gallery-placeholder span { font-size: 2rem; }
.gallery-placeholder p { font-size: 0.75rem; color: var(--gray-light); text-align: center; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--black); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; max-width: 1100px; margin: 48px auto 0; }
.testi-card { background: var(--black-soft); border: 1px solid #2a2a2a; border-radius: 6px; padding: 28px; transition: var(--transition); }
.testi-card:hover { border-color: var(--red); transform: translateY(-4px); }
.testi-quote { font-size: 3rem; line-height: 1; color: var(--red); font-family: 'Playfair Display', serif; margin-bottom: 8px; }
.testi-text { color: #ccc; font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testi-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; font-size: 0.85rem; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testi-name strong { display: block; font-size: 0.9rem; }
.testi-name span { font-size: 0.75rem; color: var(--gray-light); }

/* ---- ORDER CTA ---- */
.order-section { background: linear-gradient(135deg,var(--red-dark),var(--red)); text-align: center; padding: 80px 5%; }
.order-section .section-title { color: var(--white); }
.order-section p { color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ---- CONTACT ---- */
.contact { background: var(--black-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1000px; margin: 0 auto; }
.contact-info { padding-top: 40px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon { width: 44px; height: 44px; background: rgba(192,57,43,0.15); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; border: 1px solid rgba(192,57,43,0.3); }
.contact-text strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--red); margin-bottom: 2px; }
.contact-text span { color: var(--gray-light); font-size: 0.9rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-light); }
.form-group input, .form-group textarea, .form-group select { background: var(--gray-dark); border: 1px solid #333; color: var(--white); padding: 12px 16px; border-radius: var(--radius); font-family: 'Noto Sans JP',sans-serif; font-size: 0.9rem; transition: var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,0.15); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ---- FOOTER ---- */
footer { background: #0a0a0a; border-top: 2px solid var(--red); padding: 48px 5% 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; max-width: 1100px; margin: 0 auto 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--red); }
.footer-brand h3 { font-family: 'Oswald',sans-serif; font-size: 1.2rem; letter-spacing: 2px; }
.footer-brand p { color: var(--gray-light); font-size: 0.85rem; line-height: 1.8; }
.footer-col h4 { font-family: 'Oswald',sans-serif; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--gray-light); font-size: 0.85rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom { border-top: 1px solid #222; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-light); }
.footer-bottom a { color: var(--red); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-link { width: 38px; height: 38px; border-radius: 6px; background: var(--gray-dark); border: 1px solid #333; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition); color: var(--gray-light); }
.social-link:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: translateY(-2px); }

/* ---- LIGHTBOX ---- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9998; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; font-size: 2rem; color: var(--white); cursor: pointer; background: none; border: none; }

/* ---- TOAST ---- */
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 9999; background: var(--black-soft); border: 1px solid var(--red); color: var(--white); padding: 14px 22px; border-radius: 6px; font-size: 0.9rem; box-shadow: var(--shadow); transform: translateY(80px); opacity: 0; transition: var(--transition); max-width: 320px; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ---- ANIMATIONS ---- */
@keyframes fadeDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width:900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-first { grid-column: span 2; }
}
@media (max-width:680px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(17,17,17,0.98); padding: 24px; gap: 18px; border-bottom: 2px solid var(--red); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 4%; }
  .hero-btns { flex-direction: column; align-items: center; }
}
