/* ===============================
   Khoyamax Welding - Custom Styles
   Colors based on logo: black/charcoal + gold/orange + soft gray
================================= */

:root{
  --ink: #0b0f14;          /* deep black/blue ink */
  --ink-2: #111824;        /* charcoal */
  --panel: rgba(255,255,255,0.06);
  --panel-2: rgba(255,255,255,0.09);
  --soft: rgba(255,255,255,0.78);
  --muted: rgba(255,255,255,0.62);

  --gold: #f3b21a;         /* warm gold */
  --gold-2: #ffcc55;       /* lighter gold */
  --orange: #ff7a18;       /* orange highlight */
  --line: rgba(255,255,255,0.12);
  --shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* Base */
html { scroll-behavior: smooth; }
body.bg-ink { background: radial-gradient(1200px 600px at 20% 0%, rgba(255,122,24,0.10), transparent 60%),
                           radial-gradient(900px 500px at 80% 10%, rgba(243,178,26,0.10), transparent 55%),
                           var(--ink); }

.text-soft { color: var(--soft) !important; }
.text-gold { color: var(--gold) !important; }

.border-soft { border-color: var(--line) !important; }

a { text-decoration: none; }
.icon-link {
  color: var(--soft);
  opacity: .9;
  transition: transform .15s ease, opacity .15s ease, color .15s ease;
}
.icon-link:hover{
  color: var(--gold-2);
  opacity: 1;
  transform: translateY(-1px);
}

/* Top bar */
.topbar{
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

/* Navbar */
.nav-glass{
  background: rgba(10,14,20,0.62);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}
.brand-name{ letter-spacing: .2px; }
.navbar .nav-link{
  color: rgba(255,255,255,0.85) !important;
  border-radius: 12px;
  padding: .55rem .75rem;
  transition: background .15s ease, transform .15s ease, color .15s ease;
}
.navbar .nav-link:hover{
  color: #fff !important;
  background: rgba(255,255,255,0.07);
  transform: translateY(-1px);
}

/* Buttons */
.btn-gold{
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #111 !important;
  border: 0;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(255,122,24,0.22);
}
.btn-gold:hover{ filter: brightness(1.03); transform: translateY(-1px); }

.btn-whatsapp{
  background: #1db954;
  border: 0;
  color: #07110b !important;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(29,185,84,0.18);
}
.btn-whatsapp:hover{ filter: brightness(1.03); transform: translateY(-1px); }

/* Sections */
.section-pad{ padding: 70px 0; }
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero-section{
  padding: 70px 0 55px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.badge-ink{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line);
  color: var(--soft);
}

/* Subtle welding spark lights (not too much) */
.hero-sparks{
  position: absolute;
  inset: -150px -100px auto -100px;
  height: 520px;
  pointer-events: none;
  background:
    radial-gradient(140px 140px at 20% 35%, rgba(243,178,26,0.22), transparent 60%),
    radial-gradient(180px 180px at 38% 24%, rgba(255,122,24,0.16), transparent 65%),
    radial-gradient(90px 90px at 70% 45%, rgba(255,255,255,0.09), transparent 60%),
    radial-gradient(2px 2px at 25% 52%, rgba(255,210,120,0.65), transparent 60%),
    radial-gradient(2px 2px at 55% 30%, rgba(255,210,120,0.50), transparent 60%),
    radial-gradient(2px 2px at 75% 62%, rgba(255,210,120,0.55), transparent 60%);
  filter: blur(0px);
  opacity: .9;
}

/* Cards */
.card-dark{
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-card{ border-radius: 22px; }

.mini-feature{
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
}
.mini-icon{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(243,178,26,0.14);
  border: 1px solid rgba(243,178,26,0.22);
  color: var(--gold-2);
  flex: 0 0 auto;
}

.service-card{
  transition: transform .15s ease, border-color .15s ease;
}
.service-card:hover{
  transform: translateY(-3px);
  border-color: rgba(243,178,26,0.35);
}
.service-icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,122,24,0.12);
  border: 1px solid rgba(255,122,24,0.22);
  color: var(--gold-2);
  flex: 0 0 auto;
}

/* Callout */
.callout{
  border-radius: 20px;
  background: radial-gradient(600px 220px at 20% 0%, rgba(255,122,24,0.16), transparent 60%),
              rgba(255,255,255,0.05);
  border: 1px solid rgba(243,178,26,0.20);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* Spotlight card */
.spotlight{
  border-radius: 22px;
  background:
    radial-gradient(600px 260px at 10% 10%, rgba(243,178,26,0.22), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(243,178,26,0.18);
}

/* Image placeholders */
.img-placeholder{
  height: 120px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.18);
}
.img-placeholder-lg{ height: 320px; }
.map-placeholder{ height: 220px; }

/* Contact tiles */
.info-tile{
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--soft);
}

.contact-icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(243,178,26,0.12);
  border: 1px solid rgba(243,178,26,0.22);
  color: var(--gold-2);
  flex: 0 0 auto;
}

