:root {
  --blue: #1b4965;
  --blue-light: #5fa8d3;
  --orange: #ee8c2e;
  --sand: #faf5ef;
  --sand-dark: #f0e8dc;
  --text: #2c2c2c;
  --text-light: #666;
  --white: #fff;
  --radius: 8px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--blue);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--orange);
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  border: 2px solid var(--orange);
}

.btn:hover {
  background: #d67a1f;
  border-color: #d67a1f;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ---- NAV ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: #7ec8e3;
  transition: opacity 0.3s;
}

.nav:not(.scrolled) .nav-logo img {
  opacity: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav:not(.scrolled) .nav-links a {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.nav.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}

.nav.scrolled .nav-toggle span {
  background: var(--text);
}

/* ---- HERO ---- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 73, 101, 0.3) 0%,
    rgba(27, 73, 101, 0.5) 50%,
    rgba(27, 73, 101, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 1.5rem;
}

.hero-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: contain;
  background: #7ec8e3;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: fadeUp 1s ease-out 0.2s both;
}

.hero-banner {
  display: block;
  width: clamp(280px, 50vw, 450px);
  height: auto;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 2rem;
  animation: fadeUp 1s ease-out 0.4s both;
}

.hero-banner-text {
  font-family: 'Satisfy', cursive;
  font-size: 15px;
  letter-spacing: 0.05em;
  stroke: #ee8c2e;
  stroke-width: 0.3px;
  paint-order: stroke fill;
}

.scroll-hint {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  animation: fadeUp 1s ease-out 0.8s both, bounce 2s ease-in-out 2s infinite;
  transition: color 0.2s;
}

.scroll-hint:hover {
  color: var(--orange);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

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

/* ---- SECTIONS ---- */

.section {
  padding: 5rem 0;
}

.section-about {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.split-text .welcome {
  font-family: 'DM Serif Display', serif;
  color: var(--orange);
  font-size: 1.3rem;
  margin-top: 0.5rem;
}

.split-img img {
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ---- GALLERY ---- */

.section-gallery {
  padding: 0;
  overflow: hidden;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ---- TANKA ---- */

.section-tanka {
  background: var(--white);
}

/* ---- PARALLAX ---- */

.section-parallax {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 73, 101, 0.5);
}

.parallax-content {
  position: relative;
  text-align: center;
  color: var(--white);
}

.parallax-content p {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ---- INSTAGRAM ---- */

.section-instagram {
  text-align: center;
}

.section-subtitle {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.instagram-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.instagram-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
}

.instagram-card:hover img {
  transform: scale(1.08);
}

.instagram-card:hover .instagram-card-overlay {
  opacity: 1;
}

.instagram-cta {
  text-align: center;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .instagram-feed {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- KONTAKT ---- */

.section-kontakt {
  background: var(--white);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.kontakt-card {
  padding: 2rem;
  background: var(--sand);
  border-radius: var(--radius);
}

.kontakt-card p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.kontakt-card a {
  color: var(--blue);
  font-weight: 500;
}

.season-note {
  font-size: 0.85rem !important;
  font-style: italic;
  margin-bottom: 1rem !important;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--text-light);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--orange);
}

.map-container {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  display: block;
}

/* ---- FOOTER ---- */

.footer {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: #7ec8e3;
}

.footer p {
  font-size: 0.85rem;
}

.footer .social-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer .social-links a:hover {
  color: var(--orange);
}

/* ---- SCROLL REVEAL ---- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-reverse {
    direction: ltr;
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery img {
    height: 200px;
  }
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--text) !important;
    text-shadow: none !important;
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle.active span {
    background: var(--text) !important;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-parallax {
    background-attachment: scroll;
    height: 300px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery img {
    height: 150px;
  }
}
