/*
Theme Name: Luqman Asif Portfolio
Theme URI: https://luqmanasif.online
Author: Muhammad Luqman Asif
Description: Personal portfolio & IT services theme for Muhammad Luqman Asif — QA Engineer, Mobile App Developer, and IT solutions provider (Web, Mobile, QA, Odoo ERP, SaaS).
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: luqmanasif
*/

:root{
  --purple:#5B21B6;
  --purple-dark:#3E1780;
  --violet:#8B5CF6;
  --white:#FFFFFF;
  --paper:#FAF9FC;
  --ink:#1E1B29;
  --muted:#63586F;
  --line:#E9E3F5;
  --max:1160px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:'Poppins', sans-serif;
  font-weight:600;
  line-height:1.2;
  color:var(--purple-dark);
}
a{text-decoration:none; color:inherit;}
ul{list-style:none;}
img{display:block; max-width:100%; border-radius:14px;}
.wrap{max-width:var(--max); margin:0 auto; padding:0 24px;}
.section{padding:88px 0;}
.section-tight{padding:60px 0;}
.section-alt{background:var(--white);}
.eyebrow{font-size:13px; font-weight:600; color:var(--violet); letter-spacing:.04em; text-transform:uppercase;}
.section-head{max-width:600px; margin-bottom:44px;}
.section-head h2{font-size:clamp(26px,3.2vw,36px); margin-top:10px; margin-bottom:12px;}
.section-head p.desc{color:var(--muted); font-size:16px;}
.center{text-align:center; margin-left:auto; margin-right:auto;}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:10px; font-weight:600; font-size:15px;
  cursor:pointer; border:1px solid transparent; transition:all .25s ease;
}
.btn-primary{background:var(--purple); color:#fff; box-shadow:0 10px 22px -10px rgba(91,33,182,.55);}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 26px -10px rgba(91,33,182,.6);}
.btn-outline{background:transparent; border-color:var(--purple); color:var(--purple);}
.btn-outline:hover{background:var(--purple); color:#fff;}
.btn-light{background:#fff; color:var(--purple-dark);}

/* ===== HEADER ===== */
header.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(250,249,252,.9); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; height:76px;}
.brand{display:flex; align-items:center; gap:12px;}
.brand-mark{
  width:42px; height:42px; border-radius:11px; background:linear-gradient(135deg,var(--purple),var(--violet));
  color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Poppins'; font-weight:700; font-size:15px;
}
.brand-name{font-family:'Poppins'; font-weight:700; font-size:18px; color:var(--purple-dark); line-height:1.1;}
.brand-sub{font-size:11px; color:var(--muted);}
nav.primary-menu ul{display:flex; gap:30px;}
nav.primary-menu a{font-size:14.5px; font-weight:500; color:var(--ink); position:relative; padding:4px 0;}
nav.primary-menu a::after{content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--violet); transition:width .25s ease;}
nav.primary-menu a:hover::after{width:100%;}
.header-cta{display:flex; align-items:center; gap:16px;}
.hamburger{display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer;}
.hamburger span{width:24px; height:2px; background:var(--purple-dark); border-radius:2px;}
.mobile-menu{display:none; flex-direction:column; background:#fff; border-bottom:1px solid var(--line); padding:8px 24px 18px;}
.mobile-menu.open{display:flex;}
.mobile-menu a{padding:12px 0; border-bottom:1px solid var(--line); font-weight:500;}

/* ===== HERO ===== */
.hero{padding:80px 0 90px; background:radial-gradient(700px 380px at 85% -10%, rgba(139,92,246,.10), transparent 60%);}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:50px; align-items:center;}
.hero h1{font-size:clamp(32px,4.4vw,50px);}
.hero h1 .accent{color:var(--violet);}
.hero p.lead{margin-top:18px; font-size:17.5px; color:var(--muted); max-width:500px;}
.hero-actions{display:flex; gap:14px; margin-top:30px; flex-wrap:wrap;}
.hero-badges{display:flex; gap:26px; margin-top:44px; flex-wrap:wrap;}
.hero-badges .b b{font-family:'Poppins'; font-size:22px; display:block; color:var(--purple-dark);}
.hero-badges .b span{font-size:13px; color:var(--muted);}
.hero-visual{
  position:relative; border-radius:22px; overflow:hidden; height:420px;
  background:linear-gradient(150deg,var(--purple),var(--purple-dark));
  display:flex; align-items:center; justify-content:center;
}
.hero-visual svg{width:56%; height:56%; opacity:.9;}
.hero-visual .badge-float{
  position:absolute; left:20px; bottom:20px; background:rgba(255,255,255,.12); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.25); color:#fff; padding:10px 16px; border-radius:12px; font-size:13px; display:flex; gap:10px; align-items:center;
}
.badge-float .dot{width:8px; height:8px; border-radius:50%; background:var(--violet);}

