/*
Theme Name: Weebix Child
Theme URI: https://techwinder.com
Description: Child theme for Weebix theme - TechWinder customizations
Author: TechWinder
Author URI: https://techwinder.com
Template: weebix
Version: 1.0.0
*/

:root {
  --twh-primary: #15161b;
  --twh-purple: #5d56f1;
  --twh-purple-dark: #4b43df;
  --twh-purple-soft: #f4f3ff;
  --twh-muted: #646b7a;
  --twh-bg: #ffffff;
  --twh-bg-soft: #f9f9fc;
  --twh-line: #e3e6f0;
  --twh-shadow: 0 16px 48px rgba(21, 22, 27, 0.06);
  --twh-shadow-hover: 0 24px 64px rgba(93, 86, 241, 0.12);
}

/* Common Layout Elements */
.twh-section-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Custom Header styles */
.twh-header, 
.twh-header a, 
.twh-header span, 
.twh-header div, 
.twh-header button {
  font-family: "Manrope", sans-serif !important;
}

.twh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--twh-line);
}

.twh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.twh-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--twh-primary) !important;
  text-decoration: none;
}

.twh-logo span {
  color: var(--twh-purple) !important;
}

.twh-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.twh-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--twh-muted) !important;
  text-decoration: none;
  transition: all 0.25s ease;
}

.twh-nav a:hover,
.twh-nav a.active {
  color: var(--twh-purple) !important;
}

.twh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  font-family: "Manrope", sans-serif !important;
}

.twh-btn-primary {
  background: var(--twh-purple) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(93, 86, 241, 0.2);
}

.twh-btn-primary:hover {
  background: var(--twh-purple-dark) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.twh-btn-ghost {
  border-color: var(--twh-line) !important;
  color: var(--twh-primary) !important;
  background: transparent !important;
}

.twh-btn-ghost:hover {
  border-color: var(--twh-purple) !important;
  color: var(--twh-purple) !important;
  background: var(--twh-purple-soft) !important;
}

/* Custom Footer */
.twh-footer,
.twh-footer a,
.twh-footer h2,
.twh-footer h3,
.twh-footer p,
.twh-footer span {
  font-family: "Manrope", sans-serif !important;
}

.twh-footer {
  background: var(--twh-primary);
  color: rgba(255, 255, 255, 0.65) !important;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.twh-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 40px;
  margin-bottom: 60px;
}

.twh-footer-brand h2 {
  color: #fff !important;
  font-size: 22px;
  margin-bottom: 16px;
}

.twh-footer-brand p {
  font-size: 14px;
  max-width: 280px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.65) !important;
}

.twh-footer-col h3 {
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.twh-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.twh-footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none;
  transition: all 0.25s ease;
}

.twh-footer-links a:hover {
  color: #fff !important;
}

.twh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Responsive styles for Header and Footer */
@media (max-width: 768px) {
  .twh-header-inner {
    height: 70px;
  }
  
  .twh-nav {
    display: none; /* In production, a hamburger toggle can be added */
  }
  
  .twh-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .twh-footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

