/* 
   Bangalore Care - Bengaluru Cultural Design System 
   Theme: Namma Metro Purple, Auto Yellow, Garden Green
   Style: Minimal, Professional, Flat, Smooth
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bangalore-purple: #6A0DAD;
    --bangalore-light-purple: #f3e8ff;
    --bangalore-yellow: #FFD700;
    --bangalore-green: #228B22;
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-light: #FAFAFA;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* Subtle Bengaluru Pattern (Subtle Rangoli/Kolam Grid) */
.bg-pattern {
    background-color: #fafafa;
    background-image: radial-gradient(#6A0DAD 0.5px, transparent 0.5px), radial-gradient(#6A0DAD 0.5px, #fafafa 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-attachment: fixed;
    opacity: 0.8;
    /* Keep it very subtle */
}

/* Metro Strip (Top Border) */
.metro-strip {
    height: 4px;
    background: linear-gradient(90deg, var(--bangalore-purple) 33%, var(--bangalore-green) 33%, var(--bangalore-green) 66%, var(--bangalore-yellow) 66%);
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.025em;
    /* Tighter tracking for modern look */
    color: #111;
}

/* Cards - Flat, Bordered, No Shadow until Hover */
.b-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    top: 0;
}

.b-card:hover {
    top: -4px;
    border-color: var(--bangalore-purple);
    box-shadow: 0 10px 25px -5px rgba(106, 13, 173, 0.1), 0 8px 10px -6px rgba(106, 13, 173, 0.1);
}

/* Buttons */
.btn-primary {
    background-color: var(--bangalore-purple);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-color: #580b91;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(106, 13, 173, 0.2);
}

/* Search Bar - Minimal */
.search-minimal {
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-minimal:focus {
    border-color: var(--bangalore-purple);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(106, 13, 173, 0.1);
}

/* Breadcrumbs */
.breadcrumb-item a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--bangalore-purple);
}

/* Custom Selection */
::selection {
    background: var(--bangalore-purple);
    color: white;
}

/* Image Transitions */
img {
    transition: opacity 0.3s ease-in-out;
}

/* Footer Links */
footer a {
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #d1d5db;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}