/* Google Fonts handled in header.php */

:root {
    --background: 210 20% 98%;
    --foreground: 217 70% 15%;
    --card: 0 0% 100%;
    --card-foreground: 217 70% 15%;
    --popover: 0 0% 100%;
    --popover-foreground: 217 70% 15%;
    --primary: 217 70% 20%;
    --primary-foreground: 210 40% 98%;
    --secondary: 41 74% 63%;
    --secondary-foreground: 217 70% 15%;
    --muted: 210 20% 95%;
    --muted-foreground: 217 20% 46%;
    --accent: 220 95% 61%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214 20% 91%;
    --input: 214 20% 91%;
    --ring: 217 70% 20%;
    --radius: 1.5rem;

    --shadow-card: 0 0 0 1px rgba(15, 42, 86, 0.04), 0 4px 12px -2px rgba(15, 42, 86, 0.08);
    --shadow-card-hover: 0 0 0 1px rgba(15, 42, 86, 0.08), 0 12px 24px -4px rgba(15, 42, 86, 0.12);
    --shadow-elevated: 0 20px 40px -8px rgba(15, 42, 86, 0.15);
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', serif;
    letter-spacing: -0.03em;
}

.section-padding {
    padding: 4rem 1rem;
}
@media (min-width: 640px) { .section-padding { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .section-padding { padding: 6rem 2rem; } }

/* Mobile refinement for very small devices */
@media (max-width: 380px) {
    .text-display { font-size: 1.875rem !important; }
    .section-padding { padding: 3rem 1rem !important; }
}

.overflow-x-hidden { overflow-x: hidden; }

.container-wide {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.text-display {
    font-family: 'Fraunces', serif;
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.025em;
}
@media (min-width: 640px) { .text-display { font-size: 3rem; } }
@media (min-width: 768px) { .text-display { font-size: 3.75rem; } }
@media (min-width: 1024px) { .text-display { font-size: 4.5rem; } }

.text-heading {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 600;
}
@media (min-width: 640px) { .text-heading { font-size: 1.875rem; } }
@media (min-width: 768px) { .text-heading { font-size: 2.25rem; } }

.text-subheading {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 500;
}
@media (min-width: 640px) { .text-subheading { font-size: 1.5rem; } }

.text-body-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-body {
    font-size: 1rem;
    line-height: 1.5rem;
}

.card-surface {
    background-color: hsl(var(--card));
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-surface:hover {
    box-shadow: var(--shadow-card-hover);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(0.98);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    color: hsl(var(--primary));
    box-shadow: var(--shadow-card);
    transition: all 0.2s;
    background: transparent;
}

.btn-ghost:hover {
    box-shadow: var(--shadow-card-hover);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    font-weight: 600;
    transition: all 0.2s;
}

.icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: hsl(var(--muted));
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent));
}

.gradient-hero {
    background: linear-gradient(135deg, hsl(217 70% 20%) 0%, hsl(220 60% 30%) 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, hsl(41 74% 63%) 0%, hsl(41 74% 73%) 100%);
}

.text-balance {
    text-wrap: balance;
}

/* Custom colors for Tailwind to pick up if used in style attribute or mapped */
.bg-card { background-color: hsl(var(--card)); }
.bg-primary { background-color: hsl(var(--primary)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.border-border { border-color: hsl(var(--border)); }
.bg-muted { background-color: hsl(var(--muted)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
