/* JewCoin CSS - Bitcoin-inspired classic design */

:root {
  --primary-color: #f7931a;
  --secondary-color: #4d4d4d;
  --background-color: #f9f9f9;
  --text-color: #333;
  --link-color: #2c6fad;
  --link-hover-color: #f7931a;
  --border-color: #e0e0e0;
  --header-bg: #fff;
  --footer-bg: #2c3e50;
  --footer-text: #fff;
  --btn-primary-bg: #f7931a;
  --btn-primary-text: #fff;
  --btn-secondary-bg: #fff;
  --btn-secondary-text: #f7931a;
  --section-padding: 60px 0;
  --main-font: 'Titillium Web', Arial, sans-serif;
}

/* Base Styles */
body {
  font-family: var(--main-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, select, textarea {
  font-family: var(--main-font);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 20px;
}

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

a:hover {
  color: var(--link-hover-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 2px solid var(--btn-primary-bg);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--btn-primary-bg);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 2px solid var(--btn-primary-bg);
}

.btn-secondary:hover {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  background-color: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-family: Arial, sans-serif;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0 15px;
}

.main-nav a {
  color: var(--secondary-color);
  font-weight: 600;
}

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

.language-selector select {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid var(--border-color);
}

.hero-title {
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--secondary-color);
}

.hero-buttons {
  margin-bottom: 40px;
}

.hero-buttons .btn {
  margin: 0 10px 10px;
}

.video-container {
  max-width: 600px;
  margin: 0 auto;
}

.video-placeholder {
  background-color: #eee;
  border-radius: 8px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-button {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 30px;
}

.play-icon {
  font-size: 1.5rem;
  margin-right: 10px;
  color: var(--primary-color);
}

.play-text {
  font-weight: 600;
  color: var(--secondary-color);
}

/* Features Section */
.features {
  padding: var(--section-padding);
  background-color: #fff;
}

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

.feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Resources Section */
.resources {
  padding: var(--section-padding);
  background-color: var(--background-color);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

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

.resource-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.resource-item h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.resource-item ul {
  list-style: none;
  padding: 0;
}

.resource-item li {
  margin-bottom: 10px;
}

/* Innovation Section */
.innovation {
  padding: var(--section-padding);
  background-color: #fff;
}

.innovation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.innovation-text p {
  margin-bottom: 20px;
}

.innovation-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Participate Section */
.participate {
  padding: var(--section-padding);
  background-color: var(--background-color);
}

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

.participate-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.participate-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.participate-item p {
  margin-bottom: 20px;
}

/* FAQ Section */
.faq {
  padding: var(--section-padding);
  background-color: #fff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Footer */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Particles */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(249, 249, 249, 0.9);
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  background-color: rgba(247, 147, 26, 0.6);
  border-radius: 50%;
  animation: float 10s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) translateX(10px);
    opacity: 1;
  }
  75% {
    opacity: 0.8;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .innovation-content {
    grid-template-columns: 1fr;
  }
  
  .innovation-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 20px;
  }
  
  .main-nav {
    margin-bottom: 20px;
  }
  
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main-nav li {
    margin: 0 10px 10px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .feature-grid,
  .resource-grid,
  .participate-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}
