/* O nas gallery: 3 obok siebie, pionowe zdjęcia */
.onas-gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.onas-gallery-img {
  width: 100%;
  aspect-ratio: 3/4;
  height: auto;
  object-fit: cover;
  max-width: 340px;
  min-height: 420px;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44,62,80,0.10);
}
@media (max-width: 900px) {
  .onas-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .onas-gallery-img {
    max-width: 98vw;
  }
}
@media (max-width: 800px) {
  .brand img {
    height: 60px;
  }
}
/* Hamburger menu styles */
.hamburger {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--accent);
  z-index: 100;
}

@media (max-width: 800px) {
  .header-container {
    flex-direction: row;
    align-items: center;
  }
  nav ul {
    display: none !important;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100vw;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 99;
  }
  nav ul.active {
    display: flex !important;
  }
  .hamburger {
    display: flex;
  }
  .brand img {
    height: 60px;
  }
}
/* Main start panel styles */
.main-hero {
  min-height: 100vh;
  width: 100vw;
  background: url('salatlo.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.main-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('salatlo.jpg') center center/cover no-repeat;
  z-index: 1;
}
.main-hero-content {
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
}
.main-hero-content h1 {
  font-size: 3.2rem;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 2px;
  color: var(--accent);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.main-hero-content h2 {
  font-size: 2.1rem;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  margin-bottom: 28px;
  letter-spacing: 1px;
  color: var(--text);
}
.main-hero-menu {
  display: inline-block;
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: 18px 44px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}
.main-hero-menu:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --muted: #6c757d;
  --text: #212529;
  --primary: #c9a961;
  --primary-hover: #b39451;
  --primary-dark: #8b7340;
  --accent: #2c3e50;
  --radius: 12px;
  --container-max: 1200px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

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

html, body {
  height: 100%;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Header / navigation */
header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
}

.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

nav {
  flex-grow: 0;
  display: flex;
  align-items: center;
}

/* Logo size increased */
.brand img {
  height: 200px;
  display: block;
  transition: transform 0.3s ease;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

/* Navigation font size increased */
nav a {
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  color: var(--text);
  display: inline-block;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav a:hover {
  background: rgba(201, 169, 97, 0.1);
  color: var(--primary-dark);
  text-decoration: none;
}

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

/* Hero */
.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 840px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 80px 0;
}

section:nth-child(even) {
  background: transparent;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  position: relative;
  padding-bottom: 16px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

section p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--muted);
  font-size: 1.1rem;
  text-align: center;
}

/* Grid / Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.card:hover img {
  transform: scale(1.1);
}

.card .card-content {
  padding: 24px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 600;
}

.card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

/* Call to action */
.cta {
  text-align: center;
  margin-top: 48px;
}

a.button, .btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

a.button:hover, .btn:hover {
  background: var(--primary-hover);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 32px auto 0;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--accent);
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15);
  border-color: var(--primary);
}

.form-actions {
  text-align: center;
  margin-top: 24px;
}

/* Footer */
footer {
  background: var(--accent);
  border-top: 3px solid var(--primary);
  padding: 32px 0;
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  nav ul {
    gap: 3px;
  }
  nav a {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  .brand img {
    height: 110px;
  }
}

@media (max-width: 800px) {
  .hero h1 {
    font-size: 2rem;
  }
  .main-hero-content h1 {
    font-size: 2.2rem;
  }
  .main-hero-content h2 {
    font-size: 1.5rem;
  }
  section h2 {
    font-size: 2rem;
  }
  nav ul {
    gap: 3px;
  }
  nav a {
    padding: 5px 8px;
    font-size: 0.7rem;
  }
  .brand img {
    height: 90px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1.1rem;
    padding: 0;
  }
  .container {
    width: 98%;
    padding: 0 4px;
  }
  header .header-container {
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
  }
  nav ul {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }
  nav a {
    font-size: 1.1rem;
    padding: 10px 8px;
  }
  .brand img {
    height: 90px;
  }
  .main-hero-content {
    padding: 24px 8px;
  }
  .main-hero-content h1 {
    font-size: 2.1rem;
  }
  .main-hero-content h2 {
    font-size: 1.3rem;
  }
  .main-hero-menu {
    font-size: 1.1rem;
    padding: 12px 24px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .card img {
    height: 160px !important;
  }
  .card-content {
    padding: 12px 4px;
  }
  section {
    padding: 18px 0;
  }
  footer .container {
    font-size: 0.95rem;
    padding: 8px 0;
  }
}