/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
header {
  background: black;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #f4b400; /* Yellow */
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 2px;
  cursor: default;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav ul li a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

nav ul li a.active,
nav ul li a:hover {
  background: #db4437; /* Red */
  color: white;
}

/* Blog Section */
.blog-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
  text-align: center;
}

.blog-section h1 {
  color: #1a73e8; /* Blue */
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Individual Blog Post */
.blog-post {
  text-align: left;
  border: 2px solid #f4b400; /* Yellow border */
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  background: white;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.blog-post:hover {
  box-shadow: 0 12px 25px rgba(219, 68, 55, 0.5);
  transform: translateY(-8px);
  border-color: #db4437; /* Red on hover */
}

/* Blog Image */
.blog-post img {
  width: 180px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Blog Text */
.blog-post h2 {
  color: #111;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.blog-post p {
  color: #444;
  font-size: 1rem;
  flex-grow: 1;
}

/* Read More Link */
.read-more {
  color: #db4437; /* Red */
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.read-more:hover {
  background: #db4437;
  color: white;
}

/* Footer */
footer {
  background: black;
  color: #f4b400;
  text-align: center;
  padding: 1rem 0;
  font-weight: 600;
  margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-post {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-post img {
    width: 100%;
    height: auto;
  }
}
/* ========== HAMBURGER MENU (Mobile Only) ========== */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 9999;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #f4b400; /* Yellow */
  border-radius: 5px;
  transition: 0.4s ease;
}

/* Mobile Menu Grid */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

/* ========== MOBILE VIEW ========== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(6px);
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    transition: 0.5s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 40%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 12px 0;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    transition: 0.3s;
  }

  .nav-links li a:hover {
    background: #db4437;
    color: #fff;
  }

  /* Hamburger Animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hide default horizontal menu */
  nav ul {
    display: none;
  }
}
