/* =========================
   Gorai Tech - style.css (FINAL CLEAN)
   ✅ Fixed mobile menu always open
   ✅ White background + readable menu text in mobile
   ✅ Removed conflict between old navbar and new responsive navbar
   ✅ Kept your slider, sections, services, contact, portfolio styles
========================= */

/* Reset & Base */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:#f5f7fa;
  color:#222;
  overflow-x:hidden;
}

/* =========================
   Background Slider
========================= */
.background-slider{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  z-index:-1;
}

.background-slider .slide{
  position:absolute;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center center;
  opacity:0;
  animation:fade 30s infinite;
}

@keyframes fade{
  0%{opacity:0;}
  5%{opacity:1;}
  20%{opacity:1;}
  25%{opacity:0;}
  100%{opacity:0;}
}

.background-slider .slide:nth-child(1){animation-delay:0s;}
.background-slider .slide:nth-child(2){animation-delay:6s;}
.background-slider .slide:nth-child(3){animation-delay:12s;}
.background-slider .slide:nth-child(4){animation-delay:18s;}
.background-slider .slide:nth-child(5){animation-delay:24s;}

/* =========================
   NAVBAR (ONLY ONE SYSTEM)
   ✅ Uses: .navbar > .nav-inner > .brand + .nav-toggle + #siteNav.nav-links
========================= */
.navbar{
  position:sticky;
  top:0;
  z-index:99999;
  width:100%;
  background:#FFE5CC;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}

.nav-inner{
  max-width:1200px;
  margin:0 auto;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:darkred;
}

.brand img{
  width:50px;
  height:auto;
  object-fit:contain;
  display:block;
}

.brand span{
  font-size:18px;
  font-weight:700;
  line-height:1.2;
  color:darkred;
}

/* Desktop links */
.nav-links{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-links a{
  color:darkred;
  text-decoration:none;
  font-weight:600;
  padding:10px 10px;
  border-radius:10px;
  transition:.2s ease;
}

.nav-links a:hover{
  background:rgba(0,128,128,.12);
  color:teal;
}

/* CTA (Order Us) */
.nav-links .nav-cta{
  background:darkred;
  color:#fff !important;
  padding:10px 14px;
  border-radius:12px;
}

.nav-links .nav-cta:hover{
  background:#a00000;
}

/* Hamburger */
.nav-toggle{
  display:none;
  width:46px;
  height:40px;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.7);
  border-radius:12px;
  cursor:pointer;
  padding:8px 10px;
}

.nav-toggle span{
  display:block;
  height:2px;
  width:100%;
  background:darkred;
  margin:6px 0;
  border-radius:99px;
}

/* ✅ Mobile Menu */
@media (max-width:980px){

  .nav-toggle{display:inline-block;}

  /* IMPORTANT: hidden by default */
  #siteNav.nav-links{
    position:absolute;
    left:14px;
    right:14px;
    top:68px;
    display:none !important;       /* <- prevents always open */
    flex-direction:column;
    gap:6px;
    padding:10px;
    border-radius:16px;
    border:1px solid rgba(0,0,0,.10);
    background:#ffffff !important; /* <- white background */
    box-shadow:0 18px 40px rgba(0,0,0,.25);
  }

  #siteNav.nav-links.open{
    display:flex !important;
  }

  #siteNav.nav-links a{
    width:100%;
    padding:12px 12px;
    color:#0b1220;                 /* <- readable text */
  }

  #siteNav.nav-links a:hover{
    background:rgba(11,18,32,.06);
    color:#0b1220;
  }

  #siteNav.nav-links .nav-cta{
    width:100%;
    text-align:center;
  }

  .brand span{font-size:14px;}
}

/* =========================
   Hero Section (if used)
========================= */
.hero{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:0 20px;
  position:relative;
  z-index:10;
}

.hero-text h1{
  font-size:50px;
  color:#fff;
  text-shadow:0 5px 20px rgba(0,0,0,.6);
}

