/* 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);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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;
}

.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;
}

/* 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: 2rem;
    padding: 1rem 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);
}

/* Content Sections */
.dj-app-content {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 0.5rem 0;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* 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; }

.dj-app-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.dj-app-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dj-app-content a:hover {
    color: #1d4ed8;
    text-decoration: none;
}

/* 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: 1rem;
        padding: 0.5rem 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;
    }
} 