/*
   Tailwind-Lite for notanorm.de
   Self-hosted utility CSS — replaces Tailwind CDN with only the classes used.
   notanorm-specific color tokens added alongside generic utilities.
*/

/* =========================================
   1. LAYOUT & DISPLAY
   ========================================= */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.order-1 { order: 1; }
.order-2 { order: 2; }

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .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\:p-6 { padding: 1.5rem; }
    .md\:p-8 { padding: 2rem; }
    .md\:p-12 { padding: 3rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-6xl { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:min-h-\[85vh\] { min-height: 85vh; }
    .lg\:order-1 { order: 1; }
    .lg\:order-2 { order: 2; }
}

/* =========================================
   2. SPACING (Paddings, Margins, Gaps)
   ========================================= */
.mx-auto { margin-left: auto; margin-right: auto; }
.m-0 { margin: 0; }

.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.my-10 { margin-top: 2.5rem; margin-bottom: 2.5rem; }
.my-16 { margin-top: 4rem; margin-bottom: 4rem; }

.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.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; }

.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.pt-20 { padding-top: 5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-1\.5 { padding-bottom: 0.375rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-16 { padding-bottom: 4rem; }

.pr-8 { padding-right: 2rem; }

.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

/* Space Between Utilities */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* =========================================
   3. SIZING & ASPECT
   ========================================= */
.w-8 { width: 2rem; }
.w-24 { width: 6rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-full { width: 100%; }

.h-8 { height: 2rem; }
.h-1 { height: 0.25rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-full { height: 100%; }

.min-h-screen { min-height: 100vh; }
.min-h-\[90vh\] { min-height: 90vh; }
.min-h-\[95vh\] { min-height: 95vh; }

.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-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }

/* =========================================
   4. TYPOGRAPHY
   ========================================= */
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }

.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; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
.text-8xl { font-size: 6rem; }

.md\:text-5xl { font-size: 3rem; }
.md\:text-6xl { font-size: 3.75rem; }
.md\:text-7xl { font-size: 4.5rem; }
.md\:text-8xl { font-size: 6rem; }

.lg\:text-7xl { font-size: 4.5rem; }
.lg\:text-8xl { font-size: 6rem; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-sans { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-serif { font-family: 'Playfair Display', serif; }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: normal; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[0\] { line-height: 0; }

.antialiased { -webkit-font-smoothing: antialiased; }
.not-prose p, .not-prose ul, .not-prose li { margin: 0 !important; padding: 0 !important; }

/* =========================================
   5. COLORS (Text & Background)
   ========================================= */
.text-white { color: #ffffff; }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-slate-500 { color: #64748b; }
.text-notanormNavy { color: #1a365d; }
.text-notanormGold { color: #d4af37; }
.text-notanormText { color: #2d3748; }
.text-notanormText\/60 { color: rgba(45, 55, 72, 0.6); }
.text-notanormText\/40 { color: rgba(45, 55, 72, 0.4); }

.bg-white { background-color: #ffffff; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-notanormNavy { background-color: #1a365d; }
.bg-notanormGold { background-color: #d4af37; }
.bg-\[\#f8fafc\] { background-color: #f8fafc; }
.bg-\[\#fdfbf7\] { background-color: #fdfbf7; }
.bg-notanormGold\/20 { background-color: rgba(212, 175, 55, 0.2); }
.bg-notanormGold\/10 { background-color: rgba(212, 175, 55, 0.1); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* =========================================
   Custom Navigation Components
   ========================================= */
.nav-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.5rem 2rem;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #d4af37 !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* =========================================
   6. BORDERS & SHADOWS
   ========================================= */
.border { border: 1px solid #e5e7eb; }
.border-2 { border-width: 2px; }
.border-b-2 { border-bottom-width: 2px; }
.border-t { border-top-width: 1px; }
.border-transparent { border-color: transparent; }
.border-gray-100 { border-color: #f3f4f6; }
.border-notanormNavy\/5 { border-color: rgba(26, 54, 93, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-notanormGold\/30 { border-color: rgba(212, 175, 55, 0.3); }
.border-notanormGold\/40 { border-color: rgba(212, 175, 55, 0.4); }
.border-notanormGold\/20 { border-color: rgba(212, 175, 55, 0.2); }
.border-notanormGold\/10 { border-color: rgba(212, 175, 55, 0.1); }
.border-\[12px\] { border-width: 12px; }
.border-\[16px\] { border-width: 16px; }

.rounded-full { border-radius: 9999px; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }
.rounded-\[4rem\] { border-radius: 4rem; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }

.opacity-20 { opacity: 0.2; }
.opacity-40 { opacity: 0.4; }
.opacity-60 { opacity: 0.6; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* =========================================
   7. ELEMENTS & EFFECTS
   ========================================= */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }

.blur-3xl { filter: blur(64px); }
.blur-\[80px\] { filter: blur(80px); }

.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.from-notanormNavy\/80 { --tw-gradient-from: rgba(26, 54, 93, 0.8); --tw-gradient-to: rgba(26, 54, 93, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-notanormNavy\/50 { --tw-gradient-to: rgba(26, 54, 93, 0); --tw-gradient-stops: var(--tw-gradient-from), rgba(26, 54, 93, 0.5), var(--tw-gradient-to); }
.via-notanormNavy\/60 { --tw-gradient-to: rgba(26, 54, 93, 0); --tw-gradient-stops: var(--tw-gradient-from), rgba(26, 54, 93, 0.6), var(--tw-gradient-to); }
.to-notanormNavy { --tw-gradient-to: #1a365d; }

.hover\:shadow-notanormGold\/40:hover { box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.4); }

.transition-all { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color, background-color, border-color 150ms; }
.hover\:text-notanormGold:hover { color: #d4af37; }
.hover\:text-notanormNavy:hover { color: #1a365d; }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:border-notanormGold:hover { border-color: #d4af37; }
.hover\:border-notanormGold\/30:hover { border-color: rgba(212, 175, 55, 0.3); }
.hover\:border-notanormGold\/40:hover { border-color: rgba(212, 175, 55, 0.4); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }

.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:text-notanormNavy { color: #1a365d; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.fade-on-scroll { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.fade-visible { opacity: 1; transform: translateY(0); }