/*
Theme Name: Make A Resume
Theme URI: https://makearesume.ae
Author: Make A Resume
Author URI: https://makearesume.ae
Description: Professional resume writing & LinkedIn optimisation service theme. Includes hero, services, packages, how-it-works, testimonials, FAQ and contact sections. ATS-focused design built for UAE job market.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: make-a-resume
Tags: business, portfolio, custom-colors, custom-logo, full-width-template, one-page
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
========================================================= */
:root {
  --ink:          #0f0f14;
  --ink-soft:     #3a3a4a;
  --ink-light:    #6b7280;
  --paper:        #fafafc;
  --surface:      #ffffff;
  --accent:       #2563eb;
  --accent-dark:  #1d4ed8;
  --accent-light: #dbeafe;
  --gold:         #f59e0b;
  --gold-light:   #fef3c7;
  --green:        #10b981;
  --green-light:  #d1fae5;
  --border:       #e2e8f0;
  --border-med:   #cbd5e1;
  --nav-h:        70px;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.1);
  --shadow-xl:    0 20px 60px rgba(0,0,0,.12);
  --max-w:        1200px;
  --section-pad:  90px 5%;
}

/* =========================================================
   RESET & BASE
========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =========================================================
   TYPOGRAPHY SCALE
========================================================= */
h1, h2, h3, h4, h5 {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }

/* =========================================================
   UTILITY CLASSES
========================================================= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5%; }
.section-pad { padding: var(--section-pad); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent-light); color: var(--accent);
  padding: .3rem 1rem; border-radius: 100px;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.section-intro { max-width: 560px; }
.section-intro.center { margin: 0 auto; text-align: center; }
.section-intro p { margin-top: .8rem; }

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: var(--radius-md);
  font-weight: 600; font-size: .95rem; transition: all .22s;
  line-height: 1;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.28);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,99,235,.35); }
.btn-outline {
  border: 2px solid var(--border-med); color: var(--ink);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: #fff; color: var(--accent); font-weight: 700; }
.btn-white:hover { background: var(--accent-light); }
.btn-gold { background: var(--gold); color: #1a1000; font-weight: 700; }
.btn-gold:hover { opacity: .88; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }

/* =========================================================
   NAVIGATION
========================================================= */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.07); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 5%;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.25rem; color: var(--ink);
  display: flex; align-items: center; gap: .5rem;
}
.site-logo .logo-icon {
  width: 34px; height: 34px; background: var(--accent);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center;
}
.site-logo .logo-icon svg { width: 18px; height: 18px; }
.site-logo span.accent { color: var(--accent); }

#primary-nav ul {
  display: flex; gap: 2rem; align-items: center;
}
#primary-nav a {
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s; position: relative;
}
#primary-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transition: transform .2s;
}
#primary-nav a:hover { color: var(--accent); }
#primary-nav a:hover::after { transform: scaleX(1); }

.nav-cta-wrap { display: flex; align-items: center; gap: 1rem; }
.nav-whatsapp {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--green);
}
.nav-whatsapp svg { width: 16px; height: 16px; fill: var(--green); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 30px; padding: 4px 0;
}
.hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* Mobile nav */
#mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  z-index: 999; padding: 2rem 5%;
  flex-direction: column; gap: 1.5rem;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-size: 1.3rem; font-weight: 700;
  color: var(--ink); border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

/* =========================================================
   HERO
========================================================= */
#hero {
  margin-top: var(--nav-h);
  padding: 100px 5% 80px;
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.hero-content h1 { margin-bottom: 1.4rem; }
.hero-content h1 .hl { color: var(--accent); display: block; }
.hero-content > p { font-size: 1.08rem; margin-bottom: 2rem; max-width: 500px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat-item strong { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--ink); display: block; }
.stat-item span { font-size: .82rem; color: var(--ink-light); }

