/* style.css - shared across all pages */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --left-bg: #000000;     /* Left block - pure black */
  --right-bg: #181818;    /* Right block - lighter dark */
  --curve-fill: #242424;  /* Curve tone */
  --accent: #f5b60a;      /* Gold highlight */
  --text-light: #ffffff;
}



*{box-sizing:border-box}
body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background: #fff;
  margin: 0;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
header, body {
  background-color: #000; /* prevents white bleed */
}

/* -----------------------------------------
   Winstreet Two-Tone Curved Navbar
------------------------------------------ */
/* Navbar wrapper */
.custom-navbar {
  background: var(--right-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 100;
  padding: 0;
  overflow: hidden;
}

/* Left Section */
.navbar-left {
  background: var(--left-bg);
  color: var(--text-light);
  padding: 0.6rem 1rem;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
}

/* Curved Divider */
.navbar-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: -65px;
  width: 130px;
  height: 100%;
  background: linear-gradient(90deg, var(--curve-fill) 0%, var(--right-bg) 100%);
  clip-path: ellipse(70% 100% at 100% 50%);
  box-shadow: -8px 0 12px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

/* Right Section */
.navbar-right {
  background: var(--right-bg);
  z-index: 1;
}

/* Logo */
.logo {
  height: 45px;
  width: auto;
  z-index: 3;
}

/* Text beside logo */
.navbar-left span {
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--text-light);
}
.tagline {
  font-size: 0.8rem;
  color: #d3d3d3;
}

/* Nav Links */
.nav-link {
  color: #eeeeee !important;
  margin-right: 15px;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}
.nav-link:hover {
  color: var(--accent) !important;
  transform: translateY(-1px);
}
.nav-link.active {
  color: var(--accent) !important;
}
.nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
  margin: auto;
}
.nav-link:hover::after {
  width: 60%;
}

/* Toggler */
/* Fix Hamburger Visibility */
.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.35rem 0.5rem;
  background-color: transparent;
}

/* Custom Hamburger Icon (thin, visible) */
.navbar-toggler-icon {
  background-image: none; /* remove default Bootstrap icon */
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--accent); /* gold lines */
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* space between bars */
.navbar-toggler-icon::before {
  top: -7px;
}
.navbar-toggler-icon::after {
  top: 7px;
}

/* Optional: animated close effect when expanded */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}


/* Collapsed Menu */
.navbar-collapse {
  width: 100%;
  background: var(--right-bg);
  padding: 0.5rem 1rem;
}

/* -------------------------------
   Responsive
-------------------------------- */
@media (max-width: 991.98px) {
  .navbar-left::after {
    display: none;
  }

  .navbar-header {
    background: var(--left-bg);
  }

  .navbar-left {
    background: none;
    padding: 0;
  }

  .navbar-toggler {
    margin-left: auto;
  }

  .logo {
    height: 38px;
  }

  .navbar-left span {
    font-size: 0.95rem;
  }

  .tagline {
    font-size: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .logo {
    height: 32px;
  }

  .navbar-left span {
    font-size: 0.85rem;
  }

  .tagline {
    font-size: 0.7rem;
  }

  .custom-navbar {
    background: var(--left-bg);
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
}




/* Hero */
.hero-section{
  height: 60vh;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 0 0 2rem 2rem;
  display:flex;
  align-items:center;
}
.small-hero { height: 36vh; min-height: 220px; border-radius: 0 0 1.5rem 1.5rem; }
.hero-section::before, .small-hero::before{
  content:"";
  position:absolute;
  left:0; top:0; right:0; bottom:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.55));
  border-radius: inherit;
}

/* Hero content */
.hero-section .container, .small-hero .container{
  position:relative;
  z-index:2;
  max-width:760px;
  color:#fff;
}

/* Cards / Boxes */
.card {
  border-radius: var(--radius) !important;
  transition: transform .35s, box-shadow .35s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(17,24,39,.08);
}

/* Buttons */
.btn-warning {
  background: var(--accent);
  border: none;
  color:#2b2b2b;
  font-weight:600;
}
.btn-outline-warning {
  border-color: var(--accent);
  color: var(--accent);
  font-weight:600;
}

/* Sections */
section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.feature-card {
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #dcdcdc;
  transition: all 0.3s ease;
  border-radius: 10px;
}
.feature-card:hover {
  background-color: #222;
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(245, 182, 10, 0.3);
}
.feature-card h5 {
  color: #fff;
}
.feature-card p {
  color: #bfbfbf;
}
#why-choose-us {
  background: linear-gradient(135deg, #121212 0%, #1c1c1c 40%, #252525 100%);
}
.service-card {
  background-color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: #ccc;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  background-color: #232323;
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(245, 182, 10, 0.25);
}

.service-card h5 {
  color: #fff;
}

.service-card p {
  color: #bdbdbd;
}
.project-card {
  background-color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
  background-color: #232323;
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(245, 182, 10, 0.25);
}

.project-card h5 {
  color: #fff;
}

.project-card p {
  color: #bdbdbd;
}

.project-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  background-color: #2a2a2a; /* fallback if image not found */
}
.contact-card, .map-card {
  background-color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card:hover {
  background-color: #232323;
  box-shadow: 0 0 25px rgba(245, 182, 10, 0.25);
}

/* Ensure text has visible contrast */
.contact-card h5 {
  color: #ffffff;
}
.contact-card p {
  color: #d6d6d6;
  line-height: 1.6;
}
.contact-link {
  color: #f5b60a;
  text-decoration: none;
  font-weight: 500;
}
.contact-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Map styling */
.map-card iframe {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  min-height: 400px;
  transition: filter 0.3s ease;
}
.map-card iframe:hover {
  filter: grayscale(0%) contrast(100%);
}

/* Responsive */
@media (max-width: 991.98px) {
  .map-card, .contact-card {
    height: auto !important;
  }
  .map-card iframe {
    height: 300px;
  }
}
.feature-card {
  background-color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: #dcdcdc;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  background-color: #232323;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(245, 182, 10, 0.25);
}

.feature-card h5 {
  color: #fff;
}

.feature-card p {
  color: #bdbdbd;
}



/* Footer */
footer {
  background: #0d0d0d;
  color: #ccc;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
  color: #f5b60a;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}


/* Utilities */
.lead { color: #f1f1f1; opacity: .95; }
.text-muted { color: var(--muted) !important; }

/* Responsive tweaks */
@media (max-width: 768px){
  .hero-section{ height: 50vh; }
  .small-hero{ height: 30vh; }
  .navbar .btn { display:none; }
}
/* ensure expanded mobile menu appears above hero and is visible */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95); /* opaque background so links are visible */
    z-index: 2000; /* above hero (which is z-index:1) and above navbar */
    padding: 1rem 1.25rem;
  }
  /* make nav links full-width and easier to tap */
  .navbar-collapse .nav-link {
    padding: .6rem 0;
    display: block;
  }
}
/* Mobile: make collapsed menu fixed above hero (force top of stacking order) */
@media (max-width: 991.98px) {
  /* ensure the toggled collapse is visible above any transformed hero */
  #navMenu.navbar-collapse {
    position: fixed !important;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0,0,0,0.98) !important; /* opaque so hero doesn't show through */
    z-index: 2147483646 !important; /* very large to overwhelm stacking contexts */
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  }

  /* nav links friendly for mobile tap */
  #navMenu .nav-link { display: block; padding: .75rem 0; color: #fff; }
}


