@tailwind base;
@tailwind components;
@tailwind utilities;

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

:root {
  --forge-dark: #1F2937;
  --anvil-gray: #374151;
  --steel-light: #6B7280;
  --fire-orange: #F97316;
  --ember-red: #DC2626;
  --iron-black: #111827;
  --metal-silver: #E5E7EB;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--forge-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.hero-forge-section {
  background: linear-gradient(135deg, var(--iron-black) 0%, var(--forge-dark) 50%, var(--anvil-gray) 100%);
  position: relative;
  overflow: hidden;
}

.hero-forge-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-forge-content {
  position: relative;
  z-index: 2;
}

.forge-btn-primary {
  background: linear-gradient(135deg, var(--fire-orange) 0%, var(--ember-red) 100%);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 160px;
  justify-content: center;
}

.forge-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
  background: linear-gradient(135deg, var(--ember-red) 0%, var(--fire-orange) 100%);
}

.forge-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 160px;
  justify-content: center;
}

.forge-btn-secondary:hover {
  background: white;
  color: var(--forge-dark);
  transform: translateY(-2px);
}

.anvil-navigation {
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--anvil-gray);
}

.service-forge-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--metal-silver);
}

.service-forge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.15);
  border-color: var(--fire-orange);
}

.price-display {
  color: var(--fire-orange);
  font-weight: 700;
  font-size: 1.5rem;
}

.team-hammer-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-hammer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-anvil-card {
  background: var(--forge-dark);
  color: white;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  margin: 20px;
}

.testimonial-anvil-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--fire-orange);
  font-family: 'Playfair Display', serif;
}

.footer-forge {
  background: var(--iron-black);
  color: var(--metal-silver);
}

.contact-form-forge {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-input-steel {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--metal-silver);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.form-input-steel:focus {
  outline: none;
  border-color: var(--fire-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--fire-orange) 50%, transparent 100%);
  margin: 60px auto;
  width: 80%;
  max-width: 400px;
}

.ember-glow {
  position: relative;
}

.ember-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ember-glow:hover::after {
  opacity: 1;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background: var(--forge-dark);
  color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: block;
  border: 1px solid var(--fire-orange);
}

.cookie-consent-banner.hidden {
  display: none;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--fire-orange);
  color: white;
}

.cookie-btn-accept:hover {
  background: var(--ember-red);
}

.cookie-btn-decline {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-btn-decline:hover {
  background: white;
  color: var(--forge-dark);
}

@media (max-width: 768px) {
  .hero-forge-section {
    min-height: 70vh;
  }
  
  .forge-btn-primary, .forge-btn-secondary {
    min-width: 140px;
    padding: 12px 20px;
  }
  
  .service-forge-card {
    margin-bottom: 20px;
  }
  
  .cookie-consent-banner {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}