/* ============================================================
   KG THEME
   White (#FFFFFF) + Near-black (#121212) + Jost + Playfair Display
   ============================================================ */

.theme-kg {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F8F8;
  --bg-card: #F8F8F8;
  --text-primary: #121212;
  --text-secondary: #676767;
  --text-muted: #7B7B7B;
  --accent: #121212;
  --accent-hover: #333333;
  --accent-light: rgba(18, 18, 18, 0.06);
  --border: rgba(18, 18, 18, 0.1);
  --border-accent: rgba(18, 18, 18, 0.3);
  --font-heading: 'Jost', sans-serif;
  --font-body: 'Jost', sans-serif;
  --radius: 0;
  --radius-sm: 0;
  --radius-lg: 0;

  /* Arki-specific tokens */
  --kg-black: #121212;
  --kg-gray: #7B7B7B;
  --kg-light-gray: #A2A2A2;
  --kg-bg-alt: #F8F8F8;
  --kg-footer-bg: #1A1A1A;
  --kg-footer-text: #A2A2A2;
}

/* ---- Global typography ---- */
.theme-kg h1,
.theme-kg h2,
.theme-kg h3,
.theme-kg h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   NAVIGATION — minimal, underline active
   ============================================================ */
.theme-kg .nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: none;
}

.theme-kg .nav-logo {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  color: var(--kg-black);
}

.theme-kg .nav-logo .accent {
  color: var(--kg-black);
  font-weight: 600;
}

.theme-kg .nav-links a {
  text-transform: capitalize;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  font-weight: 400;
  color: var(--kg-black);
  font-family: 'Jost', sans-serif;
  position: relative;
  padding-bottom: 4px;
}

/* Underline on active link — like Arki "About" */
.theme-kg .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--kg-black);
}

.theme-kg .nav-links a:hover {
  color: var(--kg-gray);
}

.theme-kg .nav-cta {
  background: transparent;
  color: var(--kg-black);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  border: none;
  border-bottom: 2px solid var(--kg-black);
  border-radius: 0;
  padding: 8px 0;
  font-weight: 500;
}

.theme-kg .nav-cta:hover {
  background: transparent;
  color: var(--kg-gray);
  border-bottom-color: var(--kg-gray);
}

/* ============================================================
   BUTTONS — bottom-border only style (Arki signature)
   ============================================================ */
.theme-kg .btn {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
}

.theme-kg .btn-primary {
  background: transparent;
  color: var(--kg-black);
  border: none;
  border-bottom: 2px solid var(--kg-black);
  padding: 8px 0;
  box-shadow: none;
}

.theme-kg .btn-primary:hover {
  background: transparent;
  color: var(--kg-gray);
  border-bottom-color: var(--kg-gray);
  box-shadow: none;
}

.theme-kg .btn-secondary {
  border: 1px solid var(--border);
  color: var(--kg-black);
  background: transparent;
}

.theme-kg .btn-secondary:hover {
  border-color: var(--kg-black);
  color: var(--kg-black);
  background: transparent;
}

/* ============================================================
   HERO — Full-width image with dark overlay, centered text
   Completely overrides the 2-column grid layout
   ============================================================ */
.theme-kg .hero {
  padding-top: var(--nav-height);
  padding-bottom: 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.theme-kg .hero .container {
  max-width: 100%;
  padding: 0;
}

.theme-kg .hero-grid {
  display: block;
  position: relative;
  min-height: 85vh;
}

/* Image becomes full background */
.theme-kg .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  aspect-ratio: auto;
  z-index: 1;
}

.theme-kg .hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.theme-kg .hero-image img,
.theme-kg .hero-image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content overlaid on image */
.theme-kg .hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 85vh;
  padding: 80px 60px;
  gap: 20px;
}

.theme-kg .hero-badge {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}

.theme-kg .hero-badge::before {
  display: none;
}

.theme-kg .hero-title {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.2;
  color: #FFFFFF;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.theme-kg .hero-title .accent {
  color: #FFFFFF;
  font-style: normal;
}

.theme-kg .hero-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  letter-spacing: 0.02em;
  max-width: 500px;
  font-weight: 300;
}

