/* ----------------------------
   WOLFWAVE MEDIA STYLE.CSS
   Modern dark theme with teal & orange highlights
-----------------------------*/

:root {
  --bg-color: #0e0f10;
  --text-color: #e6e6e6;
  --accent-teal: #00bfa6;
  --accent-orange: #ff7a00;
  --card-bg: #1a1b1d;
  --font-main: "Poppins", sans-serif;
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* --- Navbar --- */
/* --- Responsive Header Alignment --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  background: rgba(20, 20, 22, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Keep logo and text together */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo h1 {
  font-size: 1.2rem;
  white-space: nowrap;
}

/* Keep toggle aligned right */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent-teal);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- Mobile tweaks --- */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 4%;
  }

  .logo h1 {
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }
}

/* --- Hero Section --- */
.hero, .page-hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h2 {
  font-size: 2.5rem;
  color: var(--accent-teal);
}

.hero-content p {
  margin: 15px 0;
  font-size: 1.1rem;
  color: #ddd;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border: none;
  background: var(--accent-orange);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #ff944d;
}

.btn-secondary {
  background: var(--accent-teal);
}

.btn-secondary:hover {
  background: #33d1b8;
}

/* --- Sections --- */
section {
  padding: 80px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--accent-teal);
  margin-bottom: 40px;
}

/* --- About Section --- */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-img {
  max-width: 600px;
  border-radius: 10px;
  margin-top: 30px;
}

/* --- Results --- */
.result-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  flex: 1 1 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* --- Services --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-5px);
  background: #222327;
}

/* --- Portfolio --- */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.portfolio-item {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  max-width: 450px;
  object-fit: cover;
}

.portfolio-item:hover {
  transform: scale(1.02);
}

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

.blog-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

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

.blog-text {
  padding: 20px;
}

/* --- Contact --- */
.contact-section {
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  color: var(--accent-teal);
}

input, textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: #222327;
  color: #fff;
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: 2px solid var(--accent-teal);
}

/* --- CTA --- */
.cta {
  text-align: center;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-orange));
  color: #fff;
  border-radius: 10px;
  margin-top: 40px;
}

.cta h2 {
  color: #fff;
}

/* --- Footer --- */
footer {
  background: #111;
  text-align: center;
  padding: 30px 5%;
  font-size: 0.9rem;
  color: #aaa;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .portfolio-item {
    flex-direction: column;
  }
  .hero-content h2 {
    font-size: 2rem;
  }
}
/* --- Mobile Navigation Fix --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent-teal);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hide menu by default (only show toggle on small screens) */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 70px;
    right: 20px;
    background: #0e0f10;
    flex-direction: column;
    align-items: flex-start;
    width: 220px;
    padding: 15px;
    display: none; /* ✅ hidden by default */
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  nav ul.open {
    display: flex; /* ✅ shows when toggled */
  }

  .menu-toggle {
    display: block; /* ✅ only show button on mobile */
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo h1 {
    font-size: 1.1rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .result-cards {
    flex-direction: column;
    gap: 20px;
  }

  .about-img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    background: #111;
    flex-direction: column;
    align-items: flex-start;
    width: 220px;
    padding: 15px;
    display: none;
  }

  nav ul.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .result-cards {
    flex-direction: column;
    gap: 20px;
  }

  .about-img {
    width: 100%;
    max-width: 100%;
  }
}/* --- Mobile Navigation Fix --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent-teal);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- Refined Mobile Menu Styling --- */
@media (max-width: 768px) {
  /* Container */
  .nav-menu ul {
    display: none;
    flex-direction: column;
    background: rgba(14, 15, 16, 0.98); /* smooth dark tone */
    position: absolute;
    top: 70px;
    right: 15px;
    width: 230px;
    padding: 15px 0;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    list-style: none; /* ✅ removes the ugly bullets */
    z-index: 2000;
  }

  /* Visible when opened */
  .nav-menu ul.show-menu {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  /* Menu items */
  .nav-menu ul li {
    width: 100%;
  }

  .nav-menu ul li a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
  }

  /* Hover effects */
  .nav-menu ul li a:hover,
  .nav-menu ul li a.active {
    background: var(--accent-teal);
    color: #fff;
  }

  /* Hamburger button */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--accent-teal);
    font-size: 2rem;
    cursor: pointer;
  }

  /* Animation for smooth appearance */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}