@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --gold: #b8860b;
  --gold-light: #d4a034;
  --gold-pale: #e8c878;
  --cream: #f5f0e8;
  --cream-dark: #ede5d5;
  --brown-dark: #2c2015;
  --brown: #4a3520;
  --brown-mid: #6b5030;
  --text: #3a2a18;
  --text-light: #6b5a45;
  --white: #faf8f4;
  --green: #5a7a40;
  --shadow: 0 4px 24px rgba(44,32,21,0.13);
  --shadow-lg: 0 8px 40px rgba(44,32,21,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.section { padding: 80px 0; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 4px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 3px 14px rgba(184,134,11,0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,134,11,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--brown-mid);
  border-color: var(--brown-mid);
}

.btn-outline:hover {
  background: var(--brown-mid);
  color: var(--white);
  transform: translateY(-2px);
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(44,32,21,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212,160,52,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 32px;
  max-width: 1260px;
  margin: 0 auto;
}

.nav-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-socials a {
  color: rgba(232,200,120,0.7);
  font-size: 1.15rem;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}

.nav-socials a:hover { color: var(--gold-pale); transform: translateY(-2px); }

.nav-socials svg { width: 20px; height: 20px; fill: currentColor; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: rgba(245,240,232,0.82);
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 1px;
  background: var(--gold-pale);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}

.nav-links a:hover { color: var(--gold-pale); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 18px; padding: 10px 26px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: all 0.3s; }

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/hero.jpg') center/cover no-repeat;
  position: relative;
  padding-top: 68px;
}

#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(44,32,21,0.72) 0%, rgba(44,32,21,0.3) 55%, rgba(44,32,21,0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  animation: fadeUp 1s ease both;
}

.hero-badge {
  display: inline-block;
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-pale);
  background: rgba(184,134,11,0.18);
  border: 1px solid rgba(212,160,52,0.4);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
  text-shadow: 0 2px 20px rgba(44,32,21,0.4);
}

.hero-title {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 22px;
}

.hero-tagline {
  font-size: 1.12rem;
  color: rgba(245,240,232,0.88);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(232,200,120,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

#o-mne { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.about-img-wrap img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  right: 14px; bottom: -14px;
  border: 2px solid var(--gold-pale);
  border-radius: 6px;
  z-index: 0;
}

.about-text .section-title { margin-bottom: 28px; }

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 18px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin: 28px 0 32px;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

#sluzby {
  background: linear-gradient(160deg, var(--cream-dark) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

#sluzby::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/services_bg.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(184,134,11,0.1);
  transition: transform 0.28s, box-shadow 0.28s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(184,134,11,0.12), rgba(212,160,52,0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
}

#dovednosti { background: var(--white); }

.skills-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
  max-width: 700px;
}

.skill-item { display: flex; flex-direction: column; gap: 8px; }

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--brown);
  font-weight: 500;
}

.skill-pct {
  font-size: 0.82rem;
  color: var(--text-light);
}

.skill-bar {
  height: 8px;
  background: var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  border-radius: 4px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.tag {
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  border: 1.5px solid rgba(184,134,11,0.35);
  color: var(--brown-mid);
  background: rgba(184,134,11,0.06);
  transition: all 0.2s;
  cursor: default;
}

.tag:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

#prace {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.portfolio-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.28s, box-shadow 0.28s;
}

.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.portfolio-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img { transform: scale(1.04); }

.portfolio-img-wrap { overflow: hidden; }

.portfolio-info { padding: 22px 24px; }

.portfolio-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.portfolio-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.portfolio-link {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s, color 0.2s;
}

.portfolio-link:hover { gap: 10px; color: var(--gold-light); }

.portfolio-cta { text-align: center; margin-top: 48px; }

#kontakt { background: var(--brown-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-title { color: var(--cream); }
.contact-info .section-title::after { background: linear-gradient(90deg, var(--gold), var(--gold-pale)); }

.contact-info p {
  color: rgba(232,213,183,0.8);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--cream);
}

.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(212,160,52,0.18);
  border: 1px solid rgba(212,160,52,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--gold-pale);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--white); }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,160,52,0.18);
  border-radius: 10px;
  padding: 40px;
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232,213,183,0.7);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,160,52,0.22);
  border-radius: 5px;
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 0.93rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(232,213,183,0.35); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
}

.form-group textarea { height: 110px; resize: vertical; }

.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--brown-dark); color: var(--cream); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.captcha-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(184,134,11,0.1);
  border: 1px solid rgba(212,160,52,0.3);
  border-radius: 5px;
  padding: 12px 16px;
}

.captcha-question {
  color: var(--gold-pale);
  font-size: 0.92rem;
  white-space: nowrap;
}

.captcha-wrap input {
  width: 80px !important;
  text-align: center;
  padding: 8px 12px !important;
}

.form-msg {
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

.form-msg.success { background: rgba(90,122,64,0.25); border: 1px solid rgba(90,122,64,0.5); color: #a8d080; }
.form-msg.error { background: rgba(180,60,60,0.2); border: 1px solid rgba(180,60,60,0.4); color: #f08080; }

.cta-banner {
  background: linear-gradient(110deg, var(--brown) 0%, var(--brown-dark) 100%);
  border-top: 1px solid rgba(184,134,11,0.25);
  text-align: center;
  padding: 70px 32px;
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 28px;
  font-style: italic;
}

footer {
  background: #1a1008;
  border-top: 1px solid rgba(184,134,11,0.2);
  padding: 22px 32px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(200,180,140,0.55);
  letter-spacing: 0.04em;
}

footer a { color: rgba(212,160,52,0.7); transition: color 0.2s; }
footer a:hover { color: var(--gold-pale); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,18,8,0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--gold-pale); }

@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .about-img-wrap img { height: 320px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 20px; }
  .section { padding: 56px 0; }
  .contact-form { padding: 24px; }
}

.btn-outline-light {
  color: #f5f0e8;
  border-color: rgba(245,240,232,0.55);
}

.btn-outline-light:hover {
  background: rgba(245,240,232,0.15);
  color: #fff;
}

.contact-detail-label {
  font-size: 0.78rem;
  color: rgba(212,160,52,0.7);
  margin-bottom: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-detail-value {
  color: var(--cream);
}

.contact-form button[type="submit"] {
  width: 100%;
  font-size: 1rem;
  padding: 15px;
  text-align: center;
}

.cta-banner-btn {
  font-size: 1.05rem;
  padding: 15px 40px;
}
.form-success { padding: 32px 24px; text-align: center; font-size: 1.1rem; font-weight: 600; color: var(--gold); }
