@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #0a0a0a 100%);
  color: #f8f9fa;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(150, 0, 0, 1) 0%, rgba(80, 0, 0, 1) 50%, rgba(40, 0, 0, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOutScreen 1s ease-in-out forwards;
  animation-delay: 0.8s;
}

.loader-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  max-height: 80vh;
  max-width: 80vh;
  height: auto;
  animation: logoScale 1s ease-in-out forwards;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(180, 0, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 40px rgba(180, 0, 0, 0.9);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

@keyframes logoScale {
  0% {
    opacity: 1;
    transform: scale(0.8);
  }
  70% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

@keyframes fadeOutScreen {
  0% {
    opacity: 1;
    visibility: visible;
  }
  99% {
    opacity: 0;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Modern Navbar with Glassmorphism */
nav {
  position: fixed!important;
  background: rgba(10, 10, 10, 0.7) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000 !important;
  transition: all 0.3s ease;
  height:106px !important;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  font-weight: 800;
  font-size: 24px;
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-nav {
  height: auto !important;
  padding: 20px 0;
}

.nav-item a {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 18px;
  padding: 12px 20px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4444, #cc0000);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-item a:hover {
  color: #fff !important;
}

.nav-item a:hover::after {
  width: 80%;
}

/* Hero Section */
#fooldal {
  margin-top:86px!important;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(150, 0, 0, 1) 0%, rgba(80, 0, 0, 1) 50%, rgba(40, 0, 0, 1) 100%);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  max-height: 600px;
  max-width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  transition: all 0.5s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

#fooldal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 100, 100, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(200, 0, 0, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

#fooldalAlap {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

#fooldalSzoveg {
  animation: fadeInLeft 1s ease-out;
  flex: 0 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
  height:auto;
}

#fooldalKep {
  animation: fadeInRight 1s ease-out 0.3s both;
  flex: 0 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
height:100vh;
  width:100vh;
}

#fooldalKep img {
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  transition: all 0.5s ease;
}

#fooldalKep img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

#alap {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  z-index: 10;
  position: relative;
}

#alap h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

#munka h4 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

#munka h4:nth-child(1) { animation-delay: 0.5s; }
#munka h4:nth-child(2) { animation-delay: 0.7s; }
#munka h4:nth-child(3) { animation-delay: 0.9s; }

#munka {
  padding: 16px 0;
  line-height: 1.8;
}

#munka h4:hover {
  transform: translateX(10px);
  color: #ff6666;
}

/* Modern Buttons */
#jelentkezGomb, #munkainkGomb {
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse 3s infinite;
}

#jelentkezGomb::before, #munkainkGomb::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#jelentkezGomb:hover::before, #munkainkGomb:hover::before {
  left: 100%;
}

#jelentkezGomb:hover, #munkainkGomb:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(180, 0, 0, 0.8);
}

#jelentkezGomb:active, #munkainkGomb:active {
  transform: translateY(-2px) scale(0.98);
}

/* Cards */
.card {
  border: none;
  border-radius: 16px;
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  animation: scaleIn 0.6s ease-out both;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(180, 0, 0, 0.3);
}

/* Floating Contact Button - removed to avoid ID conflict with contact section */

/* Map */
#map {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Utilities */
.bg-red {
  background: linear-gradient(135deg, rgba(150, 0, 0, 1) 0%, rgba(80, 0, 0, 1) 100%) !important;
}

.bg-dark {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%) !important;
}

.bg-secondary {
  background: rgba(25, 25, 25, 0.95) !important;
  backdrop-filter: blur(10px);
}

.btn-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.text-light-50 {
  color: rgba(248, 249, 250, 0.6) !important;
}

.table td, .table th {
  vertical-align: middle;
}

/* Modal Styling */
.modal-content {
  background: rgba(25, 25, 25, 0.95) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  animation: scaleIn 0.3s ease-out;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
  background: rgba(40, 40, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(50, 50, 50, 0.9);
  border-color: rgba(180, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(180, 0, 0, 0.2);
  color: #fff;
}

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

/* Selection color */
::selection {
  background: rgba(180, 0, 0, 0.5);
  color: #fff;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  #alap h1 { font-size: 36px; }
  #alap h4 { font-size: 20px; }
  .hero-logo { max-height: 500px; }
}

@media (max-width: 992px) {
  #fooldal {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }
  
  #fooldalAlap {
    text-align: center;
  }
  
  #alap {
    padding: 30px;
    text-align: center;
  }
  
  #alap h1 { font-size: 32px; }
  #alap h4 { font-size: 18px; }
  
  .hero-logo { 
    max-height: 380px;
    margin-bottom: 30px;
  }
  
  #munka h4 {
    justify-content: center;
  }
  
  .navbar-nav {
    height: auto !important;
    padding: 20px 0;
  }
  
  .nav-item a {
    font-size: 20px;
    padding: 12px 0;
  }
}

