/* Site-wide styles - Theme-Ready */
/* All colors use Bootstrap CSS variables for easy theme switching */

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: #fef8f5;
    background-image: 
        /* Gift boxes pattern */
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(var(--bs-primary-rgb), 0.02) 100px, rgba(var(--bs-primary-rgb), 0.02) 200px),
        repeating-linear-gradient(-45deg, transparent, transparent 100px, rgba(var(--bs-primary-rgb), 0.02) 100px, rgba(var(--bs-primary-rgb), 0.02) 200px);
    background-size: 200px 200px;
    position: relative;
}

/* Festive decorative elements */
body::before {
    content: '🎁';
    position: fixed;
    top: 10%;
    right: 5%;
    font-size: 3rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

body::after {
    content: '🎄';
    position: fixed;
    bottom: 10%;
    left: 5%;
    font-size: 3rem;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}
a {
    color: blue
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Snowflakes effect */
.container, .navbar, .card {
    position: relative;
}

/* Hero Section - Uses Bootstrap primary color with better readability */
.hero-section {
    padding: 4rem 0;
    background: 
       linear-gradient(135deg, #9b479f 0%, rgba(var(--bs-primary-rgb), 0.85) 50%, #9b479f 100%), radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), var(--bs-primary);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-section::before {
    content: '🎁';
    position: absolute;
    top: 15%;
    right: 10%;
    font-size: 5rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '🎄';
    position: absolute;
    bottom: 15%;
    left: 10%;
    font-size: 5rem;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite 2s;
    pointer-events: none;
}

@keyframes slideRight {
    0% { transform: translateX(-10%); }
    100% { transform: translateX(10%); }
}


/* Compact cards with festive touch */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.6;
}

/* List items more compact */
.list-group-item {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem !important;
    margin-bottom: 0.5rem;
}

/* Form controls */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* No color overrides needed - using Bootstrap primary */

/* Compact table */
.table {
    margin-bottom: 0;
}

.table-sm td,
.table-sm th {
    padding: 0.5rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary-text-emphasis);
}
