/* 
   Imperial Brand Protection & Rights Management Portal
   Official Stylesheet
*/

:root {
    --imperial-blue: #002349;
    --marble-white: #FDFDFD;
    --burnished-gold: #A68942;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Playfair Display', serif;
    background-color: var(--marble-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

p, li, label, input, textarea, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--imperial-blue);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    background-color: var(--imperial-blue);
    color: white;
    padding: 2rem 0;
    border-bottom: 4px solid var(--burnished-gold);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-seal {
    width: 60px;
    height: 60px;
    border: 2px solid var(--burnished-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--burnished-gold);
    font-size: 1.5rem;
}

nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--imperial-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--burnished-gold);
    background: rgba(166, 137, 66, 0.05);
}

/* Document Containers */
.document-card {
    background: white;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--burnished-gold);
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--burnished-gold), transparent);
    margin: 2rem 0;
}

/* Official Seals */
.official-seal {
    width: 120px;
    height: 120px;
    border: 3px double var(--burnished-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    margin: 0 auto 1.5rem;
    background: white;
}

.seal-text {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--burnished-gold);
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--imperial-blue);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--imperial-blue);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: var(--burnished-gold);
    border-color: var(--burnished-gold);
}

.btn-gold {
    background: var(--burnished-gold);
    border-color: var(--burnished-gold);
}

.btn-gold:hover {
    background: var(--imperial-blue);
    border-color: var(--imperial-blue);
}

/* Footer */
footer {
    background: var(--imperial-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
}

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

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

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    background: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--burnished-gold);
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.data-table th {
    background: var(--imperial-blue);
    color: white;
    text-align: left;
    padding: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .document-card {
        padding: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
}
