/* Home Hero - Japanese Minimalism (侘寂 Wabi-Sabi) */

.home-hero {
  position: relative;
  min-height: 90vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  overflow: hidden;
  padding: 80px 40px 40px;
}

/* Ensō Circle - Zen symbol */
.home-hero__enso {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  color: #E91E63;
  pointer-events: none;
  z-index: 1;
}

.home-hero__enso svg {
  width: 100%;
  height: 100%;
}

.home-hero__enso circle {
  animation: drawCircle 3s ease-out forwards 0.5s;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 50;
  }
}

/* Vertical Japanese text */
.home-hero__vertical-text {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: 'Zen Maru Gothic', serif;
  font-size: 120px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.03);
  letter-spacing: 0.2em;
  z-index: 0;
  pointer-events: none;
}

/* Container */
.home-hero__container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Content */
.home-hero__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Badge */
.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.2s;
}

.home-hero__badge-jp {
  font-family: 'Zen Maru Gothic', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #E91E63;
}

.home-hero__badge-divider {
  width: 1px;
  height: 12px;
  background: rgba(0, 0, 0, 0.2);
}

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

/* Title - 食 (Food) */
.home-hero__title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  line-height: 1;
  position: relative;
}

.home-hero__title-main {
  font-family: 'Zen Maru Gothic', serif;
  font-size: clamp(70px, 10vw, 130px);
  font-weight: 300;
  color: #E91E63;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.4s;
  position: relative;
  display: inline-block;
}

/* Decorative food icons around main kanji */
.home-hero__title-main::before {
  content: '🍜';
  position: absolute;
  left: -60px;
  top: 10%;
  font-size: 28px;
  opacity: 0;
  filter: grayscale(0.5);
  animation: fadeInRotate 1.5s ease forwards 1.2s;
}

.home-hero__title-main::after {
  content: '🍣';
  position: absolute;
  right: -60px;
  bottom: 15%;
  font-size: 30px;
  opacity: 0;
  filter: grayscale(0.5);
  animation: fadeInRotate 1.5s ease forwards 1.4s;
}

@keyframes fadeInRotate {
  from {
    opacity: 0;
    transform: rotate(-15deg) scale(0.5);
  }
  to {
    opacity: 0.5;
    transform: rotate(0deg) scale(1);
  }
}

.home-hero__title-sub {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 300;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: 0.03em;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.6s;
}

/* Divider line */
.home-hero__divider {
  width: 80px;
  height: 1px;
  background: #E91E63;
  opacity: 0;
  animation: expandLine 1s ease forwards 0.8s;
  transform-origin: left;
}

@keyframes expandLine {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Gastro menu line */
.home-hero__menu-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  margin: 8px 0;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.9s;
}

.menu-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #E91E63;
  transform: translateY(-2px);
}

.menu-divider {
  color: rgba(0, 0, 0, 0.2);
  font-weight: 300;
}

/* Description */
.home-hero__description {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  max-width: 480px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s;
}

/* Actions / Buttons */
.home-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.1s;
}

.btn-zen {
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

.btn-zen--primary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Кнопки на светлом фоне героя */
.home-hero .btn-zen--primary {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* Убираем подчеркивание у кнопок */

.btn-zen--primary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

/* Hover для кнопок на светлом фоне героя */
.home-hero .btn-zen--primary:hover {
  background: #000000;
  border-color: #000000;
}

/* Убираем hover эффект подчеркивания */

.btn-zen--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ghost кнопка на светлом фоне героя */
.home-hero .btn-zen--ghost {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-zen--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: var(--accent);
}

/* Hover для ghost кнопки на светлом фоне героя */
.home-hero .btn-zen--ghost:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* Info section */
.home-hero__info {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.4s;
}

.home-hero__info-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.home-hero__info-number {
  font-family: 'Unbounded', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1;
}

.home-hero__info-text {
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.home-hero__info-divider {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.15);
}

/* Visual section */
.home-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Logo */
.home-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.8s;
  position: relative;
  z-index: 2;
}

.home-hero__logo::before {
  content: '';
  position: absolute;
  inset: -40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.home-hero__logo img {
  width: 100%;
  max-width: 350px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(19%) sepia(94%) saturate(6500%) hue-rotate(348deg) brightness(94%) contrast(93%);
  transition: transform 0.6s ease, filter 0.3s ease;
}

.home-hero__logo:hover img {
  transform: scale(1.02);
}

/* Food kanji elements - Enhanced */
.home-hero__food-elements {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-hero__food-kanji {
  position: absolute;
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
  opacity: 0;
  animation: floatFood 6s ease-in-out infinite;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

@keyframes floatFood {
  0%, 100% {
    opacity: 0.12;
    transform: translateY(0) rotate(8deg);
  }
  50% {
    opacity: 0.18;
    transform: translateY(-10px) rotate(5deg);
  }
}

.home-hero__food-kanji--1 {
  font-size: 70px;
  top: 8%;
  right: 5%;
  animation-delay: 0s;
}

.home-hero__food-kanji--2 {
  font-size: 60px;
  bottom: 12%;
  left: 0%;
  animation-delay: 1.5s;
}

.home-hero__food-kanji--3 {
  font-size: 50px;
  top: 58%;
  right: 8%;
  animation-delay: 3s;
}

/* Floating food emoji particles - Gastro accent */
.home-hero__gastro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.gastro-particle {
  position: absolute;
  font-size: 20px;
  opacity: 0;
  filter: grayscale(0.3);
  animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  10% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.4;
    transform: translateY(-30px) scale(1.1);
  }
  90% {
    opacity: 0.6;
  }
}

.gastro-particle:nth-child(1) {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.gastro-particle:nth-child(2) {
  top: 35%;
  left: 5%;
  font-size: 18px;
  animation-delay: 2s;
}

.gastro-particle:nth-child(3) {
  top: 65%;
  left: 12%;
  font-size: 22px;
  animation-delay: 4s;
}

.gastro-particle:nth-child(4) {
  top: 20%;
  right: 15%;
  font-size: 24px;
  animation-delay: 1s;
}

.gastro-particle:nth-child(5) {
  top: 50%;
  right: 8%;
  font-size: 19px;
  animation-delay: 3s;
}

.gastro-particle:nth-child(6) {
  top: 75%;
  right: 18%;
  font-size: 21px;
  animation-delay: 5s;
}

/* Gastro badge enhancement */
.home-hero__gastro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  color: #E91E63;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.3s, softPulse 3s ease-in-out infinite 2s;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

@keyframes softPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
  }
}

.home-hero__gastro-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.home-hero__gastro-badge::before {
  content: '🍱';
  font-size: 15px;
  filter: grayscale(0.2);
  animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}

/* Scroll indicator */
.home-hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.home-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
  position: relative;
}

.home-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, 25px);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .home-hero {
    padding: 100px 30px 60px;
    min-height: 85vh;
  }
  
  .home-hero__container {
    gap: 50px;
  }
  
  .home-hero__enso {
    width: 500px;
    height: 500px;
  }
  
  .home-hero__vertical-text {
    font-size: 100px;
    right: 40px;
  }
  
  .home-hero__logo img {
    max-width: 350px;
  }
}

