body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f7f7f7;
    color: #333;
}

/* Header */
.blog-header {
    background: #111;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.blog-header h1 {
    margin: 0;
    font-size: 36px;
}

.blog-header p {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Card */
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
}

.blog-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.blog-content p {
    font-size: 14px;
    color: #666;
}

.meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    border-radius: 5px;
}
.read-more:hover {
    color: #fff;
}

/* Sidebar (optional simple version) */
.sidebar {
    margin-top: 40px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.sidebar h3 {
    margin-top: 0;
}

.tag {
    display: inline-block;
    background: #eee;
    padding: 5px 10px;
    margin: 5px;
    font-size: 12px;
    border-radius: 20px;
}

/* Featured */
.featured {
    background: #fff;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.featured img {
    width: 300px;
    max-width: 100%;
    border-radius: 10px;
}

.featured-content {
    flex: 1;
}

.featured-content h2 {
    margin-top: 0;
}
.image-container {
   position: relative;
   overflow: hidden;
   width: 100%; 
}

.responsive-image {
   width: 100%; 
   height: 100%; 
   object-fit: cover; 
}


.text-overlay {
   position: absolute;
   top: 0%;
   left: 0%;
   transform: translate(0%, 0%);
   color: white;
   text-align: center;
   background-color: #0000008c;
   width: 100%;
   height: 100%;
   padding: 15% 0 0 0;
}

.text-overlay h1 {
   font-size: 8rem; 
   margin: 0;
}

.shop-link {
   font-size: 2.0rem;
   text-decoration: none;
   color: white;
   display: inline-block;
   margin-top: 20px;
   border: 2px solid white;
   padding: 10px 20px;
   border-radius: 5px;
   transition: background-color 0.3s, color 0.3s;
}

.shop-link:hover {
   background-color: white;
   color: black;
}


@media (max-width: 768px) {
   .image-container {
      height: 40vh; 
   }

   .text-overlay h1 {
      font-size: 2rem;
   }

   .shop-link {
      font-size: 1rem;
      padding: 8px 15px;
   }
}

@media (max-width: 768px) {
   .image-container {
      height: 30vh; 
   }

   .text-overlay h1 {
      font-size: 3.2rem; 
   }

   .shop-link {
      font-size: 0.9rem;
      padding: 6px 10px;
   }
}
@media (max-width: 768px) {
 .text-overlay {
   padding: 30% 0 0 0;
 }
.image-container img {
  display: block;
  width: 100%;
  height: 100%;
}
}
