/* Main Styles for Company Website */

/* Global Styles */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

/* Hero Section */
.hero-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3rem 0;
  color: white;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 2rem auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@keyframes gradientFloat {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    url('../images/hero-bg.svg') no-repeat center center,
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    linear-gradient(45deg, rgba(128, 0, 0, 0.05) 25%, transparent 25%) 10px 0,
    linear-gradient(-45deg, rgba(128, 0, 0, 0.05) 25%, transparent 25%) 10px 0,
    linear-gradient(45deg, transparent 75%, rgba(128, 0, 0, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(128, 0, 0, 0.05) 75%);
  background-size: cover, 100% 100%, 100% 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  opacity: 0.15;
  pointer-events: none;
  animation: pulseBackground 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 0% 0%, rgba(128, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(128, 0, 0, 0.1) 0%, transparent 50%);
  opacity: 0.5;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.7; }
}

@keyframes pulseBackground {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.15; }
}

.hero-image-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-image-wrapper img {
  max-width: 100%;
  height: auto;
  transition: all 0.5s ease;
  filter: brightness(0) invert(1) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  opacity: 0.9;
}

.hero-image-wrapper img:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.hero-text-wrapper {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.3s ease;
}

.hero-text-wrapper:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-text-wrapper h1 {
  background: linear-gradient(120deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
  0%, 100% {
    filter: brightness(100%) drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
  }
  50% {
    filter: brightness(120%) drop-shadow(2px 2px 6px rgba(0,0,0,0.3));
  }
}

.hero-text-wrapper .accent-line {
  transform-origin: left;
  animation: scaleIn 1s ease-out 0.5s forwards;
  transform: scaleX(0);
  position: relative;
}

.hero-text-wrapper .accent-line::before,
.hero-text-wrapper .accent-line::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  top: 50%;
  transform: translateY(-50%);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-text-wrapper .accent-line::before {
  left: -3px;
}

.hero-text-wrapper .accent-line::after {
  right: -3px;
}

@keyframes pulseDot {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-50%) scale(1.5);
    opacity: 0.8;
  }
}

.hero-text-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  pointer-events: none;
  animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.1);
  }
  50% {
    border-color: rgba(255, 255, 255, 0.2);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    transform: scaleX(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-section h1 {
  animation: fadeInUp 0.6s ease-out;
  position: relative;
}

.hero-section h2 {
  animation: fadeInUp 0.6s ease-out 0.2s both;
  position: relative;
}

.hero-section .lead {
  position: relative;
  animation: fadeInUp 0.6s ease-out 0.4s both;
  text-align: justify;
  margin-bottom: 1.5rem;
.hero-buttons {
  position: relative;
  z-index: 3;
}

.hero-buttons .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.hero-buttons .btn:hover::before {
  width: 200%;
  height: 200%;
}  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease-out 0.8s both;
}

.hero-buttons .btn {
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn-outline-light:hover {
  background-color: #800000;
  border-color: #800000;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(128, 0, 0, 0.3);
  opacity: 0.95;
}

model-viewer {
  width: 100%;
  height: 400px;
  --poster-color: transparent;
  --progress-bar-color: #800000;
  --progress-bar-height: 5px;
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.9)), url('../images/page-header-bg.jpg') no-repeat center center/cover;
  padding: 5rem 0;
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  margin-right: 10px;
}

.nav-link {
  font-weight: 600;
  padding: 0.5rem 1rem !important;
}

/* Footer */
footer {
  margin-top: auto;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline;
}

/* Form Styles */
.form-label {
  font-weight: 600;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 5rem 0;
  }
  
  .page-header {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .page-header {
    padding: 2.5rem 0;
  }
  
  h1.display-4 {
    font-size: 2.5rem;
  }
}
