/*
Theme Name:fukasawa-child
Template:fukasawa
Version:2.1.3
*/

/* ── delasol common nav (ported from delasol.jp/css/style.css) ── */
:root {
  --sun-gold:    #F8B500;
  --brand-blue:  #004990;
  --charcoal:    #303030;
  --mid-gray:    #647080;
  --light-gray:  #D8E2EE;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 4rem;
  background: rgba(255,253,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  transition: color 0.3s;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}

nav a:hover { color: var(--brand-blue); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--charcoal);
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-fullscreen {
  position: fixed;
  inset: 0;
  background: #004990;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-fullscreen.is-open {
  transform: translateY(0);
}

.nav-fullscreen-logo {
  width: 100px;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.nav-fullscreen ul {
  list-style: none;
  text-align: center;
  width: 240px;
}

.nav-fullscreen ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-fullscreen ul li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-fullscreen ul a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-fullscreen ul a:hover {
  color: var(--sun-gold);
}

body.menu-open {
  overflow: hidden;
}

/* Fukasawa's own sidebar/mobile-navigation markup is no longer output by
   header.php, so give the content area a plain full-width layout with
   room for the fixed nav instead of the 280px sidebar margin. */
.wrapper {
  margin-left: 0;
  padding-top: 76px;
}

@media (max-width: 1024px) {
  nav {
    padding: 1.2rem 2rem;
  }

  nav > ul {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* ── Portfolio post cards ── */
.posts .post-title {
  font-size: 1rem;
}

.post-category {
  margin-top: 8px;
  font-size: 0.7em;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  color: var(--brand-blue);
}

/* ── Category filter buttons ── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 30px;
  padding-left: 10px;
}

.filter-tab {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: uppercase;
  border: 1px solid var(--light-gray);
  background: #fff;
  cursor: pointer;
  color: var(--mid-gray);
  text-decoration: none;
  transition: all 0.3s;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

/* ── Pagination ── */
.pagination-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 70px;
}

.pagination-tab {
  padding: 10px;
  font-size: 1rem;
}

.pagination-dots {
  padding: 10px 4px;
  color: var(--mid-gray);
}

/* ── Single post title ── */
.post-header h1,
.post.single .post-title {
  font-size: 1.8rem;
}
