/* rocknthreads.com - Rock Music & Guitar Theme */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Playfair+Display:wght@400;700&display=swap');

:root {
  --primary: #e74c3c;
  --primary-dark: #c0392b;
  --secondary: #f39c12;
  --accent: #9b59b6;
  --bg-dark: #1a1a2e;
  --bg-darker: #16213e;
  --bg-card: #0f3460;
  --text-light: #eaf2f8;
  --text-muted: #a0aec0;
  --gradient-fire: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
  --gradient-purple: linear-gradient(135deg, #9b59b6 0%, #3498db 100%);
  --shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
  --radius: 16px;
}

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

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

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.3; }

/* Navbar */
.navbar {
  background: rgba(26, 26, 46, 0.95);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.navbar-brand span { font-size: 1.6rem; }

.navbar-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  align-items: center;
}

.navbar-menu a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.navbar-menu a:hover, .navbar-menu a.active {
  background: var(--primary);
  color: #fff;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .navbar { padding: 1rem; flex-wrap: wrap; }
  .navbar-toggle { display: block; }
  .navbar-menu { display: none; width: 100%; flex-direction: column; padding: 1rem 0; gap: 0.3rem; }
  .navbar-menu.active { display: flex; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 8rem 2rem 5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '🎸';
  position: absolute;
  font-size: 20rem;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(231, 76, 60, 0.5);
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.hero-stats .stat { text-align: center; }

.hero-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero { padding: 6rem 1rem 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-fire);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.tool-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.tool-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #e74c3c 0%, #9b59b6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
}

.tool-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.tool-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Articles */
.article-list {
  display: grid;
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 300px 1fr;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateX(5px);
  border-left: 4px solid var(--primary);
}

.article-img {
  height: 100%;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.article-content {
  padding: 1.8rem;
}

.article-category {
  display: inline-block;
  background: var(--gradient-fire);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.article-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.article-card h2 a {
  color: var(--text-light);
  text-decoration: none;
}

.article-card h2 a:hover { color: var(--primary); }

.article-excerpt {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover { gap: 0.6rem; }

@media (max-width: 768px) {
  .article-card { grid-template-columns: 1fr; }
  .article-img { height: 200px; }
}

/* Article Page */
.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 1rem 4rem;
}

.article-header { margin-bottom: 2rem; }

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.article-featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-light);
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--primary);
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
}

.article-body p { margin-bottom: 1.5rem; }

.article-body ul, .article-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-body li { margin-bottom: 0.8rem; }

.article-body a {
  color: var(--primary);
  text-decoration: underline;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
}

/* Tool Page */
.tool-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 1rem 4rem;
}

.tool-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tool-header h1 { font-size: 2.2rem; margin-bottom: 1rem; }

.tool-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.tool-form { display: grid; gap: 1.5rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label { font-weight: 600; }

.form-group input, .form-group select, .form-group textarea {
  padding: 0.9rem 1rem;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
  font-family: inherit;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.btn {
  background: var(--gradient-fire);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.result-box {
  background: rgba(231, 76, 60, 0.1);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: none;
}

.result-box.show { display: block; }

.result-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

/* Footer */
.footer {
  background: #0d0d1a;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

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

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Page headers */
.page-header {
  background: linear-gradient(135deg, #e74c3c 0%, #9b59b6 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--primary);
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Related articles */
.related-articles {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255,255,255,0.1);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.breadcrumbs {
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

/* Header gradients with emoji */
.header-gradient {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  min-height: 250px;
  text-shadow: 0 0 40px rgba(231, 76, 60, 0.5);
}

.cta-section {
  background: var(--gradient-fire);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.95; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
