/* 
   Casea Global Brand Integrity & Maritime Oversight Center
   Design Aesthetic: Official Admiralty / Maritime Authority
*/

:root {
    --primary-blue: #003366; /* Deep Atlantic Blue */
    --secondary-white: #F8FAFC; /* Wave White */
    --accent-gold: #D4AF37; /* Safety Gold */
    --text-dark: #1E293B;
    --border-color: #CBD5E1;
    --success-green: #10B981;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--secondary-white);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, .legal-text {
    font-family: 'Crimson Pro', serif;
    color: var(--primary-blue);
}

header {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    border-bottom: 4px solid var(--accent-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-brand h1 {
    color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-beacon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.beacon-dot {
    width: 10px;
    height: 10px;
    background-color: var(--success-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 2rem;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
}

nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

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

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.nav-card {
    background: white;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary-blue);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.nav-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid var(--border-color);
    pointer-events: none;
}

.nav-card h3 {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.official-seal {
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    margin: 2rem auto;
    position: relative;
}

.official-seal::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px dashed var(--accent-gold);
    border-radius: 50%;
}

.official-seal span {
    font-size: 0.6rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-transform: uppercase;
}

footer {
    background: #f1f5f9;
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.digital-admiralty-seal {
    width: 80px;
    height: 80px;
    border: 2px double var(--primary-blue);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-transform: uppercase;
    line-height: 1;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    font-family: inherit;
}

button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    background: #004080;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #e2e8f0;
    border-radius: 2px;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: #f8fafc;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-blue);
}
