/* Shared styles for serverless-wordpress-gcp site */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* Navigation */
nav {
    padding: 16px 0;
    margin-bottom: 20px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    margin: 0 4px;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
    color: #1a202c;
    margin-bottom: 20px;
    font-size: 32px;
}

h2 {
    color: #2d3748;
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 24px;
}

h3 {
    color: #2d3748;
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 20px;
}

p {
    color: #4a5568;
    margin-bottom: 16px;
}

strong {
    color: #2d3748;
}

a {
    color: #5568d3;
    text-decoration: underline;
    transition: color 0.3s;
}

a:hover {
    color: #5941a9;
    text-decoration: underline;
}

ul, ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

li {
    color: #4a5568;
    margin-bottom: 8px;
}

code {
    background: #f7fafc;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: #e53e3e;
}

pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 16px;
}

pre code {
    background: none;
    color: #e2e8f0;
    padding: 0;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.25);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.35);
    text-decoration: none;
}

/* Hide default Jekyll header if it exists */
.site-header {
    display: none;
}

/* Adjust main content wrapper */
.page-content {
    padding: 0;
}

.wrapper {
    max-width: none;
}

/* Footer */
footer {
    padding: 16px 0;
    margin-top: 20px;
    text-align: center;
}

footer p {
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

footer a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    padding: 2px 4px;
    transition: all 0.3s;
}

footer a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
