/* --- GLOBAL STYLES & VARIABLES --- */
:root {
    --primary-purple: #5C2D91; /* Rich purple from your brand */
    --primary-yellow: #FCE068; /* Warm golden yellow */
    --dark-purple: #2E1A47;    /* For text and deep backgrounds */
    --cream-bg: #FCF9F2;       /* Off-white background */
    --white: #FFFFFF;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--cream-bg);
    color: var(--dark-purple);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVIGATION BAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--cream-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 50px; /* Adjust based on your actual logo size */
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.btn-primary-small {
    background-color: var(--primary-purple);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.btn-primary-small:hover {
    background-color: var(--dark-purple);
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-weight: 700;
}

.highlight {
    color: #E8B831; /* Slightly darker yellow for text readability */
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 90%;
}

.btn-primary-large {
    display: inline-block;
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s, background 0.3s;
}

.btn-primary-large:hover {
    background-color: var(--dark-purple);
    transform: translateY(-2px);
}

.hero-image-container {
    flex: 1;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* --- BRAND BANNER --- */
.brand-banner {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 60px 5%;
    margin: 40px 0;
}

.brand-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.slogan-logo {
    width: 250px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 15px;
}

.brand-text h2 {
    color: var(--primary-yellow);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* --- HOBBY CATEGORIES --- */
.categories {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 50px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-purple);
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary-purple);
    font-weight: 700;
}

.card-link:hover {
    text-decoration: underline;
}

/* --- DASHBOARD SECTION --- */
.dashboard-section {
    background-color: #F2EFFF; /* Very light purple tint */
    padding: 80px 5%;
}

.dashboard-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.dashboard-text {
    flex: 1;
}

.dashboard-text h2 {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.dashboard-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #444;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-purple);
}

.btn-yellow {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--dark-purple);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-yellow:hover {
    background-color: #E8B831;
}

.dashboard-image-container {
    flex: 1.5;
}

.dashboard-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 5px solid var(--white);
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 40px 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 40px;
    border-radius: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-yellow);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .hero, .dashboard-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 30px auto;
    }

    .brand-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        display: none; /* In a real build, replace with a hamburger menu */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}/* --- QUIZ PAGE STYLES --- */

.quiz-body {
    /* Set the background image */
    background-image: url('images/logo-slogan.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

/* Faded overlay using your Cream brand color */
.quiz-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cream-bg);
    opacity: 0.92; /* Adjust this to make the logo more or less visible (0.8 to 0.95) */
    z-index: 1;
}

.quiz-container {
    background-color: var(--white);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(46, 26, 71, 0.15);
    width: 100%;
    max-width: 700px;
    position: relative;
    z-index: 2; /* Keeps the card above the faded background */
    border-top: 8px solid var(--primary-purple);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.9rem;
}

.back-link:hover {
    text-decoration: underline;
}

.quiz-header {
    text-align: center;
    margin-bottom: 30px;
}

.quiz-header h2 {
    color: var(--primary-purple);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.quiz-header p {
    color: #666;
}

.question-block {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.question-block label:first-child {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-purple);
    margin-bottom: 15px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: #F8F6FB;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 400;
    color: #444;
}

.radio-option:hover {
    background-color: #EFEAF5;
}

/* Styles the radio button to match the brand */
.radio-option input[type="radio"] {
    accent-color: var(--primary-purple);
    width: 18px;
    height: 18px;
    margin-right: 15px;
    cursor: pointer;
}

/* Highlights the selected option */
.radio-option:has(input:checked) {
    background-color: #F2EFFF;
    border-color: var(--primary-purple);
    font-weight: 600;
    color: var(--primary-purple);
}

/* Success Message Styles */
#result-message {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--primary-yellow);
    background-color: var(--primary-purple);
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
}

#result-message h3 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 10px;
}

#result-message p {
    color: #666;
    font-size: 1.1rem;
}

.hidden {
    display: none;
}

