/*
Theme Name: Bitwave Business Site 2025 Theme
Theme URI: https://www.bitwavedesign.com/
Description: A custom WordPress theme by Bitwave Design. (Blessed Events Redesign)
Version: 2.0.03
Author: Bitwave Design
Author URI: https://bitwavedesign.com/
Text Domain: bitwave-biz-2025
*/


:root {
  /* Core brand colors – change these per client */
  --color-primary:   #3d3732;     
  --color-primary-dark: #444;
  --color-accent:    #8B1A1A;     
  --color-text-light: #ffffff;
  --color-text-dark:  #222222;

  /* Header specific – reusable */
  --topbar-bg:       var(--color-accent);
  --topbar-text:     var(--color-text-light);
  --nav-bg-scrolled: rgba(139, 26, 26, 0.97);   /* Hitman dark red when scrolled */
  
  /* Add later when we do the main nav */
  --nav-text:        var(--color-text-light);
  --nav-text-hover:  var(--color-accent);
  

  /* Fonts */
  --font-primary: 'Catamaran', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-secondary: 'Catamaran', 'Helvetica Neue', Helvetica, Arial, sans-serif;

}


/* GLOBAL FONT */
html, body {
  font-family: var(--font-primary) !important;
  font-weight: 400;
  line-height: 1.6;
}

/* Override Gutenberg/WordPress defaults */
.entry-content,
.wp-block-button__link,
button,
input,
textarea,
select {
  font-family: var(--font-primary) !important;
}


/* Universal container – add this if you don’t already have it */
.container {
  width: 90%;
  max-width: 1400px;        /* or 1200px – whatever you use on most sites */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (max-width: 768px) {
    .container {
      width: 94%;
      padding-left: 1rem;
      padding-right: 1rem;
    }
}




/* CTA Buttons */
.cta-button {
  display: inline-block;
  padding: 1rem 2.2rem .7rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4em;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px 0 rgba(0,0,0,0.25);
}

.cta-button.primary {
  background: var(--color-accent);
  color: #fff;
}

.cta-button.primary:hover {
  background: #fff;
  color: var(--color-accent);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-button.secondary:hover {
  background: #fff;
  color: var(--color-accent);
}







/* UNIVERSAL TOP BAR – works for any client */
.top-bar {
  background-color: var(--topbar-bg);
  color: var(--topbar-text);
  padding: 0.5rem 0;
  line-height: 1.4;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-tagline {
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.03em;
  font-size: calc(0.84rem + 0.25vw);
}

.phone-header {
  color: var(--topbar-text);
  font-weight: 700;
  font-size: calc(.8rem + 0.65vw);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: opacity 0.25s;
}

.phone-header:hover {
  opacity: 0.78;
}

.phone-header i {
  font-size: calc(.9rem + 0.45vw);
}

/* Mobile – stack on very small screens */
@media (max-width: 480px) {
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }
  .phone-header {
    font-size: 1.4rem;
  }
}








/* ——— LOGO & NAVIGATION BAR ——— */
.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  max-height: 85px;
  width: auto;
  transition: max-height 0.3s;
}
.main-nav-bar.scrolled .site-logo img {
  max-height: 75px;
}



.main-nav-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgb(41, 41, 41);
  background-image: url("/images/texture-grid-dk.png");
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 1.8rem 0;
  box-shadow: 0 3px 12px 0 rgba(0,0,0,0.2);
}

.main-nav-bar.scrolled {
  background: #8B1A1A;
  background-image: url("/images/texture-grid-dk.png");
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: 1.1rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Desktop: ALWAYS visible */
.nav-menu {
  display: flex;
  gap: clamp(1.8rem, 3.5vw, 4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #fff;
  font-weight: 600;
  font-size: calc(.55rem + 0.55vw);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #131313;
}

/* Current page highlight (optional) */
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a {
  color: #fdd7aa;
  font-weight: 700;
}

/* Mobile toggle button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* MOBILE ONLY — hide desktop menu, show toggle */
@media (max-width: 992px) {
    .mobile-menu-toggle {
      display: block;
    }

    .nav-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #8B1A1A;
      flex-direction: column;
      padding-bottom: 1em;
      margin-top: .99em;
      text-align: center;
      border-radius: 0 0 8px 8px;
    }

    .nav-menu.active {
      display: inline;
    }

    .nav-menu li {
      display: block;
      width: 100%;
      margin: 0 auto !important;
      padding: 0 !important;
      line-height: 18px;
    }

    .nav-menu a {
      display: block;
      width: 100%;
      padding: 0 !important;
      margin: 0 !important;
      font-size: 0.99rem;
      line-height: 18px;
      border-top: 1px dotted rgba(255, 255, 255, 0.37);
    }
    .nav-menu a:hover,
    .nav-menu a:focus {
      background-color: rgba(255, 255, 255, 0.8);
      color: var(--color-accent);
    }
}


/* SUBMENU – click-to-open only (no hover) */
.menu-parent-toggle {
  color: #fff;
  font-size: calc(.7rem + 0.3vw);
  font-weight: 600;
  text-decoration: none;
  padding: 0;
  margin: 0;
  transition: color 0.3s;
}
a.menu-parent-toggle {
  padding: 0;
  margin: 0;
}

.menu-parent-toggle:hover {
  color: #fdd7aa;
}

.submenu-icon {
  font-size: 0.85em;
  transition: transform 0.25s ease;
}

.menu-parent-toggle[aria-expanded="true"] .submenu-icon {
  transform: rotate(45deg);   /* + → × */
}


/* ------  Submenu dropdown ------ */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 64%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 240px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
  padding-left: 0 !important;
  
}

