/*
/* Filename: style.css
   Aesthetic: Full Video Overlay & Split Screen + Content Modules
   Version: Patched for Vertical Scroll Clipping
   Updated: 2026-03-04 - FULL GOLD SUPREMACY - PURGED WHITE/BLUE
   Bible Rules: Never delete, comments are god, no inline code.
*/

/* --- THE FOUNDATION: TILED MARBLE --- */
/* [UPDATE 2026-01-30] Reduced background-size to 4% for ultra-dense tiling 
   to hide seams and create a more solid texture. Background-color f0f0f0 
   remains to support marble visibility. */

/* // [DATE] 2026-03-04
   // [PURPOSE] Universal Variable Implementation
   // [EFFECT] Purged --text-dark-blue. Replaced with Gold (#b8860b). */
:root {
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    --gold-border: 2px solid #b8860b;
    --logo-border: 12px solid #b8860b;
    /* // [UPDATE] Gold is now the global mandate. */
    --text-gold: #b8860b;
}

body, html {
    margin: 0; padding: 0; width: 100%; height: 100%;
    font-family: 'Georgia', serif;
    background-color: #f0f0f0;
    /* // [UPDATE] 2026-03-04: Forced Gold text globally. Purged White. */
    color: var(--text-gold);
    background-image: url('images/marble.png');
    background-repeat: repeat;
    background-size: 4%; 
}

/* --- THE VIDEO LAYER (Index Only) --- */
#intro-layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000; background: #000;
    display: flex; justify-content: center; align-items: center;
    opacity: 1; transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
#intro-video { width: 100%; height: 100%; object-fit: cover; }

/* --- THE MAIN SITE LAYER --- */
/* // [2026-02-18] RECOMMENDED FOR DELETION
#app-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: auto; 
    /* [UPDATE 2026-01-30] Removed hard-coded dark gradient to allow 
       marble background-image to persist through the container. */
}
// END OF RECOMMENDED DELETION */

/* // [DATE] 2026-02-18
   // [PURPOSE] Independent Column Scrolling Protocol
   // [EFFECT] Prevents global lock; allows mobile accordion flow and desktop independent scroll. */
#app-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: visible; 
}

/* // [DATE] 2026-02-18
   // [PURPOSE] The 3-Section Skeleton Mechanics
   // [EFFECT] Forces sections to stack as full screens on mobile to prevent overlapping. */
/* // [2026-02-18] RECOMMENDED FOR DELETION
#top-third, #middle-third, #bottom-third {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
// END OF RECOMMENDED DELETION */

/* // [DATE] 2026-02-18
   // [PURPOSE] Mobile Accordion Update (Rule 4)
   // [EFFECT] Allows sections to only take necessary space on mobile while 
      maintaining centering. */
#top-third, #middle-third, #bottom-third {
    min-height: auto; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* // [DATE] 2026-02-18
   // [PURPOSE] Desktop Layout "The Shuffle"
   // [EFFECT] Reorders 3 sections into specific columns: Bottom(L), Top(C), Mid(R). */
/* // [2026-02-18] RECOMMENDED FOR DELETION
@media (min-width: 1024px) {
    #app-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        height: 100vh;
        overflow: hidden;
    }
    #bottom-third { grid-column: 1; min-height: 100%; }
    #top-third { grid-column: 2; min-height: 100%; }
    #middle-third { grid-column: 3; min-height: 100%; }
}
// END OF RECOMMENDED DELETION */

/* // [DATE] 2026-02-18
   // [PURPOSE] Negotiated Width & Wall-Tether Protocol
   // [EFFECT] Sides hold space until center grows; center takes only what is requested. */
@media (min-width: 1024px) {
    #app-container {
        display: grid;
        grid-template-columns: minmax(auto, 1fr) auto minmax(max-content, 1fr);
        justify-content: space-between; 
        height: 100vh;
        overflow: hidden;
    }
    #top-third, #middle-third, #bottom-third {
        height: 100vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        min-width: 0; 
        max-width: 33.33vw; 
        box-sizing: border-box;
    }
    #bottom-third { grid-column: 1; order: 1; }
    #top-third    { grid-column: 2; order: 2; }
    #middle-third { grid-column: 3; order: 3; }
}

