@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&display=swap');

:root {
    --navy: #0b1f3a;
    --silver: #c0c0c0;
    --pearl: #f8f8ff;
    --gold: #caa44a;
}

/* ===============================
   GLOBAL
================================ */

body {
    margin: 0;
    font-family: 'Libre Franklin', Arial, sans-serif;
    background: #111;
    color: var(--pearl);
}

.site-wrapper {
    display: block;
}

/* ===============================
   HEADER
================================ */

.cavalry-header {
    background: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrap img {
    height: 60px;
}

.logo-text {
    font-size: 28px;
    color: var(--pearl);
    letter-spacing: 2px;
}

/* ===============================
   NAV
================================ */

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--pearl);
    text-decoration: none;
    white-space: nowrap;
}

/* ===============================
   MAIN LAYOUT
================================ */

.cavalry-body {
    display: flex;
    min-height: calc(100vh - 100px);
}

.left-column {
    width: 280px;
    background: var(--silver);
    padding: 40px 20px;
}

/* ===============================
   BUTTONS (DEFAULT)
================================ */

/* DEFAULT BUTTONS */
.service-btn {
    width: 100%;
    padding: 15px !important;
    margin-bottom: 20px;
    border-radius: 50px !important;
    border: none;
    background: #000;
    color: var(--pearl);
    font-size: 16px;
    cursor: pointer;
}


/* REMOVE hover color change */
.service-btn:hover {
    background: #000;
    color: var(--pearl);
}

/* ACTIVE STATE ONLY */
.service-btn.active {
    background: var(--gold);
    color: #000;}



/* ===============================
   RIGHT CONTENT
================================ */

.right-content {
    flex: 1;
    display: flex;
    justify-content: center; /*centers horizontally */
    align-items: flex-start; /* keeps content at top*/
    padding: 40px;
    box-sizing: border-box;
}

/* ===============================
   CONTENT SECTIONS
================================ */

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* ===============================
   FLOATING CARD (DEFAULT / LIGHT)
================================ */

.service-display-card {
    background: var(--pearl);
    color: #000;
    padding: 24px;
    border-radius: 20px;
    width: 100%;
    max-width: 1100px; /* sweet spot for readability */
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

.service-card-title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000;
}

/* ===============================
   TAX NEWS ONLY (DARK THEME)
================================ */

.tax-news-layout {
    display: flex;
    gap: 30px;
}

.tax-news-layout .left-column {
    width: 220px;
    gap: 10px;
}

.tax-news-layout .service-btn {
    background: #1b1f2a;
    color: #fff;
    font-weight: 600;
}

/* Tax News buttons – controlled behavior */

.tax-news-layout .service-btn {
    background: #1b1f2a;
    color: #fff;
    font-weight: 600;
}

/* Hover stays dark */
.tax-news-layout .service-btn:hover {
    background: #252a3a;
    color: #fff;
}

/* Only ACTIVE topic turns gold */
.tax-news-layout .service-btn.active {
    background: var(--gold);
    color: #000;
}

.tax-news-layout .service-display-card {
    background: #0f1320;
    color: #fff;
}

/* ===============================
   ABOUT PAGE ONLY
================================ */

.page-template-page-about-php .service-btn {
    background: #000;
    color: var(--pearl);
    border: 2px solid var(--pearl); /* ← use border, not outline */
     box-sizing: border-box;
}



/* ===============================
   FOOTER
================================ */

.site-footer {
    background: #000;
    color: var(--pearl);
    text-align: center;
    padding: 20px;
    width: 100%;
    clear: both;
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 768px) {

    .cavalry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .cavalry-body {
        flex-direction: column;
    }

    .left-column {
        width: 100%;
    }

    .right-content {
        padding: 30px 20px;
    }
}

/* === RESTORE LIGHT CARD ON ALL PAGES === */
.service-display-card {
    background: var(--pearl) !important;
    color: #000 !important;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

/* ==========================
   Contact Page Styling
   ========================== */

.contact-content {
  text-align: center;
}

.contact-intro {
  margin-bottom: 20px;
  font-size: 16px;
}

.contact-item {
  margin-bottom: 25px;
  font-size: 18px;
}

.contact-label {
  font-weight: 600;
  margin-right: 8px;
}

.contact-link {
  color: #0b2a4a;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 10px;
}

.social-icon {
  font-size: 32px;
  color: #0b2a4a;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.15);
}

.social-icon.instagram:hover {
  color: #e1306c;
}

.social-icon.tiktok:hover {
  color: #000;
}

/* TAX NEWS layout */
.taxnews-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.taxnews-box{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 16px 16px 14px;
}

.taxnews-box h3{
  margin: 0 0 10px 0;
  font-size: 18px;
}

.taxnews-box ul{
  margin: 0;
  padding-left: 18px;
}

.taxnews-box li{
  margin: 6px 0;
  line-height: 1.35;
}

.taxnews-box ul ul{
  margin-top: 6px;
}

.taxnews-disclaimer{
  margin-top: 16px;
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 900px){
  .taxnews-grid{
    grid-template-columns: 1fr;
  }
}
