/* Reset & bazowe ustawienia */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #3f2b25;
  background-color: #f8f1e9;
  line-height: 1.6;
}

/* Kolory */
:root {
  --bg: #f8f1e9;
  --bg-alt: #f3e5d8;
  --accent: #b88a55;
  --accent-dark: #8f6637;
  --text-main: #3f2b25;
  --text-muted: #8a6e62;
  --border-soft: rgba(191, 143, 100, 0.4);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.12);
}

/* Layout */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header.align-left {
  text-align: left;
}

/* Typografia */

h1, h2, h3, h4 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin-top: 0;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

p {
  margin-top: 0;
  color: var(--text-main);
}

.section-header p {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-muted);
}

/* Header / nawigacja */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(248, 241, 233, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Playfair Display", serif;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-dark);
  background: radial-gradient(circle at 30% 30%, #f9e7d4, #c8975e);
}

.logo-text {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  position: relative;
  padding-block: 0.25rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Przełącznik języka */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lang-btn {
  background: none;
  border: none;
  padding: 0.15rem 0.35rem;
  cursor: pointer;
  font: inherit;
  color: var(--text-muted);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn.active {
  background-color: #f1ddc7;
  color: var(--text-main);
}

.lang-btn:hover {
  background-color: #f5e5d2;
}

.lang-separator {
  color: var(--text-muted);
}

/* Hamburger mobile */

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--text-main);
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-image:
    linear-gradient(to bottom, rgba(32, 20, 12, 0.7), rgba(32, 20, 12, 0.85)),
    url("https://images.pexels.com/photos/1126728/pexels-photo-1126728.jpeg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  padding-block: 6rem;
}

.hero-kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: #f3e0cc;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  max-width: 600px;
  color: #f8e7d6;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 14px 35px rgba(84, 49, 16, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(84, 49, 16, 0.6);
}

.btn-outline {
  border-color: rgba(248, 241, 233, 0.7);
  color: #f8f1e9;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: rgba(248, 241, 233, 0.08);
}

.btn-full {
  width: 100%;
}

/* MENU */

.section-menu {
  background-color: var(--bg);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.menu-category {
  background-color: #fffaf5;
  border-radius: 1.5rem;
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.menu-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f9e4d0, #c78f55);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-circle,
.icon-square,
.icon-triangle {
  display: inline-block;
  background-color: #fdf7ef;
  border-radius: 999px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.icon-square {
  border-radius: 6px;
}

.icon-triangle {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #fdf7ef;
}

.menu-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.menu-items li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

/* O NAS */

.section-about {
  background-color: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: start;
}

.about-highlight {
  background-color: #fffaf5;
  border-radius: 1.5rem;
  padding: 1.8rem 1.8rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.about-highlight ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-main);
}

/* GALERIA */

.section-gallery {
  background-color: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 160px;
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* LOKALIZACJA */

.section-location {
  background-color: var(--bg-alt);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: stretch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-list li {
  margin-bottom: 0.6rem;
}

.contact-list a {
  color: var(--accent-dark);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.location-map-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  min-height: 260px;
}

/* REZERWACJA */

.section-reservation {
  background-color: var(--bg);
}

.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: start;
}

.reservation-benefits {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
}

.reservation-form-card {
  background-color: #fffaf5;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.form-row:nth-of-type(1) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

input,
textarea {
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(140, 104, 70, 0.35);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #fffdf8;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(191, 143, 100, 0.6);
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-status {
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* Stopka */

.site-footer {
  padding: 2rem 0 2.5rem;
  background-color: #261812;
  color: #f8f1e9;
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner p {
  color: #f8f1e9;
  margin: 0.15rem 0;
}

/* Responsywność */

@media (max-width: 960px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .location-grid,
  .reservation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 768px) {
  .header-inner {
    padding-block: 0.5rem;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: rgba(248, 241, 233, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease;
  }

  .main-nav.open {
    max-height: 260px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1.2rem;
    gap: 0.6rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content {
    padding-block: 4.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .gallery-item.large,
  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .section {
    padding: 3.5rem 0;
  }

  .header-inner {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 2rem, 100%);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .reservation-form-card,
  .menu-category {
    padding: 1.5rem 1.4rem;
  }
}

/* Proste stany formularza */

.form-status.success {
  color: #1f7a3a;
}

.form-status.error {
  color: #a13131;
}
