/**
 * @file: style.css
 * @description: Custom styles for Asset HR
 * @created: 2025-01-14
 */

/* Custom CSS variables */
:root {
  --color-primary: #193B68;
  --color-accent: #E53935;
  --accent-blue: #193B68;
  --accent-red: #E53935;
  --footer-dark: #0F1F3A;
  --radius: 16px;
  --shadow-card: 0 6px 20px rgba(0,0,0,.04);
}

/* Font family */
* {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Color classes */
.text-accent-blue {
  color: var(--accent-blue);
}

.text-accent-red {
  color: var(--accent-red);
}

.bg-accent-blue {
  background-color: var(--accent-blue);
}

.bg-footer-dark {
  background-color: var(--footer-dark);
}

.bg-accent-red {
  background-color: var(--accent-red);
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  border: none;
  cursor: pointer;
}

.btn-red {
  background-color: var(--accent-red);
  color: white;
}

.btn-red:hover {
  background-color: #d32f2f;
  color: white;
}

.btn-outline {
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--accent-blue);
  color: white;
}

/* Decorative elements */
.dots-overlay {
  position: relative;
}

.dots-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, var(--accent-blue) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

/* Dots overlay for dark backgrounds */
.dots-overlay-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px);
  background-size: 25px 25px;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

/* Geometric elements */
.geometric-element {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.circle-gradient {
  background: linear-gradient(135deg, var(--accent-blue), rgba(25, 59, 104, 0.3));
  border-radius: 50%;
}

.circle-gradient-red {
  background: linear-gradient(135deg, var(--accent-red), rgba(229, 57, 53, 0.3));
  border-radius: 50%;
}

.rounded-rect {
  background: linear-gradient(135deg, var(--accent-blue), rgba(25, 59, 104, 0.3));
  border-radius: 8px;
}

.rounded-rect-red {
  background: linear-gradient(135deg, var(--accent-red), rgba(229, 57, 53, 0.3));
  border-radius: 8px;
}

.dot-grid {
  background-image: radial-gradient(circle, var(--accent-blue) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.diagonal-line {
  background: linear-gradient(45deg, var(--accent-blue), rgba(25, 59, 104, 0.3));
  transform: rotate(15deg);
}

.diagonal-line-red {
  background: linear-gradient(45deg, var(--accent-red), rgba(229, 57, 53, 0.3));
  transform: rotate(-15deg);
}

/* Animations */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

.pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}

.twinkle {
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Card styles */
.card-accent {
  transition: all 0.3s ease;
}

.card-accent:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Panel styles */
.panel {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.panel-hover:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* Title styles */
.title-accent {
  position: relative;
}

.title-accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-red));
  border-radius: 2px;
}

.title-dots::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background-image: radial-gradient(circle, var(--accent-blue) 2px, transparent 2px);
  background-size: 8px 8px;
}

/* Glass card styles */
.glass-card-wrapper {
  position: relative;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.15);
}

/* Tab styles */
.tab-button {
  transition: all 0.3s ease;
}

.tab-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-content {
  transition: all 0.3s ease;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--accent-red);
  outline-offset: 2px;
}

/* Custom breakpoint for mobile menu at 1028px */
@media (max-width: 1027px) {
  .xl\:flex {
    display: none !important;
  }
  
  .xl\:hidden {
    display: block !important;
  }
}

@media (min-width: 1028px) {
  .xl\:flex {
    display: flex !important;
  }
  
  .xl\:hidden {
    display: none !important;
  }
}