/* MAIN CSS - Realistic, Premium Advocate Styling */

/* ── Utility ── */
.gold-text { color: var(--gold-primary) !important; }
:root {
    --bg-pure: #000000;
    --gold-primary: #d4af37;
    --gold-dim: rgba(212, 175, 55, 0.6);
    --text-primary: #ffffff;
    --text-dim: #a0a0a0;
    --border-gold: 1px solid rgba(212, 175, 55, 0.3);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body.theme-dark-elegant {
    background-color: var(--bg-pure);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    /* Safe area for iOS notch / home indicator */
    padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-weight: 400;
}

#app {
    position: relative;
    z-index: 10;
    display: flex;
    min-height: 100vh;
}

/* Container for all dynamic views */
#main-view {
    flex: 1;
    margin-left: 80px; /* Sidebar width */
    position: relative;
    width: calc(100% - 80px);
}

/* Base screen styles */
.screen-container {
    padding: 5rem 6rem;
    min-height: 100vh;
    display: none; /* Controlled by JS */
    animation: fadeIn 0.5s ease forwards;
}

.screen-container.active {
    display: block;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1rem;
    display: inline-block;
}

/* Home Screen specifics */
.advocate-intro {
    max-width: 800px;
}
.advocate-intro h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}
.advocate-intro h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 1px;
}
.advocate-intro p {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Home Layout & Image */
.home-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem;
}
.home-content {
    flex: 1;
    max-width: 800px;
}
.home-image-col {
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
}
.hero-image {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05);
    border: none;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease;
    margin-bottom: 1.5rem;
    object-fit: cover;
    will-change: transform;
}
.hero-image:hover {
    box-shadow: 0 35px 70px -12px rgba(212, 175, 55, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.4);
}
.hero-brand {
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0.5rem;
}


/* Premium Glass Profile Card */
.premium-glass {
    background: linear-gradient(135deg, rgba(20,20,20,0.85) 0%, rgba(5,5,5,0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6), inset 0 0 15px rgba(212, 175, 55, 0.08);
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease;
    will-change: transform;
}
.premium-glass:hover {
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.15), inset 0 0 20px rgba(212, 175, 55, 0.15);
}

.premium-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212,175,55,0.9) 30%, 
        #fff9d6 50%, 
        rgba(212,175,55,0.9) 70%, 
        transparent 100%);
    animation: shimmerLine 2.5s infinite linear;
    background-size: 200% 100%;
}

@keyframes shimmerLine {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-icon {
    width: 32px;
    height: 32px;
    fill: var(--gold-primary);
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
}

.profile-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(212,175,55,0.6), transparent);
    margin: 1.2rem 0;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-dim);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-primary);
}

/* Premium Lists/Cards */
.premium-card {
    position: relative;
    border: var(--border-gold);
    padding: 2.5rem;
    background: rgba(10,10,10,0.8);
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease;
    will-change: transform;
    border-radius: 14px;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212,175,55,0.9) 30%, 
        #fff9d6 50%, 
        rgba(212,175,55,0.9) 70%, 
        transparent 100%);
    animation: shimmerLine 2.5s infinite linear;
    background-size: 200% 100%;
}

.premium-card:hover {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}
.premium-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}
.premium-card p, .premium-card li {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}
.premium-card ul {
    list-style: none;
}
.premium-card li::before {
    content: '•';
    color: var(--gold-primary);
    margin-right: 10px;
}

/* Overlay Header (For separate screens) */
.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}
.close-btn {
    background: transparent;
    border: var(--border-gold);
    color: var(--gold-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
}
.close-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ── Contact Layout ── */
.contact-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0.5rem;
}

