/*
Theme Name: Framelix School Theme
Author: Framelix
Version: 1.0.0
Description: Custom WordPress theme built with Bootstrap 5.
*/

/* Custom Navbar Background */
.my-custom-navbar {
    background-color: #1e293b; /* Replace with your hex code */
}

/* Optional: Change Nav Link Hover Color */
.my-custom-navbar .nav-link:hover {
    color: #38bdf8 !important; /* Blue hover text */
}

/* Optional: Change Active Link Color */
.my-custom-navbar .nav-link.active {
    color: #60a5fa !important;
}

/* Top Bar Container */
.top-header-bar {
    background-color: #0f172a; /* Custom dark slate background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* Links & Phone/Email */
.top-bar-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.top-bar-link:hover {
    color: #38bdf8; /* Accent color on hover */
}

/* Plain Text (Hours) */
.top-bar-text {
    color: #94a3b8;
}

/* Social Icons */
.top-bar-social {
    color: #cbd5e1;
    margin-left: 10px;
    font-size: 0.95rem;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.top-bar-social:hover {
    color: #38bdf8;
    transform: translateY(-2px); /* Subtle hover bounce */
}

/* News Ticker Container */
/* 1. Main Background & Borders */
.news-ticker-wrapper {
    background-color: #0f172a !important; /* Change ticker background color */
    border-color: #1e293b !important;     /* Change top/bottom border color */
    font-size: 0.875rem;
}

/* 2. Badge Customization (BREAKING NEWS) */
.ticker-badge .badge {
    background-color: #dc2626 !important; /* Badge background color */
    color: #ffffff !important;            /* Badge text color */
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Linear Gradient Fade on Edges */
.ticker-window {
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

/* Moving Wrapper Container */
.ticker-track-wrapper {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    animation: infinite-ticker 12s linear infinite;
}
/* 3. Post Title Links & Hover Effects */
.ticker-item a {
    color: #f8fafc !important;             /* Headline text color */
    transition: color 0.2s ease-in-out;
}

/* Ticker Link Styling */
.ticker-item a:hover {
    color: #38bdf8 !important; /* Hover accent color */
}
/* 4. Bullet / Dash Icon Color */
.ticker-item i {
    color: #ef4444 !important;             /* Dash icon color between titles */
}

/* Pause Animation on Hover */
.ticker-track-wrapper:hover {
    animation-play-state: paused;
}



/* Seamless Infinite Loop Animation */
@keyframes infinite-ticker {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Moves exactly half the total width (one full track) */
    }
}


/* Single post - Post Content Images & Media */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
}

.entry-content p {
    margin-bottom: 1.5rem;
    color: #334155;
}
/* ==========================================
   QUICK LINKS SECTION (front-page.css)
   ========================================== */

.quick-link-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08) !important;
}

.quick-link-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tracking-wider {
    letter-spacing: 0.08em;
}

/* ==========================================================================
   SITE FOOTER STYLES (style.css)
   ========================================================================== */

.site-footer {
  background-color: #0f172a !important; /* Dark Slate Blue Background */
  border-top: 3px solid #0d6efd;
}

/* Footer Brand & Logo */
.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-title {
  font-size: 0.85rem;
  letter-spacing: 0.75px;
  border-bottom: 2px solid rgba(13, 110, 253, 0.4);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Quick Links Styling */
.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #60a5fa; /* Light Primary Accent */
  padding-left: 4px;
}

/* Social Icon Buttons */
.social-icon-btn {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-icon-btn:hover {
  background-color: #0d6efd;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Contact Info Hover Links */
.footer-contact-info a:hover {
  color: #60a5fa !important;
}

/* Sub-links (Privacy, Terms) */
.footer-sub-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-sub-links a:hover {
  color: #ffffff;
}

.footer-sub-links .list-inline-item {
  color: rgba(255, 255, 255, 0.25);
}

/* Responsive Viewports */
@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 2.5rem !important;
  }

  .footer-title {
    margin-top: 0.5rem;
  }
}