/* Wakamoni static website styles */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #323232;
  --muted: rgba(50, 50, 50, 0.72);
  --accent: #fda000;
  --accent-light: #ffe2a4;
  --border: rgba(50, 50, 50, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.hero {
  padding: 5rem 0;
  background-image: url("assets/images/bg-background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #000000;
  min-height: 400px;
}

.hero h1,
.hero h2 {
  color: #000000;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero p {
  max-width: 640px;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.section-light,
.section-dark {
  padding: 4rem 0;
}

.section-dark {
  background: #323232;
  color: #ffffff;
}

.section-dark h2,
.section-dark p {
  color: inherit;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-row section {
  background: var(--surface);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border);
  margin-top: 50px;
}

.section-copy p {
  max-width: 40rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-copy h2 {
  text-align: center;
  font-size: 2rem;
}

.vision-section h2 {
  text-align: center;
}

.vision-section p {
  max-width: 48rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 1.12rem;
  text-align: justify;
  line-height: 1.8;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(50, 50, 50, 0.08);
}

.feature-card h3 {
  margin-top: 0;
}

.feature-detail-card {
  max-width: 500px;
  margin: 2rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(50, 50, 50, 0.08);
}

.feature-detail-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-detail-copy {
  padding: 1.75rem;
}

.feature-detail-copy h3 {
  margin: 0 0 0.75rem;
  color: var(--text);
}

.feature-detail-copy p {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  color: var(--muted);
}

/* ==========================================================================
   FEATURES SECTION STYLES (Scoped)
   ========================================================================== */

/* Importing the font if your project doesn't have it already */

.features-section {
  background: #ffffff;
  color: var(--text);
  padding: 80px 20px;
  box-sizing: border-box;
}

/* Scoped box-sizing reset for just this section's children */
.features-section *,
.features-section *::before,
.features-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.features-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: stretch;
  gap: 50px;
}

/* ===========================
   LEFT IMAGE
=========================== */

.features-section .image-column {
  flex: 1.1;
}

.features-section .image-column img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* ===========================
   RIGHT CONTENT
=========================== */

.features-section .content-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-section .feature-card {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 15px;
  background: white;
  border-radius: 6px;
  transition: 0.3s ease;
}

.features-section .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(50, 50, 50, 0.12);
}

.features-section .icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.features-section .icon svg {
  width: 26px;
  height: 26px;
}

.features-section .feature-content {
  flex: 1;
}

.features-section .feature-content h2 {
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 14px;
}

.features-section .feature-content p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 992px) {
  .features-container {
    flex-direction: column;
  }

  .features-section .image-column img {
    min-height: 380px;
  }

  .features-section .content-column {
    gap: 20px;
  }

  .features-section .feature-card {
    flex: none;
  }
}

@media (max-width: 600px) {
  .features-section {
    padding: 50px 20px;
  }

  .features-section .image-column {
    display: none;
  }

  .features-section .feature-card {
    flex-direction: column;
    padding: 25px;
  }

  .features-section .icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
  }

  .features-section .feature-content h2 {
    font-size: 1.3rem;
  }

  .features-section .feature-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 840px) {
  .section-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero {
    padding: 3rem 0;
  }
}
