/* assets/css/style.css */

/* Import M PLUS Rounded 1c from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #d8899e;
    /* Darker Gentle Pink for contrast */
    --secondary-color: #faebeb;
    /* Light Pink/Beige */
    --text-color: #2c2c2c;
    /* Dark Grey for readability */
    --accent-color: #8fbdb9;
    /* Darker Mint */
    --font-main: 'M PLUS Rounded 1c', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: #fffcfc;
    /* Warm white */
    line-height: 1.6;
}

/* Customizing Bulma */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(238, 187, 203, 0.2);
}

.navbar-brand {
    margin-right: 1.5rem;
    /* Ensure space between title and menu */
    flex-shrink: 0;
}

.navbar-item,
.navbar-link {
    color: var(--text-color);
    font-weight: 500;
}

.navbar-item.is-active,
.navbar-link.is-active {
    color: var(--primary-color) !important;
}

.section {
    padding: 3rem 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2c2c2c;
    /* Darker for headers */
    font-weight: 700;
}

.title {
    color: #2c2c2c;
}

.subtitle {
    color: #4a4a4a;
}

/* Card Styling - Soft and Rounded */
.card {
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(238, 187, 203, 0.15);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(238, 187, 203, 0.25);
}

.card-content {
    padding: 2rem;
}

/* Buttons */
.button.is-primary {
    background-color: var(--primary-color);
    border-color: transparent;
    color: #fff;
    border-radius: 50px;
    /* Fully rounded buttons */
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.button.is-primary:hover {
    background-color: #c06f85;
    /* Darker hover state */
}

.button.is-light-pink {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: 50px;
}

/* Code blocks */
pre {
    background-color: #fcf6f6;
    border-radius: 12px;
    border: 1px solid #f0e0e0;
    padding: 1.5rem;
}

code {
    font-family: 'Consolas', 'Monaco', monospace;
    color: #d65d83;
    /* Pinkish red for inline code */
    background: #fdf0f3;
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    padding: 3rem 1.5rem 3rem;
    margin-top: 4rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background: #eebbcb;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e5a7bb;
}