/*
Theme Name: BLDHRD Custom Theme
Theme URI: https://bldhrd.com
Author: Your Name
Author URI: https://yoursite.com
Description: A custom WordPress theme replicating bldhrd.com design with portfolio and blog functionality
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bldhrd
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    opacity: 0.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

p {
    margin: 0 0 1.5rem 0;
}

p:last-child {
    margin-bottom: 0;
}

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

/* Header */
.site-header {
    padding: 30px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1a1a1a;
}

.site-logo a {
    color: #1a1a1a;
}

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

.main-nav a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: #1a1a1a;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 100px;
    text-align: left;
}

.hero-section h1 {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: -0.02em;
    max-width: 1000px;
}

.hero-section p {
    font-size: 20px;
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 24px;
    color: #4a4a4a;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.content-section h2 {
    font-size: 42px;
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: -0.01em;
    max-width: 800px;
}

.content-section p {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 720px;
    color: #4a4a4a;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.portfolio-item:hover img {
    transform: scale(1.03);
}

.portfolio-item-content {
    padding: 24px 0;
}

.portfolio-item h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.portfolio-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.blog-item {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 24px;
    border-radius: 2px;
    transition: opacity 0.3s ease;
}

.blog-item:hover img {
    opacity: 0.85;
}

.blog-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.blog-item h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.blog-item .excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 16px;
}

.read-more {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    display: inline-block;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
}

/* Single Post/Portfolio */
.single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px;
}

.single-content h1 {
    font-size: 52px;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 48px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.single-content img {
    margin: 48px 0;
    border-radius: 2px;
}

.single-content p {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 28px;
    color: #4a4a4a;
}

.single-content h2 {
    font-size: 36px;
    margin: 48px 0 24px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.single-content h3 {
    font-size: 26px;
    margin: 36px 0 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Footer */
.site-footer {
    padding: 80px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 100px;
    text-align: center;
}

.site-footer p {
    font-size: 13px;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.site-footer a {
    color: #666;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #1a1a1a;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 20px 0;
    }
    
    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 38px;
    }
    
    .hero-section p {
        font-size: 18px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .content-section h2 {
        font-size: 32px;
    }
    
    .content-section p {
        font-size: 17px;
    }
    
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-content {
        padding: 60px 20px;
    }
    
    .single-content h1 {
        font-size: 36px;
    }
    
    .single-content p {
        font-size: 17px;
    }
}