@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
    --bg-main: #0f172a;
    --bg-sec: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #ec4899;
    --accent-hover: #db2777;
    --accent-light: rgba(236, 72, 153, 0.2);
    --border: #334155;
    
    --font-header: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

/* Base Layout */
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    flex: 1;
}

/* Header & Nav */
header {
    width: 100%;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}
.logo svg {
    color: var(--accent);
}
nav ul, .nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}
nav a, .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}
nav a:hover, .nav-link:hover {
    color: var(--accent);
}
nav a::after, .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}
nav a:hover::after, .nav-link:hover::after {
    width: 100%;
}
.nav-btn {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--accent-light);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

/* Hero Section */
.hero-min {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}
.hero-min::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
}
.hero-min h1 {
    font-family: var(--font-header);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-min p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Grid & Cards */
.grid-min {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0 8rem;
}
.min-card {
    background: var(--bg-sec);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.min-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}
.min-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}
.min-card:hover img {
    transform: scale(1.03);
}
.min-card h3 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-main);
}
.min-card a {
    margin-top: auto;
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}
.min-card a:hover {
    color: var(--accent-hover);
}

/* Blog Article Layout */
.article-layout {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.article-header {
    text-align: center;
    margin-bottom: 3rem;
}
.article-category {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}
.article-title {
    font-family: var(--font-header);
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 1.5rem 0;
    color: var(--text-main);
}
.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.article-meta-item svg {
    color: var(--accent);
}
.article-hero-img-container {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}
.article-hero-img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
    display: block;
}
.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #cbd5e1;
}
.article-content p {
    margin-bottom: 1.5rem;
}
.article-content h2 {
    font-family: var(--font-header);
    font-size: 2.2rem;
    color: #fff;
    margin: 3rem 0 1.5rem;
}
.article-content h3 {
    font-family: var(--font-header);
    font-size: 1.6rem;
    color: var(--accent);
    margin: 2.5rem 0 1rem;
}
.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #fff;
    font-size: 1.3rem;
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* Footer */
footer {
    width: 100%;
    background: var(--bg-sec);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand h3 {
    font-family: var(--font-header);
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.footer-brand p {
    color: var(--text-muted);
}
.footer-link {
    color: var(--text-muted);
}
.footer-link:hover {
    color: var(--accent);
}
.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.8rem;
}
.footer-bottom {
    text-align: center;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .grid-min { grid-template-columns: 1fr; }
    .hero-min h1 { font-size: 2.5rem; }
    .article-title { font-size: 2.5rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .nav-container { flex-direction: column; gap: 1rem; }
}
