/*
Theme Name: Edojidai Restaurant
Theme URI: https://edojidai.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A professional WordPress theme for Edojidai Japanese Restaurant featuring elegant design, menu showcase, reservation system, and responsive layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edojidai
Tags: restaurant, food, japanese, responsive, custom-menu, featured-images

This theme, like WordPress, is licensed under the GPL.
*/

/* ===================================
   CSS Variables & Reset
   =================================== */

:root {
  --primary-color: #8B4513;
  --secondary-color: #D4AF37;
  --text-dark: #2C2C2C;
  --text-light: #666666;
  --bg-light: #FFF8F0;
  --bg-white: #FFFFFF;
  --accent-red: #C41E3A;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Argentum Sans VF', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Big Caslon Medium', 'Spectral', serif;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ===================================
   Layout & Container
   =================================== */

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

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  margin: 1rem auto;
}

/* ===================================
   Header & Navigation
   =================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: var(--transition);
}

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

.site-logo {
  font-family: 'Big Caslon Medium', serif;
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
}

.site-logo-image {
  display: inline-block;
  line-height: 0;
  padding: 4px;
  border: 2px solid white;
  border-radius: 4px;
  transition: var(--transition);
}

.site-logo-image:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.02);
}

.logo-img {
  height: 35px;
  width: auto;
  display: block;
  transition: var(--transition);
  object-fit: contain;
}

.main-navigation ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.main-navigation a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: white;
  position: relative;
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation a.active {
  border-bottom-color: white;
  border-bottom-width: 2px;
}

/* Navigation underline removed - using border-bottom instead */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--secondary-color);
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-light) 0%, #FFF 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Dark Hero Section Styles */
.hero-section-dark {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b0e 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 2rem 4rem;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-dark);
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s backwards;
}

/* ===================================
   Footer
   =================================== */

.site-footer {
  background: #000000 !important;
  color: white !important;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-section h3 {
  color: #D4AF37;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: white;
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
}

.footer-icon {
  font-size: 1.2rem;
  line-height: 1.4;
  min-width: 24px;
}

.footer-contact-item span:not(.footer-icon) {
  flex: 1;
}

.footer-hours-content {
  color: white;
  font-size: 1rem;
  line-height: 1.8;
  font-family: 'Montserrat', sans-serif;
}

.footer-hours-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-hours-content p strong {
  color: white;
}

.footer-hours-content strong {
  font-weight: 600;
}

.newsletter-form {
  margin-top: 1rem;
}

.newsletter-input-group {
  display: flex;
  gap: 0;
  border: 1px solid white;
  border-radius: 0;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  outline: none;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  background: #D4AF37;
  color: #000000;
  border: 1px solid #D4AF37;
  border-left: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: #F5E6A8;
}

.footer-bottom {
  display: none;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 968px) {
  .menu-toggle {
    display: block;
    color: white;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #1a1a1a;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    padding: 5rem 2rem;
    z-index: 999;
  }

  .main-navigation.active {
    right: 0;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .main-navigation a {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .logo-img {
    height: 30px;
  }
  
  .site-logo-image {
    padding: 3px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  p {
    font-size: 1rem;
  }

  .header-container {
    padding: 1rem;
  }

  .footer-content {
    gap: 2rem;
  }

  .newsletter-input-group {
    flex-direction: column;
    border: 1px solid #8B4513;
  }

  .newsletter-form input[type="email"] {
    border: none;
    border-bottom: 1px solid #8B4513;
    margin-bottom: 0.5rem;
  }

  .newsletter-btn {
    border-left: 1px solid #8B4513;
  }

  .newsletter-btn {
    width: 100%;
  }
}
