:root {
  --green-primary: #000;
  --green-accent: #000;
  --black: #111111;
  --white: #ffffff;
  --red-accent: #d2a05a;   /* gold accent */
  --red-hover: #a97410;    /* slightly darker gold hover */
}
/* Comment section */
.comment-section {
  margin-top:50px;
  border-top:1px solid rgba(255,255,255,0.2);
  padding-top:20px;
}
.comment-section form {
  display:flex;flex-direction:column;gap:10px;
  margin-bottom:30px;
}
.comment-section input,
.comment-section textarea {
  color: #fff !important;
  color:#fff;
  padding:10px;
  border-radius:6px;
  border:none;
  outline:none;
  background:rgba(255,255,255,0.1);
  color:#fff; /* Text inside input now pure white */
}
.comment-section input::placeholder,
.comment-section textarea::placeholder {
  color:#fff; /* Placeholder text white too */
}
.comment-section button {
  align-self:flex-start;
  background:linear-gradient(135deg,#d4af37,#b8860b);
  border:none;color:#fff;
  padding:10px 20px;border-radius:8px;
  cursor:pointer;font-weight:600;
}
.comment-section button:hover {
  background:linear-gradient(135deg,#b8860b,#d4af37);
}
.comment {
  margin-bottom:15px;
  background:rgba(255,255,255,0.08);
  padding:10px 15px;
  border-radius:8px;
}
.comment .meta {
  font-size:0.85rem;color:#aaa;margin-bottom:5px;
}
/* === Base Reset & Typography === */
body {
  margin: 0;
  background: #0b0b0b;
  color: #f9f9f9;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* === Header & Navigation === */
.site-header {
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.logo img {
  width: 180px;
  height: auto;
}

/* === Navigation Links === */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #f9f9f9;
}

.main-nav a:hover {
  color: #d2a05a;
}

/* === Hamburger Menu (Mobile) === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 200;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    margin-bottom: 6px;
    background-color: #d2a05a;
    border-radius: 2px;
    transition: all 0.3s 
ease;
}

/* === Responsive Navigation === */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 92%;
    right: 0;
    background: rgb(141, 103, 31);
    width: 60%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out;
    display: block;
    border-radius: 0 0 0 12px;
  }

  .main-nav.open {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 0;
  }

  .main-nav a {
    font-size: 1.1rem;
    color: #fff;
  }
}

/* === Animate Hamburger into “X” === */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* === Accessibility Enhancements === */
.main-nav a:focus,
.menu-toggle:focus {
  outline: 2px solid #d2a05a;
  outline-offset: 4px;
}


@media (max-width: 1024px) {
    main.post-content article {
        width: 85% !important;
        padding: 30px 20px;
    }
}


.post-meta a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.post-meta a:hover {
  color: #d2a05a !important;
  text-decoration: none !important;
}

.post-hero {
  width: 100%;
  height: auto !important;
  aspect-ratio: 3 / 2 !important; /* Ensures full image is always visible */
  background-size: contain; /* Keeps full image within bounds */
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 25px;
  background-color: #000; /* Optional: fills empty space if image doesn't cover */
}


header {
  background-color: var(--white);
  border-bottom: 4px solid var(--green-primary);
  padding: 15px 0;
  position: relative;
  z-index: 1000;
}

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}


/* Ensure content stays above blur */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Make the link take full width and remove default styles */
.about-author-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Hover effect on H2 and strong */
.about-author-link:hover h2,
.about-author-link:hover strong {
  color: #b3002a !important;
  transition: color 0.3s ease;
}

/* Optional: cursor pointer for better UX */
.about-author-link:hover {
  cursor: pointer;
}


.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--black);
}

.logo-title {
  font-size: 1.6rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--red-accent);   /* subtle red for brand title */
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--green-primary);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: var(--black);
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--red-accent);   /* subtle red hover */
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-primary);
}

/* RESPONSIVE HEADER */
@media (max-width: 768px) {
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
    background-color: var(--white);
  }

  nav a {
    padding: 10px;
    border-top: 1px solid #eee;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 400px) {
  .logo-title {
    font-size: 1.2rem;
  }

  .logo-subtitle {
    font-size: 0.65rem;
  }

  nav a {
    font-size: 0.9rem;
  }
}

/* HERO BANNER */
.hero-banner-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1536 / 800; /* preserves proportions on any screen */
  max-height: 800px;
  margin: 0 auto 40px;
  overflow: hidden;
  background: #000;
  border-top: 4px solid #d2a05a;
  border-bottom: 4px solid #d2a05a;
  box-shadow: 
    0 -4px 12px rgba(203, 139, 19, 0.5),
    0 4px 12px rgba(203, 139, 19, 0.5);
}

.hero-slide {
  background-size: contain; /* no zoom or blur */
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  position: absolute;
  inset: 0; /* shorthand for top/left/right/bottom: 0 */
  padding: 40px 20px;
  box-sizing: border-box;
  color: white;
  opacity: 0;
  transform: translateX(100%);
  transition: all 1s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.hero-banner-slider {
  border-top: 7px solid #d2a05a;   /* gold */
  border-bottom: 4px solid #d2a05a; /* gold */
}


.hero-banner-slider {
  box-shadow: 0 -4px 12px rgba(203, 139, 19, 0.5), /* top gold glow */
              0 4px 12px rgba(203, 139, 19, 0.5);  /* bottom gold glow */
}


.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.hero-slide.exit-left {
  transform: translateX(-100%);
  opacity: 0;
  z-index: 1;
}

.hero-slide .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero-btn {
  padding: 12px 24px;
  background: linear-gradient(-45deg, #000, #000, #d2a05a, #000);
  background-size: 300% 300%; /* allows animation */
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  
  /* Soft glow */
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4), 
              0 0 24px rgba(203, 139, 19, 0.3);

  /* Animation */
  animation: gradientMove 8s ease infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.6), 
              0 0 32px rgba(203, 139, 19, 0.4);
}

