/*
Theme Name: Pussihukka
Description: Pussihukka Oy – puunkaadon ammattilainen
Version: 1.0
Text Domain: pussihukka
*/

body { margin: 0; font-family: 'Barlow', sans-serif; }
.logo-font { font-family: 'Black Ops One', system-ui; }
.head-font { font-family: 'Barlow Condensed', sans-serif; }
a { color: #96101f; }
a:hover { color: #7c0d19; }

/* Page */
.page-wrapper { width: 100%; background: #fff; overflow: hidden; }

/* Nav */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 96px; background: #fff; border-bottom: 1px solid #eee;
  position: relative; z-index: 100;
}
.nav-left { display: flex; align-items: center; gap: 56px; }
.nav-logo,
.custom-logo { height: 60px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 38px;
  font-size: 20px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
}
.nav-link { color: #0a0a0a; text-decoration: none; }
.nav-link-dropdown {
  color: #0a0a0a; text-decoration: none;
  display: flex; align-items: center; gap: 6px; cursor: pointer;
}
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0; padding-top: 16px;
}
.nav-dropdown-wrap:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-box {
  background: #fff; border: 1px solid #eee;
  min-width: 260px; box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.nav-dropdown-link {
  display: block; padding: 14px 22px;
  color: #0a0a0a; text-decoration: none;
  font-size: 18px; border-bottom: 1px solid #eee;
}
.nav-dropdown-link:last-child { border-bottom: none; }
.nav-cta {
  background: #96101f; color: #fff; padding: 12px 26px;
  text-decoration: none; font-weight: 700; font-size: 20px;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.nav-cta:hover { color: #000; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: #0a0a0a;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px; background: #0a0a0a;
}
.hero-content {
  padding: 80px 64px; display: flex; flex-direction: column;
  justify-content: center; position: relative; z-index: 2;
}
.hero-title { font-size: 52px; color: #fff; line-height: 1.2; margin: 0; }
.hero-media { position: relative; overflow: hidden; }
.diag-stripe {
  position: absolute; inset: 0;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  background: repeating-linear-gradient(-45deg, #96101f 0 18px, #7c0d19 18px 36px);
}
.hero-img-wrap {
  position: absolute; inset: 0;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 12% 100%);
  background: #3a3a3a;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* About */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; padding: 96px 48px; align-items: center; background: #f7f7f7;
}
.section-label {
  color: #96101f; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 16px; margin-bottom: 14px;
}
.section-divider { width: 56px; height: 4px; background: #96101f; margin-bottom: 28px; }
.about-lead { font-size: 22px; line-height: 1.6; color: #0a0a0a; font-weight: 700; margin-bottom: 22px; }
.about-text { font-size: 19px; line-height: 1.7; color: #444; margin-bottom: 18px; }
.about-text:last-child { margin-bottom: 0; }
.about-video { aspect-ratio: 16/9; box-shadow: 0 24px 60px rgba(0,0,0,0.18); border-top: 4px solid #96101f; }
.about-video iframe { width: 100%; height: 100%; border: 0; }

/* Page content */
.page-content { padding: 96px 48px; }
.page-content p { font-size: 19px; line-height: 1.7; color: #444; margin-bottom: 18px; }
.page-content h2 { font-size: 28px; color: #0a0a0a; margin: 40px 0 16px; }
.page-content ul, .page-content ol { font-size: 19px; line-height: 1.7; color: #444; }
@media (max-width: 768px) {
  .hide-on-mobile { display: none !important; }
}

/* Contact */
.contact-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; padding: 96px 48px; align-items: start; background: #f7f7f7;
}
.contact-details { margin-top: 24px; font-size: 19px; line-height: 1.9; }
.contact-details a { color: #0a0a0a; text-decoration: none; }
.contact-details a:hover { color: #96101f; }
.contact-field { margin-bottom: 20px; }
.contact-field label { display: block; font-size: 15px; font-weight: 600; color: #0a0a0a; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-field input,
.contact-field textarea,
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea {
  width: 100%; box-sizing: border-box;
  padding: 12px 16px; border: 1px solid #ddd; background: #fff;
  font-family: 'Barlow', sans-serif; font-size: 17px; color: #0a0a0a;
  outline: none; border-radius: 0;
  transition: border-color 0.15s;
}
.contact-field input:focus,
.contact-field textarea:focus,
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-tel:focus,
.wpcf7-form .wpcf7-textarea:focus { border-color: #96101f; }
.wpcf7-form .wpcf7-textarea { min-height: 140px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
  background: #96101f; color: #fff; border: none; cursor: pointer;
  padding: 14px 36px; font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.15s;
}
.wpcf7-form .wpcf7-submit:hover { background: #7c0d19; }
.wpcf7-not-valid-tip { color: #96101f; font-size: 13px; margin-top: 4px; }
.wpcf7-response-output { margin-top: 20px; padding: 12px 16px; font-size: 15px; border: none !important; }

/* Footer */
.footer { position: relative; background: #0f0f0f; }
.footer-wave { display: block; width: 100%; height: 130px; }
.footer-content {
  padding: 8px 48px 40px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 48px;
}
.footer-col { color: #999; font-size: 16px; line-height: 1.9; }
.footer-col address { font-style: normal; }
.footer-company { color: #fff; font-size: 20px; margin-bottom: 10px; }
.footer-col-title { color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #2a2a2a; padding: 22px 48px;
  text-align: center; color: #777; font-size: 14px;
}

/* Info box */
.info-box {
  border: 2px dashed #96101f;
  background: #f7f7f7;
  padding: 28px 32px;
  margin: 32px 0;
}
.info-box-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #96101f;
  margin: 0 0 10px;
}
.info-box p {
  font-size: 19px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

/* ── Tablet ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  .nav-links { gap: 24px; font-size: 17px; }
  .hero-content { padding: 60px 40px; }
  .hero-title { font-size: 40px; }
  .about { padding: 72px 28px; gap: 40px; }
  .contact-section { padding: 72px 28px; gap: 40px; }
  .page-content { padding: 72px 28px; }
  .footer-content { padding: 8px 28px 32px; }
  .footer-bottom { padding: 18px 28px; }
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 20px; height: 72px; }
  .nav-hamburger { display: flex; }
  .nav-cta { padding: 9px 16px; font-size: 16px; }
  .nav-left { gap: 0; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0 16px;
    background: #fff; border-top: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    font-size: 17px;
  }
  .nav-links.is-open { display: flex; }
  .nav-link,
  .nav-link-dropdown { padding: 13px 24px; display: block; }
  .nav-link-dropdown svg { display: none; }

  /* Dropdown always visible inside mobile menu */
  .nav-dropdown-wrap { width: 100%; }
  .nav-dropdown-menu { display: block; position: static; padding: 0; }
  .nav-dropdown-box { box-shadow: none; border: none; border-radius: 0; min-width: 0; background: #f7f7f7; }
  .nav-dropdown-link { padding: 11px 24px 11px 38px; font-size: 15px; border-bottom: none; color: #555; }
  .nav-dropdown-wrap:hover .nav-dropdown-menu { display: block; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 48px 20px; }
  .hero-title { font-size: 30px; }
  .hero-media { min-height: 220px; }

  /* About */
  .about { grid-template-columns: 1fr; padding: 56px 20px; gap: 36px; }
  .about-lead { font-size: 19px; }
  .about-text { font-size: 17px; }

  /* Contact */
  .contact-section { grid-template-columns: 1fr; padding: 56px 20px; gap: 40px; }

  /* Page content */
  .page-content { padding: 56px 20px; }

  /* Footer */
  .footer-wave { height: 72px; }
  .footer-content { padding: 8px 20px 28px; gap: 32px; }
  .footer-bottom { padding: 16px 20px; }
}
