/* ===== MAIN STYLES — Nettes Deutsch / Приємна Німецька ===== */

/* ===== FONTS ===== */
@font-face {
  font-family: 'e-Ukraine';
  src: url('../media/fonts/e-Ukraine-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('../media/fonts/e-Ukraine-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* ===== CSS RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
  /* Typography */
  --font-title: 'Unbounded', sans-serif;
  --font-body: 'e-Ukraine', 'Nunito', sans-serif;

  --size-hero: clamp(48px, 8vw, 100px);
  --size-h1: clamp(32px, 5vw, 60px);
  --size-h2: clamp(22px, 3vw, 36px);
  --size-h3: clamp(18px, 2vw, 24px);
  --size-body: 16px;
  --size-small: 14px;

  /* Colors */
  --red: #E8323A;
  --red-dark: #C9282F;
  --red-glow: rgba(232, 50, 58, 0.45);
  --bg-light: #F2F2F2;
  --bg-white: #FFFFFF;
  --text-dark: #111111;
  --text-body: #333333;
  --text-grey: #777777;

  /* Accent highlights */
  --yellow-mark: #FFD600;
  --blue-mark: #4169E1;

  /* Pricing card backgrounds */
  --pink-card: #F9C4C4;
  --purple-card: #D8C4F9;
  --green-card: #C8F7C5;
  --blue-card: #C4DCF9;
  --cream-card: #FFF5E0;

  /* UI */
  --radius-card: 24px;
  --radius-btn: 50px;
  --radius-img: 20px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
}

/* ===== GLOBAL STYLES ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  color: var(--text-body);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, .title {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 24px;
}

h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }

p {
  margin-bottom: 16px;
}

section {
  padding: 80px 48px;
  max-width: 1440px;
  margin: 0 auto;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* ===== BUTTONS ===== */
.btn-red {
  background: var(--red);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--size-body);
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--red-glow);
}

.btn-white {
  background: white;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--size-body);
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.btn-ghost {
  background: transparent;
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--size-body);
  border: 2px solid white;
  padding: 14px 36px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

.btn-small {
  padding: 12px 28px;
  font-size: var(--size-small);
}

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 48px;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: white;
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: white;
  font-weight: 600;
  font-size: var(--size-body);
  transition: color 0.3s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-cta {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  color: white;
  transition: all 0.3s ease;
}

/* Scrolled state */
#navbar.scrolled {
  background: white;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

#navbar.scrolled .nav-logo {
  color: var(--text-dark);
}

#navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

#navbar.scrolled .nav-cta {
  background: var(--red);
  color: white;
  backdrop-filter: none;
}

/* ===== EMOJI & ICON STYLES ===== */
.emoji-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.icon-card {
  background: white;
  border-radius: 16px;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.icon-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===== SOCIAL MEDIA ICONS ===== */
.social-icon-card {
  background: white;
  border-radius: 16px;
  padding: 12px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-icon-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.social-icons-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.social-icon-link:hover {
  opacity: 0.8;
}

/* Social icons for footer (white on red) */
.social-footer {
  display: flex;
  gap: 12px;
}

.social-footer img {
  width: 32px;
  height: 32px;
  opacity: 0.95;
  transition: opacity 0.2s, transform 0.2s;
}

.social-footer a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* ===== TEXT HIGHLIGHTS ===== */
.highlight-yellow {
  background: linear-gradient(transparent 60%, var(--yellow-mark) 60%);
  padding: 0 4px;
}

.highlight-blue {
  border-bottom: 3px solid var(--blue-mark);
  padding-bottom: 2px;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: var(--red);
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(255,255,255,0.04) 35px,
      rgba(255,255,255,0.04) 70px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 80px;
  position: relative;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-title);
  font-size: var(--size-hero);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 48px;
}

.hero-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-info-card {
  background: white;
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  text-align: left;
}

.hero-info-card p {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  margin: 0;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== TWO-COLUMN LAYOUTS ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-photo {
  width: 100%;
  border-radius: var(--radius-img);
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* ===== ALTERNATING LAYOUT ===== */
.alternating {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.alt-text-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.alt-text-card h3 {
  font-size: var(--size-h2);
  margin-bottom: 16px;
}

/* ===== ICON LIST ===== */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.icon-list-item .icon-card {
  flex-shrink: 0;
}

.icon-list-item p {
  font-size: var(--size-body);
  line-height: 1.6;
  margin: 0;
}

/* ===== CARD GRIDS ===== */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.pricing-card.pink { background: var(--pink-card); }
.pricing-card.purple { background: var(--purple-card); }
.pricing-card.green { background: var(--green-card); }
.pricing-card.blue { background: var(--blue-card); }
.pricing-card.cream { background: var(--cream-card); }

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: var(--size-small);
  margin: 16px 0;
  color: white;
}

.pricing-badge img {
  width: 20px;
  height: 20px;
}

.pricing-badge.orange { background: #FF9500; }
.pricing-badge.purple-dark { background: #9b59b6; }
.pricing-badge.green-dark { background: #22c55e; }
.pricing-badge.blue-dark { background: #3b82f6; }

.pricing-price {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 12px 0;
}

.pricing-card h4 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ===== MINI ICON GRID ===== */
.mini-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.mini-icon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--size-small);
}

.mini-icon-item img {
  width: 32px;
  height: 32px;
}

/* ===== FAQ CARDS ===== */
.faq-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.faq-card h4 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.faq-card p {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== FORMS ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

form input,
form textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: var(--size-body);
  color: var(--text-dark);
  background: white;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--red);
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-legal {
  font-size: 12px;
  color: var(--text-grey);
  font-style: italic;
  margin-top: 8px;
}

.form-legal a {
  color: var(--text-grey);
  text-decoration: underline;
}

.form-message {
  font-weight: 600;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: var(--red);
  color: white;
  padding: 60px 48px 32px;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
}

.footer-section h4 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: white;
  opacity: 0.9;
  font-size: var(--size-small);
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: var(--size-small);
}

.footer-legal a {
  color: white;
  opacity: 0.9;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.bg-light { background: var(--bg-light); }
.bg-white { background: var(--bg-white); }
.bg-red { background: var(--red); }

.text-white { color: white; }
