/* ============================================
   YASIN ARAFAT PORTFOLIO — MAIN STYLESHEET
   Psychology-driven design: trust, authority,
   growth, urgency
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&family=Outfit:wght@300;400;500&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: #fff;
  color: #0a0a0a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ---- VARIABLES ---- */
:root {
  --green:       #1D9E75;
  --green-dark:  #0F6E56;
  --green-light: #E1F5EE;
  --green-mid:   #9FE1CB;
  --black:       #0a0a0a;
  --gray-1:      #111;
  --gray-2:      #222;
  --gray-6:      #666;
  --gray-8:      #888;
  --gray-a:      #aaa;
  --gray-e:      #eee;
  --gray-f:      #f7f7f7;
  --border:      1px solid #eee;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-pill: 100px;
  --shadow:      0 2px 16px rgba(0,0,0,0.06);
  --transition:  0.22s ease;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 600; line-height: 1.2; }

/* ---- CONTAINER ---- */
.ya-container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ============================================
   HEADER & NAV
   ============================================ */
.ya-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid #1a1a1a;
}
.ya-nav {
  display: flex; align-items: center;
  padding-top: 14px; padding-bottom: 14px;
  gap: 32px;
}
.ya-nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 17px; font-weight: 600;
  color: #fff; flex-shrink: 0;
}
.ya-nav-logo img { height: 32px; width: auto; }
.ya-nav-links {
  display: flex; gap: 28px; margin-left: auto;
}
.ya-nav-links a {
  font-size: 13px; color: #888;
  transition: color var(--transition);
}
.ya-nav-links a:hover { color: #fff; }
.ya-nav-cta {
  flex-shrink: 0;
  font-size: 13px; font-weight: 500;
  padding: 8px 20px; border-radius: var(--radius-pill);
  background: var(--green); color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.ya-nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }
.ya-hamburger {
  display: none; background: none; border: none;
  color: #fff; font-size: 22px; cursor: pointer; margin-left: 8px;
}
.ya-mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: #111; border-top: 1px solid #222;
  padding: 8px 0;
}
.ya-mobile-menu a {
  padding: 12px 28px; font-size: 14px; color: #bbb;
  border-bottom: 1px solid #1a1a1a;
}
.ya-mobile-menu a:last-child { border-bottom: none; }
.ya-mobile-cta { color: var(--green) !important; font-weight: 500; }
.ya-mobile-menu.open { display: flex; }

/* ============================================
   HERO SECTION
   ============================================ */
.ya-hero {
  padding: 80px 0 64px;
  background: #fff;
  border-bottom: var(--border);
  overflow: hidden;
}
.ya-hero-inner {
  display: flex; align-items: center;
  gap: 64px;
}
.ya-hero-left { flex: 1; }

/* Badge — scarcity + availability */
.ya-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green-dark);
  font-size: 12px; font-weight: 500; letter-spacing: 0.3px;
  padding: 5px 14px; border-radius: var(--radius-pill);
  margin-bottom: 20px;
  animation: fadeInDown 0.5s ease both;
}
.ya-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero title — authority + clarity */
.ya-hero-title {
  font-size: 48px; font-weight: 700;
  color: var(--black); line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeInUp 0.55s ease 0.1s both;
}
.ya-accent { color: var(--green); }

/* Hero sub */
.ya-hero-sub {
  font-size: 16px; color: var(--gray-6); line-height: 1.75;
  margin-bottom: 28px; max-width: 440px;
  animation: fadeInUp 0.55s ease 0.2s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.ya-hero-btns {
  display: flex; gap: 12px; margin-bottom: 32px;
  animation: fadeInUp 0.55s ease 0.3s both;
}
.ya-btn-primary {
  display: inline-block;
  background: var(--black); color: #fff;
  font-size: 14px; font-weight: 500;
  padding: 12px 26px; border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition);
}
.ya-btn-primary:hover { background: #222; transform: translateY(-2px); }
.ya-btn-secondary {
  display: inline-block;
  background: transparent; color: var(--black);
  font-size: 14px;
  padding: 12px 26px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-e);
  transition: border-color var(--transition), transform var(--transition);
}
.ya-btn-secondary:hover { border-color: #bbb; transform: translateY(-2px); }

/* Social proof — trust via numbers */
.ya-social-proof {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--gray-f);
  border-radius: var(--radius-sm); border: var(--border);
  animation: fadeInUp 0.55s ease 0.4s both;
}
.ya-avatars { display: flex; }
.ya-av {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  border: 2px solid #fff; margin-left: -7px;
}
.ya-av:first-child { margin-left: 0; }
.ya-sp-text { font-size: 12px; color: var(--gray-6); }
.ya-sp-text strong { color: var(--black); }