.sub-menu li {
  list-style: none;
}

.sub-menu.active {
  display: block;
}

.sub-menu a {
  display: block;
  padding: 0.9rem 1.5rem;
  color: #8B1A1A;
  font-size: 0.95rem;
  white-space: nowrap;
}

.sub-menu a:hover {
  background: rgba(139, 26, 26, 0.3);
}

/* Mobile – clean stacking */
@media (max-width: 992px) {
    .menu-parent-toggle {
      padding: 0;
    }

    .nav-menu a,
    .menu-parent-toggle {
      padding: 0.9rem 2rem !important;
      margin: 0;
    }

    .sub-menu {
      position: static;
      transform: none;
      box-shadow: none;
      background: rgba(255, 248, 248, 0.88);
      margin: 0;    
      border-radius: 0;
    }
    .sub-menu a {
      padding: 0.75rem 2.5rem !important;   /* less vertical space */
      font-size: 0.9rem;
      border-bottom: 1px solid var(--color-accent);
    }

    .sub-menu a:hover {
      background: var(--color-accent);
      color: #fff;
    }
}









/* ——— FULL-SCREEN HERO ——— */
.hero-section {
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px 0 rgba(0,0,0,0.2);
}
.hero-section.hero-home {
  height: 60vh;
}
.hero-section.hero-page {
  height: 33vh;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.55), rgba(0,0,0,0.55));
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
  text-align: center;
  color: #fff;
}

.hero-headline {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 116%;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}
.page-title {
  font-size: clamp(1.8rem, 5.2vw, 3.8rem);
  line-height: 116%;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.hero-subheadline {
  font-size: clamp(1.0rem, 2.5vw, 1.5rem);
  font-weight: 500;
  margin: 0 0 2.5rem 0;
  opacity: 0.95;
}

.hero-cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-section {
      height: 40vh;
    }
    .hero-cta-buttons {
      flex-direction: column;
      align-items: center;
    }
    .cta-button {
      width: 280px;
    }
}







/* --------------------- PAGE --------------------- */


/* ——— SECTIONS ——— */
.section {
    padding: clamp(3.5rem, 8vw, 6rem) 0; 
    text-align: center;
}
.section.bg-light { background-color: var(--light-section-bg); }
.section h2 { 
    font-family: var(--font-secondary);
    font-size: clamp(2.2rem, 5vw, 3rem); 
    font-weight: 700; 
    margin-bottom: 1.5rem; 
    color: var(--strong-accent); 
    line-height: 1.25;
}
.section .section-subheading { 
    font-family: var(--font-primary);
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    max-width: 45rem; 
    margin: 0 auto 3rem auto;
    line-height: 1.75;
    color: #585858; 
}










/* ——— LARGE TEASER – Full-width row on desktop ——— */
.large-teaser {
  padding: clamp(32px, 6vw, 80px) 0;
}
.large-teaser .container {
  width: 100%;
  max-width: min(1280px, 92vw);
  margin: 0 auto;
}

.large-teaser:nth-child(even) {
  background: rgba(0, 0, 0, 0.03);
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

/* desktop: image left, text right */
@media (min-width: 900px) {
  .teaser-grid {
    grid-template-columns: 1.05fr .95fr;
  }
  
  .large-teaser:nth-child(even) .teaser-grid {
    direction: rtl;                      /* flips the visual flow */
  }
  
  .large-teaser:nth-child(even) > .container > .teaser-grid > * {
    direction: ltr;                      /* keeps text reading left-to-right */
  }
}

.teaser-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 5.5;      /* requested ratio */
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 4px 4px 11px rgba(0,0,0,.25);
}

/* content */
.teaser-content {
  text-align: center;
}

@media (min-width: 900px) {
  .teaser-content {
    text-align: left;
    padding-left: clamp(8px, 1vw, 16px);
  }
}

