/*
Theme Name: Fodbold24 - Stadium Experiences
Theme URI: https://fodbold24.dk
Description: A clean, editorial theme for Fodbold24.dk focused on European stadium experiences and football travel.
Author: Fodbold24
Version: 2.0
License: GPL v2 or later
Text Domain: fodbold24
*/

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 1rem; }

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

.container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   HEADER & NAVIGATION
============================================= */
.site-header {
    background: #0d0d0d;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #1db954;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo__icon {
    width: 36px;
    height: 36px;
    background: #1db954;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.site-logo__text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.site-logo__text span {
    color: #1db954;
}

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

.main-nav a {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.current {
    color: #fff;
    border-bottom-color: #1db954;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

/* =============================================
   HERO — FRONTPAGE
============================================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: url('images/hero-bg.jpg');
    transform: scale(1.03);
    transition: transform 8s ease;
}

.hero:hover .hero__bg { transform: scale(1); }

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    color: #fff;
}

.hero__tag {
    display: inline-block;
    background: #1db954;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.hero__title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    max-width: 700px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

.hero__meta-sep { opacity: 0.4; }

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1db954;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 4px;
    margin-top: 28px;
    transition: background 0.2s, transform 0.2s;
}

.hero__cta:hover {
    background: #17a349;
    transform: translateY(-2px);
}

/* =============================================
   SECTION HEADERS
============================================= */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8e8e8;
}

.section-header__title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.section-header__title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #1db954;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.section-header__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1db954;
    letter-spacing: 0.5px;
}

.section-header__link:hover { text-decoration: underline; }

/* =============================================
   CARD GRID
============================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card-grid--featured {
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card__image img { transform: scale(1.05); }

.card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #1db954;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px;
}

.card__badge--news { background: #e63946; }
.card__badge--guide { background: #457b9d; }

.card__body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card__country {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1db954;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.card__title a:hover { color: #1db954; }

.card__excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    margin-top: auto;
}

.card__meta-icon { font-size: 0.85rem; }

/* Featured card variant */
.card--featured .card__image { aspect-ratio: 4/3; }
.card--featured .card__title { font-size: 1.4rem; }

/* =============================================
   STADIUM HIGHLIGHT STRIP
============================================= */
.stadium-strip {
    background: #0d0d0d;
    padding: 48px 0;
    margin: 60px 0;
}

.stadium-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.stadium-tile {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.stadium-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    filter: brightness(0.6);
}

.stadium-tile:hover img {
    transform: scale(1.08);
    filter: brightness(0.8);
}

.stadium-tile__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.stadium-tile__name {
    font-size: 0.95rem;
    font-weight: 700;
}

.stadium-tile__country {
    font-size: 0.75rem;
    color: #1db954;
    margin-top: 2px;
}

/* =============================================
   MAIN CONTENT AREA
============================================= */
.site-main {
    padding: 60px 0 80px;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* =============================================
   SIDEBAR
============================================= */
.sidebar__widget {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.sidebar__widget-title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1db954;
}

.sidebar__list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.sidebar__list li:last-child { border-bottom: none; }

.sidebar__list a:hover { color: #1db954; }

.sidebar__instagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.sidebar__instagram img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.sidebar__instagram img:hover { opacity: 0.8; }

/* =============================================
   SINGLE POST / ARTICLE
============================================= */
.article-header {
    padding: 60px 0 40px;
    background: #0d0d0d;
    color: #fff;
}

.article-header__tag {
    display: inline-block;
    background: #1db954;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.article-header__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    max-width: 800px;
    margin-bottom: 20px;
}

.article-header__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.article-hero-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.article-content {
    padding: 48px 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2a2a2a;
}

.article-content h2 {
    font-size: 1.6rem;
    margin: 40px 0 16px;
    color: #1a1a1a;
}

.article-content h3 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
    color: #1a1a1a;
}

.article-content p { margin-bottom: 1.4rem; }

.article-content ul, .article-content ol {
    margin: 0 0 1.4rem 1.5rem;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li { margin-bottom: 0.5rem; }

.article-content blockquote {
    border-left: 4px solid #1db954;
    padding: 16px 24px;
    margin: 32px 0;
    background: #f8f8f8;
    font-style: italic;
    font-size: 1.1rem;
    color: #444;
    border-radius: 0 8px 8px 0;
}

.article-content .info-box {
    background: #f0faf4;
    border: 1px solid #1db954;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.article-content .info-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1db954;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content .info-box p,
.article-content .info-box li {
    font-size: 0.95rem;
    color: #444;
}

/* =============================================
   STADIUM FACTS BOX
============================================= */
.stadium-facts {
    background: #0d0d0d;
    color: #fff;
    border-radius: 10px;
    padding: 28px;
    margin: 40px 0;
}

.stadium-facts__title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1db954;
    margin-bottom: 20px;
}

.stadium-facts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stadium-facts__item { border-left: 2px solid #1db954; padding-left: 12px; }

.stadium-facts__label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stadium-facts__value {
    font-size: 1.1rem;
    font-weight: 700;
}

/* =============================================
   RATING COMPONENT
============================================= */
.stadium-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.stadium-rating__score {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1db954;
    line-height: 1;
}

.stadium-rating__label {
    font-size: 0.85rem;
    color: #666;
}

.stadium-rating__stars {
    color: #f4c430;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
    background: #0d0d0d;
    color: #ccc;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand__logo span { color: #1db954; }

.footer-brand__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #888;
    max-width: 280px;
}

.footer-col__title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 0.9rem;
    color: #888;
    transition: color 0.2s;
}

.footer-col a:hover { color: #1db954; }

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #555;
}

/* =============================================
   UTILITIES
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn--primary { background: #1db954; color: #fff; }
.btn--primary:hover { background: #17a349; transform: translateY(-1px); }
.btn--outline { background: transparent; color: #1db954; border: 2px solid #1db954; }
.btn--outline:hover { background: #1db954; color: #fff; }

.tag {
    display: inline-block;
    background: #f0faf4;
    color: #1db954;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.section-spacer { padding: 64px 0; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stadium-strip__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: #0d0d0d; padding: 20px 24px; }
    .main-nav.open ul { flex-direction: column; gap: 16px; }
    .nav-toggle { display: flex; }
    .card-grid { grid-template-columns: 1fr; }
    .card-grid--featured { grid-template-columns: 1fr; }
    .hero { height: 75vh; }
    .stadium-strip__inner { grid-template-columns: repeat(2, 1fr); }
    .stadium-facts__grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .stadium-strip__inner { grid-template-columns: 1fr 1fr; }
    .hero__title { font-size: 1.8rem; }
}