/* Mobile responsiveness for the quiz */
@media (max-width: 600px) {
    .quiz-container {
        padding: 30px 20px;
    }
    
    .quiz-header h2 {
        font-size: 1.8rem;
    }
}/* --- VENDOR DIRECTORY PAGE STYLES --- */

.page-header {
    text-align: center;
    padding: 60px 20px 40px 20px;
    background-color: #F2EFFF; /* Light purple tint */
}

.page-header h1 {
    color: var(--primary-purple);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-header p {
    color: #555;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.vendors-section {
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.vendor-card {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 8px;
}

.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(92, 45, 145, 0.15); /* Purple shadow on hover */
}

/* Image Placeholder Styling */
.vendor-img-placeholder {
    width: 100%;
    height: 220px;
    background-color: #EAE4F2; /* Fallback color while you find pictures */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.vendor-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-img-placeholder span {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

.vendor-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vendor-tag {
    background-color: var(--primary-yellow);
    color: var(--dark-purple);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 12px;
}

.vendor-info h3 {
    font-size: 1.4rem;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.vendor-location {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.vendor-desc {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.vendor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

.vendor-price {
    font-weight: 700;
    color: var(--dark-purple);
    font-size: 1.1rem;
}

/* Nav active state */
.active-link {
    color: var(--primary-purple) !important;
    border-bottom: 2px solid var(--primary-purple);
    padding-bottom: 2px;
}/* --- AUTHENTICATION (LOGIN / SIGNUP) PAGE STYLES --- */

.auth-body {
    /* Uses the same faded background concept as the quiz page */
    background-image: url('images/hero.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

.auth-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cream-bg);
    opacity: 0.95; /* Highly opaque so the form is easy to read */
    z-index: 1;
}

.auth-container {
    background-color: var(--white);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(46, 26, 71, 0.15);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
    border-top: 8px solid var(--primary-purple);
}

.auth-logo {
    text-align: center;
    margin-bottom: 25px;
}

.auth-logo img {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

/* Toggle Switch (Login / Sign Up) */
.auth-toggle {
    display: flex;
    background-color: #F2EFFF;
    border-radius: 30px;
    margin-bottom: 30px;
    padding: 5px;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 25px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: var(--primary-purple);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(92, 45, 145, 0.3);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.4s ease-in-out;
}

.auth-form h2 {
    color: var(--primary-purple);
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-align: center;
}

.auth-subtext {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-purple);
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--dark-purple);
    transition: border-color 0.3s ease;
    background-color: #FAFAFA;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-purple);
    background-color: var(--white);
}

/* Form Options (Remember me & Forgot Password) */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    cursor: pointer;
}

.remember-me input {
    accent-color: var(--primary-purple);
}

.forgot-pass {
    color: var(--primary-purple);
    font-weight: 600;
}

.forgot-pass:hover {
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustments */
@media (max-width: 500px) {
    .auth-container {
        padding: 30px 20px;
    }
    .auth-form h2 {
        font-size: 1.5rem;
    }
}/* --- HOBBY TILES PAGE STYLES --- */

.hobby-tiles-section {
    padding: 40px 5% 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.hobby-grid {
    display: grid;
    /* This automatically creates responsive tiles */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.hobby-tile {
    background-color: var(--white);
    border: 2px solid #EAE4F2; /* Light purple border */
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* Hover Effect for Tiles */
.hobby-tile:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 15px 30px rgba(92, 45, 145, 0.15); /* Branded purple shadow */
}

.tile-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    background-color: #F2EFFF;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

/* Change icon background color on hover */
.hobby-tile:hover .tile-icon {
    background-color: var(--primary-yellow);
}

.hobby-tile h3 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hobby-tile p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes the button to the bottom */
}

.tile-btn {
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.hobby-tile:hover .tile-btn {
    color: #E8B831; /* Yellow text on hover */
}

/* Adjustments for mobile */
@media (max-width: 600px) {
    .hobby-grid {
        grid-template-columns: 1fr; /* 1 column on phones */
    }
}/* --- TESTIMONIALS / FEEDBACK SECTION --- */

.testimonials-section {
    background-color: var(--white);
    padding: 80px 5%;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary-purple);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--cream-bg); /* Soft contrast from the white section */
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(92, 45, 145, 0.1);
}

/* Big faded quote mark in the background */
.quote-icon {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--primary-purple);
    opacity: 0.1;
    line-height: 1;
}

.review-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* The little avatar circle */
.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--dark-purple);
    /* If you use real images later, just add an <img> tag inside this div and set width/height to 100% */
}

.reviewer-info h4 {
    color: var(--primary-purple);
    font-size: 1rem;
    margin-bottom: 2px;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: #777;
    font-weight: 600;
}/* --- ADVANCED QUIZ STYLES --- */

/* Progress Bar */
.progress-container {
    width: 100%;
    background-color: #EAE4F2;
    height: 8px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-purple);
    width: 20%; /* Starts at 20% (Question 1) */
    transition: width 0.4s ease;
}

