/*
Theme Name: Timeshare Ninjas
Theme URI: https://timeshareninjas.com/
Author: Timeshareninjas
Author URI: https://timeshareninjas.com/
Description: Minimal, high-converting theme for TimeshareNinjas.com using Tailwind utility classes.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: timeshare-ninjas
*/
/* === Timeshare Ninjas main menu === */

.tsn-main-menu,
.tsn-main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top-level items */
.tsn-main-menu > li {
  position: relative;
}

.tsn-main-menu > li > a {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  white-space: nowrap; /* keeps top-level labels on one line */
  text-decoration: none;
}

/* Hover state for top level */
.tsn-main-menu > li > a:hover {
  color: #162A4B; /* brand navy */
}

/* Submenu base */
.tsn-main-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.5rem;
  min-width: 220px;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  display: none;
  z-index: 50;
}

/* Submenu items */
.tsn-main-menu .sub-menu li a {
  display: block;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  color: #4b5563; /* gray-700 */
  text-decoration: none;
  white-space: normal; /* wrapping is fine inside dropdown */
}

.tsn-main-menu .sub-menu li a:hover {
  background: #f3f4f6; /* gray-100 */
  color: #111827;      /* gray-900 */
}

/* Show submenu on hover */
.tsn-main-menu li:hover > .sub-menu {
  display: block;
}

/* Make sure big logo + nav stay nicely aligned */
header .tsn-main-menu > li > a {
  line-height: 1.3;
}

/* Brand helpers */
.tsn-header-strip {
  background: #162A4B;
}

/* Hero background */
.tsn-hero {
  background:
    radial-gradient(65% 70% at 100% 0%, rgba(72,127,255,0.18), transparent),
    linear-gradient(180deg, #ffffff, rgba(22,42,75,0.03));
}

/* Dark hero form panel */
.tsn-hero-panel {
  background: linear-gradient(135deg, #162A4B, #0B1527);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Gradient buttons */
.tsn-cta-gradient {
  background: linear-gradient(90deg,#162A4B,#487FFF);
}

/* Pills */
.tsn-pill {
  border-color: #487FFF;
  color: #162A4B;
  background-color: #f3f7ff;
}

/* Main menu styling + dropdowns */
.tsn-main-menu,
.tsn-main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tsn-main-menu > li {
  position: relative;
}

.tsn-main-menu > li > a {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.tsn-main-menu > li > a:hover {
  color: #162A4B;
  border-bottom-color: #487FFF;
}

/* Submenu dropdown */
.tsn-main-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.5rem;
  min-width: 220px;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  display: none;
  z-index: 50;
}

.tsn-main-menu .sub-menu li a {
  display: block;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  color: #4b5563;
  text-decoration: none;
}

.tsn-main-menu .sub-menu li a:hover {
  background: #f3f4f6;
  color: #111827;
}

.tsn-main-menu li:hover > .sub-menu {
  display: block;
}
/* ====== Premium polish / brand helpers ====== */

/* Slightly more refined base typography */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
}

/* Top strip: very subtle gradient instead of flat navy */
.tsn-header-strip {
  background: linear-gradient(90deg, #0f1a33, #162a4b 40%, #23468b);
}

/* Hero gradient background (in case you're not already using .tsn-hero) */
.tsn-hero {
  background:
    radial-gradient(65% 70% at 100% 0%, rgba(72, 127, 255, 0.18), transparent),
    linear-gradient(180deg, #ffffff, rgba(22, 42, 75, 0.04));
}

/* Dark hero panel: softer radius + richer shadow */
.tsn-hero-panel {
  background: linear-gradient(135deg, #162a4b, #0b1527);
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

/* Section kicker (small label above headings) */
.tsn-section-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.3rem;
}

/* Reusable card styling to feel less “basic template” */
.tsn-card {
  border-radius: 1.25rem;
  border: 1px solid #e5e7f5;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.tsn-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.09);
  border-color: #d1d5f0;
}

/* Blog article cards: slightly lighter version */
.tsn-article-card {
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.tsn-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border-color: #d4dcff;
}

/* Menu underline = more “premium nav” feel */
.tsn-main-menu > li > a {
  border-bottom: 2px solid transparent;
}
.tsn-main-menu > li > a:hover {
  border-bottom-color: #487fff;
}
