/*
Theme Name: Northern Soul Events
Theme URI: https://soul-source.co.uk
Description: Clean, modern theme for Northern Soul Events
Author: Northern Soul Events
Version: 1.0.0
License: GPL v2
Text Domain: northern-soul-events
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #3b82f6;
    
    --bg-page: #f3f4f6;
    --bg-card: #ffffff;
    
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    
    --border-light: #e5e7eb;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-blue-dark);
}

/* ============================================
   UTILITY BAR
   ============================================ */
.nse-utility-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 24px;
    font-size: 13px;
}

.nse-utility-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nse-utility-slogan {
    color: var(--text-muted);
}

.nse-utility-nav {
    display: flex;
    gap: 20px;
}

.nse-utility-nav a {
    color: var(--text-secondary);
    font-weight: 500;
}

.nse-utility-nav a:hover {
    color: var(--primary-blue);
}

/* ============================================
   HEADER
   ============================================ */
.nse-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nse-header-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nse-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.nse-logo span {
    color: var(--primary-blue);
}

.nse-main-nav {
    display: flex;
    gap: 32px;
}

.nse-main-nav a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.nse-main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.2s ease;
}

.nse-main-nav a:hover::after,
.nse-main-nav a.active::after {
    width: 100%;
}

.nse-header-actions {
    display: flex;
    gap: 12px;
}

/* ============================================
   BUTTONS
   ============================================ */
.nse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.nse-btn-primary {
    background: var(--primary-blue);
    color: white;
}

.nse-btn-primary:hover {
    background: var(--primary-blue-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nse-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.nse-btn-ghost:hover {
    background: var(--bg-page);
    color: var(--primary-blue);
}

.nse-btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.nse-btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.nse-main {
    min-height: calc(100vh - 200px);
    padding: 24px;
}

.nse-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.nse-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    padding: 40px 24px;
    margin-top: 40px;
}

.nse-footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.nse-footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nse-footer-col ul {
    list-style: none;
}

.nse-footer-col li {
    margin-bottom: 8px;
}

.nse-footer-col a {
    color: var(--text-secondary);
    font-size: 14px;
}

.nse-footer-col a:hover {
    color: var(--primary-blue);
}

.nse-footer-bottom {
    max-width: 1600px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nse-header-inner {
        flex-wrap: wrap;
    }
    
    .nse-main-nav {
        display: none;
    }
    
    .nse-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    
    .nse-event-container {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   TVSC ACCORDION - Let plugin handle styling
   Just ensure proper container width
   ============================================ */
.tvsc-accordion-wrapper,
.tvsc-event-explorer,
.tvsc-accordion {
    max-width: 100%;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.nse-page-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    padding: 60px 24px;
    text-align: center;
    margin-bottom: 40px;
}

.nse-page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.nse-page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}
