/* ==========================
   RESET & BASE
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1a1a1a;
  color: #eee;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================
   NAVBAR
========================== */
.navbar {
  height: 80px;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #000, #800000);
  position: fixed;
  width: 100%;
  z-index: 999;
}

.logo img {
  height: 90px;
  filter:
    drop-shadow(0 0 2px #fff)
    drop-shadow(0 0 6px rgba(255,255,255,0.8))
    drop-shadow(0 0 12px rgba(255,255,255,0.5));
}

/* Desktop nav */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
}

.nav-links a:hover {
  color: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
}

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}

/* Close button (desktop hidden) */
.close-menu {
  display: none;
}


/* ==========================
   HERO SECTION
========================== */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 5% 50px 5%;
    background: linear-gradient(to right, #000, #800000);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-left h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-left h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

.hero-right {
    max-width: 400px;
    font-size: 1rem;
    line-height: 1.6;
}

.hero svg.hero-curves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ==========================
   BLOG CONTENT
========================== */
.blog-container {
    padding: 50px 5%;
    max-width: 1200px;
    margin: auto;
}

.blog-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-content p {
    margin-bottom: 1rem;
    color: #ffffff;
}
.blog-content h1,
.blog-content h2 {
    color:  #800000;
    margin-bottom: 1rem;
}

.blog-content ul {
    color:  #ffffff;
    margin-bottom: 1rem;
}
/* Wrapper */
.image-wrapper {
    width: 100%;
}

/* Main image */
.blog-image img {
    display: block;          /* IMPORTANT */
    width: 50%;
    height: auto;
    margin: 20px auto;       /* centers horizontally */
    border-radius: 8px;
}

/* Gallery row */
.product-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Gallery images */
.product-gallery img {
    width: 150px;
    height: auto;
    border-radius: 8px;
}



.blog-tags {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.blog-tags span {
    background:  #800000;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.back-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    background:  #800000;
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #6e1f1f;
}

/* ==========================
   FOOTER
========================== */
   footer {
        text-align: center;
        padding: 30px;
        margin-top: 50px;
        background: #000000;
        color: #ffffff;
      }
 .footer-container {
    width: 90%;
    margin: auto;
    padding: 50px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
  }

  .footer-logo {
    color: red;
    margin-bottom: 15px;
  }

  .footer-col h4 {
    color: white;
    margin-bottom: 15px;
  }

  .footer-col p {
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-list {
    list-style: none;
    font-size: 14px;
  }

  .footer-list li {
    margin-bottom: 10px;
  }

  .footer-list a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-list a:hover {
    color: red;
  }

  .social-icons {
    margin-top: 15px;
  }

  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #fff7f7;
    border-radius: 6px;
    margin-right: 8px;
    color: #fffbfb;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .social-icons a:hover {
    background: red;
    border-color: red;
    color: white;
    transform: translateY(-3px);
  }

  .footer-newsletter {
    display: flex;
    margin-top: 15px;
  }

  .footer-newsletter input {
    flex: 1;
    padding: 10px;
    border-radius: 6px 0 0 6px;
    border: none;
    outline: none;
  }

  .footer-newsletter button {
    padding: 10px 18px;
    border: none;
    background: red;
    color: white;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
  }

  .footer-bottom {
    border-top: 1px solid #123;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
    color: #ffffff;
  }
/* ==========================
   MOBILE
========================== */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    width: 70%;
    height: 100vh;
    background: #111;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .close-menu {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #fff;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .blog-sort {
    position: static;
    transform: none;
    margin: 15px auto 0;
    width: fit-content;
  }
}
