/*!
Theme Name: LogGate Pro
Theme URI: https://loggate.tech
Author: LogGate Pro Team
Description: Modern WordPress theme for LogGate Pro - Professional video editing tool
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: loggate-pro
*/

:root {
  --bg-primary: #06060b;
  --bg-secondary: #0f0f15;
  --bg-card: #1a1a22;
  --text-primary: #ffffff;
  --text-secondary: #c9c9d4;
  --text-tertiary: #8a8a98;
  --cyan: #00d4ff;
  --cyan-dim: rgba(0, 212, 255, 0.08);
  --purple: #a855f7;
  --purple-dim: rgba(168, 85, 247, 0.08);
  --border-subtle: #1f1f2a;
  --border-accent: #00d4ff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.blog-card {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.blog-card p {
  color: var(--text-tertiary);
  font-size: 0.9375rem;
}

.blog-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.blog-card-tag.purple {
  color: var(--purple);
  background: var(--purple-dim);
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 0.8125rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Single Post Styles */
.post-single {
  max-width: 800px;
  margin: 3rem auto;
}

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

.entry-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.entry-meta {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.entry-content {
  margin: 2rem 0;
  line-height: 1.8;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.nav-previous,
.nav-next {
  text-align: center;
}

.nav-previous a,
.nav-next a {
  color: var(--cyan);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
  color: var(--text-primary);
}

/* Archive Styles */
.archive-header {
  margin: 2rem 0 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

.archive-description {
  color: var(--text-secondary);
  font-size: 1rem;
}

.pagination {
  margin-top: 3rem;
  text-align: center;
}

.pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span {
  display: block;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.pagination a:hover {
  border-color: var(--border-accent);
  color: var(--cyan);
}

.pagination .current {
  border-color: var(--border-accent);
  color: var(--cyan);
  font-weight: 600;
}


/* Footer Styles */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
}

.footer-section h3,
.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section h3 {
  font-size: 1.25rem;
}

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

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

.footer-section a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.footer-info p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  background: var(--bg-primary);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  border-top: 1px solid var(--border-subtle);
}

/* Hide WordPress page title on homepage */
.home .entry-header,
.home .wp-block-post-title,
.home h1.entry-title,
.home h1.wp-block-post-title,
.home main > h1:first-child {
  display: none !important;
}

/* Hide page titles on all pages */
.page .entry-header h1,
.page h1.entry-title,
.page h1.wp-block-post-title {
  display: none !important;
}

/* Hide main heading structures */
.home h1,
.home .entry-title {
  display: none !important;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Header layout and styling */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.site-branding {
  flex-shrink: 0;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
}

.site-title a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.site-title a:hover {
  color: var(--cyan);
}

.primary-navigation {
  margin-left: auto;
}

.primary-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.primary-navigation a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.primary-navigation a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s ease;
}

.primary-navigation a:hover::after {
  width: 100%;
}

/* Header scroll effect */
#header {
  transition: all 0.3s ease;
}

#header.scrolled {
  background: rgba(6, 6, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

/* Mobile menu styles */
#nav.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(6, 6, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  gap: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 99;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  #nav {
    display: none;
  }
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 6, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

/* FAQ accordion styles */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--cyan);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {

/* Hide duplicate WP theme elements (MAT-299) */
.site-header {
  display: none !important;
}

.site-footer {
  display: none !important;
}

.blog-section {
  display: none !important;
}
/* Hide duplicate WP theme elements (MAT-299) */
.site-header {
  display: none !important;
}

.site-footer {
  display: none !important;
}

.blog-section {
  display: none !important;
}

/* Hide duplicate WordPress theme elements */
.blog-section { display: none !important; }
.site-footer { display: none !important; }
/* MAT-372: Completed 2026-04-02 */
