pwf-website-new/client/src/index.css

537 lines
15 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Catamaran:wght@300;400;500;600;700&family=Khula:wght@300;400;600;700&family=Aref+Ruqaa:wght@400;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background: 0 0% 100%;
--foreground: 20 14.3% 4.1%;
--muted: 60 4.8% 95.9%;
--muted-foreground: 25 5.3% 44.7%;
--popover: 0 0% 100%;
--popover-foreground: 20 14.3% 4.1%;
--card: 0 0% 100%;
--card-foreground: 20 14.3% 4.1%;
--border: 20 5.9% 90%;
--input: 20 5.9% 90%;
--primary: 175 84% 30%;
--primary-foreground: 211 100% 99%;
--secondary: 302 24% 49%;
--secondary-foreground: 24 9.8% 10%;
--accent: 335 38% 51%;
--accent-foreground: 24 9.8% 10%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 60 9.1% 97.8%;
--ring: 20 14.3% 4.1%;
--radius: 0.5rem;
}
@layer base {
* {
@apply border-gray-200;
}
body {
@apply font-sans antialiased bg-white text-gray-900;
font-family: 'Khula', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Lato', sans-serif;
}
.subtitle, .card-subtitle, .section-subtitle {
font-family: 'Catamaran', sans-serif;
}
}
.teal-bg {
background-color: #0c8991;
}
.teal-light-bg {
background-color: #E6F4F5;
}
.teal-text {
color: #0c8991;
}
.purple-bg {
background-color: #9D5E9B;
}
.purple-light-bg {
background-color: #F5E6F4;
}
.purple-text {
color: #9D5E9B;
}
.rose-bg {
background-color: #B55076;
}
.rose-light-bg {
background-color: #F9E6EE;
}
.rose-text {
color: #B55076;
}
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
line-height: 1.6;
color: #333;
background-color: white;
}
/* Custom colors */
:root {
--teal: #0c8991;
--purple: #9D5E9B;
--rose: #B55076;
--teal-light: rgba(12, 137, 145, 0.1);
--purple-light: #E8D5E6;
--rose-light: rgba(181, 80, 118, 0.1);
--white: #ffffff;
--black: #000000;
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-500: #6b7280;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #1f2937;
--gray-900: #111827;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.2;
}
.font-playfair, .title {
font-family: 'Lato', sans-serif;
}
.font-raleway {
font-family: 'Khula', sans-serif;
}
.font-aref {
font-family: 'Aref Ruqaa', serif;
}
.font-cairo, .subtitle {
font-family: 'Catamaran', sans-serif;
}
/* Layout utilities */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
.flex {
display: flex;
}
.flex-col {
flex-direction: column;
}
.items-center {
align-items: center;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
/* Spacing */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }
.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-16 { padding-left: 4rem; padding-right: 4rem; }
.px-20 { padding-left: 5rem; padding-right: 5rem; }
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.25rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }
.m-10 { margin: 2.5rem; }
.m-12 { margin: 3rem; }
.m-16 { margin: 4rem; }
.m-20 { margin: 5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
/* Colors */
.bg-white { background-color: var(--white); }
.bg-black { background-color: var(--black); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-200 { background-color: var(--gray-200); }
.bg-gray-300 { background-color: var(--gray-300); }
.bg-teal { background-color: var(--teal); }
.bg-purple { background-color: var(--purple); }
.bg-rose { background-color: var(--rose); }
.bg-teal-light { background-color: var(--teal-light); }
.bg-purple-light { background-color: var(--purple-light); }
.bg-rose-light { background-color: var(--rose-light); }
.text-white { color: var(--white); }
.text-black { color: var(--black); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }
.text-teal { color: var(--teal); }
.text-purple { color: var(--purple); }
.text-rose { color: var(--rose); }
/* Typography sizes */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
/* Width and height */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
/* Borders */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.rounded { border-radius: 0.25rem; }
.rounded-sm { border-radius: 0.125rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }
.border-teal { border-color: var(--teal); }
.border-purple { border-color: var(--purple); }
.border-rose { border-color: var(--rose); }
/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.top-full { top: 100%; }
.bottom-0 { bottom: 0; }
.bottom-1\/2 { bottom: 50%; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-1\/2 { right: 50%; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.inset-y-0 { top: 0; bottom: 0; }
/* Z-index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
/* Hover states */
.hover\:bg-opacity-90:hover { background-color: rgba(0, 0, 0, 0.9); }
.hover\:text-white:hover { color: var(--white); }
.hover\:text-opacity-100:hover { opacity: 1; }
.hover\:scale-105:hover { transform: scale(1.05); }
/* Responsive */
@media (min-width: 640px) {
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
.sm\:text-xl { font-size: 1.25rem; }
.sm\:text-2xl { font-size: 1.5rem; }
.sm\:text-3xl { font-size: 1.875rem; }
.sm\:text-4xl { font-size: 2.25rem; }
.sm\:text-5xl { font-size: 3rem; }
.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm\:flex { display: flex; }
.sm\:hidden { display: none; }
}
@media (min-width: 768px) {
.md\:flex { display: flex; }
.md\:hidden { display: none; }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.md\:flex-row { flex-direction: row; }
.md\:flex-col { flex-direction: column; }
.md\:w-1\/2 { width: 50%; }
.md\:w-1\/3 { width: 33.333333%; }
.md\:w-2\/3 { width: 66.666667%; }
.md\:text-lg { font-size: 1.125rem; }
.md\:text-xl { font-size: 1.25rem; }
.md\:text-2xl { font-size: 1.5rem; }
.md\:text-3xl { font-size: 1.875rem; }
.md\:text-4xl { font-size: 2.25rem; }
.md\:text-5xl { font-size: 3rem; }
.md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
.md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.md\:mb-0 { margin-bottom: 0; }
.md\:mb-4 { margin-bottom: 1rem; }
.md\:mb-6 { margin-bottom: 1.5rem; }
.md\:mb-8 { margin-bottom: 2rem; }
.md\:mb-16 { margin-bottom: 4rem; }
.md\:gap-8 { gap: 2rem; }
.md\:gap-12 { gap: 3rem; }
.md\:space-x-8 > * + * { margin-left: 2rem; }
.md\:space-y-1 > * + * { margin-top: 0.25rem; }
.md\:space-y-3 > * + * { margin-top: 0.75rem; }
.md\:space-y-8 > * + * { margin-top: 2rem; }
}
@media (min-width: 1024px) {
.lg\:px-4 { padding-left: 1rem; padding-right: 1rem; }
.lg\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
.lg\:text-4xl { font-size: 2.25rem; }
.lg\:text-5xl { font-size: 3rem; }
.lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lg\:flex { display: flex; }
.lg\:hidden { display: none; }
}
/* Custom utility classes */
.bg-transparent { background-color: transparent; }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
/* Specific color values used in components */
.bg-916398 { background-color: #916398; }
.bg-7ebdc5 { background-color: #7ebdc5; }
.text-ffffff { color: #ffffff; }
.text-49878f { color: #49878f; }
.bg-92bbc45c { background-color: rgba(146, 187, 196, 0.36); }
/* Opacity utilities */
.bg-opacity-20 { background-color: rgba(0, 0, 0, 0.2); }
.bg-opacity-30 { background-color: rgba(0, 0, 0, 0.3); }
.bg-opacity-90 { background-color: rgba(0, 0, 0, 0.9); }
.text-opacity-70 { opacity: 0.7; }
.text-opacity-80 { opacity: 0.8; }
.text-opacity-100 { opacity: 1; }
.border-opacity-20 { border-color: rgba(255, 255, 255, 0.2); }
.border-opacity-30 { border-color: rgba(255, 255, 255, 0.3); }
/* Transform utilities */
.transform { transform: translateZ(0); }
.scale-105 { transform: scale(1.05); }
.translateY-2 { transform: translateY(-2px); }
.translateY-1 { transform: translateY(-1px); }
/* Additional spacing utilities */
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-8 > * + * { margin-top: 2rem; }
/* Button styles */
button, .btn {
cursor: pointer;
border: none;
outline: none;
transition: all 0.3s ease;
}
button:hover, .btn:hover {
transform: translateY(-1px);
}
/* Link styles */
a {
text-decoration: none;
color: inherit;
}
a:hover {
text-decoration: underline;
}
/* Image styles */
img {
max-width: 100%;
height: auto;
}
/* List styles */
ul, ol {
list-style: none;
}
/* Form styles */
input, textarea, select {
font-family: inherit;
font-size: inherit;
}
/* Focus styles */
button:focus, input:focus, textarea:focus, select:focus {
outline: 2px solid var(--teal);
outline-offset: 2px;
}