/* Blog Index - Luxe Design */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 2rem 1rem 1rem;
    border-bottom: 1px solid #333333;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs-item:not(:last-child)::after {
    content: '→';
    color: #666666;
    font-size: 0.875rem;
}

.breadcrumbs-link {
    color: #999999;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.breadcrumbs-current {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Blog Container */
.blog-container {
    min-height: 100vh;
    padding-bottom: 4rem;
}

/* Featured Post */
.featured-post {
    position: relative;
    height: 70vh;
    overflow: hidden;
    border-radius: none;
    margin: 0 0 4rem !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.featured-post:hover {
    transform: scale(1.01);
}

.featured-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
}

.featured-post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    color: #ffffff;
}

.featured-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.featured-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-category {
    background-color: #ffffff;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.1;
    max-width: 800px;
}

.featured-subtitle {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 600px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Section Title */
.section-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    text-align: center;
}

/* Blog Filter */
.blog-filter {
    margin-bottom: 3rem;
}

.blog-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-button {
    background: transparent;
    border: 1px solid #333333;
    border-radius: 2rem;
    color: #cccccc;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-button:hover {
    border-color: #666666;
    background-color: #1a1a1a;
    color: #ffffff;
}

.category-button.active {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background-color: #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.blog-card:hover {
    background-color: #222222;
    transform: translateY(-4px);
}

.blog-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.blog-card-content {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    background-color: #333333;
    color: #cccccc;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #ffffff;
}

.blog-excerpt {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #999999;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #999999;
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Newsletter Section */
.newsletter {
    background-color: #1a1a1a;
    border-radius: 1rem;
    padding: 4rem 3rem;
    text-align: center;
    margin: 4rem 0;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.newsletter-content p {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.form-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

#emailInput {
    flex: 1;
    background-color: #000000;
    border: 1px solid #333333;
    border-radius: 2rem;
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#emailInput::placeholder {
    color: #666666;
}

#emailInput:focus {
    outline: none;
    border-color: #4a90e2;
}

.submit-button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 2rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-button:hover {
    background-color: #f0f0f0;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-message.success {
    color: #22c55e;
}

.form-message.error {
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .featured-post {
        height: 60vh;
        margin: 0 0 3rem;
    }
    
    .featured-post-overlay {
        padding: 2rem;
    }
    
    .featured-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .featured-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .featured-meta {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-categories {
        gap: 0.5rem;
    }
    
    .category-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .newsletter {
        padding: 3rem 2rem;
        margin: 3rem 0;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .form-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .submit-button {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .breadcrumbs {
        padding: 1.5rem 1rem 0.75rem;
    }
    
    .featured-post {
        height: 50vh;
        margin: 1rem 0 2rem;
    }
    
    .featured-post-overlay {
        padding: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .featured-subtitle {
        font-size: 0.875rem;
    }
    
    .featured-meta {
        font-size: 0.75rem;
    }
    
    .featured-author img {
        width: 24px;
        height: 24px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .blog-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .blog-categories::-webkit-scrollbar {
        display: none;
    }
    
    .category-button {
        flex-shrink: 0;
        padding: 0.5rem 1rem;
    }
    
    .newsletter {
        padding: 2rem 1rem;
    }
    
    .newsletter-content h2 {
        font-size: 1.75rem;
    }
}

/* Focus States */
.category-button:focus,
.submit-button:focus,
#emailInput:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card {
    animation: fadeInUp 0.5s ease forwards;
}

.blog-card:nth-child(2) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(4) {
    animation-delay: 0.3s;
} 