/* Global Styles */ /* Base Typography */ html { font-size: 18px; } @media (min-width: 1280px) { html { font-size: 20px; } } @media (min-width: 1536px) { html { font-size: 22px; } } @media (min-width: 1920px) { html { font-size: 24px; } } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; } /* Minimum font sizes */ .text-base { font-size: 1rem; } .text-lg { font-size: 1.125rem; } .text-xl { font-size: 1.25rem; } /* Container */ .container-custom { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; } @media (min-width: 640px) { .container-custom { padding-left: 1.5rem; padding-right: 1.5rem; } } /* Section */ .section { padding-top: 3rem; padding-bottom: 3rem; } @media (min-width: 768px) { .section { padding-top: 4rem; padding-bottom: 4rem; } } /* Buttons */ .btn-primary { display: inline-block; padding: 0.75rem 1.5rem; background-color: #16a34a; color: white; border-radius: 0.5rem; font-weight: 500; transition: all 0.2s; } .btn-primary:hover { background-color: #15803d; } .btn-secondary { display: inline-block; padding: 0.75rem 1.5rem; background-color: #374151; color: white; border-radius: 0.5rem; font-weight: 500; transition: all 0.2s; } .btn-secondary:hover { background-color: #4b5563; } .btn-outline { display: inline-block; padding: 0.75rem 1.5rem; background-color: transparent; color: white; border: 2px solid white; border-radius: 0.5rem; font-weight: 500; transition: all 0.2s; } .btn-outline:hover { background-color: white; color: #16a34a; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .animate-fade-in { animation: fadeIn 0.5s ease-out; } .animate-slide-up { animation: slideUp 0.5s ease-out; } /* Utility Classes */ .flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 0.5rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; } .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)); } @media (min-width: 640px) { .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (min-width: 768px) { .md\:flex { display: flex; } .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } } @media (min-width: 1024px) { .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } } /* Spacing */ .mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .p-2 { padding: 0.5rem; } .p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; } .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; } /* Colors */ .text-white { color: white; } .text-black { color: black; } .text-gray-500 { color: #6b7280; } .text-gray-600 { color: #4b5563; } .text-gray-700 { color: #374151; } .text-gray-900 { color: #111827; } .text-green-500 { color: #22c55e; } .text-green-600 { color: #16a34a; } .bg-white { background-color: white; } .bg-gray-50 { background-color: #f9fafb; } .bg-gray-100 { background-color: #f3f4f6; } .bg-black { background-color: black; } .bg-green-500 { background-color: #22c55e; } .bg-green-600 { background-color: #16a34a; } /* Border Radius */ .rounded { border-radius: 0.25rem; } .rounded-lg { border-radius: 0.5rem; } .rounded-xl { border-radius: 0.75rem; } .rounded-2xl { border-radius: 1rem; } .rounded-full { border-radius: 9999px; } /* Shadows */ .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-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); } .shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); } /* Typography */ .font-bold { font-weight: 700; } .font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } .text-xs { font-size: 0.75rem; } .text-sm { font-size: 0.875rem; } .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; } .leading-tight { line-height: 1.25; } .leading-relaxed { line-height: 1.625; } /* Width/Height */ .w-full { width: 100%; } .h-full { height: 100%; } .h-10 { height: 2.5rem; } .h-12 { height: 3rem; } .h-16 { height: 4rem; } .min-h-screen { min-height: 100vh; } /* Position */ .relative { position: relative; } .absolute { position: absolute; } .fixed { position: fixed; } .inset-0 { top: 0; right: 0; bottom: 0; left: 0; } .top-0 { top: 0; } .right-0 { right: 0; } .bottom-0 { bottom: 0; } .left-0 { left: 0; } .z-40 { z-index: 40; } .z-50 { z-index: 50; } /* Overflow */ .overflow-hidden { overflow: hidden; } /* Transitions */ .transition-all { transition: all 0.2s; } .transition-colors { transition: color 0.2s, background-color 0.2s; } .transition-transform { transition: transform 0.2s; } /* Transform */ .translate-y-full { transform: translateY(100%); } /* Misc */ .cursor-pointer { cursor: pointer; } .hover\:scale-105:hover { transform: scale(1.05); } .active\:scale-95:active { transform: scale(0.95); } /* Hidden by default */ .hidden { display: none; } /* Space-x for flex items */ .space-x-4 > * + * { margin-left: 1rem; } .space-x-6 > * + * { margin-left: 1.5rem; } .space-x-8 > * + * { margin-left: 2rem; } /* Space-y for flex/grid items */ .space-y-2 > * + * { margin-top: 0.5rem; } .space-y-4 > * + * { margin-top: 1rem; } .space-y-6 > * + * { margin-top: 1.5rem; } /* Aspect ratio */ .aspect-video { aspect-ratio: 16 / 9; } /* Object fit */ .object-cover { object-fit: cover; } /* Border */ .border { border-width: 1px; border-style: solid; } .border-t { border-top-width: 1px; border-style: solid; } /* Text align */ .text-center { text-align: center; } /* Max width */ .max-w-lg { max-width: 32rem; } .max-w-2xl { max-width: 42rem; } .max-w-6xl { max-width: 72rem; } .mx-auto { margin-left: auto; margin-right: auto; }