/* ===================================
   PARIKSHA SAMAY - BLOGGER HEADER STYLES
   Matching Next.js Design
   =================================== */

/* CSS Variables for Easy Theming */
:root {
  --color-zinc-900: #18181b;
  --color-white: #ffffff;
  --color-green-darker: #059669;
  --color-green: #10b981;
}

/* Dark mode support (if Blogger has dark mode class) */
.dark-mode {
  --color-text-primary: var(--color-white);
  --color-text-secondary: var(--color-zinc-900);
  --color-bg-badge: var(--color-green);
}

/* Light mode (default) */
body {
  --color-text-primary: var(--color-zinc-900);
  --color-text-secondary: var(--color-white);
  --color-bg-badge: var(--color-green-darker);
}

/* ===================================
   HEADER CONTAINER
   =================================== */

#custom-header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#custom-header-wrapper a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

#custom-header-wrapper a:hover {
  opacity: 0.8;
}

/* ===================================
   SITE TITLE STYLING
   =================================== */
.site-title-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-weight: 700;
  gap: 0.5rem;
  /* Space between words */
}

.site-title-word-1,
.site-title-word-2 {
  font-size: 2.5rem;
  /* Base size for mobile */
  color: var(--color-text-primary);
  line-height: 1;
  margin: 0 0.25rem;
}

.site-title-extension {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  background-color: var(--color-bg-badge);
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  /* Full rounded pill shape */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 700;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet and larger screens */
@media (min-width: 768px) {

  .site-title-word-1,
  .site-title-word-2 {
    font-size: 3.75rem;
    /* Matches md:text-6xl */
  }

  .site-title-extension {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
  }
}


body.dark-mode .site-title-word-1,
body.dark-mode .site-title-word-2 {
  color: var(--color-white);
}

body.dark-mode .site-title-extension {
  color: var(--color-zinc-900);
  background-color: var(--color-green);
}

/* ===================================
   HOVER EFFECTS
   =================================== */
.site-title-branding {
  transition: transform 0.2s ease;
}

#custom-header-wrapper a:hover .site-title-branding {
  transform: scale(1.02);
}

.site-title-extension {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#custom-header-wrapper a:hover .site-title-extension {
  transform: scale(1.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===================================
   ADDITIONAL BLOG STYLES (Optional)
   =================================== */

/* Post meta styling */
.post-meta {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Blog post titles */
h2 {
  color: var(--color-text-primary);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* Footer styling */
#custom-blogger-footer {
  margin-top: 3rem;
}

#custom-blogger-footer a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.2s ease;
}

#custom-blogger-footer a:hover {
  color: #60a5fa;
  text-decoration: underline;
}