/* --- CENTER STAGE CONTENT (FIXED) --- */
#center-stage {
    position: relative; 
    display: flex; flex-direction: column;
    align-items: center; 
    justify-content: flex-start; 
    padding: 40px 20px 40px 20px; 
    box-sizing: border-box;
}

.main-logo { 
    display: inline-block; width: auto; max-width: 400px;
    max-height: 200px; object-fit: contain;
    height: auto; margin-bottom: 30px; 
    border: 12px solid #b8860b;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.3));
}

/* --- TEXT ELEMENTS --- */
.page-title {
    font-size: 2.5rem; text-transform: uppercase;
    /* // [UPDATE] Purged White Border. Now Gold. */
    border-bottom: 4px solid #b8860b; padding-bottom: 10px;
    margin-bottom: 20px; text-align: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    color: var(--text-gold);
}

.panel-label {
    /* // [UPDATE] 2026-03-04: Purged Blue. Now Gold. */
    color: var(--text-gold) !important;
    border-color: var(--text-gold) !important;
}

.pyramid-container {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; width: 100%; 
    font-weight: 900; line-height: 1.4; text-transform: uppercase; 
    letter-spacing: 1px; padding-bottom: 30px;
    border-bottom: 6px solid #000; margin-bottom: 40px;
    /* // [UPDATE] Gold-to-Black Gradient for Pyramid depth. */
    background: linear-gradient(to bottom, #ffd700, #000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pyramid-line { font-size: 1.4rem; display: block; }

/* --- BUTTONS & NAV --- */
.center-actions { 
    display: flex; flex-direction: row; gap: 20px; 
    width: 100%; max-width: 900px; margin-top: 30px;
}

.action-btn {
    flex: 1; text-align: center; padding: 25px 20px; 
    border: 2px solid #b8860b; 
    /* // [UPDATE] Black text on Gold face for maximum contrast. */
    color: #000 !important; 
    text-transform: uppercase; text-decoration: none; 
    font-size: 1.4rem; font-weight: 900;
    background: var(--gold-gradient);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    word-wrap: break-word;
}

.action-btn:hover { 
    background: linear-gradient(135deg, #b8860b 0%, #8b6508 100%);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(184,134,11,0.4);
}

.action-btn.small {
    padding: 15px 10px; font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.panel-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch; 
    gap: 10px;
    width: 100%;
}

/* --- FORMS (Glassmorphism Gold) --- */
.form-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 30px; border: 1px solid #b8860b;
    width: 100%; max-width: 600px; margin-bottom: 20px;
}

input, textarea {
    width: 100%; box-sizing: border-box;
    background: rgba(0,0,0,0.3); 
    /* // [UPDATE] Purged White Border. Now Gold. */
    border: 1px solid #b8860b;
    color: var(--text-gold); padding: 15px; margin-bottom: 15px;
    font-family: inherit; font-size: 1rem;
}

input:focus, textarea:focus {
    background: rgba(0,0,0,0.6); outline: none;
    box-shadow: 0 0 10px rgba(184,134,11,0.2);
}

label { display: block; margin-bottom: 5px; font-weight: bold; color: var(--text-gold); }

/* --- TABLES (Pricing Gold) --- */
.pricing-table {
    width: 100%; border-collapse: collapse;
    margin: 20px 0; background: rgba(0,0,0,0.2);
}

.pricing-table th {
    background: #b8860b; color: #000;
    padding: 15px; text-transform: uppercase;
}

.pricing-table td {
    padding: 15px; border-bottom: 1px solid rgba(184, 134, 11, 0.3);
    text-align: left;
    color: var(--text-gold);
}

.pricing-table tr:hover { background: rgba(184, 134, 11, 0.1); }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .main-logo { max-width: 80%; margin-top: 20px; }
    .pyramid-line { font-size: 1.2rem; }
    .center-actions { flex-direction: column; gap: 15px; }
    .action-btn { width: 100%; font-size: 1.2rem; }
    #center-stage { padding-top: 20px; }
}

/* --- SIDEBAR STACKS --- */
.side-grid { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    padding: 20px; 
    width: 100%;
    height: 100%;
}

.panel-container {
    background: transparent;
    border: none;
    padding: 10px;
    width: 100%;
    max-width: fit-content;
    text-align: center;
    box-sizing: border-box;
}

#side-right .page-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    /* // [UPDATE] Gold Border */
    border-bottom: 2px solid #b8860b;
    color: var(--text-gold);
}

