/* Shogun Restaurant - Common Styles */

:root {
  /* Brand Colors */
  --primary: #ec4913;
  --background-light: #0a0d14;
  --background-dark: #0a0d14;
  --content-light: #0a0d14;
  --content-dark: #0a0d14;
  --text-light: #ffffff;
  --text-dark: #f8f6f6;
  --subtle-light: rgba(255,255,255,0.8);
  --subtle-dark: #a88e85;
  --border-light: #1a1d24;
  --border-dark: #1a1d24;

  /* Spacing */
  --header-height: 80px;
  --section-padding: 4rem 2rem;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  background-color: #0a0d14;
  color: var(--text-light);
  line-height: 1.6;
}

/* Fixed Header */
.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  height: var(--header-height);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 10;
  max-width: 300px;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
  max-width: 100%;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-left {
  flex: 1;
  justify-content: flex-end;
}

.nav-right {
  flex: 1;
  justify-content: flex-start;
}

.nav-left a:not(.btn-reserve),
.nav-right a:not(.btn-reserve),
.nav-mobile a:not(.btn-reserve) {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-left a:not(.btn-reserve):hover,
.nav-right a:not(.btn-reserve):hover,
.nav-mobile a:not(.btn-reserve):hover {
  color: var(--primary);
}

.nav-mobile {
  display: none;
}

/* Navigation Action Buttons */
.nav-action {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-order {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}

.nav-order:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-reserve {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.nav-reserve:hover {
  background: var(--primary);
  color: white;
}

/* Mobile Menu Toggle - CSS Only */
.mobile-menu-checkbox {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  position: absolute;
  right: 2rem;
}

.mobile-menu-toggle .close-icon {
  display: none;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle .menu-icon {
  display: none;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle .close-icon {
  display: inline;
}

.mobile-menu-checkbox:checked ~ .nav-mobile {
  display: flex;
}

/* Main Content Spacing */
main {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* Footer */
footer {
  background: var(--background-dark);
  color: var(--text-dark);
  padding: 3rem 2rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  text-align: center;
  color: var(--subtle-dark);
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--background-dark) 0%, var(--content-dark) 100%);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--text-light);
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--subtle-light);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .logo {
    max-width: 250px;
  }

  .logo img {
    height: 45px;
  }

  .nav-left,
  .nav-right {
    gap: 1rem;
  }

  .nav-left a,
  .nav-right a {
    font-size: 0.9rem;
  }

  .nav-action {
    padding: 0.4rem 0.85rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {
  .header-container {
    justify-content: center;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-mobile {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--content-light);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
    z-index: 999;
  }

  .nav-mobile a:not(.nav-action) {
    padding: 0.75rem 0;
  }

  .nav-mobile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-mobile-actions .nav-action {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .logo {
    max-width: 220px;
  }

  .logo img {
    height: 40px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 1.5rem;
  }

  .hero {
    height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.25rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

/* reCAPTCHA Badge - Collapsed at bottom right, expands on hover */
.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  bottom: 14px !important;
  right: 14px !important;
}

.grecaptcha-badge:hover {
  width: 256px !important;
}

/* UserWay Accessibility Widget - Force to bottom left */
.userway_p5,
.userway_buttons_wrapper,
div[data-userway-position] {
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  top: auto !important;
}
