/* DBBasic Suite Website Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

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

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.tagline {
    font-size: 1.2em;
    color: #666;
    font-style: italic;
}

h1 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 2.5em;
}

h2 {
    color: #764ba2;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    clear: both;
}

h3 {
    color: #667eea;
    margin-top: 20px;
    margin-bottom: 10px;
}

h4 {
    color: #333;
    margin-top: 15px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

blockquote {
    border-left: 4px solid #667eea;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
}

code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: "Monaco", "Courier New", monospace;
    font-size: 0.9em;
}

pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background: #667eea;
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background: #f9f9f9;
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 30px 0;
}

strong {
    color: #764ba2;
}

a {
    color: #667eea;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Module card styling */
.module-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    border: 1px solid #e8e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    height: 100%;
}

.module-card h3 {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    padding: 12px 15px;
    margin: 0;
    border-bottom: 1px solid #e8e8f0;
    font-size: 1.1em;
}

.module-card img {
    max-width: 140px;
    height: auto;
    border-radius: 8px;
    margin: 15px auto 12px auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: block;
}

.module-card p {
    padding: 0 15px;
    margin: 10px 0;
    text-align: center;
}

.module-card p + p {
    font-weight: 500;
    color: #555;
    font-size: 0.95em;
    text-align: left;
}

.module-card ul {
    padding: 0 15px 15px 35px;
    margin: 0;
    font-size: 0.9em;
    list-style-position: outside;
}

.module-card ul li {
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Bootstrap-style grid system */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 50%;
    max-width: 50%;
}

/* Responsive grid */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
