﻿:root {
  --primary-color: #70aee0;
  --secondary-color: #333;
  --bg-color: #f8f9fa;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--secondary-color);
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 0.5rem 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  position: relative;
}

.header-content img {
  max-height: 80px;
  width: auto;
  margin-left: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Hero */
.hero-container {
  position: relative;
  background: url('bg.jpg') no-repeat center center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 1rem 4rem 1rem;
  color: white;
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.2;
}

.subtext {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .header-content img { max-height: 60px; margin-left: 0; }
  .hamburger { display: flex; margin-right: 1rem; }
  .hero-content { padding: 10rem 1rem 4rem 1rem; }
}

/* Sections */
section {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Services & Pricing Grid */
.services, .pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

/* Card */
.card {
  background: white;
  color: var(--secondary-color);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Info Box */
.info-box {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Contact */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  margin: auto;
}

.contact-form { flex: 1 1 400px; }
.contact-info {
  flex: 1 1 300px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info h3 { color: var(--primary-color); margin-bottom: 1rem; text-align: left; }
.contact-item { display: flex; align-items: center; margin-bottom: 1rem; font-size: 1rem; color: var(--secondary-color); }
.contact-item img { width: 24px; height: 24px; margin-right: 0.75rem; }

/* Pricing images */
#pricing .card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem auto;
}

#pricing .card p {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 20px;
}

/* Form styling */
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

form input, form textarea, form button {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

form button:hover {
  background-color: #7bb1e0;
  color: white;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links img { width: 32px; height: 32px; }

/* ===== MENU ===== */
nav { max-height: none; }

.menu-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.menu-list li { position: relative; }

.menu-list a {
  display: block;
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-list a:hover { background-color: var(--primary-color); color: #fff; }

/* Dropdown arrow */
.dropdown .arrow {
  display: inline-block;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

.dropdown.open .arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  list-style: none; /* odstráni krúžky */
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  color: var(--secondary-color);
}

/* Desktop hover */
@media (min-width: 769px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255,255,255,0.95);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    max-height: 0;
    flex-direction: column;
  }

  .dropdown:hover .dropdown-menu {
    max-height: 500px;
  }

  .dropdown:hover .arrow {
    transform: rotate(180deg);
  }
}

/* Mobile menu */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255,255,255,0.95);
    z-index: 10;
    display: none;
  }

  nav.active {
    display: flex;
    max-height: none;
  }

  .menu-list {
    flex-direction: column;
    gap: 0;
  }

  .menu-list a {
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
  }

  .menu-list a:last-child { border-bottom: none; }

  /* Dropdown submenu */
  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    max-height: none;
    overflow: visible;
    transition: none;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .dropdown-menu li a { padding-left: 2rem; }
}

/* ===== CTA TLAČIDLÁ ===== */
.cta-btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background-color: #57b0e0;
  transform: translateY(-2px);
}

/* ===== GALÉRIA PRE A PO ===== */
#gallery .services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

#gallery .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery .card img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#gallery .card h3 {
  margin-top: 0.5rem;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Špecifický grid pre sekciu Prečo tepovať */
#why .why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* dva stĺpce */
  gap: 1rem;
  max-width: 800px;
  margin: auto;
}

#why .why-grid .card {
  background: white;
  color: var(--secondary-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#why .why-grid .card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

#why .why-grid .card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

#why .why-grid .card p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Mobilná verzia - 1 stĺpec */
@media (max-width: 768px) {
  #why .why-grid {
    grid-template-columns: 1fr;
  }
}

/* process */

#process {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
}

#process h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.process-box {
  background: linear-gradient(135deg, #e0f0ff, #ffffff);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-box .step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.process-box .icon {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.process-box .text h3 {
  margin: 0 0 0.3rem 0;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.process-box .text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

/* Mobilná verzia */
@media (max-width: 768px) {
  .process-box .step {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Grid pre sekciu Aké sedačky tepujeme */
.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* dva boxy vedľa seba */
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Mobilná verzia - 1 stĺpec */
@media (max-width: 768px) {
  .types-grid {
    grid-template-columns: 1fr; /* boxy pod sebou */
  }
}

/* Box */
.type-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.type-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.type-card h3 {
  color: var(--primary-color); /* rovnaká farba ako nadpisy hore */
  margin-bottom: 0.5rem;
}

.type-card p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}

/* Sekcia FAQ */
#faq {
  background: #fff;
  padding: 2rem 1rem;
  border-radius: 10px;
  margin: 2rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#faq h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
}

.faq-item h3 {
  cursor: pointer;
  position: relative;
}

.faq-item h3::after {
  content: "＋";
  position: absolute;
  right: 0;
  color: var(--primary-color);
  transition: transform 0.2s ease;
}

.faq-item.open h3::after {
  content: "−";
}

.faq-item p {
  display: none;
  margin-top: 0.5rem;
}

.faq-item.open p {
  display: block;
}

/* Galéria - nahlad */
.gallery-container {
  display: flex;
  justify-content: center; /* vycentrovanie na šírku stránky */
  gap: 1.5rem; /* rozostupy medzi obrázkami */
  margin: 2rem 0;
}

.gallery-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.8);
  justify-content: center; /* stred horizontálne */
  align-items: center;     /* stred vertikálne */
  z-index: 1000;
  animation: fadeIn 0.3s ease forwards;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transform: scale(0.8);
  opacity: 0;
  animation: zoomIn 0.3s ease forwards;
}

/* Animácie */
@keyframes fadeIn {
  from { background: rgba(0,0,0,0); }
  to { background: rgba(0,0,0,0.8); }
}

@keyframes zoomIn {
  to { transform: scale(1); opacity: 1; }
}


