:root {
  /* Colors inspired by pujcka-nemovitost.cz */
  --color-primary: #007BFF; /* A modern, vibrant blue */
  --color-secondary: #ffc107; /* Amber/Yellow - accent */
  --color-text-main: #212529;
  --color-text-light: #6c757d;
  --color-bg-light: #f8f9fa;
  --color-bg-white: #ffffff;
  --color-bg-dark: #1a1a1a;
  
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Sora', sans-serif;
  
  --spacing-unit: 1rem;
  --container-width: 1200px;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  
  --radius-sm: 4px;
  --radius-md: 8px;
}

/* Reset & Basics */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  line-height: 1.6;
  background-color: var(--color-bg-white);
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #111;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}
.section-bg {
  background-color: var(--color-bg-light);
}

/* Components */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: #0056b3;
}
.btn-secondary {
  background-color: var(--color-secondary);
  color: #212529;
}
.btn-secondary:hover {
  background-color: #e0a800;
}
.btn-ghost {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-ghost:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* Header */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  color: var(--color-text-main);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background: #333;
}

/* Hero */
.hero {
  background: linear-gradient(45deg, rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.9));
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content h1 {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.hero-content .lead {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}
.hero-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

/* How It Works Section */
.how-it-works .step-card {
    text-align: center;
    padding: 2rem;
}
.how-it-works .step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.check-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
}

/* Card Grid for Services */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
  border-top: 4px solid var(--color-primary);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.service-card .icon {
  width: 50px;
  height: 50px;
  background: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}
.service-card .icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}
.footer-grid h4 {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}
.footer-grid p, .footer-grid a {
  color: #ccc;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 4px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.25rem; }
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.contact-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
}
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
}