/* Hide inactive steps, animate the active one */
.question-step {
    display: none;
}

.question-step.active {
    display: block;
    animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Buttons layout inside the quiz */
.step-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.btn-secondary {
    background-color: transparent;
    color: #888;
    border: 2px solid #ddd;
    padding: 10px 25px;
    border-radius: 25px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

/* --- RESULTS SECTION --- */
#result-section {
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.result-badge {
    background: linear-gradient(135deg, #F2EFFF 0%, #FFFFFF 100%);
    border: 2px dashed var(--primary-purple);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
}

.badge-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

.result-badge h2 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin: 0;
}

.result-desc {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.6;
}

.result-links h4 {
    color: var(--dark-purple);
    margin-bottom: 15px;
}

.result-btn {
    display: inline-block;
    background-color: var(--primary-purple);
    color: white !important;
    padding: 12px 20px;
    border-radius: 10px;
    margin: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.result-btn:hover {
    background-color: var(--dark-purple);
}

.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: var(--primary-yellow);
    color: var(--dark-purple);
    border: none;
    border-radius: 25px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.btn-share:hover {
    background-color: #E8B831;
    transform: translateY(-2px);
}

.back-home {
    display: inline-block;
    margin-top: 25px;
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
}

.back-home:hover {
    text-decoration: underline;
    color: var(--primary-purple);
}/* --- VENDOR SEARCH & FILTER STYLES --- */

.filter-section {
    background-color: var(--white);
    padding: 20px 5%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: sticky;
    top: 70px; /* Sits right below the navbar */
    z-index: 90;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Search Bar */
.search-box {
    display: flex;
    align-items: center;
    background-color: var(--cream-bg);
    border: 2px solid #EAE4F2;
    border-radius: 30px;
    padding: 12px 20px;
    transition: border-color 0.3s;
}

.search-box:focus-within {
    border-color: var(--primary-purple);
}

.search-icon {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #888;
}

.search-box input {
    border: none;
    background: transparent;
    width: 100%;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--dark-purple);
    outline: none;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    background-color: #F2EFFF;
    color: var(--primary-purple);
    border: 2px solid transparent;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #EAE4F2;
}

.filter-btn.active {
    background-color: var(--primary-purple);
    color: var(--white);
    border-color: var(--primary-purple);
}

/* Animation for when cards appear */
.vendor-card {
    animation: popIn 0.4s ease;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Adjust sticky filter on mobile */
@media (max-width: 900px) {
    .filter-section {
        position: relative;
        top: 0;
    }
}/* --- COMMUNITY BOARD STYLES --- */

.community-card {
    position: relative; /* Allows the date badge to position absolute inside it */
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-purple);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    box-shadow: 0 4px 10px rgba(92, 45, 145, 0.3);
    z-index: 10;
}

.event-date-badge .month {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-yellow);
}

.event-date-badge .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 2px 0;
}

/* Since we removed the image placeholders for community events, 
   we add a soft pattern background to the top half of the card */
.community-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #F2EFFF 0%, #FFFFFF 100%);
    border-bottom: 2px solid #EAE4F2;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    z-index: 1;
}

