/* ============================================================
   BKC LAYOUT — Header, Navigation, Footer, Page-Header
   ============================================================ */


/* -------------------------------------------------------
   HEADER (Carne-inspired: dark logo area + accent nav bar)
   ------------------------------------------------------- */

.bkc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--bkc-transition), box-shadow var(--bkc-transition);
}

/* Default state: dark background always visible */
.bkc-header--transparent {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Scrolled / sticky state */
.bkc-header--scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.bkc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bkc-header-height);
  max-width: var(--bkc-container-wide);
  margin: 0 auto;
  padding: 0 var(--bkc-gutter);
}


/* --- Logo --- */

.bkc-header__logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}


/* --- Desktop Navigation --- */

.bkc-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.bkc-nav__link {
  font-family: var(--bkc-font-body);
  font-size: 0.8rem;
  font-weight: var(--bkc-fw-semibold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--bkc-text);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--bkc-transition);
}

.bkc-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bkc-accent);
  transition: width var(--bkc-transition);
}

.bkc-nav__link:hover,
.bkc-nav__link--active {
  color: var(--bkc-accent);
}

.bkc-nav__link:hover::after,
.bkc-nav__link--active::after {
  width: 100%;
}


/* --- Header Right (Phone + CTA) --- */

.bkc-header__actions {
  display: flex;
  align-items: center;
  gap: var(--bkc-space-md);
}

.bkc-header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bkc-text);
  font-size: var(--bkc-fs-small);
  font-weight: var(--bkc-fw-semibold);
  text-decoration: none;
  transition: color var(--bkc-transition);
}

.bkc-header__phone svg {
  width: 16px;
  height: 16px;
  fill: var(--bkc-accent);
}

.bkc-header__phone:hover {
  color: var(--bkc-accent);
}


/* --- Hamburger (Mobile) --- */

.bkc-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.bkc-hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--bkc-text);
  transition: transform var(--bkc-transition), opacity var(--bkc-transition);
}

/* Hamburger → X animation */
.bkc-hamburger--open .bkc-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bkc-hamburger--open .bkc-hamburger__line:nth-child(2) {
  opacity: 0;
}

.bkc-hamburger--open .bkc-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* --- Mobile Navigation Panel --- */

.bkc-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
}

.bkc-mobile-overlay--visible {
  display: block;
}

.bkc-mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bkc-bg-tertiary);
  z-index: 999;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: right 0.4s ease;
  padding: 5rem var(--bkc-space-lg) var(--bkc-space-lg);
}

.bkc-mobile-nav--open {
  right: 0;
}

.bkc-mobile-nav__close {
  position: absolute;
  top: var(--bkc-space-md);
  right: var(--bkc-space-md);
  background: none;
  border: none;
  color: var(--bkc-text);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.bkc-mobile-nav__link {
  display: block;
  padding: var(--bkc-space-sm) 0;
  border-bottom: 1px solid var(--bkc-border);
  color: var(--bkc-text);
  font-size: 1rem;
  font-weight: var(--bkc-fw-medium);
  text-decoration: none;
  transition: color var(--bkc-transition);
}

.bkc-mobile-nav__link:hover,
.bkc-mobile-nav__link--active {
  color: var(--bkc-accent);
}

.bkc-mobile-nav__cta {
  display: block;
  margin-top: var(--bkc-space-lg);
  text-align: center;
}

.bkc-mobile-nav__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--bkc-space-sm);
  color: var(--bkc-text-muted);
  font-size: var(--bkc-fs-small);
  text-decoration: none;
}


/* --- Header responsive --- */

@media (max-width: 991px) {
  .bkc-nav {
    display: none;
  }

  .bkc-header__phone {
    display: none;
  }

  .bkc-hamburger {
    display: flex;
  }

  .bkc-header__inner {
    height: 70px;
  }

  .bkc-header__logo img {
    height: 55px;
  }
}


/* -------------------------------------------------------
   PAGE HEADER (Lezzatos-inspired dark banner)
   ------------------------------------------------------- */

