Files
Hotel-Booking/Frontend/src/styles/index.css
Iliyan Angelov 4ab7546de0 updates
2025-11-21 10:55:05 +02:00

580 lines
14 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--luxury-gold: #d4af37;
--luxury-gold-light: #f5d76e;
--luxury-gold-dark: #c9a227;
--luxury-gold-accent: #e8c547;
--luxury-black: #0f0f0f;
--luxury-black-light: #1a1a1a;
--luxury-black-medium: #2a2a2a;
--luxury-gray-dark: #3a3a3a;
--luxury-gray-50: #fafafa;
--luxury-gray-100: #f5f5f5;
--luxury-gray-200: #e5e5e5;
--luxury-gray-300: #d4d4d4;
--luxury-gray-400: #a3a3a3;
--luxury-gray-500: #737373;
--luxury-gray-600: #525252;
--luxury-gray-700: #404040;
--luxury-gray-800: #262626;
--luxury-gray-900: #171717;
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
--shadow-luxury: 0 4px 20px rgba(212, 175, 55, 0.15);
--shadow-luxury-gold: 0 8px 30px rgba(212, 175, 55, 0.25);
--gradient-gold: linear-gradient(135deg, #d4af37 0%, #f5d76e 100%);
--gradient-gold-dark: linear-gradient(135deg, #c9a227 0%, #d4af37 100%);
--gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
--gradient-overlay: linear-gradient(180deg, rgba(15, 15, 15, 0.8) 0%, rgba(15, 15, 15, 0.4) 100%);
--gradient-gold-overlay: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(245, 215, 110, 0.05) 100%);
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: var(--luxury-black-light);
border-radius: 8px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, var(--luxury-gold) 0%, var(--luxury-gold-dark) 100%);
border-radius: 8px;
border: 2px solid var(--luxury-black-light);
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, var(--luxury-gold-light) 0%, var(--luxury-gold) 100%);
}
.custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: #f59e0b #1e293b;
}
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: rgba(30, 41, 59, 0.5);
border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
}
body {
margin: 0;
font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
'Droid Sans', 'Helvetica Neue', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 300;
background: #fafafa;
color: var(--luxury-gray-900);
line-height: 1.7;
letter-spacing: 0.01em;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas,
'Courier New', monospace;
}
/* Luxury Typography */
h1, h2, h3, h4, h5, h6 {
font-family: 'Cinzel', 'Playfair Display', serif;
font-weight: 600;
letter-spacing: -0.02em;
line-height: 1.2;
}
h1 {
font-weight: 700;
letter-spacing: -0.03em;
}
h2 {
font-weight: 600;
letter-spacing: -0.02em;
}
h3, h4, h5, h6 {
font-weight: 500;
letter-spacing: -0.01em;
}
/* Elegant text for special elements */
.elegant-text {
font-family: 'Cormorant Garamond', 'Playfair Display', serif;
letter-spacing: 0.02em;
}
/* Display font for large headings */
.display-text {
font-family: 'Cinzel', 'Playfair Display', serif;
font-weight: 600;
letter-spacing: -0.02em;
}
@layer components {
.luxury-card {
@apply bg-white rounded-sm shadow-lg border border-gray-100;
@apply transition-all duration-300 ease-out;
@apply hover:shadow-xl hover:shadow-[#d4af37]/10;
@apply hover:-translate-y-1;
}
.luxury-card-gold {
@apply bg-white rounded-sm shadow-lg;
@apply relative overflow-hidden;
@apply transition-all duration-300 ease-out;
@apply hover:shadow-xl hover:shadow-[#d4af37]/20;
@apply border-t-2 border-[#d4af37];
}
.luxury-card-dark {
@apply bg-gradient-to-b from-[#1a1a1a] to-[#0f0f0f] rounded-sm shadow-2xl;
@apply border border-[#d4af37]/20;
@apply transition-all duration-300 ease-out;
@apply hover:shadow-[#d4af37]/30 hover:border-[#d4af37]/40;
}
.btn-luxury-primary {
@apply px-6 py-3 rounded-sm font-medium tracking-wide;
@apply bg-gradient-to-r from-[#d4af37] to-[#c9a227] text-[#0f0f0f];
@apply shadow-lg shadow-[#d4af37]/30;
@apply transition-all duration-300 ease-out;
@apply hover:from-[#f5d76e] hover:to-[#d4af37];
@apply hover:shadow-xl hover:shadow-[#d4af37]/40;
@apply hover:-translate-y-0.5;
@apply active:translate-y-0;
@apply disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:translate-y-0;
@apply relative overflow-hidden;
font-family: 'Poppins', 'Inter', sans-serif;
font-weight: 500;
letter-spacing: 0.05em;
}
.btn-luxury-primary::before {
content: '';
@apply absolute inset-0 bg-gradient-to-r from-white/0 via-white/20 to-white/0;
@apply translate-x-[-100%] transition-transform duration-700;
}
.btn-luxury-primary:hover::before {
@apply translate-x-[100%];
}
.btn-luxury-secondary {
@apply px-6 py-3 rounded-sm font-medium tracking-wide;
@apply bg-white/10 backdrop-blur-sm text-white border border-[#d4af37]/30;
@apply transition-all duration-300 ease-out;
@apply hover:bg-[#d4af37]/10 hover:border-[#d4af37] hover:text-[#d4af37];
@apply hover:-translate-y-0.5;
@apply active:translate-y-0;
}
.luxury-section-header {
@apply mb-8 pb-4 border-b border-[#d4af37]/20;
}
.luxury-section-title {
@apply text-3xl md:text-4xl font-display font-semibold;
@apply text-gray-900 tracking-tight;
@apply mb-2;
letter-spacing: -0.02em;
}
.luxury-section-subtitle {
@apply text-gray-600 text-lg font-light;
@apply tracking-wide;
font-family: 'Cormorant Garamond', 'Playfair Display', serif;
letter-spacing: 0.05em;
}
.luxury-stat-card {
@apply luxury-card p-6;
@apply relative overflow-hidden;
}
.luxury-stat-card::before {
content: '';
@apply absolute top-0 left-0 w-1 h-full;
background: var(--gradient-gold);
}
.luxury-table {
@apply w-full;
}
.luxury-table thead {
@apply bg-gradient-to-r from-gray-50 to-gray-100;
@apply border-b-2 border-[#d4af37]/30;
}
.luxury-table th {
@apply px-6 py-4 text-left text-xs font-semibold;
@apply text-gray-700 uppercase tracking-wider;
@apply border-b-2 border-gray-200;
}
.luxury-table td {
@apply px-6 py-4 whitespace-nowrap text-sm text-gray-900;
@apply border-b border-gray-100;
}
.luxury-table tbody tr {
@apply transition-colors duration-150;
@apply hover:bg-[#d4af37]/5;
}
.luxury-badge {
@apply inline-flex items-center px-3 py-1 rounded-sm;
@apply text-xs font-medium tracking-wide;
@apply transition-all duration-200;
@apply bg-[#d4af37]/10 text-[#c9a227] border border-[#d4af37]/30;
}
.luxury-input {
@apply w-full px-4 py-3 rounded-sm border border-gray-300;
@apply focus:ring-2 focus:ring-[#d4af37]/50 focus:border-[#d4af37];
@apply transition-all duration-200;
@apply bg-white text-gray-900;
@apply placeholder:text-gray-400;
@apply font-light tracking-wide;
font-family: 'Poppins', 'Inter', sans-serif;
letter-spacing: 0.01em;
}
.luxury-gradient-bg {
background: var(--gradient-gold);
}
.luxury-glass {
@apply bg-white/90 backdrop-blur-xl;
@apply border border-[#d4af37]/20;
@apply shadow-2xl;
}
.enterprise-card {
@apply bg-white rounded-lg shadow-xl border border-gray-200/60;
@apply relative overflow-hidden;
@apply transition-all duration-300 ease-out;
@apply hover:shadow-2xl hover:shadow-[#d4af37]/10;
@apply hover:-translate-y-0.5;
@apply backdrop-blur-sm;
}
.enterprise-card::before {
content: '';
@apply absolute top-0 left-0 right-0 h-0.5;
background: linear-gradient(90deg, transparent 0%, #d4af37 50%, transparent 100%);
opacity: 0;
transition: opacity 0.3s ease-out;
}
.enterprise-card:hover::before {
opacity: 1;
}
.enterprise-section-title {
@apply text-3xl md:text-4xl font-serif font-bold;
@apply text-gray-900 tracking-tight;
@apply bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900;
@apply bg-clip-text text-transparent;
}
.enterprise-section-subtitle {
@apply text-gray-600 text-base font-light;
@apply tracking-wide leading-relaxed;
}
.btn-enterprise-primary {
@apply px-8 py-3.5 rounded-lg font-semibold tracking-wide text-sm;
@apply bg-gradient-to-r from-[#d4af37] via-[#e8c547] to-[#d4af37];
@apply text-[#0f0f0f] shadow-lg shadow-[#d4af37]/30;
@apply transition-all duration-300 ease-out;
@apply hover:from-[#f5d76e] hover:via-[#d4af37] hover:to-[#f5d76e];
@apply hover:shadow-xl hover:shadow-[#d4af37]/40;
@apply hover:-translate-y-0.5 hover:scale-[1.02];
@apply active:translate-y-0 active:scale-100;
@apply disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:translate-y-0 disabled:hover:scale-100;
@apply relative overflow-hidden;
}
.btn-enterprise-primary::before {
content: '';
@apply absolute inset-0 bg-gradient-to-r from-white/0 via-white/30 to-white/0;
@apply translate-x-[-100%] transition-transform duration-700;
}
.btn-enterprise-primary:hover::before {
@apply translate-x-[100%];
}
.btn-enterprise-secondary {
@apply px-5 py-2.5 rounded-lg font-medium tracking-wide text-xs;
@apply bg-white border-2 border-gray-300 text-gray-700;
@apply shadow-md shadow-gray-200/50;
@apply transition-all duration-300 ease-out;
@apply hover:bg-gray-50 hover:border-[#d4af37] hover:text-[#c9a227];
@apply hover:shadow-lg hover:shadow-[#d4af37]/20;
@apply hover:-translate-y-0.5;
@apply active:translate-y-0;
@apply disabled:opacity-50 disabled:cursor-not-allowed;
}
.enterprise-input {
@apply w-full px-4 py-3 rounded-lg border-2 border-gray-200;
@apply focus:ring-2 focus:ring-[#d4af37]/30 focus:border-[#d4af37];
@apply transition-all duration-200;
@apply bg-white text-gray-900;
@apply placeholder:text-gray-400;
@apply font-light tracking-wide;
@apply shadow-sm;
}
.enterprise-input:focus {
@apply shadow-md shadow-[#d4af37]/10;
}
}
@layer utilities {
.text-balance {
text-wrap: balance;
}
.shadow-luxury {
box-shadow: var(--shadow-luxury);
}
.shadow-luxury-lg {
box-shadow: var(--shadow-luxury-gold);
}
.shadow-luxury-gold {
box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
}
.animate-fade-in {
animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-slide-in {
animation: slideIn 0.5s ease-out;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.animate-scale-in {
animation: scaleIn 0.4s ease-out;
}
@keyframes scaleIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
.transition-smooth {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-enterprise {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-slide-up {
animation: slideUp 0.4s ease-out;
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-pulse-enterprise {
animation: pulseEnterprise 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulseEnterprise {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.8;
}
}
@keyframes shimmer {
0% {
background-position: -1000px 0;
}
100% {
background-position: 1000px 0;
}
}
.animate-shimmer {
animation: shimmer 2s infinite;
background: linear-gradient(
to right,
#f1f5f9 0%,
#e2e8f0 20%,
#f1f5f9 40%,
#f1f5f9 100%
);
background-size: 1000px 100%;
}
.text-gradient-luxury {
@apply bg-gradient-to-r from-[#d4af37] via-[#f5d76e] to-[#d4af37];
@apply bg-clip-text text-transparent;
}
.text-gradient-luxury-dark {
@apply bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900;
@apply bg-clip-text text-transparent;
}
.backdrop-blur-luxury {
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
}
img {
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
}
img[loading="lazy"] {
opacity: 0;
transition: opacity 0.3s;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([src]) {
opacity: 1;
}
/* Policy pages content styling - ensure all text is visible */
.prose.prose-invert {
color: #d1d5db !important;
}
.prose.prose-invert * {
color: inherit;
}
.prose.prose-invert p,
.prose.prose-invert li,
.prose.prose-invert span,
.prose.prose-invert div {
color: #d1d5db !important;
}
.prose.prose-invert h1,
.prose.prose-invert h2,
.prose.prose-invert h3,
.prose.prose-invert h4,
.prose.prose-invert h5,
.prose.prose-invert h6 {
color: #ffffff !important;
}
.prose.prose-invert strong,
.prose.prose-invert b {
color: #d4af37 !important;
}
.prose.prose-invert a {
color: #d4af37 !important;
}