/* Resume visual mockup */
.hero-visual {
  background: var(--surface); border-radius: var(--radius-xl);
  border: 1px solid var(--border); padding: 2rem;
  box-shadow: var(--shadow-xl); position: relative;
}
.ats-badge {
  position: absolute; top: -16px; right: 24px;
  background: var(--green); color: white;
  font-size: .72rem; font-weight: 700; padding: .35rem 1rem;
  border-radius: 100px; letter-spacing: .05em;
  box-shadow: 0 4px 12px rgba(16,185,129,.3);
}
.resume-header-mock { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.avatar-mock {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  flex-shrink: 0;
}
.resume-name-mock { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: .15rem; }
.resume-title-mock { font-size: .8rem; color: var(--ink-light); }
.mock-bar { height: 8px; border-radius: 100px; background: var(--border); margin-bottom: .65rem; }
.mock-bar.filled { background: linear-gradient(90deg, var(--accent), #7c3aed); }
.mock-bar.w90 { width: 90%; }.mock-bar.w70 { width: 70%; }.mock-bar.w55 { width: 55%; }
.mock-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; margin: 1.2rem 0 .6rem; }
.mock-line { height: 6px; border-radius: 100px; background: var(--border); margin-bottom: .5rem; }
.mock-line.w95 { width: 95%; }.mock-line.w75 { width: 75%; }.mock-line.w60 { width: 60%; }
.mock-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.mock-tag {
  font-size: .7rem; font-weight: 600; padding: .25rem .65rem;
  border-radius: 100px; background: var(--accent-light); color: var(--accent);
}
.mock-tag.green { background: var(--green-light); color: #065f46; }

/* Trust strip */
.trust-strip {
  text-align: center; padding: 0 5% 60px; max-width: var(--max-w); margin: 0 auto;
}
.trust-strip p { font-size: .8rem; color: var(--ink-light); margin-bottom: 1rem; }
.trust-logos { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; align-items: center; }
.trust-logo { font-size: .78rem; font-weight: 700; color: #b0b8c8; letter-spacing: .06em; }

/* =========================================================
   SERVICES SECTION
========================================================= */
#services { padding: var(--section-pad); max-width: var(--max-w); margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.service-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: .6rem; font-size: 1.05rem; }
.service-card p { font-size: .88rem; line-height: 1.7; }

/* =========================================================
   PACKAGES SECTION
========================================================= */
#packages {
  background: var(--ink); border-radius: var(--radius-xl);
  max-width: var(--max-w); margin: 0 auto 0;
  padding: 70px 5%;
}
#packages .eyebrow { background: rgba(245,158,11,.15); color: var(--gold); }
#packages h2 { color: #fff; }
#packages > .container > .section-intro p { color: #94a3b8; }
.packages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.pkg-card {
  background: #1a1a2e; border: 1px solid #2a2a3d;
  border-radius: var(--radius-lg); padding: 2.2rem;
  position: relative; transition: border-color .22s, transform .22s;
  display: flex; flex-direction: column;
}
.pkg-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.pkg-card.popular { border-color: var(--gold); background: #1d1a0e; }
.pkg-card.popular:hover { border-color: #fbbf24; }
.pkg-popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #1a1000; font-size: .7rem; font-weight: 800;
  padding: .28rem .9rem; border-radius: 100px; letter-spacing: .08em; white-space: nowrap;
}
.pkg-tier { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4a5568; margin-bottom: .6rem; }
.pkg-card.popular .pkg-tier { color: var(--gold); }
.pkg-price { font-family: 'Syne', sans-serif; font-size: 2.6rem; font-weight: 800; color: #fff; margin-bottom: .25rem; line-height: 1; }
.pkg-price sup { font-size: 1.1rem; vertical-align: super; }
.pkg-price small { font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 400; color: #64748b; }
.pkg-card.popular .pkg-price { color: var(--gold); }
.pkg-tagline { font-size: .85rem; color: #94a3b8; margin: .5rem 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #2a2a3d; }
.pkg-features { flex: 1; margin-bottom: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.pkg-features li { font-size: .875rem; color: #cbd5e1; display: flex; align-items: flex-start; gap: .65rem; line-height: 1.5; }
.pkg-features li .check { color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: .05rem; }
.pkg-features li.off { color: #2d2d4a; }
.pkg-features li.off .check { color: #2d2d4a; }

/* =========================================================
   HOW IT WORKS
========================================================= */
#how { padding: var(--section-pad); max-width: var(--max-w); margin: 0 auto; }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-top: 3.5rem; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute;
  top: 26px; left: calc(12.5% + 26px); right: calc(12.5% + 26px);
  height: 2px; background: var(--border);
  display: none;
}
@media (min-width: 900px) { .steps-grid::before { display: block; } }
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem; position: relative; z-index: 1;
}
.step h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.step p { font-size: .88rem; }

/* =========================================================
   TESTIMONIALS
========================================================= */
#testimonials {
  background: #f8fafc; border-radius: var(--radius-xl);
  max-width: var(--max-w); margin: 0 auto;
  padding: 70px 5%;
}
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: box-shadow .22s;
}
.testi-card:hover { box-shadow: var(--shadow-md); }
.testi-stars { color: var(--gold); font-size: 1rem; margin-bottom: .9rem; letter-spacing: .05em; }
.testi-text {
  font-size: .9rem; color: var(--ink-soft); line-height: 1.75;
  font-style: italic; margin-bottom: 1.4rem;
}
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: #fff; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .9rem; }
.testi-role { font-size: .78rem; color: var(--ink-light); }

/* =========================================================
   FAQ
========================================================= */
#faq { padding: var(--section-pad); max-width: 820px; margin: 0 auto; }
.faq-list { margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; text-align: left; font-weight: 600; font-size: 1rem;
  color: var(--ink); cursor: pointer; transition: color .2s; gap: 1rem;
}
.faq-question:hover { color: var(--accent); }
.faq-icon { font-size: 1.4rem; flex-shrink: 0; transition: transform .3s; color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { font-size: .9rem; color: var(--ink-soft); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.2rem; }

/* =========================================================
   CONTACT / CTA
========================================================= */
#contact {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  border-radius: var(--radius-xl); text-align: center;
  padding: 80px 5%; margin: 0 5% 80px;
}
#contact h2 { color: #fff; margin-bottom: 1rem; }
#contact p { color: rgba(255,255,255,.82); max-width: 500px; margin: 0 auto 2.5rem; }
.contact-form-wrap {
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg);
  padding: 2.5rem; max-width: 560px; margin: 0 auto 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); }
.form-group input, .form-group select, .form-group textarea {
  padding: .75rem 1rem; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12);
  color: #fff; font-size: .9rem; transition: border-color .2s;
  width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.5); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.18);
}
.form-group select option { background: var(--ink); color: #fff; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; padding: .95rem; border-radius: var(--radius-md); background: #fff; color: var(--accent); font-weight: 700; font-size: 1rem; cursor: pointer; transition: all .22s; border: none; }
.form-submit:hover { background: var(--accent-light); transform: translateY(-1px); }
.contact-alts { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 1rem; }
.contact-alt-link { color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 500; display: flex; align-items: center; gap: .4rem; }
.contact-alt-link:hover { color: #fff; }

/* =========================================================
   FOOTER
========================================================= */
#site-footer {
  border-top: 1px solid var(--border); padding: 50px 5% 30px;
  max-width: var(--max-w); margin: 0 auto;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: .88rem; margin: 1rem 0 1.5rem; max-width: 300px; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); display: flex; align-items: center;
  justify-content: center; font-size: .85rem; color: var(--ink-soft);
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h4 { font-size: .85rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .85rem; color: var(--ink-light); transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .82rem; color: var(--ink-light); }
.footer-badges { display: flex; gap: .5rem; }
.footer-badge {
  font-size: .7rem; font-weight: 700; padding: .25rem .65rem;
  border-radius: 100px; background: var(--green-light); color: #065f46;
  letter-spacing: .04em;
}

/* =========================================================
   WORDPRESS-SPECIFIC
========================================================= */
.wp-block-image img { border-radius: var(--radius-md); }
.aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad: 60px 5%; }
  #hero { grid-template-columns: 1fr; gap: 2.5rem; padding: 60px 5% 40px; }
  .hero-visual { display: none; }
  #primary-nav, .nav-cta-wrap .btn { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  #contact { margin: 0 0 60px; border-radius: 0; }
}
@media (max-width: 480px) {
  .packages-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
}
