/*
Theme Name: LeatherMen Cymru
Description: Custom bilingual theme.
Version: 1.2.0
*/

:root {
    --color-bg: #111111;
    --color-surface: #1a1e24; /* Slate grey tint for About box */
    --color-border: #333333;
    --color-dragon-red: #D3202A;
    --color-royal-blue: #2B3990;
    --color-hardware-silver: #E0E0E0;
    --color-text-primary: #F0F0F0;
    --color-text-secondary: #9ba3af;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--color-bg); color: var(--color-text-primary); font-family: var(--font-body); line-height: 1.6; }
a { color: var(--color-hardware-silver); text-decoration: none; transition: 0.2s ease; }
a:hover { color: var(--color-dragon-red); }
.site-container { max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header { background: #0a0a0a; border-bottom: 2px solid var(--color-dragon-red); position: sticky; top: 0; z-index: 1000; padding: 1.5rem 0; text-transform: uppercase; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.site-logo a { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem;}
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: 1px;}
.language-switcher ul { display: flex; gap: 0.5rem; list-style: none; }
.language-switcher li.current-lang a { color: var(--color-dragon-red); font-weight: bold; }

/* Hero Section */
.hero-banner { position: relative; width: 100%; min-height: 500px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding-bottom: 3rem; border-bottom: 4px solid #000; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; }
.hero-tagline { font-family: var(--font-heading); font-size: 2.5rem; letter-spacing: 2px; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }
.hero-tagline .divider { color: var(--color-dragon-red); margin: 0 0.5rem; }
.hero-tagline em { font-style: normal; color: var(--color-text-secondary); }
.btn-primary { display: inline-block; background-color: var(--color-dragon-red); color: #fff; font-family: var(--font-heading); padding: 0.75rem 2rem; font-size: 1.2rem; font-weight: bold; border-radius: 4px; text-transform: uppercase; transition: background 0.3s; }
.btn-primary:hover { background-color: #a81921; color: #fff; }

/* Home Layout */
.home-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; margin-bottom: 4rem; align-items: flex-start; }

/* About Block */
.about-block { background-color: var(--color-surface); border: 1px solid #2a303a; border-radius: 8px; padding: 2.5rem; position: relative; overflow: hidden; }
.section-title { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 1rem; }
.section-title span { color: var(--color-text-secondary); font-weight: 400; }
.about-content p { margin-bottom: 1rem; color: #c4cad3; }
.text-link { border-bottom: 1px solid var(--color-hardware-silver); padding-bottom: 2px; }

/* Event Cards */
.home-events-feed { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.event-card { background: #0f0f0f; border: 1px solid #333; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
/* Adding the O-Ring visual cue to the corners of the cards */
.event-card::before, .event-card::after { content: ''; position: absolute; width: 12px; height: 12px; border: 2px solid #555; border-radius: 50%; z-index: 10; }
.event-card::before { top: 10px; left: 10px; }
.event-card::after { top: 10px; right: 10px; }

.event-content { padding: 1.2rem; }
.event-title { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 0.5rem; text-transform: uppercase; }
.event-meta { font-size: 0.9rem; color: var(--color-text-secondary); margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.dress-code-footer { margin-top: auto; padding-top: 0.8rem; border-top: 1px dashed #333; color: var(--color-dragon-red); font-size: 0.85rem; font-weight: bold; text-transform: uppercase; }

/* Responsive */
@media (max-width: 900px) {
    .home-layout { grid-template-columns: 1fr; }
    .hero-tagline { font-size: 1.8rem; }
}