/* =========================================================
   KE PROJEKTAI – Shared stylesheet for all child pages
   Matches existing site: dark header, white body, yellow
   accents, black CTA banner, blue links
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@1,500;1,600&display=swap');

:root {
  --black: #000000;
  --dark: #0d0d0d;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --light-gray: #f0f0f0;
  --gray: #6b6b6b;
  --text-dark: #1a1a1a;
  --text-secondary: #555555;
  --yellow: #f5c518;
  --yellow-bright: #ffd320;
  --blue: #2342d4;
  --blue-dark: #1a32a8;
  --border: #e5e5e5;
  --border-dark: rgba(255, 255, 255, 0.1);
  --max-width: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== HEADER ========== */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { font-size: 22px; font-weight: 700; color: var(--white); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }
.btn-header {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--white);
  border-radius: 6px;
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-header:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  color: var(--white);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: 0.2s;
}
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    padding: 12px 0;
    border-top: 1px solid var(--border-dark);
  }
  .nav-links.open li { padding: 12px 32px; }
}

/* ========== PAGE TITLE ========== */
.page-title {
  background: var(--white);
  padding: 40px 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-title h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 32px 0;
  font-size: 13px;
  color: var(--gray);
}
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .sep { margin: 0 6px; }

/* ========== HERO GALLERY (slider) ========== */
.hero-gallery {
  max-width: var(--max-width);
  margin: 24px auto 32px;
  padding: 0 32px;
  position: relative;
}
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.slide .img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}
.slider-arrow:hover { transform: translateY(-50%) scale(1.05); }
.slider-arrow.prev { left: 48px; }
.slider-arrow.next { right: 48px; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  transition: background 0.2s;
}
.slider-dot.active { background: var(--text-dark); }

@media (max-width: 768px) {
  .slide { grid-template-columns: 1fr 1fr; }
  .slide .img:nth-child(3) { display: none; }
  .slider-arrow.prev { left: 12px; }
  .slider-arrow.next { right: 12px; }
}
@media (max-width: 480px) {
  .slide { grid-template-columns: 1fr; }
  .slide .img:nth-child(2),
  .slide .img:nth-child(3) { display: none; }
}

/* ========== INTRO ========== */
.intro-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 32px 40px;
  text-align: center;
}
.intro-section p {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.7;
}
.intro-section strong { font-weight: 700; }

/* ========== FEATURE CARDS ========== */
.feature-cards {
  max-width: var(--max-width);
  margin: 0 auto 60px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.f-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  transition: transform 0.3s;
}
.f-card:hover { transform: translateY(-2px); }
.f-card-large { grid-row: span 2; min-height: 580px; }
.f-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.f-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2) 60%);
}
.f-card-content {
  position: relative;
  z-index: 1;
  padding: 32px;
  width: 100%;
  text-align: center;
}
.f-card-large .f-card-content { padding: 40px 32px; }
.f-card-icon { font-size: 22px; margin-bottom: 8px; opacity: 0.9; }
.f-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.f-card-small .f-card-content h3 {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}
.f-card-small .f-card-content { text-align: left; }
.f-card-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-cards { grid-template-columns: 1fr; }
  .f-card-large { grid-row: auto; min-height: 320px; }
}

/* ========== MAIN CONTENT ========== */
.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 60px;
}
.content-wrap h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
}
.content-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}
.content-wrap p {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.75;
}
.content-wrap ul, .content-wrap ol {
  margin: 0 0 18px 24px;
  padding-left: 4px;
}
.content-wrap li {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.7;
}
.content-wrap a {
  color: var(--blue);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.content-wrap a:hover { border-bottom-color: var(--blue); }
.content-wrap strong { font-weight: 700; }

/* ========== FAQ (accordion) ========== */
.faq-list { margin-top: 16px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--blue); }
.faq-q .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue);
  transition: transform 0.3s;
  font-weight: 300;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 8px 18px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== CONTACT TEXT ========== */
.contact-text {
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  margin: 30px 0 50px;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--black);
  padding: 56px 32px;
}
.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
}
.cta-inner h2 .y {
  color: var(--yellow);
  display: block;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  border: 1px solid var(--white);
  border-radius: 6px;
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-outline-white:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 32px 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 32px;
  border-top: 1px solid var(--border-dark);
  padding-top: 32px;
}
.footer-logo-card {
  background: var(--white);
  padding: 24px 28px;
  border-radius: 6px;
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  text-align: center;
}
.footer-info h4 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
}
.footer-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 6px;
}
.footer-info a { color: rgba(255, 255, 255, 0.85); }
.footer-info a:hover { color: var(--yellow); }
.footer-links {
  margin-top: 24px;
  display: flex;
  gap: 24px;
  font-size: 13px;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: var(--yellow); }
.footer-blue-bar {
  background: var(--blue);
  height: 40px;
}
.footer-floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 50;
}
.footer-floating a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  transition: transform 0.2s;
}
.footer-floating a:hover { transform: scale(1.05); }
.footer-floating a.fb { background: var(--blue); color: var(--white); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-logo-card { min-width: auto; }
}
