/* ============================================
   THE BLACK ASSEMBLY - CUSTOM STYLES
   Dark Luxury Minimalism Design System
   ============================================ */

/* === BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFFFFF;
}

/* === SELECTION === */
::selection {
    background: #D4AF37;
    color: #000000;
}

::-moz-selection {
    background: #D4AF37;
    color: #000000;
}

/* === TYPOGRAPHY ENHANCEMENTS === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

p {
    line-height: 1.8;
}

/* === ANIMATED GRADIENT BACKGROUND === */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* === FORM STYLES === */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

/* === RADIO BUTTON CUSTOM STYLING === */
input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

input[type="radio"]:checked {
    border-color: #D4AF37;
    background: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

input[type="radio"]:hover {
    border-color: #D4AF37;
}

/* === BUTTON HOVER EFFECTS === */
button,
a.button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button::before,
a.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before,
a.button:hover::before {
    width: 300px;
    height: 300px;
}

/* === NAVIGATION STICKY EFFECT === */
nav {
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

/* === SECTION DIVIDERS === */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 0 auto;
}

/* === GEOMETRIC SHAPES ANIMATION === */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-rotate-slow {
    animation: rotate 20s linear infinite;
}

/* === CARD HOVER EFFECTS === */
.hover-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

/* === GOLD ACCENT LINE === */
.gold-line {
    position: relative;
}

.gold-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #D4AF37;
}

/* === GLOWING TEXT EFFECT === */
.glow-text {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5),
                 0 0 40px rgba(212, 175, 55, 0.3);
}

/* === PARALLAX EFFECT === */
.parallax {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GRID BACKGROUND === */
.grid-background {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
}

/* === LOADING ANIMATION === */
@keyframes pulse-gold {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse-gold {
    animation: pulse-gold 2s ease-in-out infinite;
}

/* === TEXT REVEAL ANIMATION === */
@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-reveal {
    animation: textReveal 0.8s ease-out;
}

/* === BORDER GRADIENT EFFECT === */
.border-gradient {
    border-image: linear-gradient(135deg, #D4AF37 0%, rgba(212, 175, 55, 0.3) 100%) 1;
}

/* === TABLE ENHANCEMENTS === */
table {
    border-collapse: separate;
    border-spacing: 0;
}

table tbody tr {
    transition: all 0.3s ease;
}

table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* === SMOOTH TRANSITIONS === */
a, button, input, textarea, select {
    transition: all 0.3s ease;
}

/* === FOCUS STATES === */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 4px;
}

/* === LOADING STATE === */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #D4AF37;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
    transform: translate(-50%, -50%);
}

/* === SUCCESS MESSAGE === */
.success-message {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid #D4AF37;
    padding: 16px;
    margin-top: 16px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === ERROR MESSAGE === */
.error-message {
    background: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff0000;
    padding: 16px;
    margin-top: 16px;
    color: #ff6b6b;
    animation: shake 0.5s ease-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

/* === CUSTOM CURSOR (OPTIONAL) === */
@media (pointer: fine) {
    a:hover,
    button:hover {
        cursor: pointer;
    }
}

/* === BACKDROP BLUR SUPPORT === */
@supports (backdrop-filter: blur(10px)) {
    nav {
        backdrop-filter: blur(10px);
    }
}

/* === PRINT STYLES === */
@media print {
    nav,
    footer,
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* === ACCESSIBILITY ENHANCEMENTS === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
    .text-platinum\/70,
    .text-platinum\/80,
    .text-platinum\/50 {
        color: #FFFFFF !important;
    }
}

/* === DARK MODE (ALREADY DEFAULT) === */
@media (prefers-color-scheme: dark) {
    /* Already optimized for dark mode */
}

/* === UTILITY CLASSES === */
.text-balance {
    text-wrap: balance;
}

.no-select {
    user-select: none;
}

.pointer-events-none {
    pointer-events: none;
}

.cursor-pointer {
    cursor: pointer;
}

/* === CUSTOM ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* === GRADIENT TEXT === */
.gradient-text {
    background: linear-gradient(135deg, #D4AF37 0%, #FFFFFF 50%, #D4AF37 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* === RESPONSIVE PADDING === */
@media (max-width: 640px) {
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* === SMOOTH SCROLL PADDING === */
html {
    scroll-padding-top: 80px;
}

/* === TRANSITION DELAYS === */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* === END OF STYLES === */