/*
 Theme Name: Astra Child
 Template: astra
 Version: 1.0.0
*/

/* Global styles */
body {
  background: #0f0f12 !important;
  color: #e6e6e6 !important;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  margin: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #d4af37 !important;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 0.75em;
}

/* Links */
a {
  color: #d4af37 !important;
  text-decoration: none;
  transition: color 0.2s ease, filter 0.2s ease;
}
a:hover {
  filter: brightness(1.2);
}

/* Buttons */
.btn, .wp-block-button__link, button, input[type="submit"] {
  background: #d4af37 !important;
  color: #0f0f12 !important;
  border-radius: 6px !important;
  padding: 12px 24px !important;
  font-weight: 600;
  display: inline-block;
  margin: 8px;
  transition: all 0.2s ease;
}
.btn:hover, .wp-block-button__link:hover, button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Header menu */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.nav-menu li a {
  color: #d4af37;
  font-weight: 600;
  padding: 8px 12px;
}
.nav-menu li a:hover {
  filter: brightness(1.2);
}

/* Remove Astra default white backgrounds */
.ast-container,
.ast-separate-container,
.site-content,
.entry-content,
.page,
.post {
  background: transparent !important;
}

/* Hero section */
.hero {
  background: #0f0f12;
  text-align: center;
  padding: 100px 20px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Section spacing */
section {
  padding: 60px 20px;
}
section:nth-child(even) {
  background: #15151a;
}

/* Highlights section */
.highlights .clip {
  background: #0f0f12;
  padding: 15px;
  border-radius: 8px;
  margin: 10px;
  flex: 1;
  min-width: 280px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.highlights iframe {
  border-radius: 6px;
  margin-bottom: 10px;
}
.highlights p {
  color: #e6e6e6;
  text-align: center;
  font-size: 0.95rem;
}

/* Blog list/archive cards */
.blog .post,
.archive .post {
  background: #15151a !important;
  color: #e6e6e6 !important;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.blog .post:hover,
.archive .post:hover {
  transform: translateY(-4px);
}
.blog .entry-title a,
.archive .entry-title a {
  color: #d4af37 !important;
  font-weight: 700;
}
.blog .entry-summary,
.archive .entry-summary {
  color: #e6e6e6 !important;
}

/* Single post content */
.single-post .site-content,
.single-post .entry-content {
  background: #0f0f12 !important;
  color: #e6e6e6 !important;
  border-radius: 8px;
  padding: 30px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.single-post h1.entry-title {
  color: #d4af37 !important;
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: center;
}
.single-post .entry-meta,
.single-post .entry-meta a {
  color: #bfbfbf !important;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 20px;
}
.single-post .post-thumbnail img {
  border-radius: 8px;
  border: 2px solid #d4af37;
  margin-bottom: 20px;
  display: block;
  max-width: 100%;
  height: auto;
}
.single-post .entry-content a {
  color: #d4af37 !important;
  text-decoration: underline;
}
.single-post .entry-content a:hover {
  filter: brightness(1.2);
}

/* Comments section */
.comments-area {
  background: #15151a !important;
  color: #e6e6e6 !important;
  border-radius: 8px;
  padding: 25px;
  margin-top: 40px;
}
.comments-area h2,
.comments-area h3 {
  color: #d4af37 !important;
  margin-bottom: 20px;
}
.comment-form input,
.comment-form textarea {
  background: #121218 !important;
  border: 1px solid #2a2a33 !important;
  color: #e6e6e6 !important;
  border-radius: 6px !important;
  padding: 10px;
  width: 100%;
  margin-bottom: 15px;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.25) !important;
}
.comment-form input[type="submit"] {
  background: #d4af37 !important;
  color: #0f0f12 !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
}
.comment-form input[type="submit"]:hover {
  filter: brightness(1.1);
}

/* Footer */
.site-footer {
  background: #0f0f12;
  color: #e6e6e6;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a {
  color: #d4af37 !important;
  margin: 0 10px;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  filter: brightness(1.2);
}

/* Forms (general) */
input, textarea, select {
  background: #121218 !important;
  border: 1px solid #2a2a33 !important;
  color: #e6e6e6 !important;
  border-radius: 6px !important;
  padding: 10px;
  width: 100%;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.25) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  section { padding: 40px 15px; }
  .btn { padding: 10px 18px; }
  .highlights { flex-direction: column; }
  .single-post .site-content { padding: 20px; margin: 20px auto; }
  .single-post h1.entry-title { font-size: 1.8rem; }
}
/* Force all Astra containers to use dark background */
.ast-container,
.ast-separate-container,
.site-main,
.content-area,
.site-content {
  background: #0f0f12 !important;   /* dark background */
  color: #e6e6e6 !important;
}

/* Inner post/page content */
.entry-content,
.post,
.page {
  background: #0f0f12 !important;
  color: #e6e6e6 !important;
  border-radius: 8px;
  padding: 30px;
}

/* Blog list/archive cards */
.blog .post,
.archive .post {
  background: #15151a !important;   /* slightly lighter dark for contrast */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Single post wrapper */
.single-post .site-content,
.single-post .entry-content {
  background: #0f0f12 !important;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Comments section */
.comments-area {
  background: #15151a !important;
  border-radius: 8px;
  padding: 25px;
  margin-top: 40px;
  color: #e6e6e6 !important;
}

/* Form fields */
.comment-form input,
.comment-form textarea {
  background: #121218 !important;
  border: 1px solid #2a2a33 !important;
  color: #e6e6e6 !important;
}
/* Post meta (author, date, categories) */
.entry-meta,
.entry-meta a {
  color: #bfbfbf !important;   /* muted grey text */
  text-decoration: none !important;
}

.entry-meta a:hover {
  color: #d4af37 !important;   /* gold on hover */
}
/* Force meta links to match theme */
.single-post .entry-meta a,
.blog .entry-meta a,
.archive .entry-meta a {
  color: #bfbfbf !important;   /* muted grey */
  text-decoration: none !important;
}

.single-post .entry-meta a:hover,
.blog .entry-meta a:hover,
.archive .entry-meta a:hover {
  color: #d4af37 !important;   /* gold on hover */
}
/* Author and date links in post meta */
.entry-meta .byline a,
.entry-meta .posted-on a {
  color: #bfbfbf !important;   /* muted grey */
  text-decoration: none !important;
}

.entry-meta .byline a:hover,
.entry-meta .posted-on a:hover {
  color: #d4af37 !important;   /* gold on hover */
}
/* Force author and date links to grey/gold */
.single-post .entry-meta .byline a,
.single-post .entry-meta .posted-on a,
.blog .entry-meta .byline a,
.blog .entry-meta .posted-on a,
.archive .entry-meta .byline a,
.archive .entry-meta .posted-on a {
  color: #bfbfbf !important;   /* muted grey */
  text-decoration: none !important;
}

.single-post .entry-meta .byline a:hover,
.single-post .entry-meta .posted-on a:hover,
.blog .entry-meta .byline a:hover,
.blog .entry-meta .posted-on a:hover,
.archive .entry-meta .byline a:hover,
.archive .entry-meta .posted-on a:hover {
  color: #d4af37 !important;   /* gold on hover */
}
/* Author/date meta links */
.entry-meta .byline a,
.entry-meta .posted-on a {
  color: #bfbfbf !important;   /* muted grey */
  text-decoration: none !important;
}

.entry-meta .byline a:hover,
.entry-meta .posted-on a:hover {
  color: #d4af37 !important;   /* gold on hover */
}
/* Make logo bigger */
.site-header .logo img {
  height: 150px !important;   /* increase height */
  width: auto !important;     /* keep proportions */
    border-radius: 50% !important;   /* turns square into circle */

  object-fit: cover;               /* crops image neatly */
}
.footer-social img {
  transition: transform 0.3s ease;
}
.footer-social img:hover {
  transform: scale(1.2) rotate(5deg);
}