@media (max-width: 768px) {
  #fooldalAlap {
    flex-direction: column;
    justify-content: center;
    padding: 0;
    position: relative;
  }
  
  #fooldalSzoveg {
    flex: 1;
    width: 100%;
    z-index: 10;
  }
  
  #fooldalKep {
    display: none;
  }
  
  #fooldalKep img {
    max-height: 500px;
  }
  
  #alap h1 { font-size: 32px; }
  #alap h4 { font-size: 16px; }
  
  #alap {
    padding: 40px 30px;
    max-width: 90%;
  }
  
  #jelentkezGomb, #munkainkGomb {
    font-size: 14px;
    padding: 12px 20px;
    display: block;
    width: 100%;
    margin: 8px 0;
  }
  
  .hero-logo { 
    max-height: 300px;
  }
}

@media (max-width: 576px) {
  #fooldal {
    padding-top: 80px;
  }
  
  #fooldalKep img {
    max-height: 400px;
  }
  
  #alap h1 { font-size: 26px; }
  #alap h4 { font-size: 14px; }
  
  #alap {
    padding: 30px 20px;
    max-width: 100%;
  }
  
  .hero-logo { 
    max-height: 250px;
  }
}

@media (max-width: 400px) {
  #fooldalKep img {
    max-height: 300px;
  }
  
  #alap h1 { font-size: 20px; }
  #alap h4 { font-size: 12px; }
  
  #alap {
    padding: 20px 16px;
  }
  
  #jelentkezGomb, #munkainkGomb {
    font-size: 12px;
    padding: 10px 16px;
  }
  
  .hero-logo { 
    max-height: 200px;
  }
}

/* ====================== */
/* NEW SECTIONS STYLES    */
/* ====================== */

/* Hero subtitle */
.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Section backgrounds */
.section-dark {
  background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
  padding: 100px 0;
}

.section-red {
  background: linear-gradient(135deg, rgba(120, 0, 0, 1) 0%, rgba(60, 0, 0, 1) 100%);
  padding: 100px 0;
}

/* Section titles */
.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #ddd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Position Cards */
.position-card {
  background: rgba(30, 30, 30, 0.8);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}

.position-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(180, 0, 0, 0.3);
  border-color: rgba(180, 0, 0, 0.4);
}

.position-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.position-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.position-card p {
  opacity: 0.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.position-details {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  text-align: left;
}

.position-details li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.9;
}

.position-details li:last-child {
  border-bottom: none;
}

.btn-position {
  display: inline-block;
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-position:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(180, 0, 0, 0.5);
  color: #fff;
  text-decoration: none;
}

/* Benefit Cards */
.benefit-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.5);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.benefit-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
}

/* Business Section */
.business-content {
  padding-right: 40px;
}

.business-content .section-title {
  text-align: left;
}

.business-content .lead {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.business-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.business-benefits li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
}

.business-benefits li:last-child {
  border-bottom: none;
}

.btn-business {
  display: inline-block;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #fff;
  padding: 18px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-business:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  color: #fff;
  text-decoration: none;
}

/* Business Stats */
.business-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-item {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
  background: rgba(0, 0, 0, 0.6);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 16px;
  opacity: 0.8;
  margin-top: 8px;
}

/* Contact Cards */
.contact-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.5);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.contact-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-card small {
  opacity: 0.7;
  font-size: 14px;
}

/* Footer */
.footer-dark {
  background: #050505;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-dark h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-dark p {
  opacity: 0.7;
  font-size: 14px;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ff4444;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 40px 0 20px;
}

/* Responsive for new sections */
@media (max-width: 992px) {
  .section-title {
    font-size: 32px;
  }
  
  .business-content {
    padding-right: 0;
    text-align: center;
  }
  
  .business-content .section-title {
    text-align: center;
  }
  
  .business-stats {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .section-dark, .section-red {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .position-card {
    padding: 30px 20px;
  }
  
  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .position-icon, .benefit-icon, .contact-icon {
    font-size: 40px;
  }
  
  .position-card h3 {
    font-size: 22px;
  }
}