/* Inputs */
.form-control-dark{
  background: rgba(0,0,0,0.22) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border-radius: 14px !important;
}
.form-control-dark::placeholder{ color: rgba(255,255,255,0.55) !important; }
.form-control-dark:focus{
  box-shadow: 0 0 0 .25rem rgba(243,178,26,0.12) !important;
  border-color: rgba(243,178,26,0.35) !important;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
}

/* Floating WhatsApp */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #1db954;
  color: #07110b;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  z-index: 999;
  transition: transform .15s ease, filter .15s ease;
}
.whatsapp-float:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
}

/* ===============================
   MEDIA QUERIES
================================= */

/* Tablets */
@media (max-width: 991.98px){
  .section-pad{ padding: 60px 0; }
  .hero-section{ padding: 60px 0 45px; }
  .brand-logo{ width: 38px; height: 38px; }
}

/* Phones */
@media (max-width: 575.98px){
  .section-pad{ padding: 52px 0; }
  .hero-section{ padding: 52px 0 40px; }
  .img-placeholder{ height: 105px; border-radius: 16px; }
  .img-placeholder-lg{ height: 260px; }
  .whatsapp-float{ width: 54px; height: 54px; border-radius: 16px; }
}
/* Make sure headings & titles are always visible on dark background */
h1, h2, h3, h4, h5, h6,
.card-title,
.navbar-brand,
.brand-name {
  color: #ffffff !important;
}

.lead, p, .card-text {
  color: rgba(255,255,255,0.78) !important;
}
.section-pad h2{
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-pad h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 999px;
}
/* ===== About Image Styling ===== */
.about-img{
    width: 100%;
    height: 400px;              /* desktop height */
    object-fit: cover;          /* crop nicely */
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
/* ===== Tablets ===== */
@media (max-width: 991.98px){
    .about-img{
        height: 350px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 575.98px){
    .about-img{
        height: 260px;
        border-radius: 15px;
    }
}
.about-img{
    filter: contrast(1.05) saturate(1.05);
}
/* Image grid styling */
.image-box{
  height: 300px;
  overflow: hidden;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
}

.showcase-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Nice hover effect */
.image-box:hover .showcase-img{
  transform: scale(1.08);
}
/* Default for all images: show full (no cropping) */
.showcase-img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* PPE image: fill the box but keep HEAD visible */
#ppe{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* fill box */
  object-position: top center; /* keep head at the top */
  transform: scale(1.02);    /* tiny scale to avoid borders */
}
.about-image-wrapper{
    width: 100%;
    min-height: 320px;
    background: rgba(0,0,0,0.6);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.about-img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;   /* SHOW FULL IMAGE */
}

/* Mobile */
@media (max-width: 575.98px){
    .about-image-wrapper{
        min-height: 240px;
    }
}

/* Mobile */
@media (max-width: 575.98px){
  .image-box{
    height: 300px;
  }
}

.map-wrapper{
  width: 100%;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.map-wrapper iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 575.98px){
  .map-wrapper{ height: 240px; }
}