/* core/static/core/css/styles.css */

/* 1. THE BACKGROUND (Matches Home/Create Page) */
body.page-watermark {
    /* The Gradient "sandwiches" the white fade on top of the image */
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9)),
                url("../img/forest-bridge-watermark.89afefcdbd25.png") no-repeat center center;    
    background-size: cover;
    background-attachment: fixed; /* Keeps image still while scrolling */
    min-height: 100vh; /* Ensures it covers the full screen height */
}

/* 2. THE GLASS CARDS */
.glass-card {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/* 3. RESET BOOTSTRAP DEFAULTS */
.accordion-item, .accordion-button, .list-group-item {
    background-color: transparent !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.page-watermark .accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1) !important; /* Keep blue tint when open */
}

/* 1. APPLY TO BRANDING & HEADINGS */
/* Update your existing .navbar-brand rule */
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem; /* Adjust size as needed */
    letter-spacing: -0.5px;
}

/* Style the italic part specifically */
.navbar-brand i {
    font-family: 'Playfair Display', serif;
    font-weight: 700; /* Keeps it thick */
    font-style: italic;
    /* Optional: Uncomment below if you want "Canvas" to be your brand color */
    /* color: var(--bs-primary); */ 
}
/* 2. OPTIONAL: KEEP BODY TEXT CLEAN */
/* This ensures your paragraphs stay easy to read on screens */
body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* -----------------------------------------------------------
   5. BRAND TYPOGRAPHY UTILITY
   Usage: <span class="brand-font">Kinship <i>Canvas</i></span>
----------------------------------------------------------- */
.brand-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    /* We do NOT set font-size here, so it inherits from surrounding text */
}

/* Automatically style the italic part whenever it's inside .brand-font */
.brand-font i {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
}

/* -----------------------------------------------------------
   4. PRODUCT SELECTION CARDS (Interactive Radio Buttons)
----------------------------------------------------------- */

/* Default State of the Card */
.product-card {
    border: 2px solid transparent; /* Invisible border to prevent jumping */
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* Hover Effect */
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    border-color: #dee2e6;
}

/* SELECTED STATE: When the hidden radio button is checked */
/* This is the magic that makes it turn blue */
.btn-check:checked + .product-card {
    border-color: #0d6efd;          /* Bootstrap Primary Blue */
    background-color: #f0f8ff;      /* Very light blue tint */
    color: #0d6efd;                 /* Make text blue */
}

/* Ensure the icon inside stays visible/styled */
.btn-check:checked + .product-card .text-muted {
    color: #6c757d !important;      /* Keep description gray */
}

/* -----------------------------------------------------------
   6. ANIMATIONS
----------------------------------------------------------- */
@keyframes soft-blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; } /* Fades to 40% visible */
    100% { opacity: 1; }
}

.blink-me {
    animation: soft-blink 1.5s linear infinite;
   /* color: #d63384;  Optional: Adds a 'Hot Pink' tint to make it pop */
}
