- Add specific CSS rules to maintain proper vertical alignment - Ensure navigation items stay centered when banner pushes nav down - Fix visual offset issue between logo and navigation items
319 lines
8.6 KiB
CSS
319 lines
8.6 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
/* Construction banner spacing */
|
|
body:has(.construction-banner) nav {
|
|
top: 60px !important;
|
|
}
|
|
|
|
/* Ensure navigation content stays properly aligned when banner is present */
|
|
body:has(.construction-banner) nav .max-w-\[1800px\] {
|
|
height: 80px; /* h-20 equivalent */
|
|
}
|
|
|
|
body:has(.construction-banner) nav .flex.items-center {
|
|
height: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
:root {
|
|
/* Updated color tokens to match United Tattoo design brief */
|
|
--background: oklch(1 0 0); /* White */
|
|
--foreground: oklch(0.145 0 0); /* Dark Slate Gray */
|
|
--card: oklch(1 0 0); /* Light Gray */
|
|
--card-foreground: oklch(0.145 0 0); /* Dark text for cards */
|
|
--popover: oklch(1 0 0); /* White */
|
|
--popover-foreground: oklch(0.145 0 0); /* Dark text */
|
|
--primary: oklch(0.205 0 0); /* Emerald-600 #059669 */
|
|
--primary-foreground: oklch(0.985 0 0); /* White text on primary */
|
|
--secondary: oklch(0.97 0 0); /* Emerald accent #10b981 */
|
|
--secondary-foreground: oklch(0.205 0 0); /* White text on secondary */
|
|
--muted: oklch(0.97 0 0); /* Light Gray */
|
|
--muted-foreground: oklch(0.556 0 0); /* Muted text */
|
|
--accent: oklch(0.97 0 0); /* Emerald accent */
|
|
--accent-foreground: oklch(0.205 0 0); /* White text on accent */
|
|
--destructive: oklch(0.577 0.245 27.325); /* Red for destructive actions */
|
|
--destructive-foreground: oklch(0.985 0 0); /* White text */
|
|
--border: oklch(0.922 0 0); /* Light border */
|
|
--input: oklch(0.922 0 0); /* Input background */
|
|
--ring: oklch(0.708 0 0); /* Focus ring */
|
|
--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.625rem;
|
|
--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);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.145 0 0); /* Very dark background */
|
|
--foreground: oklch(0.985 0 0); /* Light text */
|
|
--card: oklch(0.205 0 0); /* Dark card background */
|
|
--card-foreground: oklch(0.985 0 0); /* Light text on cards */
|
|
--popover: oklch(0.269 0 0); /* Dark popover */
|
|
--popover-foreground: oklch(0.985 0 0); /* Light text */
|
|
--primary: oklch(0.922 0 0); /* Brighter emerald for dark mode */
|
|
--primary-foreground: oklch(0.205 0 0); /* Dark text on primary */
|
|
--secondary: oklch(0.269 0 0); /* Dark secondary */
|
|
--secondary-foreground: oklch(0.985 0 0); /* Light text */
|
|
--muted: oklch(0.269 0 0); /* Dark muted */
|
|
--muted-foreground: oklch(0.708 0 0); /* Muted text */
|
|
--accent: oklch(0.371 0 0); /* Dark accent */
|
|
--accent-foreground: oklch(0.985 0 0); /* Light text */
|
|
--destructive: oklch(0.704 0.191 22.216); /* Darker red */
|
|
--destructive-foreground: oklch(0.985 0 0); /* Lighter red text */
|
|
--border: oklch(1 0 0 / 10%); /* Dark border */
|
|
--input: oklch(1 0 0 / 15%); /* Dark input */
|
|
--ring: oklch(0.556 0 0); /* Dark focus ring */
|
|
--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(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.439 0 0);
|
|
}
|
|
|
|
@theme inline {
|
|
--font-sans: var(--font-source-sans);
|
|
--font-serif: var(--font-playfair);
|
|
--font-mono: var(--font-geist-mono);
|
|
--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;
|
|
}
|
|
|
|
/* Added Lenis smooth scrolling styles */
|
|
html.lenis,
|
|
html.lenis body {
|
|
height: auto;
|
|
}
|
|
|
|
.lenis.lenis-smooth {
|
|
scroll-behavior: auto !important;
|
|
}
|
|
|
|
.lenis.lenis-smooth [data-lenis-prevent] {
|
|
overscroll-behavior: contain;
|
|
}
|
|
|
|
.lenis.lenis-stopped {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.lenis.lenis-scrolling iframe {
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Added smooth scrolling and custom animations */
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* Custom scroll animations */
|
|
@keyframes fade-in-up {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes fade-in-left {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
@keyframes fade-in-right {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
@keyframes scale-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.9);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.animate-fade-in-up {
|
|
animation: fade-in-up 0.6s ease-out forwards;
|
|
}
|
|
|
|
.animate-fade-in-left {
|
|
animation: fade-in-left 0.6s ease-out forwards;
|
|
}
|
|
|
|
.animate-fade-in-right {
|
|
animation: fade-in-right 0.6s ease-out forwards;
|
|
}
|
|
|
|
.animate-scale-in {
|
|
animation: scale-in 0.6s ease-out forwards;
|
|
}
|
|
|
|
/* Scroll-triggered animations */
|
|
.scroll-animate {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
transition: all 0.6s ease-out;
|
|
}
|
|
|
|
.scroll-animate.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Enhanced scrollbar styling */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--muted);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--primary);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--primary);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Smooth transitions for all interactive elements */
|
|
button,
|
|
a,
|
|
input,
|
|
textarea {
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
/* Adding marquee animation for scrolling reviews */
|
|
@keyframes marquee {
|
|
0% {
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
transform: translateX(-100%);
|
|
}
|
|
}
|
|
|
|
.animate-marquee {
|
|
animation: marquee 30s linear infinite;
|
|
}
|
|
|
|
.animate-marquee:hover {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
/* Enhanced marquee animation with smooth transitions */
|
|
.animate-marquee-smooth {
|
|
animation: marquee 40s linear infinite;
|
|
transition: animation-play-state 0.5s ease-in-out;
|
|
}
|
|
|
|
.animate-marquee-smooth:hover {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
/* Enhanced hover pause with smooth transitions */
|
|
.hover\:pause:hover {
|
|
animation-play-state: paused !important;
|
|
}
|
|
|
|
.hover\:pause-smooth:hover {
|
|
animation-play-state: paused !important;
|
|
transition: all 0.5s ease-in-out;
|
|
}
|
|
|
|
/* Adding radial gradient utility for spotlight effect */
|
|
.bg-gradient-radial {
|
|
background: radial-gradient(circle, var(--tw-gradient-stops));
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
.font-playfair {
|
|
font-family: var(--font-playfair);
|
|
}
|
|
}
|