/*
Theme Name: Twisted Times Band
Theme URI: https://www.twistedtimesband.com
Author: WordPress Developer
Author URI: https://www.twistedtimesband.com
Description: A custom WordPress theme for Twisted Times Band - a cover band from Clinton, NJ. Features editable gallery and shows sections.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twisted-times
Tags: music, band, dark, responsive, custom-post-types
*/

/* ================================
   CSS VARIABLES
   ================================ */
:root {
    --color-primary: #000000;
    --color-secondary: #111111;
    --color-accent: #c9a227;
    --color-text: #ffffff;
    --color-text-muted: #b0b0b0;
    --color-border: #444444;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 170px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-primary);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

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

/* ================================
   HEADER & NAVIGATION
   ================================ */
.site-header {
    background-color: #000000;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

/* Left nav */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

/* Center logo */
.site-branding {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-branding img,
.site-branding a img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Right social icons */
.header-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.header-social a {
    font-size: 26px;
    opacity: 0.8;
    transition: var(--transition);
}

.header-social a:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 24px;
    cursor: pointer;
}

/* ================================
   MAIN CONTENT
   ================================ */
.site-main {
    flex: 1;
    margin-top: var(--header-height);
}

/* ================================
   HERO SECTION (Homepage)
   ================================ */
.hero-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('assets/images/hero-bg.png') center/cover;
    padding: 60px 20px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 480px;
    width: 90%;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.6));
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-text-muted);
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* ================================
   PAGE HEADER
   ================================ */
.page-header {
    background-color: var(--color-secondary);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.page-description {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   CONTENT SECTIONS
   ================================ */
.content-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 20px;
    background-color: #000000;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

/* ================================
   ABOUT PAGE
   ================================ */
.about-hero {
    background-color: var(--color-primary);
    padding: 80px 20px;
}

.about-hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}

.about-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
}

.about-hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 20px;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.band-members {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    background-color: #000000;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.member-card:hover {
    border-color: var(--color-accent);
}

.member-photo {
    width: 300px;
    min-width: 300px;
    height: 380px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 0;
    border: none;
    margin: 0;
    flex-shrink: 0;
}

