/* Bidbuddy Theme - Component Styles */
/* NOTE: All classes prefixed with 'bidbuddy-' to avoid Tailwind conflicts */
/* Theme colors are controlled by presets.json via --template-* variables */

:root {
    /* Bidbuddy brand colors - for bidbuddy-specific components only */
    /* Theme variables (--primary, --secondary, etc.) are controlled by the theme system */
    --bidbuddy-primary: rgb(20, 85, 91);
    --bidbuddy-accent: rgb(127, 190, 171);
}

/* Dark mode */
:root[data-theme="dark"] {
    --bidbuddy-primary: rgb(26, 105, 111);
    --bidbuddy-accent: rgb(137, 200, 181);
}

/* ============================================
   BIDBUDDY-SPECIFIC COMPONENTS
   All prefixed to avoid Tailwind conflicts
   ============================================ */

/* Custom Image Blocks */
.bidbuddy-logo {
    height: 2.5rem;
    width: auto;
}

.sue-headshot {
    display: block;
    max-width: 18.75rem;
    width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: var(--card-radius, 0.75rem);
    box-shadow: var(--shadow-md, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1));
}

.brand-guidelines {
    display: block;
    max-width: 37.5rem;
    width: 100%;
    height: auto;
    margin: 2rem auto;
}

/* Hero - bidbuddy specific */
.hero {
    position: relative;
    min-height: 31.25rem;
    display: flex;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero overlay is now controlled via the Style tab's overlay settings */

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 50rem;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--bidbuddy-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: hsl(var(--muted-foreground));
    font-size: 0.9rem;
}

/* Section - bidbuddy specific */
.section {
    padding: 4rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--bidbuddy-accent);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: hsl(var(--foreground));
}

/* Bidbuddy accent text - use specific class to avoid Tailwind conflict */
.bidbuddy-text-accent {
    color: var(--bidbuddy-accent);
}

.bidbuddy-text-primary {
    color: var(--bidbuddy-primary);
}

.section-alt {
    background-color: hsl(var(--card));
}

/* Bidbuddy Card - prefixed to avoid conflict */
.bidbuddy-card {
    background: hsl(var(--background));
    border: 0.0625rem solid hsl(var(--border));
    border-radius: var(--card-radius, 0.75rem);
    padding: 2rem;
    transition: box-shadow var(--transition-speed, 0.3s);
}

.bidbuddy-card:hover {
    box-shadow: var(--shadow-lg, 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1));
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: 2rem;
}

/* FAQ */
.faq {
    max-width: 50rem;
    margin: 0 auto;
}

.faq-item {
    background: var(--bidbuddy-primary);
    color: white;
    border-radius: var(--card-radius, 0.5rem);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    opacity: 0.95;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer - bidbuddy specific */
.footer {
    background-color: var(--bidbuddy-primary);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed, 0.2s);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    max-width: 75rem;
    margin: 0 auto;
}
