/* Norway Analytics - Standard Theme Enhancements */

/* Center content nicely */
.quarto-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Improve readability */
body {
  line-height: 1.6;
}

/* Simple button styling */
.btn {
  border-radius: 6px;
  padding: 8px 16px;
  margin: 4px;
}

/* Claude Response Styling - Intelligence Spark */
.claude-response {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 2px solid #4a90e2;
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 
    0 8px 32px rgba(74, 144, 226, 0.15),
    0 0 0 1px rgba(74, 144, 226, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.claude-response::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a90e2, #5b9bd5, #6bb6ff, #4a90e2);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.claude-response p {
  color: #e8f4f8;
  margin-bottom: 12px;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.claude-response p:first-child {
  font-weight: 600;
  color: #ffffff;
  font-size: 1.1em;
}

.claude-response strong {
  color: #6bb6ff;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(107, 182, 255, 0.3);
}

.claude-response ul {
  list-style: none;
  padding-left: 0;
}

.claude-response li {
  color: #d4e6f1;
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
}

.claude-response li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4a90e2;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(74, 144, 226, 0.5);
}

.claude-response em {
  color: #b8d4f0;
  font-style: italic;
  background: rgba(74, 144, 226, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Center text in hero sections */
.hero-section {
  text-align: center;
  margin: 2rem 0;
}

/* Basic responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Contact page styling */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

/* Security information styling */
.security-info {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.9em;
}

.security-info code {
  background-color: #e9ecef;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

.security-notice {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-left: 4px solid #f39c12;
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.security-notice h2 {
  color: #8b4513;
  margin-top: 0;
}

/* Service cards */
.service-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid #0d6efd;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Center text elements */
.text-center {
  text-align: center;
}

/* Pricing cards */
.pricing-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  margin: 1rem 0;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Feature lists */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.feature-list li:before {
  content: "✓ ";
  color: #28a745;
  font-weight: bold;
}

/* Download cards */
.download-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
}

/* Blog post styling */
.blog-post {
  margin: 2rem 0;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.blog-meta {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Thinker Image Modal */
.thinker-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.thinker-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.thinker-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.thinker-modal-close:hover {
  color: #ccc;
}

.thinker-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thinker-clickable:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Language Navigation for Bilingual Documents */
.language-nav {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1.5rem 0;
  text-align: center;
}

.language-nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 0.25rem;
  font-weight: 500;
}

.language-nav a:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
}

/* Section Dividers for Major Content Sections */
.section-divider {
  border-top: 3px solid #007bff;
  margin: 3rem 0 2rem 0;
  padding-top: 1rem;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .contact-grid,
  .service-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .quarto-container {
    padding: 0 1rem;
  }
  
  .thinker-modal-close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}

/* Twitter embed styling to match rectangular image format */
.twitter-tweet {
  margin: 2rem auto !important;
  max-width: 800px !important;
  width: 100% !important;
  border: 1px solid #e1e8ed !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  background: white !important;
}

/* Force Twitter embed to be more rectangular like images */
.twitter-tweet iframe {
  max-width: 800px !important;
  min-height: 400px !important;
  border-radius: 12px !important;
}