.member-info {
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.member-role {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ================================
   SHOWS PAGE
   ================================ */
.shows-page {
    background: url('assets/images/shows-bg-original.jpg') center/cover fixed;
    min-height: calc(100vh - var(--header-height));
}

.videos-page {
    background: url('assets/images/videos-bg-original.jpg') center/cover fixed;
    min-height: calc(100vh - var(--header-height));
}

.gallery-page {
    background: url('assets/images/gallery3.jpg') center/cover fixed;
    min-height: calc(100vh - var(--header-height));
}

.shows-page .page-header,
.videos-page .page-header,
.gallery-page .page-header {
    background-color: transparent;
    border-bottom: none;
    padding: 120px 20px 60px;
    position: relative;
}

.shows-page .page-header::before,
.videos-page .page-header::before,
.gallery-page .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.shows-page .page-title,
.shows-page .page-description,
.videos-page .page-title,
.videos-page .page-description,
.gallery-page .page-title,
.gallery-page .page-description {
    position: relative;
    z-index: 1;
}

.shows-content {
    padding: 40px 20px;
}

.shows-list {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.show-item {
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.show-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    background-color: rgba(0, 0, 0, 0.6);
}

.show-date {
    margin-bottom: 15px;
    text-align: center;
}

.show-date-day {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.show-date-month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.show-info {
    margin-bottom: 15px;
}

.show-venue {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.show-location {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.show-time {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 500;
}

.no-shows {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ================================
   VIDEOS PAGE
   ================================ */
.videos-content {
    padding: 40px 20px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.video-item {
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    border: none;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-title {
    padding: 10px 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ================================
   GALLERY PAGE
   ================================ */
.gallery-content {
    padding: 40px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    font-size: 1rem;
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--color-text);
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-page {
    background-color: #000000;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.contact-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.contact-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image-circle {
    width: 420px;
    height: 560px;
    border-radius: 50% / 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.contact-subheading {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.contact-form label .required {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-text);
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
    background-color: #000000;
    border-top: 1px solid var(--color-border);
    padding: 40px 20px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    font-size: 20px;
    color: var(--color-text-muted);
}

.footer-social a:hover {
    color: var(--color-accent);
}

.footer-email {
    color: var(--color-accent);
    font-size: 0.9rem;
}

/* ================================
   ADMIN BAR FIX
   ================================ */
body.admin-bar .site-header {
    top: 32px;
}

body.admin-bar .site-main {
    margin-top: calc(var(--header-height) + 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
    
    body.admin-bar .site-main {
        margin-top: calc(var(--header-height) + 46px);
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 120px;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-container {
        position: relative;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-secondary);
        padding: 20px;
        z-index: 999;
        flex-direction: column;
        align-items: center;
    }

    .header-nav.active {
        display: flex;
    }

    .header-social {
        display: none;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .social-links {
        margin: 20px 0 0 0;
        justify-content: center;
    }
    
    .shows-list {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-hero-container {
        grid-template-columns: 1fr;
    }

    .about-hero-image {
        order: -1;
    }

    .member-card {
        flex-direction: column;
    }

    .member-photo {
        width: 100%;
        min-width: unset;
        height: 280px;
    }

    .member-info {
        padding: 25px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    /* already 1fr from 768px breakpoint */
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ================================
   WORDPRESS DEFAULTS
   ================================ */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 10px;
}

/* Post navigation */
.post-navigation {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

/* Comments */
.comments-area {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--color-border);
}

/* ================================
   CONTACT FORM ADDITIONAL STYLES
   ================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group .required {
    color: var(--color-accent);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
}

.form-message .success-message {
    background-color: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #27ae60;
}

.form-message .error-message {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e74c3c;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

@media screen and (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
    }

    .contact-image-circle {
        width: 280px;
        height: 280px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ================================
   SEARCH FORM
   ================================ */
.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-form label {
    flex: 1;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 15px;
    background-color: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: var(--color-text);
    font-size: 1rem;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--color-accent);
}

.search-submit {
    padding: 15px 25px;
    background-color: var(--color-accent);
    border: none;
    border-radius: 0 4px 4px 0;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background-color: #d4b43a;
}

/* ================================
   POSTS GRID (Blog)
   ================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: var(--color-secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.post-card .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card .post-content {
    padding: 25px;
}

.post-card .entry-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.post-card .entry-title a:hover {
    color: var(--color-accent);
}

.post-card .entry-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.post-card .entry-excerpt {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.post-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 500;
}

.post-card .read-more:hover {
    gap: 12px;
}

/* ================================
   PAGINATION
   ================================ */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    padding: 10px 20px;
    background-color: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: var(--transition);
}

.pagination a:hover,
.nav-links a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.pagination .current,
.nav-links .current {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

/* ================================
   ENTRY META & FOOTER
   ================================ */
.entry-meta {
    margin-bottom: 20px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.tags-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tags-links a {
    padding: 5px 15px;
    background-color: var(--color-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tags-links a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

/* ================================
   NO RESULTS
   ================================ */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    margin-bottom: 20px;
}

.no-results .search-form {
    margin-top: 30px;
}

/* ================================
   HEADER SCROLLED STATE
   ================================ */
.site-header.scrolled {
    background-color: #000000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ================================
   ADMIN CUSTOMIZATION
   ================================ */
/* Custom meta boxes styling */
.twisted-meta-box {
    padding: 20px;
}

.twisted-meta-box .field-group {
    margin-bottom: 20px;
}

.twisted-meta-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.twisted-meta-box input,
.twisted-meta-box textarea {
    width: 100%;
    padding: 8px;
}

/* Gallery admin preview */
.gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.gallery-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}
