/* ==========================================================================
   Tatiana Samokhvalova — Minimalistic Flat Design System
   Typography: Plus Jakarta Sans (Clean Minimal Headings) + Inter (Max Readability Body)
   100% Flat Aesthetic • No Script Fonts • Maximum Legibility
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Source+Code+Pro:wght@600;700&display=swap');

:root {
  /* Minimal Flat Color Palette */
  --bg-site: #FFFFFF;
  --bg-section-subtle: #F9F9FB;
  --bg-card: #FFFFFF;
  
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  
  --btn-green-bg: #ACF3A4;
  --btn-green-hover: #2563EB;
  --btn-green-text: #0F291E;
  --accent-pink: #DB2777;
  
  --border-light: #E2E8F0;
  --border-dark: #0F172A;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Source Code Pro', monospace;

  --radius-pill: 9999px;
  --radius-card: 12px;

  --shadow-flat: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-hover: 0 10px 25px rgba(0,0,0,0.06);
  --shadow-modal: 0 20px 40px rgba(15, 23, 42, 0.15);

  --transition-fast: 150ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-site);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Minimal Flat Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 0.5rem;
}

/* Clean Header Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent-pink);
  font-weight: 600;
}

/* Minimal Flat Buttons */
.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.7rem 1.5rem;
  background-color: var(--btn-green-bg);
  color: var(--btn-green-text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-green:hover {
  background-color: var(--btn-green-hover);
  color: #FFFFFF;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  background-color: transparent;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: #FFFFFF;
}

.btn-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  background-color: var(--bg-section-subtle);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-subtle:hover {
  border-color: var(--text-dark);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 5rem 0;
  background: var(--bg-site);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-avatar {
  width: 100%;
  max-width: 320px;
  height: 380px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid var(--border-light);
}

.hero-subtitle-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-pink);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 680px;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  border-color: var(--text-dark);
  background: var(--bg-section-subtle);
}

/* Quote Banner */
.quote-banner {
  background: var(--bg-section-subtle);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3.5rem;
  margin: 3.5rem 0;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

.quote-banner h2 {
  font-size: 1.85rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.quote-banner-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

/* Section Padding */
.section-padding {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.section-bg-subtle {
  background-color: var(--bg-section-subtle);
}

/* About Section */
.about-body {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.credential-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.credential-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: border-color var(--transition-fast);
}

.credential-card:hover {
  border-color: var(--text-dark);
}

.credential-card i {
  font-size: 1.75rem;
  color: var(--accent-pink);
}

/* Service Cards */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.booking-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.booking-card:hover {
  border-color: var(--text-dark);
  box-shadow: var(--shadow-hover);
}

.booking-card.highlight {
  border: 2px solid var(--btn-green-bg);
}

.booking-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.booking-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 1.25rem 0;
}

.service-feature-list {
  list-style: none;
  margin: 1.25rem 0;
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 0.6rem;
}

.service-feature-list li i {
  color: #10B981;
}

/* Videos & Explorer */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.video-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-frame-wrap iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border: none;
}

.video-info {
  padding: 1rem;
}

.video-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.hd-explorer {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.25rem;
  margin-top: 3rem;
}

.hd-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hd-tab-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hd-tab-btn.active {
  background: var(--btn-green-bg);
  color: var(--btn-green-text);
  border-color: var(--btn-green-bg);
  font-weight: 700;
}

.hd-content-box {
  background: var(--bg-section-subtle);
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast);
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--text-dark);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 20%;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Modal System */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFFFFF;
  width: 100%;
  max-width: 760px;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  position: relative;
  margin-top: 2rem;
  box-shadow: var(--shadow-modal);
}

.close-modal {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  background: none; border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-muted);
}

.close-modal:hover {
  color: var(--text-dark);
}

.article-body-reader {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-dark);
}

.article-body-reader p { margin-bottom: 1.5rem; }

/* EU GDPR / DSGVO Cookie Banner (Sleek Minimal Floating Card) */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), opacity 350ms ease;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-text {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--text-dark);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Cookie Settings Modal */
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: var(--bg-section-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Switch Toggle Styling */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #CBD5E1;
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #10B981;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

input:disabled + .slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--text-dark);
  color: #FFFFFF;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-avatar {
    margin: 0 auto;
  }
  .quote-banner {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    gap: 1.25rem;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .social-icons-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-title { font-size: 2.2rem; }
  h2 { font-size: 1.65rem; }
}
