/* Custom styles for S.E.R.C. Holdings */
:root {
  --brand-gold: #D4AF37;
  --brand-gold-light: #E5C158;
  --brand-dark: #0A0E17;
  --brand-card: #141B2D;
  --brand-border: #1F2A44;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--brand-dark);
  color: #E5E7EB;
}

/* Smooth transitions */
.transition-brand {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gold underline animation */
.hover-gold-line {
  position: relative;
}
.hover-gold-line::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-gold);
  transition: width 0.3s ease;
}
.hover-gold-line:hover::after {
  width: 100%;
}

/* Card hover glow */
.card-glow {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
}

/* Button styles */
.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #B8962E 100%);
  color: #0A0E17;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
  border: 1px solid #D4AF37;
  color: #D4AF37;
  background: transparent;
  transition: all 0.3s ease;
}
.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(135deg, rgba(10, 14, 23, 0.92) 0%, rgba(10, 14, 23, 0.75) 50%, rgba(10, 14, 23, 0.88) 100%);
}

/* Section divider */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

/* Cookie banner */
#cookie-banner {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
#cookie-banner.hidden-banner {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* Language switcher active */
.lang-active {
  color: #D4AF37;
  font-weight: 600;
}

/* Mobile menu */
#mobile-menu {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* Form styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Spinner */
.spinner {
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fade in animation */
.fade-in {
  animation: fadeIn 0.7s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Subtle pattern overlay */
.pattern-dark {
  background-image: radial-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}
