/* ===============================
   CRITICAL LAYOUT CSS
   Header + Hero (LCP safe)
================================ */

/* Minimal Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

/* ===============================
   Header
================================ */
header,
.main-header {
  width: 100%;
  position: relative;
  z-index: 100;
  background: #fff;
}

.header-inner,
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header-logo img {
  max-width: 160px;
  height: auto;
  display: block;
}

/* Navigation (desktop only) */
.main-menu {
  display: flex;
  gap: 24px;
}

.main-menu a {
  text-decoration: none;
  font-weight: 500;
  color: #111;
  font-size: 15px;
}

/* ===============================
   Hero / Banner (LCP)
================================ */
.hero,
.banner,
.main-slider {
  width: 100%;
  height: 100svh; /* prevents mobile CLS */
  position: relative;
  overflow: hidden;
}

.main-slider .swiper-wrapper,
.main-slider .swiper-slide {
  height: 100%;
}

.hero img,
.banner img,
.main-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero content */
.hero-content,
.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* CTA Button */
.hero-btn,
.btn {
  display: inline-block;
  padding: 12px 26px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

/* ===============================
   Mobile Safe Defaults
================================ */
@media (max-width: 768px) {
  .main-menu {
    visibility: hidden; /* avoids CLS */
  }

  .hero,
  .banner,
  .main-slider {
    height: 70svh;
  }
}
