/* Under Construction Theme - Enhanced Version */ :root { --primary-color: #2563eb; --secondary-color: #64748b; --accent-color: #f59e0b; --background-color: #f8fafc; --surface-color: #ffffff; --text-primary: #1e293b; --text-secondary: #64748b; --border-color: #e2e8f0; --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --scrollbar-width: 17px; /* Standard scrollbar width */ } /* Ultimate layout shift prevention */ html { width: 100%; height: 100%; overflow-y: scroll; scrollbar-gutter: stable; } * { box-sizing: border-box; } body { font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; color: var(--text-primary); background: linear-gradient(135deg, var(--background-color) 0%, #e2e8f0 100%); margin: 0; padding: 0; min-height: 100vh; overflow-x: hidden; width: 100%; /* Force scrollbar to always be present to prevent layout shift */ overflow-y: scroll; } .content-area { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 1rem; width: 100%; box-sizing: border-box; /* Ensure consistent width regardless of scrollbar */ min-width: 0; /* Force consistent width calculation */ position: relative; left: 0; right: 0; } /* Header Section */ .dj-app-header { text-align: center; margin-bottom: 3rem; padding: 2rem; background: var(--surface-color); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); } .dj-app-site-title { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin: 0 0 1rem 0; letter-spacing: -0.025em; } .dj-app-site-description { font-size: 1.125rem; color: var(--text-secondary); margin: 0; font-weight: 400; } /* Under Construction Badge */ .construction-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, var(--accent-color), #f97316); color: white; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.875rem; font-weight: 600; margin-top: 1rem; box-shadow: var(--shadow-md); animation: pulse 2s infinite; } .construction-badge::before { content: "🔧"; font-size: 1rem; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } /* Main Navigation Menu */ .dj-app-menu-container { background: transparent; border-radius: 12px; padding: 1rem 0; margin: 0; box-shadow: none; border: none; } /* Integrated Menu Container */ .dj-app-integrated-menu { margin-bottom: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); } .dj-app-integrated-menu .dj-app-menu-container { background: transparent; padding: 0.5rem 0; margin: 0; } .dj-app-menu-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; } .dj-app-menu-item { position: relative; } .dj-app-menu-link, .dj-app-menu-text { display: block; padding: 0.875rem 1.5rem; text-decoration: none; border-radius: 8px; color: var(--text-primary); font-weight: 500; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent; background: transparent; } .dj-app-menu-link:hover { background: var(--border-color); color: var(--text-primary); box-shadow: var(--shadow-sm); } .dj-app-menu-item-current .dj-app-menu-text { background: var(--primary-color); color: white; box-shadow: var(--shadow-sm); } /* Submenu Styles */ .dj-app-menu-item { position: relative; } .dj-app-submenu { position: absolute; top: 100%; left: 0; background: var(--surface-color); border-radius: 8px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1000; list-style: none; margin: 0; padding: 0.5rem 0; } .dj-app-menu-item:hover .dj-app-submenu { opacity: 1; visibility: visible; transform: translateY(0); } .dj-app-submenu .dj-app-menu-item { position: static; } .dj-app-submenu .dj-app-menu-link, .dj-app-submenu .dj-app-menu-text { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-color); border-radius: 0; font-size: 0.9rem; } .dj-app-submenu .dj-app-menu-link:last-child, .dj-app-submenu .dj-app-menu-text:last-child { border-bottom: none; } .dj-app-submenu .dj-app-menu-link:hover { background: var(--border-color); color: var(--text-primary); } .dj-app-submenu .dj-app-menu-item-current .dj-app-menu-text { background: var(--primary-color); color: white; } /* Arrow indicator for menu items with submenus */ .dj-app-menu-item:has(.dj-app-submenu) .dj-app-menu-link::after, .dj-app-menu-item:has(.dj-app-submenu) .dj-app-menu-text::after, .dj-app-menu-item-has-submenu .dj-app-menu-link::after, .dj-app-menu-item-has-submenu .dj-app-menu-text::after { content: "▼"; margin-left: 0.5rem; font-size: 0.8em; transition: transform 0.3s ease; } .dj-app-menu-item:hover:has(.dj-app-submenu) .dj-app-menu-link::after, .dj-app-menu-item:hover:has(.dj-app-submenu) .dj-app-menu-text::after, .dj-app-menu-item-has-submenu:hover .dj-app-menu-link::after, .dj-app-menu-item-has-submenu:hover .dj-app-menu-text::after { transform: rotate(180deg); } /* Remove arrows from submenu items */ .dj-app-submenu .dj-app-menu-link::after, .dj-app-submenu .dj-app-menu-text::after { content: none !important; } /* Parent Active States - CSS Only Solution */ /* When a submenu contains a current item, make the parent active too */ .dj-app-menu-item:has(.dj-app-submenu .dj-app-menu-item-current)>.dj-app-menu-link, .dj-app-menu-item:has(.dj-app-submenu .dj-app-menu-item-current)>.dj-app-menu-text { background: var(--primary-color); color: white; box-shadow: var(--shadow-sm); } /* Override: Menu links should never have underlines, even in content */ .dj-app-content .dj-app-menu-link, .dj-app-content .dj-app-menu-text, .dj-app-content .dj-app-menu-link:hover, .dj-app-content .dj-app-menu-text:hover { text-decoration: none; } /* Content Sections */ .dj-app-content { background: var(--surface-color); border-radius: 12px; padding: 1.5rem; margin: 0.5rem 0; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); /* Prevent content shift */ width: 100%; box-sizing: border-box; position: relative; } /* Page Content within main content */ .dj-app-page-content { padding-top: 1rem; } .dj-app-content h1, .dj-app-content h2, .dj-app-content h3, .dj-app-content h4, .dj-app-content h5, .dj-app-content h6 { color: var(--text-primary); margin-top: 0; margin-bottom: 1rem; font-weight: 600; line-height: 1.3; } .dj-app-content h1 { font-size: 2rem; } .dj-app-content h2 { font-size: 1.75rem; } .dj-app-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; } .dj-app-content p { margin-bottom: 1rem; color: var(--text-primary); } .dj-app-content a { color: var(--primary-color); text-decoration: underline; font-weight: 500; transition: color 0.2s ease; } .dj-app-content a:hover { color: #1d4ed8; text-decoration: underline; } .dj-app-content article { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); } .dj-app-content article:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } /* Footer */ .dj-app-footer { text-align: center; margin-top: 2rem; padding: 1.5rem; background: var(--surface-color); border-radius: 12px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); } .dj-app-footer p { margin: 0; color: var(--text-secondary); font-size: 0.875rem; } /* Responsive Design */ @media (max-width: 768px) { .content-area { padding: 0.5rem 1rem; margin: 0; padding-top: 0.5rem; } .dj-app-site-title { font-size: 2rem; } .dj-app-menu-nav { flex-direction: column; align-items: center; } .dj-app-menu-link, .dj-app-menu-text { width: 100%; text-align: center; } } @media (max-width: 480px) { .dj-app-site-title { font-size: 1.75rem; } .dj-app-content { padding: 1.5rem; } .dj-app-integrated-menu { margin-bottom: 0.5rem; padding: 0.25rem 0; } .dj-app-page-content { padding-top: 0.5rem; } } /* Loading Animation */ .loading-dots { display: inline-flex; gap: 0.25rem; } .loading-dots::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: loading 1.4s infinite; } @keyframes loading { 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } } /* Newsletter Plugin Styles */ .djebel-simple-newsletter-form { background: var(--surface-color); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); margin: 2rem 0; max-width: 500px; margin-left: auto; margin-right: auto; } .djebel-simple-newsletter-msg { margin-bottom: 1rem; } .newsletter-input-group { display: flex; gap: 0.75rem; margin-bottom: 1rem; } .newsletter-email-input { flex: 1; padding: 0.75rem 1rem; border: 2px solid var(--border-color); border-radius: 8px; font-size: 0.95rem; transition: all 0.3s ease; background: var(--surface-color); color: var(--text-primary); min-width: 0; } .newsletter-email-input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1); } .newsletter-email-input::placeholder { color: var(--text-secondary); } .newsletter-submit-btn { padding: 0.75rem 1.25rem; background: var(--primary-color); color: white; border: none; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; flex-shrink: 0; } .newsletter-submit-btn:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: var(--shadow-md); } .newsletter-submit-btn:active { transform: translateY(0); } .newsletter-agree-section { margin-top: 1rem; } .newsletter-checkbox-label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; } .newsletter-checkbox { margin: 0; width: 1rem; height: 1rem; accent-color: var(--primary-color); flex-shrink: 0; margin-top: 0.125rem; } .newsletter-agree-text { flex: 1; } /* Vision Page Styles */ .text-pre-content { width: 100%; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; background: var(--background-color); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border-color); line-height: 1.6; color: var(--text-primary); } /* Responsive Newsletter */ @media (max-width: 768px) { .newsletter-input-group { flex-direction: column; } .newsletter-submit-btn { width: 100%; } .djebel-simple-newsletter-form { padding: 1.25rem; margin: 1rem; } }