/* ACHERS Website CSS - Based on Design Mocks */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Font Declarations */
@font-face {
    font-family: 'DK Compagnon';
    src: url("../fonts/dk-compagnon.7877596c0a39.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'American Typewriter';
    src: url("../fonts/American Typewriter Regular.940ace70d6c7.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Global Styles */
body {
    background: #E3643B; 
    color: #000000;
    font-family: 'American Typewriter', 'Courier New', monospace; /* Body text font */
    font-size: 20pt; 
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DK Compagnon', 'Arial Black', sans-serif; /* Headers font */
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
}

/* Links */
a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout Container */
.myspace-container {
    display: flex;
    gap: 30px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Column - Navigation & Bio */
.left-column {
    width: 35%;
    flex-shrink: 0;
}

/* Bio Section - "ACHERS" Title */
.bio-section {
    border: none;
    margin-bottom: 10px;
}

.bio-links {
    margin-bottom: 20px;
}

.bio-section h2 {
    font-family: 'DK Compagnon', 'Arial Black', sans-serif;
    font-size: 48pt;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    line-height: 1;
}

.bio-section h2 a {
    color: #000000;
    text-decoration: none;
}

/* Navigation Links - LISTEN TOUR MERCH SIGN UP */
.bio-section > div:first-of-type {
    font-family: 'DK Compagnon', 'Arial Black', sans-serif;
    font-size: 48pt; /* Approximate - adjust as needed */
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.3;
}

.bio-section > div:first-of-type a {
    color: #000000;
    display: block;
    margin-bottom: 5px;
}

.bio-links-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.bio-video {
    margin-top: 20px;
    margin-bottom: 20px;
}


/* Newsletter Section */
#mc_embed_shell {
    border: none;
    margin-top: 20px;
}

.signup-heading {
    font-family: 'American Typewriter', 'Courier New', monospace;
    font-size: 13pt;
    font-weight: normal;
    text-transform: none;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.4;
}

#mc_embed_signup {
    clear: both;
    width: 80%; /* Reduce width by 20% */
    margin: 0 auto; /* Center the form */
}

.indicates-required {
    display: none;
}

#mc_embed_signup .mc-field-group {
    margin-bottom: 12px; /* Reduced from 15px by 20% */
}

#mc_embed_signup label {
    display: none; /* Hide label, use placeholder instead */
}

#mc_embed_signup input.email {
    font-family: 'American Typewriter', 'Courier New', monospace;
    font-size: 14pt; /* Reduced from 18pt by ~20% */
    width: 100%;
    padding: 12px; /* Reduced from 15px by 20% */
    border: 2px solid #000000;
    background: #E3643B; /* Same as body background */
    color: #000000;
    text-transform: uppercase;
}

#mc_embed_signup input.email::placeholder {
    color: #ffffff;
    opacity: 1;
}

#mc_embed_signup .button {
    font-family: 'DK Compagnon', 'Arial Black', sans-serif;
    font-size: 19pt; /* Reduced from 24pt by ~20% */
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    padding: 12px; /* Reduced from 15px by 20% */
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    cursor: pointer;
    transition: all 0.2s ease;
}

#mc_embed_signup .button:hover {
    background: #333333;
}

/* Hide Mailchimp branding */
#mc_embed_signup .optionalParent p,
#mc_embed_signup .refferal_badge {
    display: none !important;
}

/* Video embeds - full width */
.bio-video {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.bio-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.social-icons a {
    display: block;
    transition: opacity 0.2s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

.social-icons img {
    width: 40px;
    height: 40px;
    display: block;
}

/* Player Embed */
.player-embed {
    margin-top: 30px;
}

/* Hide Mailchimp branding */
#mc_embed_signup .optionalParent p,
#mc_embed_signup .refferal_badge {
    display: none !important;
}

/* Player Embed */
.player-embed {
    margin-top: 30px;
}

.player-embed iframe {
    width: 100%;
    border: none;
}

/* Right Column - Posts/Events */
.posts-wall {
    flex: 1;
    min-width: 0;
}

/* Post Item - Event Box */
.post-item {
    border: none;
    margin-bottom: 40px;
}

/* Date Box */
.post-meta {
    font-family: 'DK Compagnon', 'Arial Black', sans-serif;
    font-size: 24pt; 
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    background: transparent;
    border: 2px solid #000000;
    padding: 5px 20px;
    margin-bottom: 20px;
    display: inline-block;
}

/* Post Title */
.post-item h3 {
    font-family: 'DK Compagnon', 'Arial Black', sans-serif;
    font-size: 24pt;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.2;
    background: transparent;
    border: none;
    padding-left: 20px;
}

.post-item h3 a {
    color: #000000;
}

/* Event Description */
.post-item > div {
    font-family: 'American Typewriter', 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    padding-left: 20px;
}

/* Images */
.post-item img,
.post-body img,
.bio-section img {
    max-width: 100%;
    height: auto;
}

/* iFrame handling */
iframe {
    width: 100%;
    border: none;
}

.bio-video iframe,
.post-item iframe,
.post-body iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: none !important;
}

.post-item iframe[src*="spotify"],
.post-body iframe[src*="spotify"] {
    height: 380px;
    aspect-ratio: auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    font-family: 'DK Compagnon', 'Arial Black', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}

.pagination a {
    color: #000000;
    padding: 10px 15px;
    border: 2px solid #000000;
}

.pagination .page-info {
    color: #000000;
}

/* Blog Post Page */
.blog-post-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
}

.blog-post-content {
    border: none;
}

.blog-post-content h1 {
    font-family: 'DK Compagnon', 'Arial Black', sans-serif;
    font-size: 48px; /* Approximate - adjust as needed */
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.meta {
    font-family: 'American Typewriter', 'Courier New', monospace;
    font-size: 14px;
    color: #000000;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.intro {
    font-family: 'American Typewriter', 'Courier New', monospace;
    font-size: 18px;
    font-style: italic;
    color: #000000;
    border: 2px solid #000000;
    padding: 20px;
    margin-bottom: 30px;
}

.post-body {
    font-family: 'American Typewriter', 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    padding: 0;
}

.back-link {
    font-family: 'DK Compagnon', 'Arial Black', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #000000;
    background: transparent;
}

.back-link a {
    color: #000000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .myspace-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .left-column {
        width: 100%;
    }
    
    .bio-section h2 {
        font-size: 40px; /* Smaller on mobile */
    }
    
    .bio-section > div:first-of-type {
        font-size: 28px; /* Smaller on mobile */
    }
    
    .post-item h3 {
        font-size: 28px; /* Smaller on mobile */
    }
    
    .post-meta {
        font-size: 20px; /* Smaller on mobile */
    }
    
    .blog-post-container {
        padding: 20px;
    }
    
    .blog-post-content h1 {
        font-size: 32px; /* Smaller on mobile */
    }
}

/* TODO: Fine-tune font sizes after testing with actual content */
/* TODO: Verify color contrast for accessibility */
