/*
Theme Name: Disembark
Theme URI: https://github.com/DisembarkHost/disembark
Author: Austin Ginder
Author URI: https://austinginder.com
Description: A modern, dark-themed landing page for the Disembark CLI-first WordPress backup tool.
Version: 1.0.0
License: MIT License
License URI: https://opensource.org/licenses/MIT
Text Domain: disembark
*/

/* Base styles - complementing Tailwind */
:root {
    --color-primary: #072e3f;
    --color-secondary: #704031;
    --color-accent: #10b981;
    --color-terminal: #1e1e1e;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-slate-300: #cbd5e1;
    --color-slate-200: #e2e8f0;
    --color-sky-400: #38bdf8;
    --color-sky-600: #0284c7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.terminal-shadow {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #38bdf8, #10b981);
}

/* Ensure code elements use monospace */
code, .font-mono {
    font-family: "Fira Code", "Courier New", monospace;
}

/* Container max-width */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Front page sections - full width backgrounds with contained content */
.front-page-content > .wp-block-group {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Inner content containers - constrain all direct children */
.front-page-content > .wp-block-group > * {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Features section columns need containing */
.features-section .wp-block-columns {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Install section grid layout */
.install-section .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .install-section .wp-block-columns {
        grid-template-columns: 1fr 1fr;
    }
}

/* Fix WordPress column default styles */
.install-section .wp-block-column {
    flex-basis: auto !important;
    flex-grow: unset !important;
}

/* Code box text alignment */
.wp-block-disembark-code-box {
    text-align: left;
}

/* Code box inline code reset */
.wp-block-disembark-code-box code {
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Fix spacing between code lines */
.wp-block-disembark-code-box p {
    margin-bottom: 0.25rem;
}

.wp-block-disembark-code-box p.text-slate-500 {
    margin-bottom: 0.5rem;
}

.wp-block-disembark-code-box p.text-slate-500 + p.text-sky-300 {
    margin-bottom: 1rem;
}

.wp-block-disembark-code-box p:last-child {
    margin-bottom: 0;
}

/* Terminal demo text colors for progress indicators */
.wp-block-disembark-terminal-demo .text-accent {
    color: #10b981;
}

/* Terminal pre tag reset */
.wp-block-disembark-terminal-demo pre {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    font-family: inherit;
}

/* Feature cards gap fix */
.features-section .wp-block-columns {
    gap: 2rem;
}

.features-section .wp-block-columns + .wp-block-columns {
    margin-top: 2rem;
}
