/* ===========================
   Global + Reset
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #0d0415; /* Deep dark purple/black */
  color: #ffffff;
  font-family: 'Teko', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

/* Typography Override */
h1, h2, h3, h4 {
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.02em;
}

p, a, li, span, label, input, textarea {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

/* ===========================
   Header & Navigation
   =========================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 4, 21, 0.85); /* Transparent dark purple */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(189, 147, 249, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Teko', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #bdc3c7;
  text-transform: uppercase;
  background: linear-gradient(90deg, #bdc3c7, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===========================
   Logo Container (Image + Text)
   =========================== */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px; /* Space between logo image and text */
  text-decoration: none;
}

/* Business Logo Image */
.header-logo-img {
  width: 50px;         /* Same size as the profile image */
  height: 50px;        /* Same size as the profile image */
  border-radius: 50%;  /* Makes it round like the profile image */
  object-fit: cover;
  border: 2px solid #6c5ce7; /* Purple border to match theme */
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.5);
}

/* Logo Text (Zina Vixen) */
.logo-text {
  font-family: 'Teko', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #bdc3c7;
  text-transform: uppercase;
  background: linear-gradient(90deg, #d40b70, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #f1c40f;
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- Nav Hover Yellow --- */
.nav-links a:hover {
  color: #6c5ce7;
  text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* --- Header Profile Image --- */
.header-profile-img {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #6c5ce7; /* Purple border to match theme */
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.5);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile Menu Dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #0d0415;
  padding: 20px;
  border-bottom: 1px solid #6c5ce7;
  /* Centered text */
  text-align: center; 
}

/* --- Mobile Menu Links (Yellow Text) --- */
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #f1c40f; /* Yellow */
  font-weight: 500;
}

/* --- Mobile Menu Hover (White Text) --- */
.mobile-menu a:hover {
  color: #6c5ce7;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ===========================
   Main Layout
   =========================== */
#main {
  padding-top: 80px; /* Offset for fixed header */
}

.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at center, #2a0845 0%, #0d0415 70%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 780' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,715 C320,815 840,675 1200,725' stroke='%236c5ce7' stroke-width='2' fill='none' opacity='0.35'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #d40b70, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(108, 92, 231, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #dfe6e9;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(90deg, #6c5ce7, #a29bfe);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
  transition: transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(108, 92, 231, 0.6);
}

/* ===========================
   Section Headers & Filters
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  /* 1. Your requested gradient */
  background: linear-gradient(90deg, #d40b70, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  
  /* 2. Force the size back to normal so it doesn't shrink */
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 10px;
  
  /* 3. Ensure the gradient covers the whole word */
  background-size: 100% 100%;
  background-repeat: no-repeat;
  
  /* 4. Optional: Adds a slight pink glow */
  text-shadow: 0 0 20px rgba(212, 11, 112, 0.3); 
}

.section-header p {
  color: #b2bec3;
  font-size: 1.1rem;
}

/* --- Your Custom Yellow Filter Buttons --- */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 25px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgb(108, 92, 231);
  color: #e6e311; /* Yellow text */
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(108, 92, 231, 0.2);
  border-color: rgb(108, 92, 231);
  color: #6c5ce7;
}

.category-block {
  margin-bottom: 60px;
}

.category-block h3 {
  font-size: 2rem;
  color: #a29bfe;
  margin-bottom: 25px;
  border-right: 4px solid #6c5ce7;
  padding-right: 15px;
  text-align: right;
}

/* ===========================
   Cards Grid
   =========================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: linear-gradient(180deg, #1e0a2d 0%, #110317 100%);
  border: 1px solid #3a1c4a;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(108, 92, 231, 0.2);
  border-color: #6c5ce7;
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #3a1c4a;
}

.card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #fff;
}

.card-text {
  font-size: 0.95rem;
  color: #b2bec3;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* YouTube Placeholder inside cards */
.yt-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  background: radial-gradient(circle at center, #2a0845 0%, #110317 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px dashed #6c5ce7;
}

.yt-play-btn {
  padding: 10px 20px;
  background: #6c5ce7;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}

.yt-placeholder:hover .yt-play-btn {
  background: #a29bfe;
  box-shadow: 0 0 15px rgba(162, 155, 254, 0.6);
}

.card iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
}

/* ===========================
   Tech / Software Section
   =========================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.tech-grid a {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #3a1c4a;
  transition: 0.3s;
}

.tech-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-grid a:hover {
  transform: scale(1.1);
  border-color: #a29bfe;
  box-shadow: 0 0 15px rgba(162, 155, 254, 0.4);
}

/* ===========================
   Contact Form
   =========================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(30, 10, 45, 0.5);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #3a1c4a;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #a29bfe;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: #0d0415;
  border: 1px solid #3a1c4a;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6c5ce7;
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.3);
}

/* ===========================
   Footer
   =========================== */
#footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #1e0a2d;
  color: #636e72;
  font-size: 0.9rem;
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===========================
   Responsive Design
   =========================== */

/* --- FIX: Force mobile menu to hide on desktop screens --- */
@media (min-width: 901px) {
  #mobile-menu {
    display: none !important; /* The !important ensures it overrides the inline JS style */
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .nav-links, .header-actions {
    display: none; /* Hide desktop nav and image on mobile */
  }
  
  .menu-toggle {
    display: block; /* Show burger icon */
  }

  /* --- NEW FIX: Remove the big gap on mobile --- */
  .hero-section {
    /* Instead of 80vh (which is too tall on phones), use auto height with safe padding */
    min-height: auto; 
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .content-section {
    /* Reduce the top padding of the Portfolio section on mobile */
    padding-top: 30px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}