/* Hero CTAs — white border-bottom style */
.theme-kg .hero-ctas .btn-primary {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

.theme-kg .hero-ctas .btn-primary:hover {
  color: rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.theme-kg .hero-ctas .btn-secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.theme-kg .hero-ctas .btn-secondary:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* ============================================================
   SECTION HEADERS — Large titles with period, Arki style
   ============================================================ */
.theme-kg .section-tag {
  color: var(--kg-gray);
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  font-family: 'Jost', sans-serif;
  position: relative;
  padding-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* Horizontal line extending right from subtitle — Arki signature */
.theme-kg .section-tag::before {
  display: none;
}

.theme-kg .section-tag::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--kg-black);
  flex-shrink: 0;
}

.theme-kg .section-title {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--kg-black);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.theme-kg .section-desc {
  color: var(--kg-gray);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   STATS — Huge Playfair numbers, dash below, more spacing
   ============================================================ */
.theme-kg .stats {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.theme-kg .stat-item {
  position: relative;
  padding: 32px 40px;
}

/* Dash under each stat — Arki signature */
.theme-kg .stat-item::after {
  content: '';
  display: block;
  width: 20px;
  height: 3px;
  background: var(--kg-black);
  margin: 16px auto 0;
}

.theme-kg .stat-value {
  font-family: 'Jost', sans-serif;
  color: var(--kg-black);
  font-weight: 600;
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.theme-kg .stat-label {
  font-family: 'Jost', sans-serif;
  color: var(--kg-gray);
  text-transform: capitalize;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 8px;
}

.theme-kg .stat-item + .stat-item {
  border-left-color: transparent;
}

/* ============================================================
   SERVICES — White cards on #f8f8f8 background
   ============================================================ */
.theme-kg .services {
  background: var(--kg-bg-alt);
  padding: 100px 0;
}

.theme-kg .service-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-kg .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.theme-kg .service-icon {
  color: var(--kg-black);
  font-size: 2rem;
  margin-bottom: 20px;
}

.theme-kg .service-card h3,
.theme-kg .service-card .service-name {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.theme-kg .service-card p,
.theme-kg .service-card .service-desc {
  color: var(--kg-gray);
  font-size: 0.85rem;
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================================
   GALLERY — Clean, minimal, white background
   ============================================================ */
.theme-kg .gallery {
  background: #FFFFFF;
  padding: 100px 0;
}

.theme-kg .gallery-filters {
  gap: 4px;
}

.theme-kg .filter-btn {
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--kg-gray);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  padding: 8px 16px;
  position: relative;
}

.theme-kg .filter-btn:hover {
  color: var(--kg-black);
}

.theme-kg .filter-btn.active {
  background: transparent;
  color: var(--kg-black);
  border: none;
}

.theme-kg .filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: var(--kg-black);
}

.theme-kg .gallery-grid {
  gap: 6px;
}

.theme-kg .gallery-item {
  border-radius: 0;
  border: none;
  overflow: hidden;
}

.theme-kg .gallery-item:hover img {
  transform: scale(1.08);
}

.theme-kg .gallery-overlay {
  background: rgba(18, 18, 18, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.theme-kg .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.theme-kg .gallery-overlay span,
.theme-kg .gallery-overlay-label {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  font-size: 0.8rem;
}

/* ============================================================
   ABOUT — Two-column: large quote left, description right
   ============================================================ */
.theme-kg .about {
  background: #FFFFFF;
  padding: 100px 0;
}

/* Transform about-card into 2-column layout */
.theme-kg .about-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Avatar + name becomes the large quote column */
.theme-kg .about-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0;
}

.theme-kg .about-avatar {
  display: none;
}

.theme-kg .about-name {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--kg-black);
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: none;
}

.theme-kg .about-role {
  font-size: 0.85rem;
  color: var(--kg-gray);
  letter-spacing: 0.05em;
  font-weight: 400;
}

/* Bio text on the right */
.theme-kg .about-bio {
  font-size: 0.9rem;
  color: var(--kg-gray);
  line-height: 1.85;
  font-weight: 300;
}

.theme-kg .about-bio p + p {
  margin-top: 16px;
}

/* ============================================================
   INQUIRY FORM — Clean minimal style
   ============================================================ */
.theme-kg #zapytanie {
  background: var(--kg-bg-alt);
  padding: 100px 0;
}

.theme-kg .form-group label {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--kg-black);
}

.theme-kg .form-group input,
.theme-kg .form-group textarea {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--kg-black);
  font-family: 'Jost', sans-serif;
  padding: 14px 16px;
}

.theme-kg .form-group input:focus,
.theme-kg .form-group textarea:focus {
  border-color: var(--kg-black);
  box-shadow: none;
  outline: none;
}

.theme-kg .form-group input::placeholder,
.theme-kg .form-group textarea::placeholder {
  color: var(--kg-light-gray);
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.03em;
  font-weight: 300;
}

.theme-kg .drop-zone {
  border-color: var(--border);
  border-radius: 0;
  background: #FFFFFF;
}

.theme-kg .drop-zone:hover,
.theme-kg .drop-zone.drag-over {
  border-color: var(--kg-black);
  background: var(--accent-light);
}

.theme-kg .file-item {
  background: #FFFFFF;
  border-radius: 0;
}

/* Submit button — dark filled for form (exception to border-only style) */
.theme-kg .inquiry-submit-btn {
  background: var(--kg-black);
  color: #FFFFFF;
  border: none;
  border-bottom: none;
  padding: 14px 40px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

.theme-kg .inquiry-submit-btn:hover {
  background: #333333;
  color: #FFFFFF;
}

/* ============================================================
   CONTACT — Arki style, clean cards
   ============================================================ */
.theme-kg .contact {
  background: #FFFFFF;
  padding: 100px 0;
}

.theme-kg .contact-card {
  background: var(--kg-bg-alt);
  border: none;
  border-radius: 0;
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-kg .contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.theme-kg .contact-icon {
  color: var(--kg-black);
  font-size: 1.5rem;
}

.theme-kg .contact-card-label {
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 500;
}

.theme-kg .contact-card-value {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.theme-kg .contact-card-sub {
  color: var(--kg-gray);
  font-weight: 300;
}

.theme-kg .location-badge {
  color: var(--kg-gray);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ============================================================
   LIGHTBOX — White background like Arki
   ============================================================ */
.theme-kg .lightbox {
  background: rgba(255, 255, 255, 0.96);
}

.theme-kg .lightbox-close {
  background: rgba(18, 18, 18, 0.08);
  border-color: rgba(18, 18, 18, 0.15);
  color: var(--kg-black);
}

.theme-kg .lightbox-close:hover {
  background: rgba(18, 18, 18, 0.15);
}

.theme-kg .lightbox-prev,
.theme-kg .lightbox-next {
  background: rgba(18, 18, 18, 0.08);
  border-color: rgba(18, 18, 18, 0.15);
  color: var(--kg-black);
}

.theme-kg .lightbox-prev:hover,
.theme-kg .lightbox-next:hover {
  background: rgba(18, 18, 18, 0.15);
}

.theme-kg .lightbox-content img {
  border-radius: 0;
}

/* ============================================================
   FOOTER — Dark with subtle styling, Arki-style
   ============================================================ */
.theme-kg .footer {
  background: var(--kg-footer-bg);
  border-top: none;
  padding: 60px 0;
  color: var(--kg-footer-text);
}

.theme-kg .footer-inner {
  flex-direction: column;
  text-align: center;
  gap: 8px;
}

.theme-kg .footer-brand {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  font-size: 0.9rem;
}

.theme-kg .footer-tagline {
  color: var(--kg-footer-text);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
.theme-kg .mobile-nav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.theme-kg .mobile-nav-links li a {
  border-bottom-color: var(--border);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  color: var(--kg-black);
}

.theme-kg .mobile-nav-links li a:hover {
  color: var(--kg-gray);
}

.theme-kg .mobile-nav-cta {
  background: var(--kg-black);
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.theme-kg .mobile-nav-cta:hover {
  background: #333333;
  color: #FFFFFF;
}

/* ============================================================
   THEME SWITCHER
   ============================================================ */
.theme-kg .theme-toggle-btn {
  background: #FFFFFF;
  border-color: var(--border);
  border-radius: 0;
}

.theme-kg .theme-toggle-btn:hover {
  border-color: var(--kg-black);
}

.theme-kg .theme-dropdown {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.theme-kg .theme-option:hover {
  background: var(--kg-bg-alt);
}

.theme-kg .theme-option.active {
  color: var(--kg-black);
  font-weight: 600;
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.theme-kg .hamburger span {
  background-color: var(--kg-black);
  border-radius: 0;
}

/* ============================================================
   SUCCESS / ERROR STATES
   ============================================================ */
.theme-kg .inquiry-success {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0;
}

.theme-kg .inquiry-success h3 { color: #059669; }
.theme-kg .inquiry-success p { color: #10B981; }

.theme-kg .inquiry-error {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #DC2626;
  border-radius: 0;
}

/* ============================================================
   RESPONSIVE OVERRIDES FOR ARKI
   ============================================================ */
@media (max-width: 1024px) {
  .theme-kg .hero-content {
    padding: 60px 40px;
  }

  .theme-kg .about-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .theme-kg .hero-grid {
    min-height: 70vh;
  }

  .theme-kg .hero-content {
    min-height: 70vh;
    padding: 40px 24px;
  }

  .theme-kg .hero-title {
    font-size: 2rem;
    letter-spacing: 0.15em;
  }

  .theme-kg .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: auto;
  }

  .theme-kg .stat-value {
    font-size: 2.5rem;
  }

  .theme-kg .section-title {
    font-size: 1.8rem;
  }

  .theme-kg .about-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .theme-kg .about-name {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .theme-kg .hero-content {
    padding: 30px 20px;
  }

  .theme-kg .hero-title {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
  }
}
