/* ================================
   FOOTPRINT EVOLUTION - MAIN CSS
   File: public_html/assets/css/style.css
================================== */

:root{
  --bg:#07070b;
  --card:#0f0f18;
  --text:#f2f2ff;
  --muted:#b9b9d6;
  --primary:#7c3aed;
  --primary2:#a855f7;
  --border:rgba(255,255,255,0.08);
}

/* ✅ Base */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:system-ui, Segoe UI, Arial;
}

html, body{
  width:100%;
  overflow-x:hidden;
}

body{
  background:var(--bg);
  color:var(--text);
}

a{
  text-decoration:none;
}

/* ✅ Container */
.container{
  max-width:1200px;
  margin:auto;
  padding:0 15px;
}

/* ================================
   ✅ NAVBAR (PUBLIC)
================================== */

.navbar{
  background:rgba(0,0,0,0.6);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(10px);
}

.navbar .navbar-brand{
  font-weight:800;
  color:var(--text) !important;
}

.navbar .nav-link{
  color:var(--muted)!important;
  font-weight:600;
}

.navbar .nav-link:hover{
  color:var(--text)!important;
}

/* ================================
   ✅ HERO SECTION
================================== */

.hero{
  padding:90px 0 40px;
  background:
    radial-gradient(circle at 80% 20%, rgba(124,58,237,0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(168,85,247,0.25), transparent 45%);
  border-bottom:1px solid var(--border);
}

.hero h1{
  font-size:44px;
  line-height:1.1;
  font-weight:800;
}

.hero p{
  color:var(--muted);
  margin-top:12px;
  max-width:640px;
}

/* ================================
   ✅ BUTTONS
================================== */

.btn-primary{
  background:linear-gradient(90deg,var(--primary),var(--primary2));
  border:none;
  padding:12px 18px;
  border-radius:12px;
  font-weight:700;
}

.btn-primary:hover{
  opacity:0.92;
}

/* ✅ Hero buttons scroll on small screens */
.hero-actions{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  overflow-x:auto;
  gap:12px;
  padding-bottom:5px;
}

.hero-actions::-webkit-scrollbar{
  height:4px;
}

.hero-actions::-webkit-scrollbar-thumb{
  background: rgba(168,85,247,0.35);
  border-radius:10px;
}

.hero-actions a{
  white-space:nowrap;
  flex:0 0 auto;
}

/* ✅ Mobile hero */
@media (max-width: 576px){
  .hero{
    padding:55px 0 25px;
  }

  .hero h1{
    font-size:34px;
    line-height:1.15;
  }

  .hero p{
    font-size:15px;
    line-height:1.6;
  }

  .hero-actions a{
    padding:10px 14px;
    font-size:14px;
    border-radius:12px;
  }
}

@media (max-width: 420px){
  .hero-actions a{
    padding:9px 10px;
    font-size:13px;
  }
}

/* ================================
   ✅ SECTIONS
================================== */

.section{
  padding:60px 0;
}

.section-title{
  font-size:28px;
  font-weight:800;
  margin-bottom:10px;
}

.section-sub{
  color:var(--muted);
  margin-bottom:25px;
}

/* ================================
   ✅ DARK CARDS
================================== */

.card-dark{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  height:100%;
  transition:0.2s ease-in-out;
}

.card-dark h5{
  margin-top:10px;
  font-weight:800;
}

.card-dark p{
  color:var(--muted);
  font-size:14px;
  margin-top:6px;
}

.card-dark:hover{
  transform: translateY(-3px);
  border:1px solid rgba(168,85,247,0.35);
}

/* ================================
   ✅ PUBLIC GALLERY & PROJECTS
   FIX CUT-OFF IMAGES COMPLETELY
================================== */

/* ✅ Gallery / projects grid auto adjust */
.fe-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:18px;
}

/* ✅ Each card (gallery/project) */
.fe-media-card{
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  padding:14px;
  transition:0.2s ease-in-out;
}

.fe-media-card:hover{
  transform: translateY(-3px);
  border-color: rgba(168,85,247,0.30);
}

/* ✅ Image box */
.fe-media-box{
  width:100%;
  height:260px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.08);
  background:#0a0a12; /* ✅ this becomes the black border around the image */
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ✅ Image auto adjust (NO CUTTING) */
.fe-media-box img{
  width:100%;
  height:100%;
  object-fit:contain; /* ✅ FULL IMAGE ALWAYS */
  display:block;
}

/* ✅ title */
.fe-media-title{
  margin-top:12px;
  font-weight:800;
  text-align:center;
  color:white;
  font-size:15px;
}

/* ================================
   ✅ ADMIN UI FIX SUPPORT
   (so admin top links won’t disappear)
================================== */

/* ✅ Prevent bootstrap forms from looking broken */
input, select, textarea{
  outline:none;
}

/* ✅ Admin link bar (Dashboard Services Projects...) */
.admin-top-links,
.admin-top-links a{
  color:var(--muted) !important;
  font-weight:600;
}

.admin-top-links a:hover{
  color:var(--text) !important;
}

/* ✅ Admin tables / cards can still use this */
.admin-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
}

/* ================================
   ✅ FOOTER
================================== */

.footer{
  border-top:1px solid var(--border);
  padding:30px 0;
  color:var(--muted);
}

.footer a{
  color:var(--muted) !important;
  transition:0.2s ease-in-out;
}

.footer a:hover{
  color:#ffffff !important;
}

.footer i{
  transition:0.2s ease-in-out;
}

.footer a:hover i{
  transform: translateY(-2px);
}

/* ================================
   ✅ WhatsApp Floating Button
================================== */

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  background:linear-gradient(90deg,var(--primary),var(--primary2));
  color:white;
  padding:12px 16px;
  border-radius:999px;
  font-weight:800;
  z-index:9999;
  transition:0.2s ease-in-out;
}

.whatsapp-float:hover{
  opacity:0.9;
  transform: translateY(-2px);
}

@media (max-width: 576px){
  .whatsapp-float{
    padding:10px 12px;
    font-size:14px;
    right:12px;
    bottom:12px;
  }
}
