/* Sweet Batak Color Palette - Manis & Soft */

/* Sweet Batak Color Variables */
:root {
    --sweet-brown: #A67C5A;        /* Coklat manis */
    --sweet-red: #B85450;          /* Merah manis */
    --sweet-cream: #F4E8D8;        /* Krem lembut */
    --sweet-rose: #D4A5A5;         /* Rose soft */
    --sweet-beige: #E8D5C4;        /* Beige hangat */
    --sweet-terracotta: #C8967B;   /* Terracotta lembut */
    --sweet-blush: #F0E4E0;        /* Blush pink */
}

/* Light Mode - Sweet Colors */
[data-bs-theme="light"] {
    --bs-body-color: #6B4E3D;
    --bs-body-bg: #FEFCFA;
    --text-primary: #6B4E3D;
    --text-secondary: #8B7355;
    --text-muted: #A67C5A;
    --bg-overlay: rgba(254, 252, 250, 0.95);
    --card-bg: #FEFCFA;
    --border-color: #E8D5C4;
}

/* Dark Mode - Sweet Colors */
[data-bs-theme="dark"] {
    --bs-body-color: #F4E8D8;
    --bs-body-bg: #2C1810;
    --text-primary: #F4E8D8;
    --text-secondary: #D4A5A5;
    --text-muted: #C8967B;
    --bg-overlay: rgba(44, 24, 16, 0.9);
    --card-bg: #3D2418;
    --border-color: #5D3E2A;
}

/* Sweet Batak Typography */
.batak-title {
    color: var(--sweet-brown) !important;
    font-weight: 500;
}

[data-bs-theme="dark"] .batak-title {
    color: var(--sweet-cream) !important;
}

.batak-subtitle {
    color: var(--sweet-red) !important;
    font-weight: 400;
}

[data-bs-theme="dark"] .batak-subtitle {
    color: var(--sweet-rose) !important;
}

/* Sweet Card Styling */
.batak-colors {
    background: linear-gradient(135deg, 
        rgba(244, 232, 216, 0.3) 0%, 
        rgba(232, 213, 196, 0.3) 50%, 
        rgba(240, 228, 224, 0.3) 100%) !important;
    border-left: 3px solid var(--sweet-terracotta) !important;
    border-radius: 12px !important;
}

[data-bs-theme="dark"] .batak-colors {
    background: linear-gradient(135deg, 
        rgba(200, 150, 123, 0.15) 0%, 
        rgba(184, 84, 80, 0.15) 50%, 
        rgba(212, 165, 165, 0.15) 100%) !important;
    border-left: 3px solid var(--sweet-rose) !important;
}

/* Sweet Button Styling */
.btn-primary {
    background: linear-gradient(45deg, var(--sweet-brown), var(--sweet-red)) !important;
    border: none !important;
    color: white !important;
    font-weight: 500;
    border-radius: 25px !important;
    padding: 10px 25px !important;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--sweet-red), var(--sweet-terracotta)) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(166, 124, 90, 0.3) !important;
}

