/* DataFlow Custom Styles */

:root {
    --dataflow-primary: #d946ef;
    --dataflow-secondary: #00d4ff;
    --dataflow-dark-bg: #0a0e27;
    --dataflow-magenta: #6b0080;
    --dataflow-green: #00b894;
    --dataflow-light-bg: #ffffff;
    --dataflow-text-dark: #1a1a1a;
    --dataflow-text-light: #ffffff;
}

/* Base Theme Styles */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Dark Theme */
body.theme-dark {
    background: linear-gradient(135deg, #0a0e27 0%, #6b0080 40%, #00b894 100%);
    background-attachment: fixed;
    color: #ffffff;
}

body.theme-dark .wp-block-button__link {
    background: linear-gradient(135deg, var(--dataflow-primary), var(--dataflow-secondary));
    color: white;
}

body.theme-dark a {
    color: var(--dataflow-secondary);
}

/* Light Theme */
body.theme-light {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 40%, #e8f5e9 100%);
    background-attachment: fixed;
    color: #1a1a1a;
}

body.theme-light .wp-block-button__link {
    background: linear-gradient(135deg, #c211e8, #0066cc);
    color: white;
}

body.theme-light a {
    color: #0066cc;
}

/* Header Styles */
.site-header {
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
}

body.theme-dark .site-header {
    background: rgba(10, 14, 39, 0.7);
}

body.theme-light .site-header {
    background: rgba(255, 255, 255, 0.7);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-title {
    margin: 0;
    font-size: 1.75rem;
}

.site-title a {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}

.site-description {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 0.5rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

body.theme-dark .theme-icon-light {
    display: none;
}

body.theme-light .theme-icon-dark {
    display: none;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.main-navigation a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.7;
}

/* Main Content */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Columns */
.wp-block-columns {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.wp-block-column {
    flex: 1;
    min-width: 250px;
}

/* Cards */
.wp-block-group.is-card {
    padding: 2rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.wp-block-group.is-card:hover {
    transform: translateY(-5px);
}

body.theme-dark .wp-block-group.is-card {
    background: rgba(20, 30, 50, 0.7);
    border: 1px solid rgba(107, 0, 128, 0.3);
}

body.theme-light .wp-block-group.is-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(193, 17, 232, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.wp-block-button__link {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Headings */
.wp-block-heading {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

body.theme-dark .wp-block-heading {
    color: #ffffff;
}

body.theme-light .wp-block-heading {
    color: #1a1a1a;
}

/* Paragraphs */
.wp-block-paragraph {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

body.theme-dark .site-footer {
    background: rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
}

body.theme-light .site-footer {
    background: rgba(255, 255, 255, 0.5);
    color: #424242;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-menu a {
    text-decoration: none;
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-menu a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0.75rem;
    }

    .wp-block-columns {
        flex-direction: column;
    }

    .wp-block-column {
        width: 100%;
    }

    .footer-menu ul {
        flex-direction: column;
        gap: 0.75rem;
    }
}
