/*
Theme Name: Urell
Theme URI: https://aeimarketing.com
Author: jt
Author URI: https://aeimarketing.com
Description: A dark, jazzy theme crafted for drummers. Bold rhythms, deep tones, and a stage-ready aesthetic.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: urell
Tags: dark, custom-menu, featured-images, threaded-comments, translation-ready
*/

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #e8e0d5;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle gold dust background texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a373' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #f5f0e8;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2rem;
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 0.25rem;
    background: linear-gradient(180deg, #ffffcc 0%, #ffff00 45%, #daa520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: -1px -1px 1px rgba(255,255,255,0.2), 1px 1px 1px rgba(0,0,0,0.3);
}
h2 {
    font-size: 2rem;
    background: linear-gradient(180deg, #b8860b 0%, #ffff00 45%, #daa520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: -1px -1px 1px rgba(255,255,255,0.2), 1px 1px 1px rgba(0,0,0,0.3);
}
h3 {
    font-size: 1.6rem;
    background: linear-gradient(180deg, #505050 0%, #e0e0e0 45%, #808080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h4 { font-size: 1.5rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

a {
    color: #d4a373;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #e9c46a;
    text-shadow: 0 0 8px rgba(212, 163, 115, 0.4);
}

p {
    font-size: 1.05rem;
    color: #dddddd;
    margin-bottom: 1.2rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    border-bottom: 1px solid #2a2520;
    padding: 1rem 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a373, #ffff00, #d4a373, transparent);
    opacity: 0.6;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-logo a {
    display: inline-block;
    line-height: 0;
}

.site-logo .custom-logo {
    display: block;
    width: auto;
    height: auto;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(180deg, #ffffcc 0%, #ffff00 45%, #daa520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 0 8px rgba(255, 234, 0, 0.4), 0 0 16px rgba(255, 234, 0, 0.2);
}

.site-title a {
    color: inherit;
}

.site-title a:hover {
    color: #d4a373;
}

.site-description {
    font-size: 0.9rem;
    color: #a89f91;
    font-style: italic;
    margin: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: #e8e0d5;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a373, #ffff00);
    transition: width 0.3s ease;
    box-shadow: 0 0 6px rgba(212, 163, 115, 0.4);
}

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

.main-navigation a:hover {
    color: #ffffcc;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #d4a373;
    color: #d4a373;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(212, 163, 115, 0.1);
    box-shadow: 0 0 10px rgba(212, 163, 115, 0.2);
}

/* ============================================
   HERO AREA
   ============================================ */

body.home .hero-section {
    display: none;
}

body.home .aei-hero-ultimate {
    width: 100vw;
    max-width: 1920px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom:4em;
}

.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,163,115,0.03) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #a89f91;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.site-main {
    padding: 2rem 0;
}
body.home .site-main {
    padding: 0 0 2rem 0;
    
}

.content-area {
    width: 100%;
}

/* Posts / Articles */
.post {
    background: linear-gradient(145deg, #141414 0%, #111111 100%);
    border: 1px solid #2a2520;
    border-radius: 6px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4a373, #ffff00, #d4a373, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 163, 115, 0.08);
    border-color: rgba(212, 163, 115, 0.3);
}

.post:hover::before {
    opacity: 0.6;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: #f5f0e8;
    transition: all 0.3s ease;
}

.entry-title a:hover {
    color: #ffffcc;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.3);
}

.entry-meta {
    font-size: 0.85rem;
    color: #8a8075;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.entry-meta a {
    color: #a89f91;
}

.entry-meta a:hover {
    color: #d4a373;
}

.entry-content {
    color: #c8bfb3;
}

.entry-content h2,
.entry-content h3 {
    color: #e9c46a;
    margin-top: 2rem;
}

/* ============================================
   FEATURED IMAGES
   ============================================ */
.post-thumbnail {
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.post:hover .post-thumbnail img {
    transform: scale(1.03);
}

/* ============================================
   BUTTONS
   ============================================ */
.button,
button,
input[type="submit"] {
    display: inline-block;
    background: linear-gradient(145deg, transparent 0%, rgba(212, 163, 115, 0.05) 100%);
    border: 2px solid #d4a373;
    color: #d4a373;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.button::before,
button::before,
input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.button:hover::before,
button:hover::before,
input[type="submit"]:hover::before {
    left: 100%;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    background: linear-gradient(145deg, #d4a373 0%, #e9c46a 100%);
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(212, 163, 115, 0.3), 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* ============================================
   SIDEBAR
   ============================================ */
.widget-area {
    background: linear-gradient(145deg, #141414 0%, #111111 100%);
    border: 1px solid #2a2520;
    border-radius: 6px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.1rem;
    color: #e9c46a;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #2a2520;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #1e1e1e;
}

.widget a {
    color: #c8bfb3;
}

.widget a:hover {
    color: #d4a373;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    border-top: 1px solid #2a2520;
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a373, #ffff00, #d4a373, transparent);
    opacity: 0.5;
}

.site-footer .site-container {
    position: relative;
}

.site-footer::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4a373, transparent);
    opacity: 0.3;
    margin-bottom: 2rem;
}

.site-info {
    color: #8a8075;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
    background: linear-gradient(145deg, #141414 0%, #111111 100%);
    border: 1px solid #2a2520;
    border-radius: 6px;
    padding: 2.5rem;
    margin-top: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid #2a2520;
}

.comment-meta {
    font-size: 0.85rem;
    color: #8a8075;
    margin-bottom: 0.75rem;
}

.comment-author {
    color: #e9c46a;
    font-weight: 700;
}

/* ============================================
   FORMS
   ============================================ */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    background-color: #1a1a1a;
    border: 1px solid #2a2520;
    color: #e8e0d5;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #d4a373;
    box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.15), 0 0 10px rgba(212, 163, 115, 0.1);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a89f91;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    text-align: center;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid #2a2520;
    color: #c8bfb3;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: #d4a373;
    border-color: #d4a373;
    color: #0a0a0a;
}

/* ============================================
   UTILITY
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.aligncenter {
    display: block;
    margin: 1.5rem auto;
}

.alignleft {
    float: left;
    margin: 0 1.5rem 1.5rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1.5rem 1.5rem;
}

/* ============================================
   JAZZY ANIMATIONS
   ============================================ */
.rhythm-bar {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin: 2rem 0;
}

.rhythm-bar span {
    display: block;
    width: 6px;
    background-color: #d4a373;
    border-radius: 3px;
    animation: rhythm-bounce 1.2s ease-in-out infinite;
}

.rhythm-bar span:nth-child(1) { height: 20px; animation-delay: 0s; }
.rhythm-bar span:nth-child(2) { height: 35px; animation-delay: 0.15s; }
.rhythm-bar span:nth-child(3) { height: 25px; animation-delay: 0.3s; }
.rhythm-bar span:nth-child(4) { height: 40px; animation-delay: 0.1s; }
.rhythm-bar span:nth-child(5) { height: 30px; animation-delay: 0.25s; }

@keyframes rhythm-bounce {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(1.4); opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media screen and (max-width: 768px) {
    .site-container {
        padding: 0 0.75rem;
    }

    .site-branding {
        flex-direction: column;
        text-align: center;
    }

    .site-logo {
        margin: 0 auto;
    }

    .menu-toggle {
        display: block;
        margin: 0 auto;
    }

    .main-navigation {
        flex-direction: column;
        width: 100%;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }

    h1 {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 0.25rem;
    }

    h2 { font-size: 1.4rem; }

    .post {
        padding: 1.5rem;
    }

    .post-thumbnail {
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    }
}
