/* =========================================
   MEGA MENU CORE TECHNOLOGY
   ========================================= */
/* BREADCRUMB NAVIGATION */
.breadcrumb { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 15px 20px; 
    font-size: 0.85rem; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.breadcrumb a { 
    color: #888; 
    text-decoration: none; 
    transition: color 0.2s;
}
.breadcrumb a:hover { color: #e94560; }
.breadcrumb .sep { color: #555; margin: 0 8px; }
.breadcrumb .current { color: #e94560; font-weight: 500; }

@media (max-width: 768px) {
    .breadcrumb { font-size: 0.75rem; padding: 10px 15px; }
}
/* Base Setup */
.top-nav .nav-links li.mega-item { position: static; }

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    max-width: 100%;
    background: #111;
    border-top: 3px solid #e94560;
    border-bottom: 1px solid #333;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    z-index: 9999;
    padding: 30px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Hover & Focus Triggers (Desktop) */
.top-nav .nav-links li.mega-item:hover .mega-menu,
.top-nav .nav-links li.mega-item:focus-within .mega-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 3-Column Grid Layout */
.mega-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
}

/* Typography */
.mega-column h4 {
    color: #e94560;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.mega-column ul { list-style: none; padding: 0; margin: 0; }
.mega-column li { margin-bottom: 12px; }

.mega-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.mega-column a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Visual Hook (Featured Card) */
.mega-featured {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333;
    transition: border-color 0.3s;
    text-decoration: none;
    display: block;
}
.mega-featured:hover { border-color: #e94560; }

.mega-featured-img {
    width: 100%;
    height: 140px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #b71c1c, #e53935);
}

.mega-featured .tag {
    font-size: 0.7rem;
    color: #e94560;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.mega-featured h5 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 8px;
    line-height: 1.3;
}

.mega-featured p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* Dropdown Arrow */
.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    opacity: 0.6;
}

/* Mobile Responsive (Accordion) */
@media (max-width: 768px) {
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: 1px solid #333;
        padding: 15px 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .mega-menu.active { display: block; }
    
    .mega-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .mega-featured { display: block; }
    .mega-featured-img { height: 100px; }
}

/* =========================================
   VIDEO SEO EMBED STYLES
   ========================================= */
.video-slot { margin: 30px auto; max-width: 420px; }
.video-slot .video-embed { position: relative; aspect-ratio: 9/16;
  border-radius: 12px; overflow: hidden; border: 1px solid #333; }
.video-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-slot .video-caption { font-size: .85rem; color: #888;
  text-align: center; margin-top: 8px; }
.video-placeholder { aspect-ratio: 9/16; background: #111; border: 1px dashed #444;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #666; font-size: .9rem; text-align: center; padding: 20px; }

/* =========================================
   AFFILIATE & CONVERSION BLOCKS
   ========================================= */
.pros-cons-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; border-radius: 8px; overflow: hidden; border: 1px solid #333; }
.pros-box, .cons-box { padding: 20px; }
.pros-box { background: rgba(46, 125, 50, 0.1); border-right: 1px solid #333; }
.cons-box { background: rgba(198, 40, 40, 0.1); }
.pros-box h4 { color: #4caf50; margin-bottom: 10px; font-size: 1rem; text-transform: uppercase; }
.cons-box h4 { color: #ef5350; margin-bottom: 10px; font-size: 1rem; text-transform: uppercase; }
.pros-box ul, .cons-box ul { list-style: none; padding: 0; margin: 0; }
.pros-box li, .cons-box li { margin-bottom: 8px; font-size: 0.95rem; color: #ccc; padding-left: 20px; position: relative; }
.pros-box li::before { content: '✓'; position: absolute; left: 0; color: #4caf50; font-weight: bold; }
.cons-box li::before { content: '✕'; position: absolute; left: 0; color: #ef5350; font-weight: bold; }

.buy-box { background: #1a1a2e; border: 1px solid #e94560; border-radius: 12px; padding: 25px; margin: 30px 0; text-align: center; }
.buy-box h3 { color: #fff; margin-bottom: 15px; font-size: 1.2rem; }
.buy-box .price { font-size: 1.8rem; font-weight: 700; color: #e94560; margin-bottom: 15px; }
.buy-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-affiliate { display: inline-block; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: transform 0.2s, background 0.2s; }
.btn-affiliate:hover { transform: translateY(-2px); }
.btn-amazon { background: #ff9900; color: #000; }
.btn-bh { background: #000; color: #fff; border: 1px solid #fff; }
.btn-affiliate-small { display: inline-block; background: #e94560; color: #fff; padding: 8px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.9rem; margin-top: 10px; }

@media (max-width: 768px) {
  .pros-cons-box { grid-template-columns: 1fr; }
  .pros-box { border-right: none; border-bottom: 1px solid #333; }
}
/* ========= WCAG CONTRAST FIXES (site-wide) ========= */
/* 1. Plain links: replace invisible browser blue/purple */
a { color: #66b3ff; text-decoration: underline; text-underline-offset: 3px; }
a:visited { color: #b39ddb; }
a:hover, a:focus { color: #ffffff; }

/* 2. Too-dark gray micro-text (3.3:1 -> 6.6:1) */
.footer-bottom, .last-updated, .affiliate-note, .footer-about { color: #999 !important; }

/* 3. Homepage video captions (1.6:1 -> 12:1) */
.video-caption { color: #ccc !important; }

/* 4. CTA buttons: white-on-red 3.9:1 -> dark-on-light-red 7.6:1 */
.btn, .btn-affiliate-small { background: #ff6b6b !important; color: #111 !important; }

/* =====================================================
   SITE SHELL — Shared Nav, Mega Menu & Footer Styles
   Link this on EVERY page: <link rel="stylesheet" href="/VideoCameraHoliday/assets/site-shell.css">
   ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; background: #0a0a0a; color: #e0e0e0; line-height: 1.7; }

/* ---------- TOP NAV ---------- */
.top-nav { background: #111; border-bottom: 2px solid #e94560; position: sticky; top: 0; z-index: 1000; }
.top-nav .nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 60px; }
.top-nav .logo { font-size: 1.3rem; font-weight: 700; color: #e94560; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.top-nav .nav-links { display: flex; list-style: none; gap: 0; margin: 0; padding: 0; }
.top-nav .nav-links li { position: relative; }
.top-nav .nav-links li.mega-item { position: static; }
.top-nav .nav-links a { color: #ccc; text-decoration: none; padding: 18px 16px; display: block; font-size: 0.9rem; font-weight: 500; transition: all 0.3s; }
.top-nav .nav-links a:hover, .top-nav .nav-links a.active { color: #e94560; background: rgba(233, 69, 96, 0.1); }

/* ---------- MEGA MENU ---------- */
.mega-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #1a1a2e; border-top: 2px solid #e94560; border-bottom: 1px solid #333; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 1000; padding: 30px 20px; }
.top-nav .nav-links li.mega-item:hover .mega-menu { display: block; }
.mega-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.mega-column h4 { color: #e94560; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.mega-column ul { list-style: none; margin: 0; padding: 0; }
.mega-column li { margin-bottom: 8px; }
.mega-column a { color: #ccc; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; display: block; padding: 2px 0; }
.mega-column a:hover { color: #fff; text-decoration: underline; }

.mobile-menu-toggle { display: none; background: none; border: none; color: #e94560; font-size: 1.5rem; cursor: pointer; }

/* ---------- SHARED FOOTER ---------- */
.site-footer { background: #111; border-top: 2px solid #e94560; padding: 50px 20px 20px; margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-section h4 { color: #e94560; font-size: 1rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.footer-section ul { list-style: none; margin: 0; padding: 0; }
.footer-section li { margin-bottom: 8px; }
.footer-section a { color: #888; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-section a:hover { color: #e94560; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #333; color: #666; font-size: 0.85rem; }
.footer-bottom a { color: #e94560; text-decoration: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .mega-menu { position: static; display: block !important; border: none; box-shadow: none; padding: 10px 0; background: transparent; }
    .mega-container { grid-template-columns: 1fr; gap: 15px; }
    .mega-column { background: #111; padding: 15px; border-radius: 8px; margin-bottom: 10px; }
    .top-nav .nav-links { flex-direction: column; width: 100%; display: none; }
    .top-nav .nav-links.active { display: flex; }
    .top-nav .nav-links li.mega-item { width: 100%; }
    .top-nav .nav-container { flex-wrap: wrap; height: auto; padding: 10px 20px; }
    .mobile-menu-toggle { display: block; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}