.hero-text p{
  margin:15px 0;
  font-size:18px;
  color:#e6faff;
}

.btn{
  padding:12px 25px;
  background:#00e0ff;
  color:#003742;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}

/* =========================
   Sections
========================= */
.section{
  padding:60px 20px;
  text-align:center;
  position:relative;
  z-index:10;
}

.section-title{
  font-size:32px;
  margin-bottom:40px;
  color:#fff;
}

/* =========================
   Service Cards
========================= */
.service-container{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:25px;
}

.service-card{
  padding:25px;
  background:rgba(255,255,255,.7);
  border-radius:12px;
  backdrop-filter:blur(10px);
  box-shadow:0 5px 20px rgba(0,0,0,.1);
  transition:.3s;
}

.service-card:hover{transform:translateY(-5px);}

/* =========================
   About Section
========================= */
.dark{
  background:#003742;
  color:#fff;
}

.about-text{
  max-width:800px;
  margin:auto;
  line-height:1.7;
  font-size:18px;
}

/* =========================
   Contact
========================= */
.contact-container{
  display:flex;
  gap:30px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
}

.contact-box{
  flex:1;
  min-width:280px;
  background:#f8f9fa;
  padding:25px;
  border-radius:10px;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
  font-size:16px;
  max-width:520px;
  margin:auto;
}

.contact-box p{margin-bottom:12px;line-height:1.6;}

.map-box{
  flex:1;
  min-width:280px;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
}

/* =========================
   Footer
========================= */
.footer{
  background:green;
  color:#fff;
  text-align:center;
  padding:15px 10px;
}

.footer a.footer-link{
  color:#ffd166;
  text-decoration:none;
  font-weight:500;
}

.footer a.footer-link:hover{
  color:#fff;
  text-decoration:underline;
}

/* =========================
   Floating FAQ Button
========================= */
.faq-float{
  position:fixed;
  bottom:20px;
  right:20px;
  width:55px;
  height:55px;
  background:red;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  text-decoration:none;
  box-shadow:0 6px 15px rgba(0,0,0,.25);
  z-index:9999;
  transition:transform .2s ease, background .2s ease;
  animation:pulse 2s infinite;
}

.faq-float:hover{
  background:#145da0;
  transform:scale(1.1);
}

@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(11,60,93,.6);}
  70%{box-shadow:0 0 0 15px rgba(11,60,93,0);}
  100%{box-shadow:0 0 0 0 rgba(11,60,93,0);}
}

/* =========================
   Left Side Social Icons
========================= */
.icons{
  margin:2px;
  position:fixed;
  top:75%;
  left:0%;
  width:240px;
  display:flex;
  flex-direction:column;
  background-color:transparent !important;
  z-index:20;
}

.icons a{
  text-decoration:none;
  padding:5px;
  font-size:22px;
  font-family:'Oswald',sans-serif;
  text-align:right;
  border-radius:0 50px 50px 0;
  transform:translate(-200px, 0);
  transition:all .5s;
  text-transform:uppercase;
}

.icons a:hover{transform:translate(0,0);}

.icons a span{
  background:#fff;
  margin-left:20px;
  height:40px;
  width:40px;
  color:#000;
  text-align:center;
  line-height:40px;
  border-radius:50%;
  transition:all .5s;
}

.facebook{background:#2c80d3;color:#fff;}
.youtube{background:#fa0910;color:#fff;}
.twitter{background:#53c5ff;color:#fff;}
.linkedin{background:#007bb5;color:#fff;}
.WhatsApp{background:green;color:#fff;}

/* =========================
   Responsive
========================= */
@media (max-width:900px){
  .hero-text h1{font-size:40px;}
}

@media (max-width:768px){
  .contact-container{flex-direction:column;}
  .map-box iframe{height:300px;}
}

@media (max-width:600px){
  .hero{height:70vh;}
  .section{padding:50px 20px;}
  .section-title{font-size:26px;}
  .service-card{padding:18px;}
}
