424 lines
11 KiB
CSS
424 lines
11 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
:root {
|
|
--background: #fff8eb; /* Updated background to warm cream color #FFF8EB */
|
|
--foreground: oklch(0.178 0.014 275.627); /* Main text color (dark black) */
|
|
--card: oklch(1 0 0);
|
|
--card-foreground: oklch(0.178 0.014 275.627);
|
|
--popover: oklch(1 0 0);
|
|
--popover-foreground: oklch(0.178 0.014 275.627);
|
|
--primary: #29a047; /* Primary brand color (green from logo) */
|
|
--primary-foreground: oklch(0.989 0.003 106.423);
|
|
--primary-dark: #1d7a35; /* Darker primary for gradients and hover states */
|
|
--secondary: #54595f; /* Secondary color (gray) */
|
|
--secondary-foreground: oklch(1 0 0);
|
|
--muted: oklch(0.961 0.004 106.423);
|
|
--muted-foreground: oklch(0.556 0.014 275.627);
|
|
--accent: #c4142c; /* Accent color (red - matches link hover) */
|
|
--accent-foreground: oklch(1 0 0);
|
|
--destructive: oklch(0.577 0.245 27.325);
|
|
--destructive-foreground: oklch(0.985 0 0);
|
|
--border: oklch(0.922 0.004 106.423);
|
|
--input: oklch(0.922 0.004 106.423);
|
|
--ring: #29a047; /* Primary color for focus rings */
|
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
--chart-3: oklch(0.398 0.07 227.392);
|
|
--chart-4: oklch(0.828 0.189 84.429);
|
|
--chart-5: oklch(0.769 0.188 70.08);
|
|
--radius: 0.5rem;
|
|
--sidebar: oklch(0.985 0 0);
|
|
--sidebar-foreground: oklch(0.145 0 0);
|
|
--sidebar-primary: oklch(0.205 0 0);
|
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
--sidebar-accent: oklch(0.97 0 0);
|
|
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
--sidebar-border: oklch(0.922 0 0);
|
|
--sidebar-ring: oklch(0.708 0 0);
|
|
|
|
/* Link Colors - Master Style Guide */
|
|
--link-color: var(--foreground);
|
|
--link-hover-color: #c4142c; /* Red: rgb(196, 20, 44) */
|
|
--link-hover-color-dark: #a01020; /* Darker red for gradients and hover states */
|
|
--link-hover-bg: rgba(196, 20, 44, 0.1);
|
|
|
|
--header-bg: #ffffff;
|
|
--footer-bg: #fef3e0;
|
|
--shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
|
|
/* Custom brand colors */
|
|
--yellow: #fcba09;
|
|
--orange: #f79611;
|
|
--mountain-bubbles: #fcba0924; /* Yellow with transparency */
|
|
--public-shell-max: 80rem;
|
|
--public-section-space: clamp(4.5rem, 7vw, 7rem);
|
|
--public-surface-radius: 2rem;
|
|
--public-inset-radius: 1.5rem;
|
|
--public-surface-shadow: 0 22px 56px rgba(15, 23, 42, 0.08);
|
|
--public-surface-shadow-hover: 0 28px 72px rgba(15, 23, 42, 0.12);
|
|
--header-height: 5.25rem;
|
|
|
|
/* Increased spacing variables */
|
|
--spacing-xs: 0.75rem;
|
|
--spacing-sm: 1.25rem;
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.145 0.01 275.627);
|
|
--foreground: oklch(0.989 0.003 106.423);
|
|
--card: oklch(0.178 0.014 275.627);
|
|
--card-foreground: oklch(0.989 0.003 106.423);
|
|
--popover: oklch(0.178 0.014 275.627);
|
|
--popover-foreground: oklch(0.989 0.003 106.423);
|
|
--primary: oklch(0.454 0.106 145.826);
|
|
--primary-foreground: oklch(0.989 0.003 106.423);
|
|
--secondary: oklch(0.269 0.014 275.627);
|
|
--secondary-foreground: oklch(0.989 0.003 106.423);
|
|
--muted: oklch(0.226 0.014 275.627);
|
|
--muted-foreground: oklch(0.708 0.01 275.627);
|
|
--accent: oklch(0.289 0.087 275.945);
|
|
--accent-foreground: oklch(0.989 0.003 106.423);
|
|
--destructive: oklch(0.396 0.141 25.723);
|
|
--destructive-foreground: oklch(0.637 0.237 25.331);
|
|
--border: oklch(0.269 0.014 275.627);
|
|
--input: oklch(0.269 0.014 275.627);
|
|
--ring: oklch(0.439 0.087 275.945);
|
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
--chart-4: oklch(0.627 0.265 303.9);
|
|
--chart-5: oklch(0.645 0.246 16.439);
|
|
--sidebar: oklch(0.205 0 0);
|
|
--sidebar-foreground: oklch(0.985 0 0);
|
|
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
--sidebar-accent: oklch(0.269 0 0);
|
|
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
--sidebar-border: oklch(0.269 0 0);
|
|
--sidebar-ring: oklch(0.439 0 0);
|
|
|
|
/* Link Colors - Dark Mode */
|
|
--link-color: var(--foreground);
|
|
--link-hover-color: #ff4d6d; /* Lighter red for dark mode visibility */
|
|
--link-hover-color-dark: #ff6b8a; /* Darker red variant for dark mode gradients */
|
|
--link-hover-bg: rgba(255, 77, 109, 0.15);
|
|
}
|
|
|
|
@theme inline {
|
|
--font-sans:
|
|
var(--font-inter), "Inter", "Inter Fallback", system-ui, -apple-system,
|
|
sans-serif;
|
|
--font-mono:
|
|
var(--font-geist-mono), "Geist Mono", "Geist Mono Fallback", monospace;
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-card: var(--card);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-destructive: var(--destructive);
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
--color-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-5: var(--chart-5);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
font-family:
|
|
var(--font-inter),
|
|
"Inter",
|
|
system-ui,
|
|
-apple-system,
|
|
sans-serif;
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
html {
|
|
scroll-behavior: smooth; /* Added smooth scroll behavior for Apple-like experience */
|
|
scroll-padding-top: calc(var(--header-height) + 1.25rem);
|
|
}
|
|
|
|
/* Global Link Styling - Master Style Guide */
|
|
/* All hyperlinks should highlight in red on hover */
|
|
a {
|
|
color: var(--link-color);
|
|
text-decoration: none;
|
|
text-decoration-color: transparent;
|
|
text-decoration-thickness: 0.08em;
|
|
text-underline-offset: 0.18em;
|
|
transition:
|
|
color 0.2s ease,
|
|
text-decoration-color 0.2s ease,
|
|
opacity 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
color: var(--link-hover-color);
|
|
background-color: transparent;
|
|
}
|
|
|
|
a:active {
|
|
color: var(--link-hover-color);
|
|
}
|
|
|
|
/* Next.js Link components inherit the same styling */
|
|
a[href] {
|
|
color: var(--link-color);
|
|
transition:
|
|
color 0.2s ease,
|
|
text-decoration-color 0.2s ease,
|
|
opacity 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
a[href]:hover,
|
|
a[href]:focus {
|
|
color: var(--link-hover-color);
|
|
background-color: transparent;
|
|
}
|
|
|
|
button a,
|
|
[role="button"] a,
|
|
.bg-primary a,
|
|
.text-primary-foreground a {
|
|
color: inherit;
|
|
}
|
|
|
|
button a:hover,
|
|
button a:focus,
|
|
[role="button"] a:hover,
|
|
[role="button"] a:focus,
|
|
.bg-primary a:hover,
|
|
.bg-primary a:focus,
|
|
.text-primary-foreground a:hover,
|
|
.text-primary-foreground a:focus {
|
|
color: inherit;
|
|
}
|
|
|
|
p,
|
|
li {
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
a:focus-visible,
|
|
button:focus-visible,
|
|
[role="button"]:focus-visible,
|
|
input:focus-visible,
|
|
select:focus-visible,
|
|
textarea:focus-visible {
|
|
outline: none;
|
|
box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
|
|
}
|
|
|
|
/* Hide Next.js dev tools portal */
|
|
nextjs-portal,
|
|
nextjs-portal * {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* WordPress content styling */
|
|
.prose strong,
|
|
article strong,
|
|
.wordpress-content strong {
|
|
font-weight: 600;
|
|
color: var(--foreground);
|
|
}
|
|
|
|
.prose em,
|
|
article em,
|
|
.wordpress-content em {
|
|
font-style: italic;
|
|
}
|
|
|
|
.prose ul,
|
|
.prose ol,
|
|
article ul,
|
|
article ol,
|
|
.wordpress-content ul,
|
|
.wordpress-content ol {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.prose li,
|
|
article li,
|
|
.wordpress-content li {
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* WordPress content wrapper styling */
|
|
.wordpress-content {
|
|
@apply text-lg leading-relaxed;
|
|
}
|
|
|
|
/* Brand hover utility class for buttons and non-link elements */
|
|
.hover-brand {
|
|
transition: color 0.2s ease;
|
|
}
|
|
.hover-brand:hover {
|
|
color: var(--link-hover-color);
|
|
}
|
|
|
|
.public-page {
|
|
margin-inline: auto;
|
|
width: 100%;
|
|
max-width: var(--public-shell-max);
|
|
padding-inline: 1rem;
|
|
padding-block: 2.5rem 3.75rem;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.public-page {
|
|
padding-inline: 1.25rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.public-page {
|
|
padding-block: 3rem 4.5rem;
|
|
}
|
|
}
|
|
|
|
.wordpress-content h1,
|
|
.wordpress-content h2,
|
|
.wordpress-content h3,
|
|
.wordpress-content h4,
|
|
.wordpress-content h5,
|
|
.wordpress-content h6 {
|
|
@apply font-bold mb-4 mt-8 first:mt-0;
|
|
color: var(--foreground);
|
|
}
|
|
|
|
.wordpress-content h2 {
|
|
@apply text-3xl md:text-4xl;
|
|
}
|
|
|
|
.wordpress-content h3 {
|
|
@apply text-2xl md:text-3xl;
|
|
}
|
|
|
|
.wordpress-content h4 {
|
|
@apply text-xl md:text-2xl;
|
|
}
|
|
|
|
.wordpress-content p {
|
|
@apply mb-6 text-muted-foreground leading-relaxed;
|
|
}
|
|
|
|
.wordpress-content img {
|
|
@apply rounded-lg shadow-md my-6 max-w-full h-auto;
|
|
max-width: 600px;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.wordpress-content > div img,
|
|
.wordpress-content figure img {
|
|
@apply mx-auto block;
|
|
max-width: 500px;
|
|
}
|
|
|
|
.wordpress-content section {
|
|
@apply mb-12 last:mb-0;
|
|
}
|
|
|
|
.wordpress-content > div {
|
|
@apply space-y-6;
|
|
}
|
|
|
|
/* Visual Separation for Page Sections */
|
|
section {
|
|
@apply relative;
|
|
}
|
|
|
|
/* Main content wrapper for visual separation from header */
|
|
main {
|
|
@apply relative;
|
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
|
|
background: var(--background);
|
|
}
|
|
|
|
/* Improved spacing and readability */
|
|
p {
|
|
line-height: 1.7;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.2;
|
|
color: var(--foreground);
|
|
}
|
|
|
|
/* Footer Styling - Only apply to top-level footer, not article footers */
|
|
body > div > footer {
|
|
background: var(--footer-bg);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
/* Hide scrollbar for horizontal scrolling galleries */
|
|
.scrollbar-hide {
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
|
|
.scrollbar-hide::-webkit-scrollbar {
|
|
display: none; /* Chrome, Safari and Opera */
|
|
}
|
|
|
|
/* Focus visible styling for keyboard navigation - Following Vercel Web Design Guidelines */
|
|
*:focus-visible {
|
|
outline: 2px solid var(--ring);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Remove default focus outline for mouse users - focus-visible handles this */
|
|
*:focus:not(:focus-visible) {
|
|
outline: none;
|
|
}
|
|
}
|