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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #161616;
  --accent: #e60000;
  --accent-glow: rgba(230, 0, 0, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border-color: #333333;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .logo {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
}

.title-xl {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.title-lg {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

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

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition-medium);
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px var(--accent-glow);
  animation: pulse-glow 2s infinite;
}

.btn-primary:hover {
  background-color: #ff1a1a;
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--accent);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Keyframe Animations */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px var(--accent-glow); }
  50% { box-shadow: 0 0 20px rgba(230,0,0,0.7); }
  100% { box-shadow: 0 0 10px var(--accent-glow); }
}

@keyframes equalizer-bar {
  0% { height: 5px; }
  50% { height: 30px; }
  100% { height: 5px; }
}

/* Equalizer Widget */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 35px;
}

.eq-bar {
  width: 6px;
  background-color: var(--accent);
  border-radius: 3px 3px 0 0;
  animation: equalizer-bar 1.2s infinite ease-in-out;
}

.eq-bar:nth-child(1) { animation-duration: 0.9s; }
.eq-bar:nth-child(2) { animation-duration: 1.1s; animation-delay: 0.2s; }
.eq-bar:nth-child(3) { animation-duration: 0.8s; animation-delay: 0.4s; }
.eq-bar:nth-child(4) { animation-duration: 1.3s; animation-delay: 0.1s; }
.eq-bar:nth-child(5) { animation-duration: 1.0s; animation-delay: 0.3s; }

/* Page Loader */
#page-loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 30px 5%;
  z-index: 1000;
  transition: all var(--transition-medium);
  background: transparent;
}

header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  padding: 20px 5%;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 0;
}

.logo {
  font-size: 1.8rem;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 2000;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all var(--transition-fast);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--accent); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--accent); }

.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; max-width: 400px;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 1500;
  padding: 100px 2rem;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  border-left: 1px solid var(--border-color);
}

.mobile-nav.open { right: 0; }

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 1400;
  opacity: 0; visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5% 50px;
}

.hero-bg {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.6;
  mask-image: linear-gradient(to right, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 100%);
}

.hero-gradient {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--bg-primary) 40%, transparent 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .hero-bg { width: 100%; opacity: 0.3; mask-image: none; -webkit-mask-image: none; }
  .hero-gradient { background: linear-gradient(0deg, var(--bg-primary) 30%, transparent 100%); }
  .hero-content { text-align: center; margin: 0 auto; margin-top: 20vh; }
}

/* Grid & Features */
.features {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-card {
  background: var(--bg-primary);
  padding: 3rem 2rem;
  border-bottom: 3px solid var(--border-color);
  transition: all var(--transition-medium);
}

.feature-card:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-10px);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Image Gallery Grid */
.gallery {
  padding: 100px 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.img-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: #fff; /* Since Teufel images have white bg, this blends them if they are PNG, but they are JPG */
}

.img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.img-item:hover img {
  transform: scale(1.05);
}

.img-item.large {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

@media (max-width: 768px) {
  .image-grid { grid-template-columns: 1fr; }
  .img-item.large { grid-column: 1; aspect-ratio: 1/1; }
}

/* Editorial Review Layout */
.review-header {
  padding: 150px 0 50px;
  text-align: center;
  background: var(--bg-secondary);
}

.review-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
}

.review-content h2 {
  font-size: 2rem;
  margin: 3rem 0 1rem;
  color: var(--accent);
}

.review-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Product Section (Order Page) */
.product-showcase {
  padding: 150px 0 100px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-gallery img {
  width: 100%;
  border: 1px solid var(--border-color);
  background: #fff;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.product-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.product-thumbs img.active {
  border-color: var(--accent);
}

.product-price {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 2rem;
}

.specs {
  list-style: none;
  margin-bottom: 2rem;
}

.specs li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* Contact Form */
.form-control {
  width: 100%;
  padding: 15px;
  margin-bottom: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  padding: 80px 5% 40px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-info p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #fff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