/* Hero photo / initials */
.ya-hero-right {
  flex-shrink: 0;
  animation: fadeIn 0.7s ease 0.2s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.ya-initials-circle {
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 52px; font-weight: 700; color: var(--green-dark);
  border: 4px solid var(--green);
  position: relative;
}
.ya-photo-img {
  width: 220px; height: 220px; border-radius: 50%;
  object-fit: cover; border: 4px solid var(--green);
}
.ya-online-dot {
  position: absolute; bottom: 10px; right: 10px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); border: 3px solid #fff;
}

/* ============================================
   STATS BAR — reciprocity, authority
   ============================================ */
.ya-stats {
  background: var(--gray-f);
  border-bottom: var(--border);
}
.ya-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--gray-e);
}
.ya-stat-item {
  padding: 20px 24px; text-align: center;
  border-right: var(--border);
}
.ya-stat-item:last-child { border-right: none; }
.ya-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--black);
}
.ya-stat-num span { color: var(--green); }
.ya-stat-label { font-size: 12px; color: var(--gray-8); margin-top: 4px; }

/* ============================================
   CLIENTS LOGOS BAR
   ============================================ */
.ya-clients {
  background: #fff; border-bottom: var(--border);
  padding: 14px 0;
}
.ya-clients-inner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.ya-clients-label { font-size: 12px; color: var(--gray-a); white-space: nowrap; margin-right: 4px; }
.ya-client-pill {
  font-size: 12px; font-weight: 500; color: #555;
  padding: 5px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--gray-e); background: var(--gray-f);
  transition: border-color var(--transition);
}
.ya-client-pill:hover { border-color: #bbb; }

/* ============================================
   SERVICES SECTION
   ============================================ */
.ya-services { padding: 72px 0; background: #fff; }
.ya-section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 8px;
}
.ya-section-title {
  font-size: 32px; font-weight: 700;
  color: var(--black); margin-bottom: 8px;
}
.ya-section-sub { font-size: 14px; color: var(--gray-6); margin-bottom: 36px; }
.ya-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.ya-svc-card {
  background: #fff; border: 1px solid var(--gray-e);
  border-radius: var(--radius); padding: 24px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.ya-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green-mid);
}
.ya-svc-accent {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--green); border-radius: 2px 2px 0 0;
}
.ya-svc-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--green-dark); font-size: 20px;
}
.ya-svc-title { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 6px; }
.ya-svc-desc { font-size: 13px; color: var(--gray-6); line-height: 1.6; }

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.ya-portfolio { padding: 72px 0; background: var(--gray-f); }
.ya-portfolio-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.ya-p-card {
  background: #fff; border: 1px solid var(--gray-e);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ya-p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ya-p-img {
  height: 120px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: #555;
  border-bottom: 1px solid var(--gray-e);
}
.ya-p-body { padding: 16px; }
.ya-p-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: var(--black); color: #fff;
  padding: 3px 10px; border-radius: var(--radius-pill);
  margin-bottom: 8px; letter-spacing: 0.3px;
}
.ya-p-name { font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.ya-p-result { font-size: 13px; color: var(--green); font-weight: 500; }

/* ============================================
   TESTIMONIALS — liking + social proof
   ============================================ */
.ya-testimonials { padding: 72px 0; background: var(--black); }
.ya-label-light { color: var(--green) !important; }
.ya-title-light { color: #fff !important; margin-bottom: 36px; }
.ya-test-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.ya-t-card {
  background: #111; border: 1px solid #222;
  border-radius: var(--radius); padding: 24px;
  transition: border-color var(--transition);
}
.ya-t-card:hover { border-color: #333; }
.ya-t-stars { color: #EF9F27; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.ya-t-text { font-size: 13px; color: #bbb; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.ya-t-author-row { display: flex; align-items: center; gap: 12px; }
.ya-t-av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.ya-t-author { font-size: 13px; font-weight: 600; color: #fff; }
.ya-t-role { font-size: 12px; color: #666; margin-top: 2px; }

/* ============================================
   CTA SECTION — urgency + loss aversion
   ============================================ */
.ya-cta { background: var(--green); padding: 72px 0; text-align: center; }
.ya-cta-inner { max-width: 600px; margin: 0 auto; }
.ya-cta-title {
  font-size: 36px; font-weight: 700; color: #fff;
  margin-bottom: 10px;
}
.ya-cta-sub { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.ya-cta-btn {
  display: inline-block;
  background: #fff; color: var(--green-dark);
  font-size: 15px; font-weight: 600;
  padding: 14px 36px; border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ya-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.ya-cta-note { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 12px; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.ya-contact { padding: 72px 0; background: #fff; border-top: var(--border); }
.ya-contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ya-contact-links { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.ya-contact-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--gray-6);
  transition: color var(--transition);
}
.ya-contact-link i { font-size: 18px; color: var(--green); }
.ya-contact-link:hover { color: var(--black); }
.ya-location { cursor: default; }

/* CF7 form styling */
.ya-contact-right .wpcf7 input,
.ya-contact-right .wpcf7 textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-e); border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif; font-size: 14px;
  transition: border-color var(--transition);
  margin-bottom: 12px; background: var(--gray-f);
}
.ya-contact-right .wpcf7 input:focus,
.ya-contact-right .wpcf7 textarea:focus {
  outline: none; border-color: var(--green); background: #fff;
}
.ya-contact-right .wpcf7 textarea { height: 120px; resize: vertical; }
.ya-contact-right .wpcf7 input[type="submit"] {
  background: var(--black); color: #fff; cursor: pointer; font-weight: 500;
  border-radius: var(--radius-pill); border: none;
  transition: background var(--transition);
}
.ya-contact-right .wpcf7 input[type="submit"]:hover { background: #222; }

/* ============================================
   FOOTER
   ============================================ */
.ya-footer { background: var(--black); padding: 28px 0 0; }
.ya-footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; border-bottom: 1px solid #1a1a1a;
}
.ya-footer-logo { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 600; color: #fff; }
.ya-footer-text { font-size: 12px; color: #555; }
.ya-footer-links { display: flex; gap: 20px; }
.ya-footer-links a { font-size: 12px; color: #555; transition: color var(--transition); }
.ya-footer-links a:hover { color: #fff; }
.ya-footer-copy {
  padding: 14px 0;
  font-size: 11px; color: #333; text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .ya-hero-title { font-size: 36px; }
  .ya-hero-inner { flex-direction: column; gap: 40px; text-align: center; }
  .ya-hero-left { order: 2; }
  .ya-hero-right { order: 1; }
  .ya-hero-btns { justify-content: center; }
  .ya-social-proof { justify-content: center; }
  .ya-hero-sub { margin: 0 auto 28px; }
  .ya-services-grid { grid-template-columns: repeat(2, 1fr); }
  .ya-test-grid { grid-template-columns: repeat(2, 1fr); }
  .ya-contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .ya-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ya-footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 600px) {
  .ya-nav-links { display: none; }
  .ya-hamburger { display: block; }
  .ya-hero-title { font-size: 28px; }
  .ya-services-grid { grid-template-columns: 1fr; }
  .ya-portfolio-grid { grid-template-columns: 1fr; }
  .ya-test-grid { grid-template-columns: 1fr; }
  .ya-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ya-cta-title { font-size: 26px; }
  .ya-section-title { font-size: 24px; }
  .ya-initials-circle, .ya-photo-img { width: 150px; height: 150px; }
}

/* Hero subtitle (Your Title field) */
.ya-hero-subtitle {
  font-size: 13px; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gray-8);
  margin-bottom: 12px;
}

/* Hero subtitle */
.ya-hero-subtitle {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gray-8); margin-bottom: 10px;
}
/* Avatar image in social proof */
.ya-av-img {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; border: 2px solid #fff; margin-left: -7px;
}
.ya-av-img:first-child { margin-left: 0; }
/* Testimonial avatar image */
.ya-t-av-img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
