/* ============================================
   COMPONENTS — Steky Studio
   Navbar, Footer, Forms, Mobile Menu
   ============================================ */

/* ---- Navbar ---- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(43, 33, 25, 0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px 0;
}

.navbar.scrolled {
  backdrop-filter: blur(12px);
  background: rgba(43, 33, 25, 0.85);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-logo svg {
  height: 40px;
  width: auto;
}

/* Make navbar wordmark (STEKY STUDIO) beige for readability on dark bg */
.navbar-logo svg > g:first-child path {
  fill: #E5D4C0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  color: #F6F2EC;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: #006D6F;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #006D6F;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-cta {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 24px;
  border-radius: 8px;
  background: #006D6F;
  color: #FFFFFF;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-cta:hover {
  background: #005456;
  box-shadow: 0 4px 16px rgba(0, 109, 111, 0.3);
  transform: translateY(-1px);
}

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

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #F6F2EC;
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Mobile Menu Overlay ---- */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #2B2119;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  color: #F6F2EC;
  text-decoration: none;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu a:hover {
  color: #006D6F;
}

/* ---- Footer ---- */

.footer {
  position: relative;
  overflow: hidden;
  background: #2B2119;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand svg {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(229, 212, 192, 0.7);
  font-size: 15px;
  line-height: 1.6;
  max-width: 280px;
}

.footer h4 {
  color: #F6F2EC;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(229, 212, 192, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #006D6F;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(246, 242, 236, 0.06);
  border: 1px solid rgba(229, 212, 192, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F6F2EC;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: rgba(0, 109, 111, 0.2);
  border-color: rgba(0, 109, 111, 0.3);
  color: #006D6F;
}

.footer-bottom {
  border-top: 1px solid rgba(229, 212, 192, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(229, 212, 192, 0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(229, 212, 192, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #006D6F;
}

/* ---- Form Inputs ---- */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #F6F2EC;
}

input,
textarea,
select {
  background: rgba(246, 242, 236, 0.06);
  border: 1.5px solid rgba(229, 212, 192, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #F6F2EC;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #006D6F;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 109, 111, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: rgba(229, 212, 192, 0.4);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23E5D4C0' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select option {
  background: #2B2119;
  color: #F6F2EC;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ---- Language Switcher ---- */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
}

.lang-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(229, 212, 192, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.lang-link:hover {
  color: #F6F2EC;
}

.lang-link.active {
  color: #006D6F;
  font-weight: 700;
}

.lang-divider {
  color: rgba(229, 212, 192, 0.2);
  font-size: 12px;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-links,
  .navbar-cta,
  .lang-switcher {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu .lang-switcher {
    display: flex;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ---- Custom Cursor ---- */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #006D6F;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(0, 109, 111, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
}

.cursor-dot.cursor-hover {
  transform: scale(2);
  background: #922B3E;
}

.cursor-follower.cursor-hover {
  transform: scale(1.5);
  border-color: rgba(146, 43, 62, 0.4);
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-follower {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-dot,
  .cursor-follower {
    display: none !important;
  }
}
