/*
Meta Website Style
Based on D:\infinite\meta website design
*/

:root {
    /* Public site warm tones */
    --background: 40 33% 95%;
    --foreground: 30 10% 10%;
    --primary: 158 25% 23%;
    --primary-hover: 158 28% 15%;
    --primary-foreground: 40 33% 95%;
    --accent: 32 55% 51%;
    --accent-foreground: 30 10% 10%;
    --muted: 35 20% 91%;
    --muted-foreground: 30 8% 39%;
    --border: 35 16% 81%;
    --surface: 0 0% 100%;
    --footer-bg: #1C1917;
    --footer-border: #2E2822;
    --footer-text: #9C9087;
    --card: 0 0% 100%;
    --card-foreground: 30 10% 10%;
    --popover: 0 0% 100%;
    --popover-foreground: 30 10% 10%;
    --secondary: 35 20% 91%;
    --secondary-foreground: 30 10% 10%;
    --destructive: 0 72% 51%;
    --destructive-foreground: 0 0% 100%;
    --input: 35 16% 81%;
    --ring: 158 25% 23%;
    --radius: 0.375rem;
    --container-padding: 1.25rem;
}

.dark {
    --background: 30 10% 10%;
    --foreground: 40 33% 95%;
    --primary: 152 25% 38%;
    --primary-hover: 152 26% 32%;
    --primary-foreground: 40 33% 95%;
    --accent: 32 55% 51%;
    --accent-foreground: 40 33% 95%;
    --muted: 25 12% 15%;
    --muted-foreground: 25 8% 57%;
    --border: 25 12% 15%;
    --surface: 30 12% 12%;
    --card: 30 12% 12%;
    --card-foreground: 40 33% 95%;
    --popover: 30 12% 12%;
    --popover-foreground: 40 33% 95%;
    --secondary: 25 12% 15%;
    --secondary-foreground: 40 33% 95%;
    --input: 25 12% 15%;
    --ring: 152 25% 38%;
}

html {
    background-color: hsl(var(--background));
    color-scheme: light;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "rlig" 1, "calt" 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    color: hsl(var(--foreground));
}

/* Header Styles */
.meta-header {
    border-bottom: 1px solid hsl(var(--border));
    padding: 2.5rem 0;
    text-align: center;
}

.meta-header-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
}

.meta-header-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: hsl(var(--foreground));
}

.meta-header-title a {
    color: hsl(var(--foreground));
    transition: color 0.3s ease;
}

.meta-header-title a:hover {
    color: hsl(var(--primary));
}

/* Navigation Styles */
.meta-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid hsl(var(--border));
    background-color: hsl(var(--background) / 0.9);
    backdrop-filter: blur(4px);
}

.meta-nav-container {
    max-width: 80rem;
    margin: 0 auto;
    overflow-x: auto;
}

.meta-nav-list {
    display: flex;
    min-width: max-content;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.meta-nav-item {
    flex-shrink: 0;
    white-space: nowrap;
}

.meta-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s ease;
}

@media (min-width: 1024px) {
    .meta-nav-link {
        padding: 1rem 1.5rem;
    }
}

.meta-nav-link:hover {
    color: hsl(var(--primary));
}

/* Footer Styles */
.meta-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 1rem 2rem;
}

.meta-footer-top {
    max-width: 72rem;
    margin: 0 auto;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--footer-border);
}

@media (min-width: 768px) {
    .meta-footer-top {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.meta-footer-brand {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .meta-footer-brand {
        margin-bottom: 0;
    }
}

.meta-footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: hsl(var(--accent));
    margin-bottom: 0.75rem;
}

.meta-footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.meta-footer-description {
    max-width: 20rem;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .meta-footer-description {
        margin-top: 0;
    }
}

.meta-footer-grid {
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .meta-footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.meta-footer-column h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    margin-bottom: 1rem;
}

.meta-footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.meta-footer-column li {
    margin-bottom: 0.75rem;
}

.meta-footer-column a {
    font-size: 0.875rem;
    color: var(--footer-text);
    transition: color 0.2s ease;
}

.meta-footer-column a:hover {
    color: white;
}

.meta-footer-bottom {
    max-width: 72rem;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--footer-border);
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .meta-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.meta-footer-bottom a {
    color: var(--footer-text);
    transition: color 0.2s ease;
}

.meta-footer-bottom a:hover {
    color: white;
}

/* Article Card Styles */
.meta-article-card {
    margin-bottom: 2rem;
}

.meta-article-card-image {
    width: 100%;
    object-fit: cover;
    margin-bottom: 1.25rem;
    border-radius: 0.25rem;
    transition: transform 0.5s ease;
}

.meta-article-card:hover .meta-article-card-image {
    transform: scale(1.02);
}

.meta-article-card-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: hsl(var(--accent));
    margin-bottom: 0.75rem;
}

.meta-article-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

.meta-article-card-title a {
    color: hsl(var(--foreground));
    transition: color 0.2s ease;
}

.meta-article-card-title a:hover {
    color: hsl(var(--primary));
}

.meta-article-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.meta-article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.meta-article-card-read-more {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--primary));
    transition: color 0.2s ease;
}

.meta-article-card-read-more:hover {
    color: hsl(var(--primary-hover));
}

/* Main Content Area */
.meta-main {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Utility Classes */
.text-foreground {
    color: hsl(var(--foreground));
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

.text-primary {
    color: hsl(var(--primary));
}

.bg-background {
    background-color: hsl(var(--background));
}

.border-border {
    border-color: hsl(var(--border));
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .meta-header-title {
        font-size: 2.5rem;
    }
    
    .meta-nav-container {
        padding: 0 1rem;
    }
    
    .meta-main {
        padding: 2rem 1rem;
    }
}