.community-card .vendor-info {
    position: relative;
    z-index: 2;
}

/* Make sure the RSVP buttons look like buttons, not links */
.community-card .btn-primary-small {
    border: none;
    font-family: var(--font-main);
    cursor: pointer;
}/* --- AI CHATBOT WIDGET STYLES --- */

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-main);
}

/* Floating Button */
.chat-toggle-btn {
    background-color: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(92, 45, 145, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s;
    animation: float 3s ease-in-out infinite;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    background-color: var(--dark-purple);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.3s ease;
    border: 1px solid #EAE4F2;
}

.chat-window.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Chat Header */
.chat-header {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header h4 {
    margin: 0;
    font-size: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #4ade80; /* Green online dot */
    border-radius: 50%;
    display: inline-block;
}

.close-chat {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

/* Chat Messages Area */
.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #FAFAFA;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.bot-message {
    background-color: #F2EFFF;
    color: var(--dark-purple);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-message {
    background-color: var(--primary-purple);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Chat Input Area */
.chat-input-area {
    display: flex;
    padding: 15px;
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.chat-input-area input {
    flex-grow: 1;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 20px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    outline: none;
}

.chat-input-area input:focus {
    border-color: var(--primary-purple);
}

.chat-input-area button {
    background-color: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    margin-left: 10px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-input-area button:hover {
    background-color: var(--dark-purple);
}

/* Links inside the chat */
.chat-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.chat-link-btn {
    background-color: var(--white);
    color: var(--primary-purple);
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #EAE4F2;
    transition: background 0.3s;
    text-align: center;
}

.chat-link-btn:hover {
    background-color: var(--primary-yellow);
    color: var(--dark-purple);
}

/* Mobile responsiveness */
@media (max-width: 500px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: 60vh;
        bottom: 90px;
        right: -10px;
    }
}/* --- LIVE IMPACT COUNTER STYLES --- */

.impact-section {
    background-color: var(--primary-purple);
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

/* Adding a subtle background pattern */
.impact-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 1;
}

.impact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* Dividers */
}

/* Remove the divider from the last item */
.impact-item:last-child {
    border-right: none;
}

.impact-item h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 10px;
    line-height: 1;
    /* Adding a nice text shadow to make it pop */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2); 
}

/* Add a little plus sign after the numbers dynamically */
.impact-item h2::after {
    content: "+";
    font-size: 2.5rem;
    vertical-align: top;
    margin-left: 5px;
    color: var(--white);
}

.impact-item p {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .impact-container {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
        gap: 40px;
    }
    
    .impact-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 500px) {
    .impact-container {
        grid-template-columns: 1fr; /* Stack vertically on phones */
    }
    
    .impact-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 30px;
    }
    
    .impact-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .impact-item h2 {
        font-size: 2.8rem;
    }
}
/* E-Commerce Starter Kit Section */
.starter-kit-bg {
    background-color: #F2EFFF;
    border-radius: 30px;
    margin: 40px auto 60px auto;
    max-width: 1200px;
    padding: 40px;
}

.starter-kit-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.starter-kit-image {
    flex: 1;
}

.product-placeholder {
    width: 100%;
    height: 350px;
    background-color: var(--white);
    border: 2px dashed #ccc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 600;
}

.starter-kit-info {
    flex: 1.2;
}

.starter-kit-info h2 {
    font-size: 2.2rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.starter-kit-info p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.kit-price-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px;
}

.kit-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-purple);
}

.kit-price-row button {
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
}

.shipping-note {
    font-size: 0.9rem !important;
    color: #777 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .starter-kit-container {
        flex-direction: column;
    }
    .kit-price-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}