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

:root {
    --primary-emerald: #064E3B;
    --secondary-cream: #FCFBF7;
    --accent-gold: #B8860B;
    --text-dark: #1A1A1A;
    --border-color: #D1C7B7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

body {
    background-color: var(--secondary-cream);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
    color: var(--primary-emerald);
}

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

header {
    background-color: var(--primary-emerald);
    color: var(--secondary-cream);
    padding: 40px 0;
    border-bottom: 4px solid var(--accent-gold);
    text-align: center;
}

.judicial-seal {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    background: radial-gradient(circle, #085d47 0%, #064E3B 100%);
}

nav {
    background: white;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-emerald);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-gold);
}

/* Document Containers */
.doc-container {
    background: white;
    border: 1px solid var(--border-color);
    padding: 60px;
    margin: 40px 0;
    box-shadow: var(--shadow);
    position: relative;
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
}

.doc-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--border-color);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 15px auto;
}

/* Grid & Components */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card {
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-emerald);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid var(--accent-gold);
    transition: all 0.3s;
}

.btn:hover {
    background: var(--accent-gold);
    color: white;
}

footer {
    background: #111;
    color: #888;
    padding: 60px 0;
    text-align: center;
    font-size: 0.8rem;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .doc-container {
        padding: 30px 20px;
    }
}
