/* ======================
   General Styles
====================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  line-height: 1.6;
  background: linear-gradient(135deg, #000000, #000000, #2F2E30);
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
}

/* Animate Rasta gradient */
@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ======================
   Typography
====================== */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

h4 {
  font-size: 23px;
}

p, a, li {
  font-weight: 400;
}

/* ======================
   Header + Navbar
====================== */
header {
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.75);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.logo img {
  height: 60px;
  width: auto;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: white;
  color: black;
  transform: scale(1.05);
}

/* --- Glow + Hover Effects for MENU Button --- */
.hamburger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  font-weight: 700;
  width: fit-content;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: menuGlowPulse 2.8s infinite alternate;
}

@keyframes menuGlowPulse {
  from {
    box-shadow: 0 0 10px rgba(255, 196, 43, 0.4);
  }
  to {
    box-shadow: 0 0 25px rgba(255, 255, 255, 1);
  }
}

/* Hover effects */
.hamburger:hover {
  transform: scale(1.07);
  box-shadow: 0 0 30px rgba(255, 255, 255, 1);
}

.hamburger .menu-text {
  font-family: 'Poppins', sans-serif; /* change this to any font you want */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: black;
}
/* Icon inside the button */
.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 14px;
}

.menu-icon span {
  width: 17px;
  height: 2px;
  background: black;
  border-radius: 2px;
  transition: 0.3s;
}

/* X animation */
.hamburger.open .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(5px);
}

.hamburger.open .menu-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger.open .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px);
}

.hamburger {
  display: none;
}

/* Overlay background */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 900;
}

.overlay.show {
  display: block;
}

/* Mobile menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  background: #111;
  display: flex;
  flex-direction: column;
  padding-top: 60px;
  transition: right 0.3s ease;
  z-index: 1001;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 15px 20px;
  transition: background 0.3s;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.2);
}

/* ======================
   Page Content
====================== */
.page {
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card, .card3 {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  color: black;
  display: block; /* makes each card act like a div */
  text-decoration: none; /* remove underline */
}

.card:hover,
.card3:hover {
  transform: translateY(-5px);
}

.card3 {
  padding: 10px;
  max-width: 1000px;
}

/* ======================
   Contact Page Layout & Form
====================== */
#contact {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 60px 20px;
  box-sizing: border-box;
  text-align: center;
}

#contact h1 {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s forwards;
  animation-delay: 0.05s;
}

#contact form,
form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: black;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s forwards;
  animation-delay: 0.1s;
	border: 2px solid #fff; /* Added white outline */
}

form input, form textarea, form button {
  width: 90%;
  max-width: 500px;
  padding: 14px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

form input:nth-child(1) { animation-delay: 0.2s; }
form input:nth-child(2) { animation-delay: 0.3s; }
form textarea       { animation-delay: 0.4s; }
form button         { animation-delay: 0.5s; }

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button {
  background: white;
  color: black;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

form button:hover {
  background: #888;
}

@media (max-width: 768px) {
  #contact form,
  form {
    width: 90%;
    max-width: 350px;
    padding: 20px;
  }

  form input,
  form textarea,
  form button {
    width: 100%;
    font-size: 15px;
    padding: 10px;
  }

  form button {
    padding: 12px 16px;
  }
}

/* ======================
   Instagram Button
====================== */
footer {
  text-align: center;
  padding: 10px 10px;
  margin-top: 10px;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.instagram-btn img {
  width: 22px;
  height: 22px;
}

.instagram-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(214,41,118,0.6); }
  70%  { box-shadow: 0 0 0 15px rgba(214,41,118,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,41,118,0); }
}

/* ======================
   Keyframes
====================== */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   Responsive
====================== */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .projects {
    flex-direction: column;
  }

  .video-background {
    height: 100%; /* Keep full video visible */
    object-fit: fill;
  }
}

/* ======================
   About Page Image
====================== */
.about-img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  margin: 20px auto;
  display: block;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s forwards;
  animation-delay: 0.1s;
}

#about p {
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.2rem;
  padding: 0 15px;
  text-align: center;
}

.projects {
    display: flex;
  gap: 50px;
  justify-content: center;
  margin: 40px auto;
  max-width: 12000px;
  padding: 0 20px;
}

.card2 {
  background: #000;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex: 1;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: white;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInCard 0.4s ease forwards;
	 border: 2px solid #fff; /* Added white outline */
}

.card2 img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card2:hover {
 transform: translateY(-10px);
  box-shadow: 0 12px 25px white;
}

.card2:nth-child(n) {
  animation-delay: calc(0.3s * var(--i));
}

.card2:nth-child(1) { animation-delay: 0.3s; }
.card2:nth-child(2) { animation-delay: 0.6s; }
.card2:nth-child(3) { animation-delay: 0.9s; }
.card2:nth-child(4) { animation-delay: 1.2s; }

@keyframes fadeInCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   Messages
====================== */
.success {
  color: #28a745;
  background: #e6f4ea;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
}

.error {
  color: #dc3545;
  background: #fce8e8;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
}

/* ======================
   Video Background
====================== */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


.services-section {
  text-align: center;
  padding: 80px 20px;
}

.services-section h1 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}



.services-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-card {
  background-color: #000;
  border-radius: 15px;
  padding: 30px 20px;
  width: 300px;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  border: 2px solid #fff; /* Added white outline */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px white;
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h2 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #fff;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #fff;
}

/* Optional: different icon colors */
.web-icon { color: #fcbf49; }
.marketing-icon { color: #34d399; }
.branding-icon { color: #a855f7; }


/* Pull About Me heading higher on mobile */
@media (max-width: 768px) {
  #about h1 {
    margin-top: 10px !important;
  }

  /* Reduce top padding for the about page */
  #about.page {
    padding-top: 20px !important;
  }
}



/* Pull Services heading higher on mobile */
@media (max-width: 768px) {
  .services-section h1 {
    margin-top: 10px !important;
  }

  .services-section {
    padding-top: 20px !important;
  }
}


/* Pull Pricing heading higher on mobile */
@media (max-width: 768px) {
  #prices h1 {
    margin-top: 10px !important;
  }

  #prices.page,
  #prices {
    padding-top: 20px !important;
  }
}


/* Add empty space at bottom of every page on mobile */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px !important;
  }
}

/* Add extra bottom space on Contact page for mobile */
@media (max-width: 768px) {
  #contact {
    padding-bottom: 80px !important;
  }
}

.glow-btn-container {
  text-align: center;
  margin-top: 1px;
  font-family: 'Poppins', sans-serif;
}

.glow-btn {
  position: relative;
  padding: 12px 28px;
  font-size: 1.1rem;
  background: white;
  color: black;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  outline: none;
  transition: 0.3s ease;
  box-shadow: 0 0 8px rgba(255,255,255,0.7);
  animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
  from {
    box-shadow: 0 0 10px rgba(255,255,255,0.4);
  }
  to {
    box-shadow: 0 0 20px rgba(255,255,255,1);
  }
}

/* Hover text */
.hover-text {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: black;
  padding: 6px 14px;
  font-size: 0.9rem;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  white-space: nowrap;
	  font-family: 'Poppins', sans-serif;
}

.glow-btn:hover .hover-text {
  opacity: 1;
  top: 125%;
}

.glow-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255,255,255,1);
}
