/* DEVILCRAFT ULTIMATE MAXIMALIST ENGINE v5.0
   Lines: 400+ High-Detail Detailing
   Themes: Crimson Hellfire & Amber Gold
*/

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

:root {
  /* Globális Színpaletta és Változók */
  --primary: #e63946;
  --primary-rgb: 230, 57, 70;
  --accent: #fca311;
  --accent-rgb: 252, 163, 17;
  --bg-deep: #0a0a0c;
  --bg-surface: #121212;
  --text-main: #f0f0f0;
  --text-dim: #a0a0a0;

  /* Glassmorphism Beállítások */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);
  
  /* Animációs Motor Beállítások */
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-mid: 0.6s var(--ease-expo);
  --glow-primary: 0 0 30px rgba(var(--primary-rgb), 0.4);
}

/* 1. Reset és Maximalista Scrollbar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-deep);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--accent));
  border-radius: 10px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.8;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%);
}

/* 2. Fejlett Animációs Osztályok (Láncreakcióhoz) */
.hidden {
  opacity: 0;
  transform: translateY(80px) scale(0.9);
  filter: blur(15px);
  transition: all 1.2s var(--ease-expo);
}

.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* 3. Floating Glass Header */
header {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 50px;
  z-index: 2000;
  background: rgba(18, 18, 18, 0.6);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 100px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: var(--transition-mid);
}

header:hover {
  width: 95%;
  background: rgba(18, 18, 18, 0.85);
  border-color: var(--primary);
}

header .logo img {
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  transition: transform 0.8s var(--ease-expo);
}

header:hover .logo img { transform: rotate(360deg); }

nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  margin-left: 35px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s var(--ease-expo);
}

nav a:hover::after, nav a.active::after { width: 100%; }

/* 4. Cinematic Hero Layering */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to bottom, rgba(10,10,12,0.5), var(--bg-deep)), 
              url('../images/hero.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 20px;
  background: linear-gradient(to bottom, #fff 30%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 15px 30px var(--primary-glow));
  margin-bottom: 30px;
}

.hero .btn {
  padding: 20px 50px;
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.4);
  transition: all 0.4s var(--ease-expo);
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero .btn:hover {
  transform: translateY(-8px) scale(1.05);
  background: var(--accent);
  box-shadow: 0 15px 50px rgba(var(--accent-rgb), 0.5);
}

/* 5. Section and Grid Mastery */
.section { padding: 120px 10%; }

.section-title {
  font-size: 3.5rem;
  margin-bottom: 80px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--primary);
}

.card-grid, .staff-grid, .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
}

/* 6. Maximalista Kártya Dizájn */
.card, .staff-card, .contact-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 30px;
  padding: 50px 40px;
  transition: all 0.6s var(--ease-expo);
  position: relative;
  overflow: hidden;
}

.card:hover, .staff-card:hover {
  transform: translateY(-20px) rotateX(10deg) rotateY(5deg);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 20px var(--primary-glow);
}

.card .icon {
  font-size: 60px;
  margin-bottom: 25px;
  display: block;
  transition: transform 0.6s var(--ease-expo);
}

.card:hover .icon { transform: scale(1.4) rotate(-15deg); }

.card h3 {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 15px;
}

/* 7. Staff Kártyák Egyedi Stílusa */
.staff-card img {
  width: 140px;
  height: 140px;
  border: 4px solid var(--primary);
  padding: 5px;
  background: var(--bg-surface);
  box-shadow: 0 0 25px var(--primary-glow);
}

.staff-card:hover img {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: scale(1.1) rotate(5deg);
}

/* 8. FAQ Maximalizmus */
.faq-item {
  background: var(--glass-bg);
  border: var(--glass-border);
  margin-bottom: 30px;
  padding: 30px 45px;
  border-radius: 20px;
}

.faq-item summary {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.3rem;
}

/* 9. Footer Glow */
footer {
  padding: 80px 20px;
  background: #050505;
  border-top: var(--glass-border);
  color: var(--text-dim);
  font-weight: 600;
}