/* Gradient animation */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* Responsive Styling */
@media (max-width: 768px) {
  .hero-banner-slider {
    height: 350px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-banner-slider {
    height: 280px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}


/* POSTS SECTION */ 
.latest-posts {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.posts-grid article {
  background: linear-gradient(135deg, #f9f9f9, #eaeaea);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-image {
  width: 100%;
  aspect-ratio: 3 / 2; /* Keeps a perfect 500x333 ratio */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optional hover effect for subtle polish */
.post-link:hover .post-image {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.visit-blog {
  margin-top: 40px;
  text-align: center;
}

.blog-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, #d2a05a, #d2a05a);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.blog-btn:hover {
  background: linear-gradient(135deg, #000, #000);
}

@media (max-width: 768px) {
  @media (max-width: 768px) {
  .post-image {
    aspect-ratio: auto;
    height: 180px; /* Keeps images readable on small screens */
  }
}

  .posts-grid {
    gap: 20px;
  }

  .blog-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  .post-image {
    aspect-ratio: auto;
    height: 180px; /* Keeps images readable on small screens */
  }


  .posts-grid article h3 {
    font-size: 1.1rem;
  }

  .posts-grid article p {
    font-size: 0.95rem;
  }
}

.posts-grid article {
  color: #000;
}

.posts-grid a {
  display: inline-block;
  align-self: center;
  margin-top: 20px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, #000, #000);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.posts-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* ABOUT AUTHOR */
.about-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 30px;
}

.author-text {
  flex: 1;
  min-width: 260px;
}

.author-text p {
  line-height: 1.6;
  color: #d7cdcd;
}

.author-text strong {
  font-size: 1.2em;
  color: #fff;
}

.author-text em {
  font-style: italic;
  color: #555;
}

.author-img {
  flex: 1;
  text-align: center;
}

.author-img img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #eaeaea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* Make the link take full width and remove default styles */
.about-author-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Style the section with border-radius and subtle background */
.about-author {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.05); /* subtle black shade */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optional: slight lift on hover */
.about-author-link:hover .about-author {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Hover effect on H2 and strong */
.about-author-link:hover h2,
.about-author-link:hover strong {
  color: #d2a05a !important;
  transition: color 0.3s ease;
}

/* Author image styling */
.author-img img {
  width: 250px;
  border-radius: 50%;
  object-fit: cover;
}

/* Read More button styling */
.read-more-btn {
  padding: 12px 24px;
  background: linear-gradient(-45deg, #000, #000, #d2a05a, #000);
  background-size: 300% 300%;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  
  /* Soft glow */
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4), 
              0 0 24px rgba(203, 139, 19, 0.3);

  /* Animation */
  animation: gradientMove 8s ease infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Button hover effect */
.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.6), 
              0 0 32px rgba(203, 139, 19, 0.4);
}

/* Gradient animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


@media (max-width: 768px) {
  .about-author {
    flex-direction: column;
    text-align: center;
  }

  .author-text {
    order: 2;
  }

  .author-img {
    order: 1;
    margin-bottom: 20px;
  }
}

/* VISUAL SHOWCASE */
.visual-showcase {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.visual-showcase h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #d2a05a;
}

.showcase-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: #0b0b0b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background-color: #e0e0e0;
}

.card-content {
  padding: 20px;
  flex: 1;
}

.card-content h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: #f9f9f9;
}

.card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 900px) {
  .visual-showcase h2 {
    font-size: 2rem;
  }

  .card img {
    height: 180px;
  }

  .card-content h3 {
    font-size: 1.3rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .visual-showcase h2 {
    font-size: 1.8rem;
  }

  .card img {
    height: 160px;
  }

  .card-content h3 {
    font-size: 1.2rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }
}


/* FOOTER */
footer {
  background: linear-gradient(
    to bottom,
    #000 0%,
    #000 50%,
    #000 75%,
    #d2a05a 100%
  );
  background-size: 100% 200%;
  animation: footerGradientShift 6s ease-in-out infinite alternate;
  color: #fff;
  padding: 50px 20px 25px;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

@keyframes footerGradientShift {
  0% {
    background-position: top;
  }
  100% {
    background-position: bottom;
  }
}


.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column h4 {
  margin-bottom: 12px;
  font-size: 1rem;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  padding-bottom: 6px;
}

.footer-column p,
.footer-column a {
  color: #eaeaea;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.3s, text-shadow 0.3s;
}

.footer-column a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(203, 139, 19, 0.6); /* subtle gold glow */
}

.social-links a {
  margin-right: 14px;
  font-size: 1.4rem;
  color: #eaeaea;
  transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: #d2a05a;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 18px;
  font-size: 0.85rem;
  color: #eaeaea;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .social-links a {
    margin: 0 10px;
  }
}


/* CAROUSEL */
.carousel {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  animation: scrollSlides 12s infinite linear;
  width: calc(100% * 3);
}

.carousel-slide {
  width: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  height: 300px;
}

@media (max-width: 768px) {
  .carousel-slide {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    height: 180px;
  }
}

@keyframes scrollSlides {
  0% { transform: translateX(0%); }
  33.33% { transform: translateX(-100%); }
  66.66% { transform: translateX(-200%); }
  100% { transform: translateX(0%); }
}
