/* 
   Nomos Sovereignty - Brand Identity CSS
   Project: PRJ-082-NOMOS-ARBITRATION
*/

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

:root {
    --stone-gray: #2C3E50; /* 正義石碑灰 */
    --gavel-red: #7B241C;  /* 議事錘紅 */
    --sovereign-gold: #996515; /* 主權憲章金 */
    --parchment: #F4ECD8;  /* 條約羊皮紙色 */
    --walnut: #3E2723;     /* 胡桃木色 */
    --marble: #F5F5F5;     /* 大理石色 */
}

body {
    font-family: 'Playfair Display', serif; /* 古典襯線體 */
    background-color: var(--stone-gray);
    color: var(--parchment);
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif; /* 莊重、具備歷史感的字體 */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sovereign-gold);
    font-weight: 700;
}

.navbar-brand-custom {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--sovereign-gold) !important;
}

.navbar-custom {
    background-color: rgba(34, 49, 63, 0.9);
    border-bottom: 2px solid var(--sovereign-gold);
    padding: 1rem 0;
    backdrop-filter: blur(5px);
}

.nav-link-custom {
    color: var(--parchment) !important;
    font-size: 0.9rem;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    margin: 0 15px;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--sovereign-gold) !important;
    border-bottom: 2px solid var(--sovereign-gold);
}

footer {
    background-color: #1a252f;
    border-top: 3px solid var(--sovereign-gold);
    padding: 50px 0;
    color: #bdc3c7;
}

.footer-title {
    color: var(--sovereign-gold);
    font-family: 'Cinzel', serif;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--sovereign-gold);
}

.section-padding {
    padding: 100px 0;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--sovereign-gold);
    margin: 20px auto 0;
}

.card-nomos {
    background: #22313F;
    border: 1px solid var(--sovereign-gold);
    color: var(--parchment);
    border-radius: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.card-nomos:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card-header-nomos {
    background-color: var(--gavel-red);
    color: white;
    border-bottom: 2px solid var(--sovereign-gold);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
}

.btn-nomos {
    background-color: var(--gavel-red);
    color: white !important;
    border: 1px solid var(--sovereign-gold);
    border-radius: 0;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-nomos:hover {
    background-color: var(--sovereign-gold);
}

/* Marble & Walnut Texture */
.bg-marble {
    background-image: url('https://www.transparenttextures.com/patterns/concrete-wall.png');
    background-color: var(--marble);
    color: var(--stone-gray);
}

.bg-walnut {
    background-image: url('https://www.transparenttextures.com/patterns/wood-pattern.png');
    background-color: var(--walnut);
    color: var(--parchment);
}

/* Table */
.table-nomos {
    color: var(--parchment);
    background-color: #22313F;
    border: 1px solid var(--sovereign-gold);
}

.table-nomos thead th {
    background-color: var(--gavel-red);
    color: white;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    border-color: var(--sovereign-gold);
}

.table-nomos tbody tr:hover {
    background-color: #2c3e50;
}

.table-nomos td, .table-nomos th {
    border-color: rgba(153, 101, 21, 0.4);
}

/* Typography & Layout */
.text-gold {
    color: var(--sovereign-gold);
}

.text-gavel {
    color: var(--gavel-red);
}

.heavy-divider {
    height: 5px;
    background: var(--sovereign-gold);
    border: none;
    opacity: 1;
}

.embossed-text {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7), 
                 0 0 1px rgba(255,255,255,0.2);
}
