/*
Theme Name: Nemčina s Julkou
Theme URI: https://nemcinasulkou.sk
Author: Custom Theme
Description: Osobná stránka lektorky nemčiny
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: nemcina-s-julkou
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=DM+Sans:wght@400;600;700&display=swap');

/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --cream: #F5F0DC;
  --navy: #1B3A5C;
  --plum: #9B2157;
  --orange: #F07D3A;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* =====================
   NAVIGATION
   ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 48px;
  background-color: var(--cream);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--plum);
}

/* =====================
   HERO SECTION
   ===================== */
#uvod {
  min-height: 100vh;
  background-color: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 60px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 520px;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 32px;
}

.hero-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 20px;
  max-width: 400px;
}

.hero-text strong {
  font-weight: 700;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
}

.hero-photo {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: cover;
  filter: grayscale(100%);
  border-radius: 4px;
  position: relative;
  z-index: 2;
}

/* Orange arrow SVG decoration */
.hero-arrow {
  position: absolute;
  top: 38%;
  left: -40px;
  width: 160px;
  z-index: 3;
  pointer-events: none;
}

/* Orange strokes decoration */
.hero-strokes {
  position: absolute;
  top: 20%;
  right: -10px;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}

/* =====================
   SERVICES SECTION
   ===================== */
#co-ponukam {
  background-color: var(--plum);
  padding: 60px 48px 80px;
  position: relative;
  overflow: hidden;
}

.services-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.service-item {
  color: var(--white);
}

.service-item h3 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.service-item p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* Decorative circle */
.services-circle {
  position: absolute;
  bottom: 30px;
  left: 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.25);
}

/* =====================
   CONTACT SECTION
   ===================== */
#kontakt {
  background-color: var(--cream);
  padding: 80px 48px;
}

#kontakt h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--navy);
  margin-bottom: 24px;
}

#kontakt p {
  font-size: 16px;
  color: var(--navy);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background-color: var(--plum);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 40px;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--navy);
  transform: translateY(-2px);
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background-color: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 28px 48px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--orange);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  #uvod {
    grid-template-columns: 1fr;
    padding: 100px 24px 40px;
    text-align: left;
  }

  .hero-image-wrap {
    margin-top: 32px;
    justify-content: center;
  }

  .hero-photo {
    max-width: 100%;
  }

  .site-header {
    padding: 18px 24px;
  }

  #co-ponukam {
    padding: 48px 24px 64px;
  }

  #kontakt {
    padding: 60px 24px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .site-nav {
    gap: 20px;
  }

  .site-nav a {
    font-size: 11px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