.bkc-page-header {
  background: var(--bkc-bg-tertiary);
  padding-top: calc(var(--bkc-header-height) + var(--bkc-space-3xl));
  padding-bottom: var(--bkc-space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Optional texture overlay */
.bkc-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 98, 45, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bkc-page-header h1 {
  position: relative;
  z-index: 1;
  font-size: var(--bkc-fs-h2);
}

.bkc-page-header__breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--bkc-space-sm);
  font-size: var(--bkc-fs-small);
  color: var(--bkc-text-muted);
}

.bkc-page-header__breadcrumb a {
  color: var(--bkc-text-muted);
  text-decoration: none;
}

.bkc-page-header__breadcrumb a:hover {
  color: var(--bkc-accent);
}

.bkc-page-header__breadcrumb .sep {
  color: var(--bkc-border);
}

@media (max-width: 991px) {
  .bkc-page-header {
    padding-top: calc(70px + var(--bkc-space-2xl));
    padding-bottom: var(--bkc-space-xl);
  }
}


/* -------------------------------------------------------
   FOOTER (Lezzatos-inspired, 3 columns, dark)
   ------------------------------------------------------- */

.bkc-footer {
  background: var(--bkc-bg-tertiary);
  padding-top: var(--bkc-space-3xl);
  border-top: 1px solid var(--bkc-border);
}

.bkc-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--bkc-space-2xl);
}

.bkc-footer__logo {
  display: block;
  margin-bottom: var(--bkc-space-lg);
}

.bkc-footer__logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.bkc-footer__heading {
  font-family: var(--bkc-font-body);
  font-size: 1rem;
  font-weight: var(--bkc-fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bkc-headline);
  margin-bottom: var(--bkc-space-md);
  padding-bottom: var(--bkc-space-xs);
  position: relative;
}

.bkc-footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--bkc-accent);
}

.bkc-footer__text {
  color: var(--bkc-text-muted);
  font-size: var(--bkc-fs-small);
  line-height: 1.8;
}

.bkc-footer__nav-link {
  display: block;
  padding: 0.4rem 0;
  color: var(--bkc-text-muted);
  font-size: var(--bkc-fs-small);
  text-decoration: none;
  transition: color var(--bkc-transition), padding-left var(--bkc-transition);
}

.bkc-footer__nav-link:hover {
  color: var(--bkc-accent);
  padding-left: 6px;
}

/* Footer contact list */
.bkc-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--bkc-space-sm);
}

.bkc-footer__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--bkc-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.bkc-footer__contact-item span,
.bkc-footer__contact-item a {
  color: var(--bkc-text-muted);
  font-size: var(--bkc-fs-small);
  line-height: 1.6;
  text-decoration: none;
}

.bkc-footer__contact-item a:hover {
  color: var(--bkc-accent);
}

/* Social icons */
.bkc-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--bkc-space-md);
}

.bkc-footer__social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--bkc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bkc-text-muted);
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--bkc-transition);
}

.bkc-footer__social-link:hover {
  background: var(--bkc-accent);
  border-color: var(--bkc-accent);
  color: #fff;
}

.bkc-footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer bottom bar */
.bkc-footer__bottom {
  border-top: 1px solid var(--bkc-border);
  margin-top: var(--bkc-space-2xl);
  padding: var(--bkc-space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bkc-footer__bottom p {
  color: var(--bkc-text-muted);
  font-size: var(--bkc-fs-label);
  margin: 0;
}

.bkc-footer__bottom a {
  color: var(--bkc-text-muted);
  font-size: var(--bkc-fs-label);
  text-decoration: none;
}

.bkc-footer__bottom a:hover {
  color: var(--bkc-accent);
}

.bkc-footer__legal {
  display: flex;
  gap: var(--bkc-space-md);
}

/* Footer responsive */
@media (max-width: 991px) {
  .bkc-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--bkc-space-xl);
  }
}

@media (max-width: 575px) {
  .bkc-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--bkc-space-xl);
  }

  .bkc-footer__bottom {
    flex-direction: column;
    gap: var(--bkc-space-sm);
    text-align: center;
  }
}


/* -------------------------------------------------------
   WHATSAPP FLOATING BUTTON
   ------------------------------------------------------- */

.bkc-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: var(--bkc-radius-full);
  background: var(--bkc-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform var(--bkc-transition), background var(--bkc-transition);
  text-decoration: none;
}

.bkc-whatsapp:hover {
  transform: scale(1.1);
  background: #1da851;
}

.bkc-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
