/* NAVBAR Z-INDEX FIX */
nav, .navbar, header {
    position: sticky;  /* or fixed */
    z-index: 9999 !important;
}

.nav-menu {
    z-index: 10000 !important;
}

.nav-toggle {
    z-index: 10001 !important;
}

/* Lower z-index for hero section */
.hero, .hero-section {
    position: relative;
    z-index: 1 !important;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed !important;
        top: 70px; /* Adjust to match your navbar height */
        left: -100%;
        width: 100%;
        background: #ffffff;
        transition: left 0.3s ease;
        z-index: 10000 !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
}

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

body{
    font-family: Tahoma, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fffaf0;
    color:#333;
    line-height: 1.6;
}

nav{
  display: flex;
  align-items:center;
  justify-content: space-between;
}

a{
    text-decoration: none;
    color : inherit;
}

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

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.muted {
  color: #777;
  text-align: center;
  margin-bottom: 2rem;
}

/*Header*/

.site-header{
    background: #4a4a4a;
    color: white;
    padding: 1rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width:40px;
  height: 40px;
  object-fit: cover;
}

.brand-text {
  font-size: 1rem;
  font-weight: bold;
  color:#ffffff;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  color: #ffffff;
  padding: 0.5rem;
}

.main-nav a:hover {
  text-decoration: underline;
}

.contact-cta {
  background-color: #1e90ff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* Mobile Menu Toggle Button - ADDED */
.menu-toggle {
  display: none;  /* Hidden on desktop */
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/*Hero*/
.hero {
  color: #030303;
  padding: 5rem 0;
  background-image: url(Heropic1.jpg);
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/*Grid & Cards*/
.grid {
  display: grid;
  gap: 1.5rem;
}

.services-grid,
.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background-color: #1e90ff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 0.5rem;
}

/* Portfolio */
.portfolio-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.portfolio-item h4,
.portfolio-item p {
  padding: 0 1rem;
}

.portfolio-item h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.portfolio-item p {
  margin-bottom: 1rem;
  color: #666;
}

/* Pricing */
.price-card {
  text-align: center;
}

.price {
  color: #0a3d62;
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
}

.price-card ul {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.price-card li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.price-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
}

/*Buttons*/
.btn {
  padding: 0.7rem 1.4rem;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn.primary {
  background-color: #080808;
  color: #ffffff;
}

.btn.primary:hover {
  background-color: #333;
}

.btn.ghost {
  border: 2px solid #ffffff;
  color: #080808;
  background: rgba(255, 255, 255, 0.9);
}

.btn.ghost:hover {
  background-color: rgba(255, 255, 255, 1);
}

.btn.whatsapp {
  background-color: #25d366;
  color: white;
  margin-top: 1rem;
}

.btn.whatsapp:hover {
  background-color: #20bd5a;
}

/* About */
.about{
  background: linear-gradient(135deg, #333, #555); 
  color: white;
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
}

.about p {
  margin-bottom: 1rem;
}

.about ul {
  margin-top: 1.5rem;
  list-style: none;
}

.about li {
  margin-bottom: 0.5rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-msg {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
}

.contact-form label{
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.contact-form button{
  width: 100%;
  margin-top: 0.5rem;
}

.map-container{
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  display: block;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0a3d62, #1e5f8a);
  color: white;
  padding: 3rem 0 1rem;
  width: 100%;
}

.footer-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));  /* FIXED TYPO */
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-about h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: white;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  color: white;
}

.footer-bottom p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.developer-credit {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Responsive - Mobile Styles */
@media (max-width:768px){
  .hero{
    min-height: 100vh;
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-inner {
    text-align: center;
  }

  .menu-toggle {
    display: block;  /* Show hamburger on mobile */
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #4a4a4a;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .site-footer {
    padding: 2rem 0 1rem;
  }
}

