/* Common CSS for The Current-See Website */

:root {
  /* Main colors */
  --primary-color: #7bc144;
  --primary-light: #a0d86c;
  --primary-dark: #5a9c28;
  --accent-color: #f3c622;
  --accent-light: #ffd84c;
  --accent-dark: #d8aa0f;
  
  /* Secondary colors */
  --secondary-color: #3498db;
  --secondary-light: #5dade2;
  --secondary-dark: #2874a6;
  
  /* Text colors */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  
  /* Link colors */
  --link-color: #0066cc;
  --link-hover: #004499;
  
  /* Blues */
  --primary-blue: #2980b9;
  --accent-blue: #3060a0;
  
  /* Notification colors */
  --success: #2ecc71;
  --warning: #f39c12;
  --error: #e74c3c;
  --info: #3498db;
  
  /* Background colors */
  --bg-light: #f9f9f9;
  --bg-medium: #f3f3f3;
  --bg-dark: #eaeaea;
  
  /* Standard gradients */
  --gradient-solar: linear-gradient(135deg, #ffb700, #ffd500);
  --gradient-primary: linear-gradient(135deg, #4CAF50, #8BC34A, #FFC107);
  --gradient-subtle: linear-gradient(135deg, #f9f9f9, #d8eed6);
  --gradient-wallet: linear-gradient(135deg, #4CAF50, #2E7D32);
  --gradient-success: linear-gradient(135deg, #0057B8, #7bc144);
  --gradient-book: linear-gradient(135deg, #3498db, #9b59b6);
  --gradient-video: linear-gradient(135deg, #e74c3c, #c0392b);
  --gradient-podcast: linear-gradient(135deg, #8e44ad, #2c3e50);
  
  /* Text colors for high contrast */
  --text-on-light: #333333; /* Dark text on light backgrounds */
  --text-on-dark: #ffffff;  /* White text on dark backgrounds */
  --text-on-green: #003366; /* Dark blue on green backgrounds for contrast */
  --text-on-yellow: #333333; /* Dark text on yellow/gold backgrounds */
  
  /* Sun Ray Watermark Variables */
  --sun-ray-color: rgba(255, 215, 0, 0.04); /* Very subtle gold color */
  --sun-ray-highlight: rgba(255, 215, 0, 0.08); /* Slightly stronger highlight */
  
  /* Dark Brown Emphasis System */
  --neon-green: #8B4513;
  --neon-green-glow: 0 0 5px #8B4513, 0 0 10px #8B4513, 0 0 15px #8B4513, 0 0 20px #8B4513;
  
  /* Misc */
  --border-radius: 8px;
  --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --transition-default: all 0.3s ease;
}

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

/* Base Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Video Background - Maximum Visibility */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  opacity: 0.6;
  object-fit: cover;
  pointer-events: none;
  display: block !important;
  visibility: visible !important;
}

/* Enhanced cross-browser video support */
video.video-background {
  display: block !important;
  visibility: visible;
}

/* Global Sun Ray Watermark */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(
    var(--sun-ray-color) 0deg 10deg,
    var(--sun-ray-highlight) 10deg 20deg
  );
  animation: sun-ray-rotate 240s linear infinite;
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: white;
  text-decoration: none;
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-on-yellow); /* Dark text on yellow for better contrast */
  font-weight: 600; /* Make slightly bolder for better readability */
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: var(--text-on-yellow);
  text-decoration: none;
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

.btn-large {
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

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

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 10px;
  color: var(--primary-color);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 1.5rem;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

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

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.social-media {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-media a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav ul {
    display: none; /* Hide regular nav on mobile */
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-container {
    padding: 0.8rem 1rem;
  }
  
  .footer-section {
    flex: 100%;
    text-align: center;
  }
  
  .social-media {
    justify-content: center;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
}

/* Mobile menu open state */
.mobile-nav-active {
  max-height: 300px;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav ul {
  list-style: none;
  padding: 1rem;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

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

/* Animation classes for mobile menu toggle */
.open.mobile-menu-toggle span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.open.mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.open.mobile-menu-toggle span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.px-1 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-3 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-4 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-column {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f9f9f9, #d8eed6);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hero Section - Transparent to Show Video Animation */
.hero-solar {
  background: transparent; /* Removed green background to show atomic video */
  color: #333; /* Dark text for readability over video */
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

/* Clear area for atomic animation visibility */
.solar-counter-header {
  background: transparent;
  padding: 20px;
  margin: 20px 0;
  position: relative;
  z-index: 10;
}

/* Removed sun-ray overlay to show atomic video clearly */

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Neon Green Glow Classes */
.neon-green-glow {
  color: var(--neon-green) !important;
  text-shadow: var(--neon-green-glow) !important;
  letter-spacing: 1px;
  filter: brightness(1);
}

.neon-green-glow-animated {
  color: var(--neon-green) !important;
  text-shadow: var(--neon-green-glow) !important;
  letter-spacing: 1px;
  animation: neonGlowPulse 5s infinite ease-in-out;
}

@keyframes neonGlowPulse {
  0% {
    text-shadow: 
      0 0 5px #00ff41,
      0 0 10px #00ff41,
      0 0 15px #00ff41,
      0 0 20px #00ff41;
    filter: brightness(1);
  }
  50% {
    text-shadow: 
      0 0 8px #00ff41,
      0 0 16px #00ff41,
      0 0 24px #00ff41,
      0 0 32px #00ff41;
    filter: brightness(1.2);
  }
  100% {
    text-shadow: 
      0 0 5px #00ff41,
      0 0 10px #00ff41,
      0 0 15px #00ff41,
      0 0 20px #00ff41;
    filter: brightness(1);
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Animation Delays */
.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

/* Typography Emphasis */
.text-primary {
  color: var(--primary-color);
}

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

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

.text-muted {
  color: var(--text-light);
}

.text-white {
  color: white;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-light {
  font-weight: 300;
}

/* High Contrast Classes */
.bg-green {
  background-color: var(--primary-color);
  color: var(--text-on-green);
}

.bg-yellow {
  background-color: var(--accent-color);
  color: var(--text-on-yellow);
}

.bg-dark {
  background-color: var(--text-dark);
  color: var(--text-on-dark);
}

/* Gradient Backgrounds with Proper Contrast */
.bg-gradient-solar {
  background: var(--gradient-solar);
  color: var(--text-on-yellow);
}

.bg-gradient-primary {
  background: var(--gradient-primary);
  color: var(--text-on-green);
}

.bg-gradient-subtle {
  background: var(--gradient-subtle);
  color: var(--text-on-light);
}

.bg-gradient-wallet {
  background: var(--gradient-wallet);
  color: var(--text-on-dark);
}

.bg-gradient-success {
  background: var(--gradient-success);
  color: var(--text-on-dark);
}

.bg-gradient-book {
  background: var(--gradient-book);
  color: var(--text-on-dark);
}

.bg-gradient-video {
  background: var(--gradient-video);
  color: var(--text-on-dark);
}

.bg-gradient-podcast {
  background: var(--gradient-podcast);
  color: var(--text-on-dark);
}

/* Background Image Sections */
.section-with-bg-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 3rem 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-with-bg-image .container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
}

/* Create a semi-transparent overlay to ensure readability */
.section-with-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3); /* Light overlay */
  z-index: 1;
}

/* Replacing background images with sun ray patterns for each section */
.members-section {
  padding: 3rem 0;
  position: relative;
}

.prototype-section {
  padding: 3rem 0;
  position: relative;
}

.merchandise-section {
  padding: 3rem 0;
  position: relative;
}

.my-solar-section {
  padding: 3rem 0;
  position: relative;
}

/* Sun Ray Watermark */
.sun-ray-watermark {
  position: relative;
  overflow: hidden;
}

.sun-ray-watermark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(
    var(--sun-ray-color) 0deg 10deg,
    var(--sun-ray-highlight) 10deg 20deg
  );
  animation: sun-ray-rotate 240s linear infinite;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

.sun-ray-watermark > * {
  position: relative;
  z-index: 2;
}

/* Image Background with Sun Ray Overlay */
.section-with-bg-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-conic-gradient(
    rgba(255, 215, 0, 0.05) 0deg 10deg,
    rgba(255, 215, 0, 0.08) 10deg 20deg
  );
  animation: sun-ray-rotate 240s linear infinite;
  z-index: 2;
  pointer-events: none;
}

/* Content overlay for image backgrounds */
.content-overlay {
  position: relative;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.90);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: var(--box-shadow);
  max-width: 600px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.content-overlay:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.content-overlay h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.content-overlay p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.book-title {
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.book-author {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.content-overlay .btn-primary {
  margin-top: 0.5rem;
}

/* Sun Ray Animation */
@keyframes sun-ray-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Subtle Watermark (For light backgrounds) */
.sun-ray-watermark-subtle::before {
  opacity: 0.2;
}

/* Strong Watermark (For dark backgrounds) */
.sun-ray-watermark-strong::before {
  opacity: 0.8;
  background: repeating-conic-gradient(
    rgba(255, 215, 0, 0.08) 0deg 10deg,
    rgba(255, 215, 0, 0.12) 10deg 20deg
  );
}

/* Overlay variations for different background types */
.section-with-bg-image.solar-coin-bg::after {
  background: repeating-conic-gradient(
    rgba(76, 153, 0, 0.05) 0deg 10deg,
    rgba(255, 215, 0, 0.08) 10deg 20deg
  );
  opacity: 0.7;
}

.section-with-bg-image.logo-bg::after {
  background: repeating-conic-gradient(
    rgba(10, 77, 104, 0.03) 0deg 10deg,
    rgba(76, 153, 0, 0.05) 10deg 20deg
  );
  opacity: 0.8;
}

/* Solar Counter Specific Styling */
.solar-counter-container {
  background: var(--gradient-solar);
  color: var(--text-on-yellow);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.solar-counter-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(
    rgba(255, 215, 0, 0.04) 0deg 10deg,
    rgba(255, 215, 0, 0.08) 10deg 20deg
  );
  animation: sun-ray-rotate 120s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.solar-counter-container > * {
  position: relative;
  z-index: 2;
}

.solar-counter {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 1rem 0;
  color: var(--text-on-yellow);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Wallet Specific Styling */
.wallet-container {
  background: var(--gradient-wallet);
  color: var(--text-on-dark);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.wallet-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(
    rgba(255, 255, 255, 0.02) 0deg 10deg,
    rgba(255, 255, 255, 0.04) 10deg 20deg
  );
  animation: sun-ray-rotate 180s linear infinite reverse;
  z-index: 1;
  pointer-events: none;
}

.wallet-container > * {
  position: relative;
  z-index: 2;
}

/* Public Members Log Styles */
.members-log-section {
  background-color: var(--bg-light);
  padding: 3rem 0;
  position: relative;
}

.members-log-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(
    rgba(76, 153, 0, 0.03) 0deg 10deg,
    rgba(255, 215, 0, 0.05) 10deg 20deg
  );
  animation: sun-ray-rotate 240s linear infinite;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.members-log-section .container {
  position: relative;
  z-index: 1;
}

.members-log-title {
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-color);
}

.members-log-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.members-log-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.members-log-entry {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.members-log-entry:hover {
  background-color: rgba(76, 153, 0, 0.03);
}

.members-log-entry:last-child {
  border-bottom: none;
}

.member-name {
  font-weight: bold;
  flex: 1;
}

.member-joined {
  color: var(--text-medium);
  flex: 1;
  text-align: center;
}

.member-solar {
  color: var(--primary-color);
  font-weight: 700;
  flex: 0 0 100px;
  text-align: right;
}

/* Language Translator Styles */
.language-selector {
  position: relative;
  margin-left: 15px;
  z-index: 1000;
}

.language-dropdown-toggle {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.language-dropdown-toggle:hover {
  background-color: #f5f5f5;
}

.language-flag {
  margin-right: 5px;
  font-size: 16px;
}

.language-arrow {
  margin-left: 5px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.language-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 150px;
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1001;
  max-height: 300px;
  overflow-y: auto;
}

.language-dropdown-menu.show {
  display: block;
}

.language-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  color: #333;
}

.language-option:hover {
  background-color: #f5f5f5;
}

/* RTL language support */
html[dir="rtl"] .language-flag {
  margin-right: 0;
  margin-left: 5px;
}

html[dir="rtl"] .language-arrow {
  margin-left: 0;
  margin-right: 5px;
}

/* Mobile and tablet styles */
@media (max-width: 768px) {
  .language-selector {
    position: static;
    margin: 10px 0;
    width: 100%;
  }
  
  .language-dropdown-toggle {
    width: 100%;
    justify-content: center;
  }
  
  .language-dropdown-menu {
    width: 100%;
    position: relative;
    margin-top: 5px;
  }
  
  /* Adjust background sections for mobile */
  .section-with-bg-image {
    min-height: 300px;
    padding: 2rem 0;
  }
  
  .content-overlay {
    max-width: 90%;
    padding: 1.5rem;
  }
  
  .content-overlay h2 {
    font-size: 1.8rem;
  }
}

/* Hide Google Translate attribution */
.goog-te-gadget {
  font-size: 0 !important;
}

.goog-te-banner-frame {
  display: none !important;
}

.goog-te-menu-value span {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Create a clean-looking Google Translate selector */
#google_translate_element {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Product Card with Background Image Styling */
.product-card-bg {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 450px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.product-card-bg:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.product-card-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(255, 255, 255, 0.9) 60%);
  z-index: 2;
}

.product-card-bg .product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.product-card-bg .product-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  z-index: 4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Stable Frame System - Prevents Floating */
body {
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

/* Video Stabilization */
video {
  will-change: auto;
  transform-origin: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Stable Layout Container */
.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Prevent Layout Shifts */
section {
  position: relative;
  contain: layout;
}

/* Stabilize hero section */
.hero-solar {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
