/* ============================================================
   Variables
   ============================================================ */
:root {
  --dark:   #272624;
  --accent: #9b6e2b;
  --accent2:#735220;
  --text:   #333333;
  --bg:     #ffffff;
  --gray-bg:#f5f4f2;
  --max-w:  1100px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Source Sans Pro', sans-serif; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; color: var(--dark); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  border-color: #fff;
  color: #fff;
}

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--dark);
  padding: 0 2rem;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.nav-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-contact a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.nav-contact a:hover { color: #fff; }
.nav-contact svg { flex-shrink: 0; }
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-align: center;
  letter-spacing: 0.05em;
}
.nav-logo:hover { color: #fff; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  justify-content: flex-end;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 64px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: var(--dark);
  opacity: 0.8;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w); width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Category circles
   ============================================================ */
.categories {
  padding: 3.5rem 2rem;
  background: var(--bg);
}
.categories-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.category-item p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
}
.category-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e0dbd4;
}
.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Realizace na míru
   ============================================================ */
.realization {
  background: var(--gray-bg);
  padding: 4rem 2rem;
}
.realization-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.realization-text {
  flex: 1;
}
.realization-text h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}
.realization-text h2::before {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.75rem;
}
.realization-text p {
  line-height: 1.7;
  color: #555;
}
.stats-box {
  flex-shrink: 0;
  background: #d6c4a8;
  border-radius: 4px;
  padding: 2.5rem 3rem;
  display: flex;
  gap: 3rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent2);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: #6b5a3e;
  text-align: center;
  margin-top: 0.4rem;
  max-width: 120px;
  line-height: 1.4;
}

/* ============================================================
   Naše terasy section
   ============================================================ */
.about-terasy {
  padding: 5rem 2rem;
  background: var(--bg);
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
}
.about-img {
  flex: 0 0 42%;
  border-radius: 3px;
  overflow: visible;
  position: relative;
}
.about-img::before {
  content: '';
  position: absolute;
  top: 30px;
  left: -30px;
  width: 100%;
  height: 100%;
  background: #d6c4a8;
  border-radius: 3px;
  z-index: 0;
  opacity: 0.5;
}
.about-img img {
  position: relative;
  z-index: 1;
  border-radius: 3px;
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.about-text {
  flex: 1;
}
.about-text h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}
.about-text h2::before {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.75rem;
}
.about-text > p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #555;
}
.about-text ul {
  list-style: none;
  margin-bottom: 2rem;
}
.about-text ul li {
  padding: 0.35rem 0;
  color: #444;
  font-size: 0.95rem;
}
.about-text ul li::before {
  content: "— ";
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   Testimonial
   ============================================================ */
.testimonial {
  background: var(--dark);
  padding: 5rem 2rem;
  text-align: center;
}
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 0.75rem;
}
.testimonial blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
.testimonial-author {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

/* ============================================================
   Features / Co nás odlišuje
   ============================================================ */
.features {
  padding: 5rem 2rem;
  background: var(--bg);
}
.features .container {
  max-width: var(--max-w);
  margin: 0 auto;
}
.features h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}
.features h2::before {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.75rem;
}
.features-subtitle {
  color: #777;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.feature h3 {
  font-size: 1rem;
  font-weight: 700;
}
.feature p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.05em;
}
.footer-logo:hover { color: #fff; }
.footer-nav {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   Page content (for non-home pages)
   ============================================================ */
.page-content { padding: 3rem 2rem; padding-top: calc(64px + 3rem); }
.container { max-width: var(--max-w); margin: 0 auto; }
.page-content h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; color: var(--accent); }
.page-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.page-content p  { line-height: 1.7; margin-bottom: 1rem; }
.page-content strong { color: var(--dark); }

/* ============================================================
   Gallery grid
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
}
.gallery-grid a { overflow: hidden; }
.gallery-grid img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-grid a:hover img { transform: scale(1.04); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .realization-inner { flex-direction: column; }
  .about-inner { flex-direction: column; }
  .about-img { flex: none; width: 100%; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-inner { grid-template-columns: 1fr 1fr; }
  .nav-contact { display: none; }
  .nav-logo { text-align: left; }
  .nav-links { gap: 1rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
  .stats-box { gap: 2rem; }
  .categories-grid { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-box { flex-direction: column; gap: 1.5rem; padding: 2rem; }
  .footer-nav { flex-direction: column; align-items: center; gap: 0.75rem; }
}