.teaser-heading {
  color: var(--color-accent);
  margin: 0 0 .35rem;
  font-weight: 800;
  line-height: 124%;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.teaser-text {
  margin: 0 auto clamp(16px, 2.4vw, 24px);
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(.98rem, 1.4vw, 1.1rem);
  line-height: 1.7;
}

@media (min-width: 900px) {
  .section-subheading { margin-left: 0; }
}











/* ============================================
   Content & Gutenberg Blocks
============================================ */

.entry-content {
  max-width: 950px;
  margin: 2.5rem auto;
  font-size: calc(0.82rem + 0.3vw);
  line-height: 1.8;
  color: #444;
  padding: 2rem 2.5rem 3rem 2.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: var(--font-secondary);
  color: var(--strong-accent);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.6rem; }
.entry-content h4 { font-size: 1.3rem; }
.entry-content h6.wp-block-heading {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.5rem 0;
  color: #b85c22 !important; /* Specific user override */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Paragraphs */
.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content strong {
  color: #3d3732;
  font-size: 1.05em; /* Adjusted slightly */
}

/* Links */
.entry-content a {
  color: var(--link-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.entry-content a:hover {
  color: var(--strong-accent);
  text-decoration: none;
}

/* --- LISTS --- */
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}
.entry-content ul { list-style-type: disc; }
.entry-content ol { list-style-type: decimal; }

/* --- BLOCKQUOTES --- */
.entry-content blockquote {
    border-left: 4px solid var(--highlight-color);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: #fdfdfd;
    font-style: italic;
    color: #555;
    font-size: 1.15rem;
}
.entry-content blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
}

/* --- IMAGES & ALIGNMENTS --- */

.entry-content img {
  box-shadow: var(--image-shadow);
  border-radius: 4px;
}

/* Standard WP Image Block wrapper */
.entry-content .wp-block-image {
    margin-bottom: 2.5rem; /* Ensure enough bottom margin for all images */
    margin-top: .1rem;
}

.entry-content .wp-block-image img {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Captions */
.entry-content figcaption,
.entry-content .wp-element-caption {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* ALIGNED IMAGES (Left/Right) */
/* Logic: 
   1. Float the element.
   2. Add margin to the opposite side (Right for alignleft, Left for alignright).
   3. Add bottom margin.
   4. Constrain width to 55% max.
*/

.entry-content .alignleft,
.entry-content .wp-block-image.alignleft {
    float: left;
    margin-right: 2.5rem; /* Space on the right */
    margin-bottom: 2rem;  /* Space on bottom */
    max-width: 55%;       /* Max width constraint */
    clear: left;          /* Prevent stacking weirdness */
}

.entry-content .alignright,
.entry-content .wp-block-image.alignright {
    float: right;
    margin-left: 2.5rem;  /* Space on the left */
    margin-bottom: 2rem;  /* Space on bottom */
    max-width: 55%;       /* Max width constraint */
    clear: right;
}

.entry-content .aligncenter,
.entry-content .wp-block-image.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Clearfix for floats if needed at end of content */
.entry-content::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 768px) {
  /* Entry Content Mobile Adjustments */
  .entry-content { padding: 2rem 1.5rem; font-size: 1rem; }
  .entry-content .alignleft, .entry-content .wp-block-image.alignleft,
  .entry-content .alignright, .entry-content .wp-block-image.alignright {
      float: none; display: block; margin: 1.5rem auto; max-width: 100%;
  }
}







/* =========================================
   BLOG LIST STYLES (NEW)
   ========================================= */

.blog-list-section {
    padding: 4rem 0;
    background-color: var(--body-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns by default */
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Card Styling */
.blog-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Image */
.blog-card-image {
    position: relative;
    padding-top: 60%; /* Aspect ratio 16:9 approx */
    overflow: hidden;
    background-color: #eee;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

/* Content */
.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Meta Data */
.blog-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.blog-cat-sep { margin: 0 5px; color: #ccc; }
.blog-category a { color: var(--secondary-color); text-decoration: none; }
.blog-category a:hover { color: var(--highlight-color); }

/* Title */
.blog-title {
    font-family: var(--font-secondary);
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.blog-title a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: var(--highlight-color);
}

/* Excerpt */
.blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pushes button to bottom */
}
.blog-excerpt p { margin-bottom: 0; } /* Remove bottom margin from excerpt p */

/* Read More Link */
.blog-read-more {
    display: inline-block;
    color: var(--highlight-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto; /* Align to bottom if flex spacing allows */
}

.blog-read-more:hover {
    text-decoration: underline;
}

/* Pagination Styling */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Circle */
    background: #fff;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--highlight-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 112, 67, 0.3);
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    width: auto;
    padding: 0 1.2rem;
    border-radius: 20px; /* Pill shape for prev/next */
}

/* =========================================
   MOBILE / RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cols on tablet */
    }
}

@media (max-width: 768px) {
  .site-logo { max-width: 288px; }
  .site-header.homepage-hero { min-height: 60vh; }
  .site-header { min-height: 30vh; }
  .hero-content-area h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  
  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(20, 20, 20, 0.98);
    padding: 1rem 0 0 0;
    z-index: 999;
    max-height: 0; opacity: 0; overflow: hidden; visibility: hidden;
    transition: all 0.3s ease-in-out;
  }
  .main-nav.show {
    max-height: calc(100vh - var(--header-nav-height));
    opacity: 1; visibility: visible;
    padding-bottom: 1rem; overflow-y: auto;
  }
  .nav-toggle { display: block; }

  /* Blog List Mobile */
  .blog-grid {
      grid-template-columns: 1fr; /* 1 col on mobile */
      gap: 2rem;
  }
  
  .blog-list-section {
      padding: 3rem 1rem;
  }
}









/* =========================================
   SINGLE POST STYLES
   ========================================= */

.single-post-section {
    padding: 3rem 0 5rem 0;
    background-color: var(--body-bg);
}

/* Meta Header (Date | Category) */
.single-post-meta-header {
    max-width: 950px;
    margin: 0 auto 1.5rem auto;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.single-post-meta-header .meta-sep {
    margin: 0 8px;
    color: #ccc;
}

.single-post-meta-header a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-post-meta-header a:hover {
    color: var(--highlight-color);
}

/* Post Footer (Tags) */
.single-post-footer {
    max-width: 950px;
    margin: 0 auto;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #666;
}

.tags-label {
    font-weight: 700;
    color: var(--dark-text);
    margin-right: 5px;
}

.single-post-footer a {
    color: #777;
    text-decoration: none;
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.single-post-footer a:hover {
    background: var(--highlight-color);
    color: #fff;
}

/* Post Navigation (Prev/Next) */
.post-navigation-wrapper {
    max-width: 950px;
    margin: 3rem auto 0 auto;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    width: 48%;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    display: block;
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--border-radius);
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%; /* Ensure equal height */
    border-left: 4px solid transparent; /* Default border */
}

.post-navigation .nav-previous a { border-left-color: var(--secondary-color); }
.post-navigation .nav-next a { border-right: 4px solid var(--highlight-color); border-left: none; }

.post-navigation a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.post-navigation .nav-title {
    display: block;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-text);
    line-height: 1.3;
}

/* Mobile Adjustments for Single Post */
@media (max-width: 768px) {
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        width: 100%;
        text-align: center; /* Center align on mobile */
    }
    
    .post-navigation .nav-next a {
        border-right: none;
        border-left: 4px solid var(--highlight-color);
    }
    
    .single-post-section {
        padding-top: 2rem;
    }
}

















/* ================ FOOTER ================= */
.site-footer {
  background-color: #595959;
  color: #fff;
  font-family: var(--font-primary);
  padding-top: 0rem;
  margin-top: 3rem;
}

/* === Footer CTA Section with Parallax Background === */
.footer-cta-section {
  background-image: url('/images/footer-back.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 1.5rem;
  color: var(--light-text);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Overlay to improve text contrast */
.footer-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* semi-transparent overlay */
  z-index: -1;
}

.footer-cta-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.footer-cta-heading {
  font-size: 2.2rem;
  font-style: italic;
  font-family: var(--font-secondary);
  color: var(--light-text);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-cta-hours {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

.footer-contact-info p {
  font-size: 1.15rem;
  margin: 0.3rem 0;
}

p.footer-cta-phone {
  font-size: 1.9rem;
  line-height: 122%;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

.footer-contact-info a {
  color: var(--light-accent);
  font-weight: 600;
  text-decoration: none;
}

.footer-contact-info a:hover {
  text-decoration: underline;
}

/* Mobile Improvements */
@media (max-width: 600px) {
  .footer-cta-heading {
    font-size: 1.5rem;
  }

  .footer-cta-hours,
  .footer-contact-info p {
    font-size: 0.9rem;
  }
}




/* Social Media Bar */
.footer-social-media-bar {
  background-color: var(--footer-social-bg);
  padding: 1.2rem 0;
  text-align: center;
}

.social-icons-wrapper a {
  color: var(--footer-social-icon-color);
  font-size: var(--social-icon-font-size);
  margin: 0 0.6rem;
  transition: color 0.3s ease;
}

.social-icons-wrapper a:hover {
  color: var(--footer-social-icon-hover-color);
}

/* Copyright / Site Info */
.site-info {
  background-color: var(--footer-bg);
  font-size: 0.85rem; /* Material Caption */
  line-height: 1.4;
  text-align: center;
  padding: 1rem 1rem 1.5rem;
  color: var(--footer-text);
}

.site-info a {
  color: var(--light-accent);
  text-decoration: none;
  font-weight: 500;
}

.site-info a:hover {
  text-decoration: underline;
}
