/* assets/css/custom.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #007bff; /* A vibrant blue */
    --primary-hover: #0056b3;
    --background-color: #fdfdfd; /* A very light, almost white grey */
    --card-bg-color: #ffffff;
    --text-color: #333;
    --text-light: #666;
    --border-color: #eef2f7;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --border-radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-hover);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

header.bg-white {
    background-color: var(--card-bg-color) !important;
    border-bottom-color: var(--border-color) !important;
}

header .fs-4 {
    font-weight: 600;
}

#gallery-section .display-5 {
    font-weight: 700;
}

#gallery-section .card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery-section .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

#gallery-section .card-img-top {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

#gallery-section .card-title {
    font-weight: 600;
}

#gallery-section .card-footer {
    background-color: transparent;
}

#preview-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.preview-container {
    max-width: 960px;
    margin: auto;
    background: var(--card-bg-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.preview-container img {
    border-radius: var(--border-radius);
}

#editor-section {
    background-color: #f8f9fa; /* A slightly darker grey for contrast */
}

#editor-section h2 {
    font-weight: 600;
}

.form-control, .form-select {
    border-radius: 8px;
    border-color: var(--border-color);
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.15);
    border-color: var(--primary-color);
}

footer.bg-light {
    background-color: var(--card-bg-color) !important;
    border-top-color: var(--border-color) !important;
}