/* --- IMAGE CONTAINER LOGIC --- */
.image-stack-scroll {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 420px; 
    margin-top: 25px;
    max-height: 50vh; 
    overflow-y: auto;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border: var(--gold-border);
    border-radius: 4px;
    box-sizing: border-box;
}

.image-stack-scroll img {
    width: 100%;
    height: auto;
    border: 1px solid #b8860b;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* --- FAWKES SUBMISSION PROTOCOL --- */
.fawkes-gallery-frame {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 450px;
    max-height: 60vh; 
    overflow-y: auto;
    border: var(--gold-border);
    padding: 15px;
    background: rgba(0,0,0,0.2);
    box-sizing: border-box;
    margin-top: 20px;
}

.fawkes-gallery-frame img {
    width: 100%;
    height: auto;
    border: 1px solid #b8860b;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.fawkes-caption {
    color: #ffd700; 
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    margin-top: 8px;
    text-transform: uppercase;
}

/* --- THE WALL PAGE --- */
.wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
    width: 100%;
}

.wall-item {
    background: rgba(0, 0, 0, 0.4); 
    border: var(--gold-border);
    padding: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.wall-item-title {
    /* // [UPDATE] Blue Purged. Gold only. */
    color: var(--text-gold);
    font-family: 'Times New Roman', serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
    word-wrap: break-word;
}

/* --- MASTER NETWORK PATCH [2026-03-04] --- */
/* // [DATE] 2026-03-04 
   // [PURPOSE] Global Gold Letter Authority Protocol
   // [EFFECT] Forces all instructional text and labels to Gold. Purges Dark Blue. */

label, 
.fawkes-label, 
.upload-instruction, 
.wall-upload-lbl,
p {
    /* // [UPDATE] Blue Purged. Gold set to !important to ensure network-wide dominance. */
    color: var(--text-gold) !important; 
    font-weight: 900 !important; 
    text-transform: uppercase;
    letter-spacing: 1px;
    /* // [UPDATE] Black depth shadow replaces white lift for marble readability. */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); 
    display: block;
    margin-top: 15px;
}

.fawkes-upload-container { width: 100%; max-width: 600px; background: rgba(10, 10, 10, 0.85); border: var(--gold-border); padding: 2rem; box-sizing: border-box; border-radius: 8px; margin: 0 auto; box-shadow: 0 0 20px rgba(184, 134, 11, 0.2); }
.custom-file-upload { border: 1px dashed #b8860b; display: inline-block; padding: 15px; cursor: pointer; width: 100%; text-align: center; box-sizing: border-box; margin-bottom: 20px; background: rgba(0,0,0,0.5); color: #b8860b; }
.fawkes-input { background: rgba(0, 0, 0, 0.8) !important; color: var(--text-gold) !important; border: 1px solid #b8860b; padding: 12px; width: 100%; box-sizing: border-box; margin-bottom: 20px; font-family: inherit; font-size: 1.1rem; }
.upload-btn { width: 100%; background: var(--gold-gradient); border: none; color: #000; padding: 15px; font-size: 1.2rem; font-weight: bold; text-transform: uppercase; cursor: pointer; }
.wall-terminal { min-height: 200px; background-color: #050505; border: 2px solid #b8860b; padding: 20px; color: #ffd700; font-family: 'Courier New', Courier, monospace; font-size: 1.3rem; text-align: left; word-wrap: break-word; text-shadow: 0 0 5px #b8860b; }
