:root {
    --color-bg: #050814;
    --color-surface: #0b132b;
    --color-surface-light: #162544;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-accent: #f4a261;
    --color-accent-light: #e9c46a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(244, 162, 97, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(233, 196, 106, 0.05), transparent 25%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-accent-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent-light);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.site-header {
    background: rgba(11, 19, 43, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent-light);
    letter-spacing: 0.05em;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

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

/* Content Area */
.content-area {
    flex: 1;
    padding: 4rem 0;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Article Styles */
article p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

article strong {
    color: var(--color-text);
    font-weight: 600;
}

article em {
    color: var(--color-accent-light);
    font-style: italic;
}

/* Callouts */
.callout {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    background: var(--color-surface);
    border-left: 4px solid var(--color-accent);
}

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

.callout.quickSummary { border-left-color: var(--color-accent-light); }
.callout.tip { border-left-color: #2a9d8f; }
.callout.note { border-left-color: #457b9d; }

/* Lists */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

li {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Cards (for blog list) */
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

.post-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(244, 162, 97, 0.3);
}

.post-card h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

.post-card a {
    color: var(--color-text);
}

.post-card a:hover {
    color: var(--color-accent);
}

.post-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.post-card .read-more {
    color: var(--color-accent);
    font-weight: 600;
    display: inline-block;
    margin-top: auto;
}

/* Forms */
.contact-form {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--color-surface-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--color-text);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(244, 162, 97, 0.2);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem 8rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    background-image: url('/images/punarvasu_hero_bg.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(5, 8, 20, 0.4), rgba(11, 19, 43, 0.9));
    z-index: 1;
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
