/* ============================================================
   WINX DIGITAL SOLUTIONS — Public Website Styles
   ============================================================ */

:root {
  --royal-blue: #1a3f8f;
  --blue-mid:   #2255b8;
  --blue-light: #e8efff;
  --accent:     #f0a500;
  --white:      #ffffff;
  --text-dark:  #0d1b2a;
  --text-muted: #6b7a99;
  --bg-light:   #f7f9ff;
  --border:     #dde4f5;
  --radius:     14px;
  --shadow:     0 4px 24px rgba(26,63,143,0.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; }
a { text-decoration: none; color: inherit; }

/* ===== ADMIN LOGIN TINY BUTTON ===== */
.admin-login-btn {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  opacity: 0.4;
}
.admin-login-btn:hover {
  background: var(--royal-blue);
  color: var(--white);
  opacity: 1;
  border-color: var(--royal-blue);
}

/* ===== NAVBAR ===== */
#mainNav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: box-shadow 0.3s;
}
#mainNav.scrolled { box-shadow: 0 2px 20px rgba(26,63,143,0.1); }
.navbar-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--royal-blue);
  display: inline-flex; align-items: center;
}
.navbar-brand img {
  height: 50px; /* matches .admin-login-btn height */
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.brand-w { color: var(--accent); font-size: 1.3em; }
.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 6px 14px !important;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--blue-light); color: var(--royal-blue) !important; }

/* ===== BUTTONS ===== */
.btn-primary-winx {
  background: var(--royal-blue);
  color: var(--white) !important;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary-winx:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,63,143,0.25);
}
.btn-outline-winx {
  border: 2px solid var(--royal-blue);
  color: var(--royal-blue) !important;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline-winx:hover {
  background: var(--royal-blue);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ===== SECTION HELPERS ===== */
.section-pad { padding: 100px 0; }
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== HERO ===== */
.hero-section {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 60%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-text { padding: 40px 0 40px 40px; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 16px;
}
.hero-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.hero-heading .accent { color: var(--royal-blue); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { padding: 60px 20px; }
.hero-mockup {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 20px 60px rgba(26,63,143,0.18));
}
.mockup-browser {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.mockup-bar {
  background: #f2f4f8;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e0e0e0; }
.mockup-bar span:nth-child(1) { background: #ff6b6b; }
.mockup-bar span:nth-child(2) { background: #ffd93d; }
.mockup-bar span:nth-child(3) { background: #6bcb77; }
.mockup-url {
  flex: 1;
  background: var(--white);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 3px 10px;
  margin-left: 8px;
  border: 1px solid var(--border);
}
.mockup-screen { padding: 20px; background: var(--bg-light); min-height: 200px; }
.mockup-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--royal-blue), var(--blue-mid));
  margin-bottom: 10px;
  opacity: 0.2;
}
.mockup-line.w-60 { width: 60%; opacity: 0.5; }
.mockup-line.w-40 { width: 40%; }
.mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.mockup-card { height: 80px; background: var(--white); border-radius: 8px; border: 1px solid var(--border); }

/* ===== SERVICES ===== */
#services { background: var(--bg-light); }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  height: 100%;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--royal-blue);
}
.service-card.featured {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(26,63,143,0.1);
}
.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--royal-blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: var(--royal-blue);
}
.card-title { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.card-price { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 600; color: var(--royal-blue); margin-bottom: 10px; }
.card-desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.card-features { list-style: none; padding: 0; margin-bottom: 20px; }
.card-features li { font-size: 0.85rem; color: var(--text-dark); padding: 4px 0; display: flex; align-items: flex-start; gap: 6px; }
.card-features li .bi { color: var(--royal-blue); margin-top: 2px; flex-shrink: 0; }
.btn-book {
  display: block; width: 100%; text-align: center;
  background: var(--blue-light);
  color: var(--royal-blue) !important;
  border-radius: 8px; padding: 10px;
  font-weight: 600; font-size: 0.875rem;
  transition: background 0.2s, color 0.2s;
}
.btn-book:hover { background: var(--royal-blue); color: var(--white) !important; }

/* ===== TEAM ===== */
.team-section { background: var(--white); }
.team-card {
  text-align: center; padding: 32px 20px;
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--blue-light);
  background: var(--bg-light);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name  { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.team-role  { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--royal-blue); margin-bottom: 10px; }
.team-bio   { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.team-socials { display: flex; gap: 10px; justify-content: center; }
.team-socials a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); border-radius: 8px; color: var(--royal-blue);
  font-size: 1rem; transition: background 0.2s, color 0.2s, transform 0.15s;
  border: 1px solid var(--border);
}
.team-socials a:hover { background: var(--royal-blue); color: var(--white); transform: translateY(-3px); }

/* ===== CONTACT ===== */
.contact-section { background: var(--bg-light); }
.contact-desc { color: var(--text-muted); line-height: 1.7; margin: 16px 0 28px; font-size: 1rem; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-links a { display: flex; align-items: center; gap: 10px; color: var(--text-dark); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.contact-links a .bi { color: var(--royal-blue); font-size: 1.1rem; }
.contact-links a:hover { color: var(--royal-blue); }
.contact-form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow);
}
.form-title { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; }
label { font-size: 0.83rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; display: block; }
.form-control, .form-select {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 14px; font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(26,63,143,0.1);
  outline: none;
}
.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.success-card { padding: 60px 36px; }
.success-icon { font-size: 3.5rem; color: #28a745; display: block; margin-bottom: 20px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer-brand { font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.footer-tagline { font-style: italic; font-size: 0.9rem; margin-bottom: 10px; }
.footer-copy { font-size: 0.78rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-text { padding: 30px 15px; text-align: center; }
  .hero-ctas { justify-content: center; }
  .section-pad { padding: 70px 0; }
}
@media (max-width: 575px) {
  .contact-form-card { padding: 24px 18px; }
  .hero-heading { font-size: 1.8rem; }
}
