﻿/* =========================================================
   Valdoria s.r.o. - shared stylesheet
   Mobile-first, responsive redesign.
   Brand colours taken from the original site (purple + grey).
   Edit variables below to re-theme the whole site from one place.
   ========================================================= */

:root {
  --color-primary: #430158;
  --color-primary-dark: #34013f;
  --color-primary-darker: #250025;
  --color-link: #4b0082;
  --color-accent: #cc3300;
  --color-text: #333333;
  --color-muted: #646464;
  --color-muted-light: #888888;
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-border: #e2e0e6;
  --header-height: 72px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(37, 0, 37, 0.08);
  --shadow-md: 0 6px 20px rgba(37, 0, 37, 0.10);
  --container-width: 1120px;
  --font-body: "Segoe UI", Verdana, Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url("../images/bg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-darker);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }

.home-intro-title {
  font-size: clamp(1.07rem, 2.67vw, 1.53rem);
}

p { margin: 0 0 1em; }

ul.plain, ol.plain { margin: 0; padding: 0; list-style: none; }

.btn {
  display: inline-block;
  padding: 0.65em 1.3em;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { background: var(--color-accent); color: #fff; text-decoration: none; }

/* =========================================================
   Skip link (accessibility)
   ========================================================= */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* =========================================================
   Header / navigation
   ========================================================= */
.site-header {
  background-color: #fdfcfe;
  background-image: url("../images/bg.jpg");
  background-size: cover;
  background-position: top center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo .logo-icon { height: 42px; width: auto; }
.logo .logo-text { height: 24px; width: auto; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-height);
  background: var(--color-primary-darker);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.main-nav.open { max-height: 640px; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.main-nav > ul > li {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.main-nav a {
  display: block;
  padding: 14px 20px;
  color: #e9e0ef;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.main-nav .dropdown {
  display: none;
  padding: 0 0 8px 0;
  background: rgba(0,0,0,0.15);
}
.main-nav li.dropdown-open > .dropdown { display: block; }
.main-nav .dropdown a {
  padding: 10px 20px 10px 34px;
  font-size: 0.82rem;
  letter-spacing: normal;
  font-weight: 400;
  color: #cbb9d8;
}
.main-nav .has-dropdown > a::after {
  content: " \25BE";
  font-size: 0.7em;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .main-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
  }
  .main-nav > ul {
    display: flex;
    padding: 0;
  }
  .main-nav > ul > li {
    border-top: 0;
    position: relative;
  }
  .main-nav a {
    padding: 12px 16px;
  }
  .main-nav .dropdown {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 260px;
    background: var(--color-primary-darker);
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    padding: 8px 0;
  }
  .main-nav li.has-dropdown:hover > .dropdown,
  .main-nav li.has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav .dropdown a { padding: 10px 20px; }

  .main-nav > ul > li > a {
    color: var(--color-muted);
  }
  .main-nav > ul > li > a:hover,
  .main-nav > ul > li > a.active {
    color: var(--color-link);
    background: rgba(67, 1, 88, 0.08);
  }
}

/* =========================================================
   Hero (homepage)
   ========================================================= */
.hero {
  background-image: linear-gradient(135deg, rgba(37,0,37,0.90), rgba(67,1,88,0.85)), url("../images/dreamstime.jpg");
  background-size: cover;
  background-position: center;
  color: #f1e9f6;
  padding: 48px 0;
}
.hero h1, .hero h2 { color: #fff; }
.hero-headline-modern {
  font-family: "Bahnschrift SemiCondensed", "Roboto Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.8em;
}
.hero .tagline {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: #d9c7e6;
  margin-bottom: 1.2em;
}

.hero .highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  padding: 0;
  margin: 1.4em 0 0;
  font-size: 0.9rem;
  color: #e4d7ee;
}
.hero .highlights li::before {
  content: "\2713  ";
  color: #c9a8de;
}

/* =========================================================
   Layout: main content + side panel
   ========================================================= */
.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 0 60px;
  align-items: start;
}

@media (min-width: 900px) {
  .page-layout {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  }
}

.main-content section + section { margin-top: 2.2em; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

/* =========================================================
   Side panel
   ========================================================= */
.side-panel .card + .card { margin-top: 24px; }

.side-panel h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-link);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.service-links li + li { margin-top: 10px; }
.service-links a {
  color: var(--color-text);
  font-size: 0.95rem;
}
.service-links a:hover { color: var(--color-link); }

.contact-box p { margin: 0 0 0.6em; font-size: 0.95rem; color: var(--color-muted); }
.contact-box strong { color: var(--color-text); }

.cta-box {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}
.cta-box p { color: #e9dcf1; }
.cta-box a.btn { background: #fff; color: var(--color-primary-dark); }
.cta-box a.btn:hover { background: var(--color-accent); color: #fff; }

/* =========================================================
   Bulleted feature lists
   ========================================================= */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.7em;
  color: var(--color-muted);
}
.feature-list li::before {
  content: "\2022";
  position: absolute;
  left: 0.2em;
  color: var(--color-link);
  font-weight: 700;
}

/* =========================================================
   Pricing tables
   ========================================================= */
.table-wrap { overflow-x: auto; margin: 1.2em 0; }
table.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  font-size: 0.95rem;
}
table.price-table caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.6em;
  color: var(--color-primary-dark);
}
table.price-table th,
table.price-table td {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  text-align: left;
}
table.price-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
table.price-table tbody tr:nth-child(even) { background: #f5f2f7; }
table.price-table td.price { font-weight: 600; white-space: nowrap; }

.price-note {
  font-size: 0.88rem;
  color: var(--color-muted-light);
  margin-top: 1em;
}

.package-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin: 1.2em 0;
}
@media (min-width: 640px) {
  .package-grid { grid-template-columns: repeat(2, 1fr); }
}
.package-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--color-surface);
}
.package-card h3 { margin-bottom: 0.3em; }
.package-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-link);
  margin-bottom: 0.6em;
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
.map-frame {
  border: 0;
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
}

.contact-form {
  margin-top: 1.5em;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  font: inherit;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(67, 1, 88, 0.16);
  border-color: var(--color-link);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--color-primary-darker);
  color: #cbbcd4;
  padding: 32px 0;
  font-size: 0.85rem;
  margin-top: 40px;
}
.site-footer a { color: #e9dcf1; }
.site-footer .footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .site-footer .footer-grid { grid-template-columns: 2fr 1fr; align-items: center; }
}
.site-footer .socials { display: flex; gap: 14px; margin-top: 10px; }
.site-footer .socials a { font-size: 0.85rem; }
.site-footer .legal { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; color: #a996b3; }

/* =========================================================
   Utility
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.notice {
  background: #fdecea;
  border: 1px solid #f3c8c2;
  color: #7a2a20;
  padding: 16px 20px;
  border-radius: var(--radius);
}
