
/*
Theme Name: PLAMBAR v5.0
Theme URI: https://plambar.com
Author: PLAMBAR
Description: Pixel-faithful conversion of the provided multi-page HTML to a classic WordPress theme. Local hero images bundled.
Version: 5.0
Text Domain: plambar
License: GPL-2.0+
*/
/* === Desktop header cleanup === */
@media (min-width: 901px) {
  .site-logo img,
  .custom-logo,
  .logo-wrapper img {
    max-height: 60px !important;
    height: auto !important;
    width: auto !important;
  }

  /* make top nav horizontal on desktop */
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-links li {
    display: inline-block;
  }

  .nav-links a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
  }
}
/* === Hide footer (mobile menu container) on desktop === */
@media (min-width: 901px) {
  footer,
  .site-footer {
    display: none !important;
  }
}
/* === Hide mobile menu on desktop === */
@media (min-width: 901px) {
  #plmbar-mobile-menu,
  .plmbar-mobile-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}
/* === Footer styling === */
.site-footer {
  background: #2E2E2E;         /* dark graphite tone */
  color: #ffffff;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-copy {
  color: #cccccc;
}
/* === PLAMBAR horizontal menu hover + active animation === */

/* basic link style */
.plambar-header .nav-links a {
  position: relative;
  text-decoration: none;
  color: #1E1E1E;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

/* underline pseudo-element */
.plambar-header .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #3875B9; /* PLAMBAR blue */
  transition: width 0.3s ease;
}

/* hover effect */
.plambar-header .nav-links a:hover {
  color: #3875B9;
}
.plambar-header .nav-links a:hover::after {
  width: 100%;
}

/* active / current page highlight */
.plambar-header .nav-links .current-menu-item > a,
.plambar-header .nav-links .current_page_item > a {
  color: #fff !important;
  background-color: #3875B9 !important;
  border-radius: 4px;
  padding: 0.5rem 1.25rem;
}

.plambar-header .nav-links .current-menu-item > a::after,
.plambar-header .nav-links .current_page_item > a::after {
  width: 100%;
  background-color: transparent;
}
/* === Enlarge horizontal menu buttons (desktop only) === */
@media (min-width: 901px) {
  .plambar-header .nav-links a {
    font-size: 1.05rem;            /* increase text size */
    padding: 0.75rem 1.5rem;       /* more vertical + horizontal space */
    border-radius: 4px;            /* keep smooth edges */
  }

  /* make the active blue button slightly bigger for balance */
  .plambar-header .nav-links .current-menu-item > a,
  .plambar-header .nav-links .current_page_item > a {
    padding: 0.75rem 1.75rem;
  }
}
/* === Header fade-in / slide-down animation === */
@keyframes headerFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.plambar-header {
  animation: headerFadeSlide 0.8s ease-out forwards;
}

/* optional: add slight delay for logo/menu so they appear together */
.plambar-header .logo-wrapper,
.plambar-header .nav-links {
  animation: headerFadeSlide 0.8s ease-out forwards;
  animation-delay: 0.1s;
}
/* === Hero Section Fade + Slide Animation === */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animate hero text and buttons sequentially */
.hero h1 {
  opacity: 0;
  animation: heroFadeUp 1s ease-out 0.4s forwards;
}

.hero p {
  opacity: 0;
  animation: heroFadeUp 1s ease-out 0.6s forwards;
}

.hero .hero-buttons {
  opacity: 0;
  animation: heroFadeUp 1s ease-out 0.8s forwards;
}
/* === Hero Buttons Hover Animation (lift + color invert) === */
.hero .hero-buttons a {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
  transform: translateY(0);
}

/* Primary button (white background / blue text) */
.hero .btn-primary {
  background-color: #ffffff;
  color: #3875B9;
}

.hero .btn-primary:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Secondary button (transparent background / white border) */
.hero .btn-secondary {
  background-color: transparent;
  color: #ffffff;
}

.hero .btn-secondary:hover {
  background-color: #ffffff;
  color: #3875B9;
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Add small staggered hover feel on mobile tap */
.hero .hero-buttons a:active {
  transform: scale(0.97);
}
.contact-page {
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-page label {
  display: block;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.contact-page input,
.contact-page textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-page button.btn-primary {
  margin-top: 1.5rem;
  background-color: #3875B9;
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-page button.btn-primary:hover {
  background-color: #285a8c;
}

.contact-success {
  background: #e6f7ee;
  color: #2e7d32;
  border: 1px solid #b2dfdb;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-error {
  background: #fff3e0;
  color: #c62828;
  border: 1px solid #ffcdd2;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  text-align: center;
}