/* site.css */

/* -----------------------------
   1) Root Variables (Default Pinkie Pie)
   ----------------------------- */
:root {
    --primary-bg: #ffe4e1; /* Light Pink background for body */
    --navbar-bg: #ff69b4; /* Hot Pink for navbar / headers */
    --text-color: #ffffff; /* White for text */
    --button-bg: #ff69b4; /* Hot Pink for buttons */
    --button-hover: #ff1493; /* Deep Pink on hover */
    --container-bg: #ffffff; /* Solid white for containers */
    --footer-bg: #ffe4e1; /* Light Pink for footer */
    /* Smooth transitions */
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* -----------------------------
   2) Smooth transitions for all relevant elements
   ----------------------------- */
body, .navbar, .container, .footer, button, .btn, h1, h2, h3, h4, h5, h6 {
    transition: all 0.3s ease-in-out;
}

/* -----------------------------
   3) Base styles applying the variables
   ----------------------------- */
body {
    background: var(--primary-bg);
    color: var(--text-color);
    font-family: 'Fredoka One', sans-serif;
    margin: 0;
    padding-top: 56px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* If you want to keep .navbar-dark, that sets the text to white.
   But .bg-primary is forcibly overridden below. */
.navbar {
    z-index: 1030;
    color: #fff;
}

/* Overwrite Bootstrap's .bg-primary to use your variable color */
.bg-primary {
    background-color: var(--navbar-bg) !important;
}

/* Container and footer use container-bg and footer-bg */
.container {
    background-color: var(--container-bg);
    flex: 1;
    margin-top: 56px; /* because of fixed navbar */
    margin-bottom: 15px;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding: 1rem;
    text-align: center;
}

/* Buttons */
button, .btn {
    background-color: var(--button-bg) !important;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
}

    button:hover, .btn:hover {
        background-color: var(--button-hover) !important;
    }

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

/* Ensure headings inside card-header are always white */
.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    color: #ffffff !important;
}
