/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== TOP BAR ===== */
.topbar {
  background: #2c2c2c;
  color: #ccc;
  font-size: 13px;
  padding: 6px 0;
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
}
.topbar a { color: #ccc; transition: color .2s; }
.topbar a:hover { color: #d4a44c; }
.topbar .icon { margin-right: 5px; }

/* ===== HEADER / NAV ===== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 64px;
  width: auto;
}
nav ul {
  display: flex;
  gap: 8px;
}
nav ul li a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #333;
  border-radius: 3px;
  transition: background .2s, color .2s;
}
nav ul li a:hover,
nav ul li a.active {
  background: #d4a44c;
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all .3s;
}

/* ===== HERO / SLIDER ===== */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #222;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.hero-overlay h1 {
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero-overlay p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  opacity: .9;
}
.hero-logo {
  width: 140px;
  margin: 0 auto 20px;
  filter: brightness(0) invert(1);
}
.btn {
  display: inline-block;
  padding: 13px 34px;
  background: #d4a44c;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: background .25s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #b88733; }
.btn-outline {
  background: transparent;
  border: 2px solid #d4a44c;
  color: #d4a44c;
}
.btn-outline:hover { background: #d4a44c; color: #fff; }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  border: none;
  transition: background .3s;
}
.hero-dot.active { background: #d4a44c; }

/* ===== SECTIONS ===== */
section { padding: 70px 20px; }
.section-inner { max-width: 1180px; margin: 0 auto; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2c2c2c;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #d4a44c;
  border-radius: 2px;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}
.service-card {
  text-align: center;
  padding: 24px 16px;
}
.service-card img {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  object-fit: contain;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
  color: #2c2c2c;
}
.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

/* ===== PARALLAX SECTION ===== */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-image: url('https://stolarstvo-zdiar.sk/wp-content/uploads/2017/03/paralax03-1.jpg');
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}
.parallax-section .overlay {
  background: rgba(0,0,0,.55);
  padding: 50px 30px;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 4px;
}
.parallax-section h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.parallax-section p {
  font-size: 1rem;
  opacity: .9;
  margin-bottom: 24px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: #2c2c2c;
  padding: 50px 20px;
  color: #fff;
}
.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #d4a44c;
}
.stat-item p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .8;
  margin-top: 4px;
}

/* ===== PAGE HEADER BANNER ===== */
.page-banner {
  background: #2c2c2c;
  color: #fff;
  text-align: center;
  padding: 55px 20px;
}
.page-banner h1 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.breadcrumb {
  margin-top: 10px;
  font-size: 13px;
  opacity: .7;
}
.breadcrumb a { color: #d4a44c; }

/* ===== O NÁS PAGE ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content img {
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.about-text h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #2c2c2c;
}
.about-text h3 {
  font-size: 1.1rem;
  margin: 22px 0 10px;
  color: #d4a44c;
}
.about-text p { color: #555; margin-bottom: 12px; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  background: #f0ebe3;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay-icon {
  position: absolute;
  inset: 0;
  background: rgba(212,164,76,.0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s;
  font-size: 2rem;
  color: #fff;
}
.gallery-item:hover .overlay-icon {
  opacity: 1;
  background: rgba(44,44,44,.45);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.9);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 3px;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 10000;
}
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: rgba(255,255,255,.1);
  border: none;
  padding: 12px 18px;
  border-radius: 3px;
  z-index: 10000;
  transition: background .2s;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(212,164,76,.7); }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #2c2c2c;
}
.contact-info .info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-info .info-icon {
  width: 40px;
  height: 40px;
  background: #d4a44c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-info .info-text strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: #888; margin-bottom: 2px; }
.contact-info .info-text a { color: #d4a44c; }
.contact-info .info-text a:hover { text-decoration: underline; }

.contact-form h2 { font-size: 1.4rem; margin-bottom: 20px; color: #2c2c2c; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #555; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  transition: border-color .2s;
  background: #fafafa;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #d4a44c;
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 14px 18px;
  border-radius: 3px;
  margin-top: 14px;
  font-size: 14px;
}

.map-section { background: #f5f0e8; padding: 0; }
.map-section iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 55px 20px 0;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-brand img {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(.8);
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.social-links a:hover { background: #d4a44c; color: #fff; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d4a44c;
  display: inline-block;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: #aaa; transition: color .2s; }
.footer-col ul li a:hover { color: #d4a44c; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; align-items: flex-start; }
.footer-contact-item span:first-child { color: #d4a44c; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid #2e2e2e;
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  color: #666;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-bottom a { color: #d4a44c; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-content, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { height: 420px; }
  .hero-overlay h1 { font-size: 1.7rem; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.1);
    padding: 16px;
    gap: 4px;
  }
  nav ul.open { display: flex; }
  nav ul li a { display: block; }
  .hamburger { display: flex; }
  header { position: relative; }
  header { position: sticky; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .parallax-section { background-attachment: scroll; }
}
@media (max-width: 480px) {
  .hero { height: 320px; }
  .hero-overlay h1 { font-size: 1.3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}

/* ===== UTILITY ===== */
.bg-light { background: #f9f5ef; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
