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

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #1a1a1a;
    color: #e8e8e8;
    font-weight: 300;
}

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

a {
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #f4d947;
}

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

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ====== HEADER & NAVIGATION ====== */
.main-header {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.logo-link img {
    display: block;
    filter: brightness(1.1);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #e8e8e8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #f4d947);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 20px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #e8e8e8;
    transition: all 0.3s ease;
}

/* ====== HERO SECTION ====== */
.hero-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: #D4AF37;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-baseline {
    font-size: 1.3rem;
    color: #ccc;
    font-style: italic;
    font-weight: 300;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
}

/* ====== SECTIONS ====== */
.intro-section {
    padding: 4rem 0;
    background: #1f1f1f;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

.featured-posts {
    padding: 5rem 0;
    background: #1a1a1a;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #D4AF37;
    font-size: clamp(2rem, 4vw, 3rem);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #f4d947);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

/* ====== POST CARDS ====== */
.post-card {
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.post-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.post-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover .post-card-overlay {
    opacity: 1;
}

.post-card-link {
    background: #D4AF37;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-card-date {
    font-size: 0.9rem;
    color: #999;
    font-weight: 400;
}

.post-card-category {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-title {
    margin-bottom: 1rem;
}

.post-card-title a {
    color: #e8e8e8;
    font-size: 1.3rem;
    line-height: 1.4;
}

.post-card-title a:hover {
    color: #D4AF37;
}

.post-card-excerpt {
    color: #ccc;
    line-height: 1.6;
}

/* ====== POST DETAIL ====== */
.breadcrumb-section {
    padding: 1rem 0;
    background: #2a2a2a;
}

.post-article {
    padding: 3rem 0;
    background: #1f1f1f;
}

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

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.post-date {
    color: #999;
    font-size: 1rem;
}

.post-category {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    color: #D4AF37;
    max-width: 800px;
    margin: 0 auto;
}

.post-thumbnail {
    margin-bottom: 3rem;
    text-align: center;
}

.post-featured-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.post-content {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-author {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: #2a2a2a;
    border-radius: 8px;
    border-left: 4px solid #D4AF37;
}

.related-posts {
    padding: 5rem 0;
    background: #1a1a1a;
}

/* ====== LISTING PAGES ====== */
.listing-header {
    padding: 3rem 0;
    background: #2a2a2a;
    text-align: center;
}

.listing-title {
    color: #D4AF37;
}

.posts-listing {
    padding: 4rem 0;
    background: #1f1f1f;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pagination-link {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin: 0 0.3rem;
    background: #2a2a2a;
    color: #e8e8e8;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: #D4AF37;
    color: #1a1a1a;
}

.pagination-current {
    background: #D4AF37;
    color: #1a1a1a;
}

/* ====== FOOTER ====== */
.main-footer {
    background: #0f0f0f;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

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

.footer-content {
    text-align: center;
}

.copyright {
    color: #999;
    font-size: 0.9rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .nav-list {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        border-top: 1px solid #333;
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0 4rem;
    }
    
    .hero-container {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    body {
        font-size: 14px;
    }
    
    .post-card-image {
        height: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
