/* UnifiedBeez Architecture - Shared Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #FFFBF5;
    min-height: 100vh;
}

/* ============================================
   NAVIGATION BAR (Cross-page navigation)
   ============================================ */
.architecture-nav {
    background: linear-gradient(135deg, #1A4D2E 0%, #2D6A4F 50%, #52B788 100%);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.architecture-nav a {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.architecture-nav a:hover {
    background: white;
    color: #1A4D2E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.architecture-nav a.active {
    background: #FB9C1D;
    color: white;
    border-color: white;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    padding: 15px 20px;
    background: #f9f9f9;
    border-bottom: 2px solid #e0e0e0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #1A4D2E;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* ============================================
   SEE ALSO BOXES (Cross-references)
   ============================================ */
.see-also-box {
    background: #E8F5E9;
    border-left: 6px solid #2D6A4F;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.see-also-box h4 {
    color: #1A4D2E;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.see-also-box ul {
    list-style: none;
    padding: 0;
}

.see-also-box ul li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.see-also-box ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2D6A4F;
    font-weight: 700;
}

.see-also-box a {
    color: #1A4D2E;
    text-decoration: none;
    font-weight: 600;
}

.see-also-box a:hover {
    text-decoration: underline;
    color: #FB9C1D;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1A4D2E;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.back-to-top:hover {
    background: #FB9C1D;
    transform: translateY(-5px);
}

/* ============================================
   PAGE HEADER (For architecture pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #E8F5E9 0%, #B7E4C7 100%);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 3px solid #2D6A4F;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1A4D2E;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: #2C3E50;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .architecture-nav {
        flex-direction: column;
        gap: 10px;
    }

    .architecture-nav a {
        width: 100%;
        text-align: center;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .architecture-nav,
    .breadcrumb,
    .back-to-top {
        display: none;
    }

    body {
        background: white;
    }
}
