/* Rust 'n' Ruins Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --secondary: #1e293b;
  --dark: #0f172a;
  --light: #f8fafc;
  --accent: #ef4444;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 2rem;
  background-color: rgba(15, 23, 42, 0.85);
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.section {
  padding: 6rem 2rem;
}

.section-dark {
  background-color: var(--secondary);
}

.section-darker {
  background-color: var(--dark);
}

.card {
  background-color: rgba(30, 41, 59, 0.8);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 1.5rem;
}

.series-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial {
  font-style: italic;
  position: relative;
  padding: 1.5rem;
  background-color: rgba(30, 41, 59, 0.6);
  border-radius: 0.5rem;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  position: absolute;
  top: -1rem;
  left: 1rem;
  color: var(--primary);
  opacity: 0.3;
}

.cta-section {
  background-color: var(--primary);
  color: var(--dark);
  padding: 4rem 2rem;
}

.btn-dark {
  background-color: var(--dark);
  color: var(--light);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-dark:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.footer {
  background-color: var(--secondary);
  padding: 2rem;
  text-align: center;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight {
  color: var(--primary);
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    max-width: 90%;
  }
  
  .section {
    padding: 4rem 1rem;
  }
}

/* Custom animations */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