@media (max-width: 868px) {
  .home-hero {
    padding: 90px 24px 50px;
    min-height: auto;
    max-height: none;
  }
  
  .home-hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    display: block;
  }
  
  .home-hero__content {
    align-items: center;
    margin-bottom: 30px;
    gap: 16px;
  }
  
  .home-hero__badge {
    justify-content: center;
  }
  
  .home-hero__title {
    align-items: center;
  }
  
  .home-hero__divider {
    margin: 0 auto;
  }
  
  .home-hero__description {
    text-align: center;
    margin: 0 auto;
  }
  
  .home-hero__actions {
    justify-content: center;
  }
  
  .home-hero__enso {
    display: none;
  }
  
  .home-hero__vertical-text {
    display: none;
  }
  
  .home-hero__visual {
    display: none;
  }
  
  .home-hero__food-elements {
    display: none;
  }
  
  .home-hero__gastro-particles {
    display: none;
  }
}

@media (max-width: 640px) {
  .home-hero {
    min-height: auto;
    max-height: none;
    padding: 80px 20px 50px;
    display: block;
  }
  
  .home-hero__container {
    gap: 30px;
    min-height: auto;
    display: block;
  }
  
  .home-hero__content {
    gap: 14px;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .home-hero__badge {
    font-size: 10px;
    gap: 10px;
    justify-content: center;
  }
  
  .home-hero__badge-jp {
    font-size: 13px;
  }
  
  .home-hero__title {
    gap: 12px;
    align-items: center;
  }
  
  .home-hero__title-main {
    font-size: clamp(60px, 15vw, 90px);
  }
  
  /* Hide decorative icons on mobile */
  .home-hero__title-main::before,
  .home-hero__title-main::after {
    display: none;
  }
  
  .home-hero__title-sub {
    font-size: clamp(20px, 5vw, 30px);
  }
  
  .home-hero__divider {
    width: 60px;
    margin: 0 auto;
  }
  
  .home-hero__menu-line {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    margin: 12px 0;
  }
  
  .menu-item {
    padding: 3px 10px;
    font-size: 12px;
  }
  
  .menu-divider {
    display: none;
  }
  
  .home-hero__description {
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
  }
  
  .hide-mobile {
    display: none;
  }
  
  .hide-mobile-br {
    display: none;
  }
  
  .home-hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    justify-content: center;
  }
  
  .btn-zen {
    width: 100%;
    text-align: center;
    padding: 14px 32px;
  }
  
  .home-hero__visual {
    display: none;
  }
  
  .home-hero__enso {
    display: none;
  }
  
  .home-hero__vertical-text {
    display: none;
  }
  
  .home-hero__food-elements {
    display: none;
  }
  
  .home-hero__gastro-particles {
    display: none;
  }
  
  .home-hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 70px 16px 40px;
    min-height: auto;
    max-height: none;
    display: block;
  }
  
  .home-hero__container {
    gap: 25px;
    min-height: auto;
    display: block;
  }
  
  .home-hero__content {
    gap: 12px;
    text-align: center;
    margin-bottom: 25px;
  }
  
  .home-hero__title-main {
    font-size: clamp(52px, 17vw, 75px);
  }
  
  /* Hide decorative icons on mobile */
  .home-hero__title-main::before,
  .home-hero__title-main::after {
    display: none;
  }
  
  .home-hero__title-sub {
    font-size: clamp(18px, 5.5vw, 26px);
  }
  
  .home-hero__menu-line {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    margin: 10px 0;
  }
  
  .menu-item {
    padding: 2px 8px;
    font-size: 11px;
    gap: 4px;
  }
  
  .menu-divider {
    display: none;
  }
  
  .home-hero__visual {
    display: none;
  }
  
  .home-hero__enso {
    display: none;
  }
  
  .home-hero__vertical-text {
    display: none;
  }
  
  .home-hero__food-elements {
    display: none;
  }
  
  .home-hero__gastro-particles {
    display: none;
  }
  
  .home-hero__scroll {
    display: none;
  }
}