:root {
  --main-color: #4CAF50;
  --accent-color: #F06292;
  --bg-color: #f8f9fa;
  --text-color: #333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

header {
  background: #fff;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

header h1 {
  font-size: 1.5rem;
}

.btns a {
  margin-left: 0.5rem;
  padding: 0.6rem 1rem;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
}

.line-btn {
  background: var(--main-color);
}

.insta-btn {
  background: var(--accent-color);
}

nav {
  background: #fff;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: center;
  gap: 6rem;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: color 0.3s;
  padding: 0.5rem;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--main-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

nav a:hover {
  color: var(--main-color);
}

nav a:hover::after {
  transform: scaleX(1);
}

section {
  scroll-margin-top: 120px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}

.hero .slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero .slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 8s infinite;
}

.hero .slideshow img:nth-child(2) {
  animation-delay: 4s;
}

@keyframes fade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero-content {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 40%;
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 2rem;
  text-align: right;
  transform: translateX(100%) translateY(0);
  opacity: 0;
  z-index: 1;
  transition: transform 1s ease, opacity 1s ease;
}

.hero:hover .hero-content {
  transform: translateX(0);
  opacity: 1;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.features, .contact, .access, footer {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  font-size: 1.05rem;
  min-height: 200px;
  transition: transform 0.2s ease;
}

.contact, .access {
  background: #fff;
  border-radius: 8px;
  margin-top: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.map-block {
  max-width: 1000px;
  margin: 1rem auto;
}

.store-photo {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  margin: 1rem auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-block iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
}

footer {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}

iframe {
  width: 100%;
  height: 300px;
  border: 0;
  margin-top: 1rem;
  border-radius: 8px;
}

.center-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  border-radius: 0;
  padding: 1rem;
  text-align: center;
  background: var(--main-color);
  color: white;
  font-weight: bold;
  z-index: 1000;
  text-decoration: none;
  transition: background 0.3s;
}

.center-btn:hover {
  background: #fff !important;
  color: #000 !important;
}

.mobile-menu-button {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}



@media (max-width: 600px) {
  .hero-content h2,
  .hero-content p {
    display: none;
  }

  .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent;
    color: #000;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
  }

  .hero.visible .hero-content {
    opacity: 1;
    transform: translateY(0);
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero {
    height: 100vh;
  }

  .hero .slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero-content {
    position: relative;
    transform: none;
    opacity: 1;
    color: #fff;
    background: transparent;
    text-align: center;
    padding: 1rem;
    z-index: 1;
    width: 100%;
  }

  .hero:hover .hero-content {
    transform: none;
    opacity: 1;
  }

  .center-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  header h1 img {
    height: 20px; 
  }

  .btns {
    margin-top: 0.5rem;
  }

  .hero-content h2 {
    font-size: 1.6rem;
  }

  .mobile-menu-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px; 
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
  }

  .mobile-menu-button.active span:nth-of-type(1) {
    transform: translateY(6px) rotate(45deg); 
  }

  .mobile-menu-button.active span:nth-of-type(2) {
    opacity: 0;
  }

  .mobile-menu-button.active span:nth-of-type(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    padding: 1rem 2rem;
  }

  .mobile-nav.active {
    display: flex;
  }

  .feature-card {
    padding: 1rem;
    font-size: 1rem;
    min-height: auto;
  }

  .features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}
