/* assets/css/header.css */
:root {
  --accent: #eb5013;
  --accent-dark: #d94410;
  --bg: #fff;
  --dark: #111827;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --header-h: 80px;
  font-family: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--dark); }

/* Header */
.ktt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  box-shadow: var(--shadow);
}
.ktt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;       /* vertical centering of everything */
  justify-content: space-between;
  gap: 18px;
}

/* Brand */
.ktt-brand { display: flex; align-items: center; }

.ktt-logo-link {
  display: flex;            /* ensures logo + text are aligned vertically */
  align-items: center;
  gap: 12px;
  text-decoration: none;    /* remove underline */
  color: inherit;           /* inherit text color */
  line-height: 1;
  outline: none;
}
.ktt-logo-link:visited,
.ktt-logo-link:hover,
.ktt-logo-link:active { text-decoration: none; color: inherit; }

/* Logo size adjusted smaller as requested */
.ktt-logo {
  width: 56px;              /* reduced size */
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

/* Site name - no underline, vertically aligned with nav */
.ktt-site-name {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  line-height: 1;           /* assures vertical centering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Desktop nav */
.ktt-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  align-items: center;    /* keep nav links vertically aligned */
}
.ktt-nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 180ms;
}
.ktt-nav-link:hover,
.ktt-nav-link:focus { color: var(--accent); outline: none; }

/* CTA style */
.ktt-cta {
  background: linear-gradient(90deg,var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(235,80,19,0.12);
}

/* Hamburger (mobile) */
.ktt-hamburger {
  display: none;
  width: 28px;
  height: 22px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.ktt-hamburger span {
  display: block;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: transform 220ms, opacity 220ms, background 220ms;
}
.ktt-hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); background: #fff; }
.ktt-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ktt-hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); background: #fff; }
.ktt-hamburger.open { background: var(--accent); border-radius: 6px; padding: 4px; }

/* Mobile menu (simple slide/fade) */
.ktt-mobile-menu {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--bg);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  z-index: 999;
  animation: none;
}
.ktt-mobile-menu.open {
  display: block;
  animation: slideFadeIn 260ms ease forwards;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ktt-mobile-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ktt-mobile-list a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 18px; }
.ktt-mobile-list a:hover { color: var(--accent); }

/* Responsive adjustments */
@media (max-width: 900px) {
  .ktt-nav { display: none; }
  .ktt-hamburger { display: flex; }
  .ktt-site-name { font-size: 18px; }
  .ktt-logo { width: 48px; height: 48px; }
}
