/* =====================================
BIJLIWALA FINAL CSS (CLICK FIXED + PREMIUM)
===================================== */


/* ===== GLOBAL ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background: #fff;
  overflow-x: hidden;
}


/* ===== CONTAINER ===== */
.ast-container,
.site-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}


/* ===== CONTENT WIDTH ===== */
.entry-content,
.elementor-widget-text-editor {
  max-width: 750px;
  margin: auto;
}


/* ===== HEADINGS ===== */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }


/* ===== TEXT ===== */
p {
  margin-bottom: 15px;
}


/* ===== IMAGES ===== */
img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
}


/* =====================================
🔥 HERO SECTION (FIXED CLICK ISSUE)
===================================== */

.hero-section {
  position: relative !important;
  z-index: 1 !important;   /* ✅ keeps hero controlled */
  min-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 80px 20px !important;
  color: #fff !important;
  background: #000 !important;
  overflow: hidden; /* ✅ important */
}

/* BACKGROUND OVERLAY */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.9)),
              url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  z-index: -1; /* ✅ FIX: push behind everything */
  pointer-events: none; /* ✅ CRITICAL FIX */
}

.hero-section > * {
  position: relative;
  z-index: 2;
}


/* =====================================
🔥 BLOG GRID FIX (CLICKABLE)
===================================== */

.elementor-posts-container,
.ast-row,
.blog,
.archive {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 25px !important;
  position: relative;
  z-index: 5; /* ✅ ensures posts are ABOVE hero */
}

.elementor-post,
.ast-article-post,
.post,
article {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #fff;
  position: relative;
  z-index: 6;
}


/* =====================================
🔥 ULTRA IMAGE FIX
===================================== */

.elementor-post__thumbnail,
.post-thumb,
.wp-post-image,
.ast-blog-featured-section {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

.elementor-post__thumbnail img,
.post-thumb img,
.wp-post-image,
.ast-blog-featured-section img,
article img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.elementor-post__thumbnail a,
.post-thumb a {
  display: block !important;
  height: 100% !important;
}


/* =====================================
LINKS (CLICK BOOST)
===================================== */

a {
  text-decoration: none;
  transition: 0.2s ease;
  pointer-events: auto !important; /* ✅ ensure clickable */
}

a:hover {
  opacity: 0.8;
}


/* =====================================
FOOTER
===================================== */

.elementor-location-footer {
  background: #111;
  color: #ccc;
  padding: 50px 0;
}

.elementor-location-footer h1,
.elementor-location-footer h2,
.elementor-location-footer h3 {
  color: #fff;
  font-size: 16px;
}

.elementor-location-footer p {
  color: #bbb;
}

.elementor-location-footer a {
  color: #ccc;
}

.elementor-location-footer a:hover {
  color: #fff;
}


/* =====================================
MOBILE
===================================== */

@media (max-width: 768px) {

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }

  .hero-section {
    min-height: 75vh !important;
    padding: 60px 15px !important;
  }

  .hero-section h1 {
    font-size: 32px !important;
  }

  .hero-section p {
    font-size: 16px !important;
  }

  .elementor-posts-container,
  .ast-row {
    grid-template-columns: 1fr !important;
  }
}