/* ===== CARD GRIDS ===== */
.grid{display:grid; gap:22px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.card{
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:30px 26px;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover{transform:translateY(-4px); box-shadow:0 18px 32px -18px rgba(91,33,182,.22); border-color:#D9CCF3;}
.card .icon{
  width:46px; height:46px; border-radius:12px; background:var(--paper); color:var(--purple);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.card h3{font-size:18px; margin-bottom:8px;}
.card p{font-size:14.5px; color:var(--muted);}
.card .tag{display:inline-block; margin-top:14px; font-size:12px; font-weight:600; color:var(--purple-dark); background:var(--paper); padding:5px 10px; border-radius:100px;}

/* ===== ABOUT ===== */
.about-grid{display:grid; grid-template-columns:.8fr 1.2fr; gap:52px; align-items:center;}
.about-photo{border-radius:20px; overflow:hidden; height:400px; border:1px solid var(--line);}
.about-photo img{width:100%; height:100%; object-fit:cover; border-radius:0;}
.about-credentials{display:flex; gap:10px; flex-wrap:wrap; margin-top:20px;}
.about-credentials span{background:var(--paper); border:1px solid var(--line); color:var(--purple-dark); font-size:13px; font-weight:600; padding:7px 14px; border-radius:100px;}

/* ===== SKILLS ===== */
.skills-wrap{display:flex; flex-wrap:wrap; gap:10px;}
.skills-wrap span{background:#fff; border:1px solid var(--line); color:var(--ink); font-size:13.5px; font-weight:500; padding:9px 16px; border-radius:100px;}
.skills-wrap span:hover{border-color:var(--violet); color:var(--purple-dark);}

/* ===== EXPERIENCE TIMELINE ===== */
.timeline{max-width:820px; margin:0 auto; position:relative; padding-left:32px;}
.timeline::before{content:''; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:var(--line);}
.tl-item{position:relative; padding-bottom:40px;}
.tl-item:last-child{padding-bottom:0;}
.tl-item::before{content:''; position:absolute; left:-32px; top:4px; width:14px; height:14px; border-radius:50%; background:var(--violet); border:3px solid #fff; box-shadow:0 0 0 2px var(--violet);}
.tl-item .tl-date{font-size:13px; font-weight:600; color:var(--violet); margin-bottom:6px;}
.tl-item h3{font-size:18px; margin-bottom:2px;}
.tl-item .tl-company{font-size:14px; color:var(--muted); margin-bottom:10px;}
.tl-item ul{margin-top:8px;}
.tl-item li{font-size:14.5px; color:var(--muted); margin-bottom:6px; padding-left:16px; position:relative;}
.tl-item li::before{content:'—'; position:absolute; left:0; color:var(--violet);}

/* ===== CERTIFICATIONS ===== */
.cert-grid{grid-template-columns:repeat(2,1fr);}
.cert-card{display:flex; gap:16px; align-items:flex-start;}
.cert-card .icon{flex-shrink:0; margin-bottom:0;}
.cert-card .cert-meta{font-size:12.5px; color:var(--violet); font-weight:600; margin-top:4px;}

/* ===== SERVICES ===== */
/* reuses .card / .grid-3 */

/* ===== EDUCATION ===== */
.edu-card{display:flex; gap:20px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:16px; padding:28px;}
.edu-card .icon{flex-shrink:0; margin-bottom:0;}

/* ===== CONTACT ===== */
.contact-section{background:linear-gradient(150deg,var(--purple),var(--purple-dark)); border-radius:26px; color:#fff; overflow:hidden;}
.contact-inner{padding:64px 48px; display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center;}
.contact-inner h2{color:#fff;}
.contact-inner p{color:#E4D9FA; margin-top:12px; font-size:16px;}
.contact-points{margin-top:26px; display:flex; flex-direction:column; gap:14px;}
.contact-points .row{display:flex; gap:12px; align-items:center; font-size:14.5px; color:#F1E9FE;}
.contact-points .icon{background:rgba(255,255,255,.12); color:#fff; margin-bottom:0;}
.contact-form{background:#fff; border-radius:18px; padding:32px; color:var(--ink);}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px;}
.form-field{display:flex; flex-direction:column; gap:6px;}
.form-field.full{grid-column:1/-1;}
.form-field label{font-size:13px; font-weight:600; color:var(--purple-dark);}
.form-field input, .form-field select, .form-field textarea{
  border:1px solid var(--line); border-radius:9px; padding:11px 13px; font-family:inherit; font-size:14.5px; background:var(--paper); outline:none; transition:border-color .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{border-color:var(--purple);}
.form-note{font-size:12.5px; color:var(--muted); margin-top:10px;}
.form-success{background:#EDE7FB; border:1px solid #C9B8F0; color:#3E1780; padding:14px 16px; border-radius:10px; font-size:14px; margin-bottom:16px;}
.form-error{background:#FDECEA; border:1px solid #F3B3AC; color:#93281F; padding:14px 16px; border-radius:10px; font-size:14px; margin-bottom:16px;}

/* ===== FOOTER ===== */
footer.site-footer{background:var(--purple-dark); color:#D9CCF3; padding:64px 0 26px; margin-top:90px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.12);}
.footer-grid h4{color:#fff; font-size:14px; margin-bottom:16px;}
.footer-grid li{margin-bottom:10px; font-size:14px;}
.footer-grid a:hover{color:#fff;}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:22px; font-size:13px; color:#B29ADC; flex-wrap:wrap; gap:12px;}
.social{display:flex; gap:10px;}
.social a{width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center;}

/* ===== UTILITIES ===== */
.reveal{opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:none;}
.page-hero{padding:60px 0 20px;}
.entry-content{max-width:760px; margin:0 auto;}
.entry-content p{margin-bottom:18px; font-size:16.5px;}

/* ===== RESPONSIVE ===== */
@media (max-width:1024px){
  .grid-3, .grid-4, .cert-grid{grid-template-columns:repeat(2,1fr);}
  .hero-grid, .about-grid, .contact-inner{grid-template-columns:1fr;}
  .hero-visual{height:300px; order:-1;}
}
@media (max-width:720px){
  nav.primary-menu{display:none;}
  .hamburger{display:flex;}
  .header-cta .btn-primary{display:none;}
  .grid-2, .grid-3, .grid-4, .cert-grid{grid-template-columns:1fr;}
  .section{padding:60px 0;}
  .form-row{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .contact-inner{padding:44px 24px;}
  .timeline{padding-left:26px;}
}
