/*
Theme Name: Dutch Golden Ages Tennis Hub
Author: PBN Creative
Description: Premium tennis information portal in the "Dutch Golden Age" style. In-depth analytics, ATP/WTA rankings, and expert reviews.
Version: 1.1.0
*/

:root {
    /* Dutch Golden Age & Tennis Palette */
    --primary: #002147;        /* Royal Dutch Blue */
    --secondary: #C5A059;      /* Golden Era Gold */
    --accent: #B24D3D;         /* Clay Court Red (Secondary Accent) */
    --bg-light: #F9F7F2;       /* Antique Paper Cream */
    --white: #FFFFFF;
    --text-main: #1A1A1B;
    --text-muted: #5D5D5D;
    --border: #E5E0D8;
    
    --container-width: 1200px;
    --content-width: 900px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.8;
    padding-top: 90px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header - Elegant & Structured */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--secondary);
    font-style: italic;
}

.main-nav ul {
    display: flex;
    gap: 3.5rem;
    list-style: none;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-nav a:hover {
    color: var(--secondary);
}

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

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--primary);
}

/* Hero - Option D (Split Screen 50/50) */
.hero-tennis {
    background: var(--primary);
    color: var(--white);
    margin-bottom: 7rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
    overflow: hidden;
}

.hero-img-side {
    background: url('banner.jpg') center/cover no-repeat;
    position: relative;
    border-right: 8px solid var(--secondary);
}

.hero-text-side {
    padding: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--primary);
}

.hero-text-side h1 {
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    line-height: 1.1;
}

.hero-text-side h1 span {
    color: var(--secondary);
    display: block;
    font-style: italic;
}

.hero-text-side p {
    font-size: 1.25rem;
    color: #CBD5E0;
    margin-bottom: 4rem;
    max-width: 550px;
    line-height: 1.6;
}

/* Tennis Features - Regal Layout */
.tennis-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 8rem;
}

.t-card {
    background: var(--white);
    padding: 4rem 3rem;
    border-top: 6px solid var(--secondary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: var(--transition);
    text-align: center;
}

.t-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.t-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.t-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Post Grid - Classical Layout */
.grid-header {
    margin-bottom: 5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 1.5rem;
}

.grid-header h2 {
    font-size: 3rem;
}

.tennis-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem;
    margin-bottom: 7rem;
}

.post-card-tennis {
    background: var(--white);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card-tennis:hover {
    transform: translateY(-8px);
}

.post-card-tennis .thumb {
    height: 260px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.post-card-tennis .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-tennis .cat {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--secondary);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-card-tennis .content {
    padding: 0 1rem 2rem;
    flex-grow: 1;
}

.post-card-tennis h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.post-card-tennis .btn {
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 4px;
}

/* Single Post - Reader Mode */
.post-main-tennis {
    max-width: var(--content-width);
    margin: 6rem auto;
    background: var(--white);
    padding: 6rem;
    box-shadow: 0 30px 90px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
}

.post-header-tennis {
    margin-bottom: 5rem;
    text-align: center;
}

.post-header-tennis h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.post-meta-tennis {
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.post-body-tennis {
    font-size: 1.15rem;
    color: #2D3748;
}

.post-body-tennis p {
    margin-bottom: 2.5rem;
}

.post-body-tennis h2, .post-body-tennis h3 {
    margin-top: 5rem;
    margin-bottom: 2.5rem;
    border-left: 5px solid var(--secondary);
    padding-left: 2rem;
    color: var(--primary);
}

/* Tennis Lists */
.post-body-tennis ul {
    list-style: none;
    margin: 4rem 0;
    padding: 4rem;
    background: var(--bg-light);
    border-radius: 2px;
}

.post-body-tennis li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.post-body-tennis li::before {
    content: '🎾';
    position: absolute;
    left: 0;
    top: 0.2rem;
    font-size: 1.2rem;
}

/* Footer - Deep & Classic */
.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 8rem 0 4rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 8rem;
    margin-bottom: 6rem;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    font-family: 'Playfair Display', serif;
}

.footer-logo span {
    color: var(--secondary);
    font-style: italic;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: #A0AEC0;
    font-weight: 500;
    font-size: 1.1rem;
}

.footer-nav a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 4rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #718096;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Pagination */
.pagi-wrap {
    display: flex;
    justify-content: center;
    margin: 6rem 0;
}

.pagi-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.pagi-list a, .pagi-list span {
    padding: 1rem 1.8rem;
    background: var(--white);
    border: 1px solid var(--border);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.pagi-list .is-active, .pagi-list a:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-inner { gap: 2rem; }
    .hero-text-side { padding: 4rem; }
    .hero-text-side h1 { font-size: 3rem; }
    .hero-tennis { grid-template-columns: 1fr; }
    .hero-img-side { height: 400px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav { display: none; }
    .main-nav.is-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 3rem;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    }
    .main-nav ul { flex-direction: column; gap: 2rem; }
    .tennis-features, .tennis-grid, .footer-inner { grid-template-columns: 1fr; }
    .post-main-tennis { padding: 3rem; }
    .hero-text-side { padding: 4rem 2rem; }
}
