/* === RESET === */
:root {
  --green: #6bbf59;
  --dark: #222;
  --light: #f9f9f9;
  --shadow: 0 4px 14px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  font-size: 16px;
}

/* === OBECNÉ === */
.container {
  width: min(1200px, 94%);
  margin: 0 auto;
  padding: 10px;
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
h2 {
  font-size: 1.6rem;
  margin-top: 20px;
  text-align: center;
}
h3 { font-size: 1.3rem; }
p { margin-bottom: 10px; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: #4a9b40; }

.muted {
  color: #666;
}
.small {
  font-size: 0.9rem;
}

/* === HEADER === */
header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}
.subtitle {
  font-size: 0.9rem;
  color: #777;
}

/* NAVIGÁCIA */
nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}
nav a {
  color: var(--dark);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
nav a:hover, nav a.active {
  border-color: var(--green);
  color: var(--green);
}

/* === CTA TLAČIDLÁ === */
.cta {
  background: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background var(--transition);
}
.cta:hover { background: #4fa544; }

/* === SEKCIE === */
section {
  margin-bottom: 50px;
}

/* === SLUŽBY === */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.service {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: transform var(--transition);
}
.service:hover {
  transform: translateY(-4px);
}

/* === FORMULÁRE === */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

input, select, textarea {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  font-size: 1rem;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  outline: none;
}

button {
  font-family: inherit;
}

/* === TABUĽKY === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.price-table th, .price-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.price-table th {
  background: #f3f3f3;
  color: #333;
}

/* === GALÉRIA === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.gallery-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

/* === FOOTER === */
footer {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
  font-size: 0.9rem;
  color: #555;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-overlay h1 {
    font-size: 1.6rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
}