/* Sweet Navigation */
.navbar {
    background: linear-gradient(90deg, 
        rgba(244, 232, 216, 0.95) 0%, 
        rgba(240, 228, 224, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .navbar {
    background: linear-gradient(90deg, 
        rgba(61, 36, 24, 0.95) 0%, 
        rgba(44, 24, 16, 0.95) 100%) !important;
}

.nav-link {
    color: var(--sweet-brown) !important;
    font-weight: 500;
}

[data-bs-theme="dark"] .nav-link {
    color: var(--sweet-cream) !important;
}

.nav-link.active {
    color: var(--sweet-red) !important;
    font-weight: 600;
}

[data-bs-theme="dark"] .nav-link.active {
    color: var(--sweet-rose) !important;
}

/* Sweet Form Elements */
.form-control,
.form-select {
    border: 2px solid var(--sweet-beige) !important;
    border-radius: 10px !important;
    background-color: var(--sweet-blush) !important;
    color: var(--text-primary) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--sweet-terracotta) !important;
    box-shadow: 0 0 0 0.2rem rgba(200, 150, 123, 0.25) !important;
    background-color: white !important;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

/* Sweet Section Header */
.batak-section-header::after {
    background: linear-gradient(90deg, 
        var(--sweet-brown), 
        var(--sweet-terracotta), 
        var(--sweet-red)) !important;
    height: 2px !important;
    width: 80px !important;
}

/* Sweet Mobile Ornament */
@media (max-width: 768px) {
    .christian-blessing.batak-colors::before {
        color: var(--sweet-terracotta) !important;
        opacity: 0.4;
    }
}

/* Sweet Background */
body {
    background: linear-gradient(135deg, 
        rgba(254, 252, 250, 1) 0%, 
        rgba(248, 240, 235, 1) 100%) !important;
}

[data-bs-theme="dark"] body {
    background: linear-gradient(135deg, 
        rgba(44, 24, 16, 1) 0%, 
        rgba(35, 20, 12, 1) 100%) !important;
}

/* Sweet Card Shadows */
.card,
.shadow {
    box-shadow: 0 4px 20px rgba(166, 124, 90, 0.1) !important;
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Sweet Welcome Page */
.loading-page {
    background: linear-gradient(135deg, 
        rgba(244, 232, 216, 0.95) 0%, 
        rgba(240, 228, 224, 0.95) 100%) !important;
}

[data-bs-theme="dark"] .loading-page {
    background: linear-gradient(135deg, 
        rgba(44, 24, 16, 0.95) 0%, 
        rgba(35, 20, 12, 0.95) 100%) !important;
}

/* Sweet Christian Blessing */
.sweet-blessing {
    color: var(--sweet-terracotta) !important;
    text-shadow: 0 2px 4px rgba(200, 150, 123, 0.3);
}

[data-bs-theme="dark"] .sweet-blessing {
    color: var(--sweet-rose) !important;
    text-shadow: 0 2px 4px rgba(212, 165, 165, 0.3);
}

/* Story Blur Effect */
.story-content {
    transition: filter 0.5s ease;
}

.story-overlay {
    background: linear-gradient(135deg, 
        rgba(244, 232, 216, 0.8) 0%, 
        rgba(240, 228, 224, 0.8) 100%) !important;
    backdrop-filter: blur(2px);
    border-radius: 8px;
}

[data-bs-theme="dark"] .story-overlay {
    background: linear-gradient(135deg, 
        rgba(44, 24, 16, 0.8) 0%, 
        rgba(35, 20, 12, 0.8) 100%) !important;
}

/* Remove blur when story is shown */
.story-revealed .story-content {
    filter: blur(0px) !important;
}

/* Sweet Border for Images */
.sweet-border {
    border-color: var(--sweet-terracotta) !important;
}

[data-bs-theme="dark"] .sweet-border {
    border-color: var(--sweet-rose) !important;
}

/* Sweet Text Color */
.sweet-text {
    color: var(--sweet-brown) !important;
}

[data-bs-theme="dark"] .sweet-text {
    color: var(--sweet-cream) !important;
}

/* Sweet Ampersand */
.sweet-ampersand {
    color: var(--sweet-red) !important;
    text-shadow: 0 2px 4px rgba(184, 84, 80, 0.3);
}

[data-bs-theme="dark"] .sweet-ampersand {
    color: var(--sweet-rose) !important;
    text-shadow: 0 2px 4px rgba(212, 165, 165, 0.3);
}

/* Sweet Mouse Animation */
.mouse-animation {
    border-color: var(--sweet-terracotta) !important;
}

.scroll-animation {
    background-color: var(--sweet-terracotta) !important;
}

[data-bs-theme="dark"] .mouse-animation {
    border-color: var(--sweet-rose) !important;
}

[data-bs-theme="dark"] .scroll-animation {
    background-color: var(--sweet-rose) !important;
}

/* Sweet SVG Colors */
.color-theme-svg {
    color: var(--sweet-beige) !important;
}

[data-bs-theme="dark"] .color-theme-svg {
    color: var(--sweet-brown) !important;
}

/* Clean Wave Separators */
.svg-wrapper {
    line-height: 0;
    margin: 0;
    padding: 0;
    display: block;
    height: 80px;
    overflow: hidden;
}

.svg-wrapper svg {
    display: block;
    width: 100%;
    height: 80px;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

/* Proper wave spacing */
.wave-top {
    margin-bottom: 0;
}

.no-gap-bottom {
    margin-top: 0;
}

/* Clean section spacing */
section {
    position: relative;
    z-index: 1;
    margin: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Sweet Secondary Text */
.text-secondary {
    color: var(--sweet-brown) !important;
    opacity: 0.7;
}

[data-bs-theme="dark"] .text-secondary {
    color: var(--sweet-cream) !important;
    opacity: 0.7;
}

/* Override bg-white-black for consistent colors */
.bg-white-black {
    background-color: var(--bs-body-bg) !important;
    color: var(--text-primary) !important;
}