/* 
   Travellersshop - Magazine Editorial Theme 
   Inspired by Kicker Fashion Theme 
*/

:root {
    --bg-main: #ffffff;
    --bg-secondary: #f8f8f8;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #999999;
    --accent-color: #000000; /* High contrast black for accents */
    --accent-hover: #555555;
    --border-color: #eaeaea;
    --border-color-dark: #dddddd;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Karla', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--accent-hover);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* Top Bar */
.top-bar {
    background-color: var(--text-primary);
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #ffffff;
    margin-right: 15px;
    font-weight: 500;
}

.social-links a:hover {
    color: #cccccc;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.disclosure-link {
    color: #aaaaaa;
}

.disclosure-link:hover {
    color: #ffffff;
}

.btn-subscribe-small {
    background: #ffffff;
    color: var(--text-primary);
    border: none;
    padding: 4px 12px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-subscribe-small:hover {
    background: #dddddd;
}

/* Header */
.site-header {
    padding: 40px 0 20px;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

/* Hero Magazine Grid */
.hero-magazine {
    margin: 40px auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hero-main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    border-radius: 2px;
}

.hero-sub {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 2px;
}

.hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.hero-main img, .hero-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-main:hover img, .hero-sub:hover img {
    transform: scale(1.05);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #ffffff;
}

.hero-sub .hero-content {
    padding: 25px;
}

.hero-content .category {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.hero-main .hero-content h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-sub .hero-content h3 {
    font-size: 1.3rem;
    color: #ffffff;
}

.hero-content a {
    color: #ffffff;
}

.hero-main .meta {
    font-size: 0.8rem;
    color: #cccccc;
}

/* Content Layout */
.content-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.section-heading {
    margin-bottom: 40px;
    position: relative;
}

.section-heading h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-main);
    display: inline-block;
    padding-right: 20px;
    position: relative;
    z-index: 2;
}

.heading-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

/* Post List */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.post-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: center;
}

.post-img {
    overflow: hidden;
    aspect-ratio: 1/1;
    border-radius: 2px;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.post-item:hover .post-img img {
    transform: scale(1.05);
}

.post-info .category {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: block;
}

.post-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.post-info .excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.read-more {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 2px;
}

.pagination {
    margin-top: 50px;
    text-align: center;
}

.btn-load-more {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: transparent;
    cursor: pointer;
}

.btn-load-more:hover {
    background: var(--text-primary);
    color: #ffffff;
}

/* Sidebar */
.sidebar {
    padding-top: 15px; /* align with first post */
}

.widget {
    margin-bottom: 50px;
}

.widget h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.about-widget p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Trending List */
.trending-list {
    list-style: none;
}

.trending-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.trending-list .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--border-color-dark);
    line-height: 1;
}

.trend-content a {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
}

.trend-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Newsletter Widget */
.newsletter-widget p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.newsletter-widget form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-widget input {
    padding: 12px 15px;
    border: 1px solid var(--border-color-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--bg-secondary);
}

.newsletter-widget input:focus {
    outline: none;
    border-color: var(--text-primary);
}

.newsletter-widget button {
    padding: 12px;
    background: var(--text-primary);
    color: #ffffff;
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-widget button:hover {
    background: var(--accent-hover);
}

/* Footer */
.site-footer {
    background: var(--text-primary);
    color: #ffffff;
    padding: 80px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #aaaaaa;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-col h4 {
    color: #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.link-col a {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.link-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #888888;
    font-size: 0.8rem;
}

/* Page Layouts (About, Disclosure, Privacy) */
.page-container {
    max-width: 800px;
    margin: 60px auto 100px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-header .category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.page-header .heading-line {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: block;
    width: 60px;
    height: 2px;
    background: var(--text-primary);
    margin: 0 auto;
}

.page-content {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.page-content p {
    margin-bottom: 25px;
}

.page-content .lead {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.page-content h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 50px 0 20px;
}

.image-breakout {
    margin: 50px 0;
}

.image-breakout img {
    width: 100%;
    border-radius: 2px;
}

.styled-list {
    list-style: none;
    margin-bottom: 40px;
}

.styled-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
}

.styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 50%;
}

.styled-list strong {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-right: 5px;
}

.text-link {
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: underline;
}

.text-link:hover {
    color: var(--text-muted);
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    cursor: default;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .site-header {
        position: relative;
        top: auto;
        padding: 20px 0 10px;
    }
    .logo {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .post-item {
        grid-template-columns: 1fr;
    }
    .post-img {
        aspect-ratio: 16/9;
    }
    .hero-side {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }
    .main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .top-bar-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
    }
    .main-nav a {
        font-size: 0.75rem;
    }
    .page-header h1 {
        font-size: 1.6rem;
    }
    .hero-main .hero-content h2 {
        font-size: 2rem;
    }
}
