/* header.css - Reusable Header Styles */

:root {
  --accent: #4ecdc4;
  --accent-dim: rgba(78, 205, 196, 0.15);
  --white: #ffffff;
  --white-dim: rgba(255,255,255,0.75);
  --white-faint: rgba(255,255,255,0.15);
  --header-height: 72px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: url("../_resource/img/bg.webp") no-repeat center center fixed;
  background-size: cover;
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(10, 20, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(78, 205, 196, 0.12);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.logo-circle {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-circle svg { width: 100%; height: 100%; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.04em;
}

.logo-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 8px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  text-decoration: none;
  text-transform: capitalize;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(to left, transparent, #4ecdc4, transparent);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-btn {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  text-transform: capitalize;
  padding: 9px 24px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* Mobile Call Now — left of hamburger, small screens only */
.mobile-call-btn {
  display: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  text-transform: capitalize;
  padding: 9px 24px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mobile-call-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay */
.panel-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 990;
  transition: background 0.35s;
  pointer-events: none;
}

.panel-overlay.open {
  background: rgba(0, 0, 0, 0.55);
  pointer-events: all;
}

/* Slide Panel */
.slide-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 72%;
  max-width: 320px;
  background: rgba(8, 18, 22, 0.98);
  backdrop-filter: blur(16px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(78, 205, 196, 0.15);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.slide-panel.open {
  transform: translateX(0);
}

/* Panel top bar — logo + close */
.slide-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(78, 205, 196, 0.12);
  flex-shrink: 0;
}

.slide-panel-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.slide-panel-logo .logo-circle {
  width: 34px;
  height: 34px;
}

.slide-panel-logo .logo-main {
  font-size: 15px;
}

.slide-panel-logo .logo-sub {
  font-size: 7px;
}

.slide-panel-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  transition: all 0.3s;
  flex-shrink: 0;
}

.slide-panel-close:hover {
  color: var(--accent);
  border-color: rgba(78, 205, 196, 0.4);
}

.slide-panel-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* Panel nav links */
.slide-panel-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 32px;
  flex: 1;
  overflow-y: auto;
}

.slide-panel-link {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s;
  display: block;
}

.slide-panel-link:last-of-type {
  border-bottom: none;
}

.slide-panel-link:hover {
  color: var(--accent);
}

.slide-panel-cta {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  transition: all 0.3s;
  text-align: center;
}

.slide-panel-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .cta-btn { display: none; }
  .menu-toggle { display: flex; }
  .mobile-call-btn { display: inline-block; }
  .panel-overlay { display: block; }
  .site-header { padding: 0 24px; }
}

@media (max-width: 480px) {
  .logo-text { display: none; }
}


.logo-image{
  width: 5rem;
}