/*
Theme Name: Farhan Abdue Portfolio
Theme URI: https://farhanabdue.com
Author: Tuan Farhan Abdue
Author URI: https://farhanabdue.com
Description: A professional personal portfolio & landing page theme for Tuan Farhan Abdue — Digital Marketing Strategist & AI Marketing Professional.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farhan-theme
Tags: portfolio, one-page, dark, professional, marketing
*/

/* ── CSS Variables ── */
:root {
  --navy: #0a1628;
  --navy-mid: #132040;
  --blue: #1a3a6e;
  --accent: #c8a96e;
  --accent-light: #e8cfa0;
  --white: #f8f5f0;
  --off-white: #ede9e2;
  --gray: #8a8580;
  --text: #2c2a26;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── NAV ── */
.fa-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,169,110,0.15);
}
.fa-nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.fa-nav__links { display: flex; gap: 2.5rem; }
.fa-nav__links a {
  font-size: 0.82rem; font-weight: 500;
  color: rgba(248,245,240,0.65);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.fa-nav__links a:hover { color: var(--accent); }

/* ── HERO ── */
.fa-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.fa-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(26,58,110,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200,169,110,0.08) 0%, transparent 60%);
}
.fa-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.fa-hero__text {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 4rem 6rem 6rem;
}
.fa-hero__eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  opacity: 0; animation: fadeUp 0.7s 0.2s ease forwards;
}
.fa-hero__eyebrow::before {
  content: ''; width: 2.5rem; height: 1px; background: var(--accent);
}
.fa-hero__name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 900; line-height: 1.0;
  color: var(--white);
  margin-bottom: 0.4rem;
  opacity: 0; animation: fadeUp 0.7s 0.4s ease forwards;
}
.fa-hero__name span { color: var(--accent); }
.fa-hero__subtitle {
  font-size: 1.1rem; font-weight: 300;
  color: rgba(248,245,240,0.6);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 2.8rem;
  opacity: 0; animation: fadeUp 0.7s 0.6s ease forwards;
}
.fa-hero__cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.8s ease forwards;
}
.fa-hero__image {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 0;
  opacity: 0; animation: fadeIn 1s 0.5s ease forwards;
}
.fa-photo-frame {
  position: relative;
  width: 420px; max-width: 100%;
  align-self: flex-end;
}
.fa-photo-frame::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px; right: 40px; bottom: 0;
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 2px;
  z-index: -1;
}
.fa-photo-frame img {
  width: 100%; display: block;
  border-radius: 2px 2px 0 0;
  object-fit: cover;
  object-position: center top;
  height: 580px;
  filter: grayscale(10%) contrast(1.05);
}
.fa-photo-accent {
  position: absolute; bottom: 0; right: -30px;
  width: 100px; height: 100px;
  background: var(--accent); opacity: 0.15;
  border-radius: 2px;
}

/* ── BUTTONS ── */
.fa-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer; border: none;
  font-family: 'DM Sans', sans-serif;
}
.fa-btn--primary { background: var(--accent); color: var(--navy); }
.fa-btn--primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,169,110,0.3); }
.fa-btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(248,245,240,0.25); }
.fa-btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.fa-btn--whatsapp { background: #25D366; color: #fff; }
.fa-btn--whatsapp:hover { background: #1fb855; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.3); }
.fa-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ── STATS BAR ── */
.fa-stats {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(200,169,110,0.1);
  border-bottom: 1px solid rgba(200,169,110,0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fa-stats__item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(200,169,110,0.1);
  transition: background 0.3s;
}
.fa-stats__item:last-child { border-right: none; }
.fa-stats__item:hover { background: rgba(200,169,110,0.05); }
.fa-stats__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.fa-stats__label {
  font-size: 0.75rem; font-weight: 500;
  color: rgba(248,245,240,0.5);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* ── SECTIONS ── */
.fa-section { padding: 7rem 6rem; }
.fa-section--alt { background: var(--navy-mid); }
.fa-section--cta { background: var(--blue); text-align: center; position: relative; overflow: hidden; }
.fa-section--cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200,169,110,0.1) 0%, transparent 70%);
}
.fa-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.3em;
  color: var(--accent); text-transform: uppercase;
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.fa-section-label::before { content: ''; width: 2rem; height: 1px; background: var(--accent); }
.fa-section-label--center { justify-content: center; }
.fa-section-label--center::before { display: none; }
.fa-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 1.5rem;
}

/* ── ABOUT ── */
.fa-about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.fa-about__text p {
  font-size: 1.0rem; line-height: 1.85;
  color: rgba(248,245,240,0.7);
  margin-bottom: 1.4rem;
}
.fa-about__text p strong { color: var(--accent); font-weight: 600; }
.fa-about__cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ── CONTACT CARD ── */
.fa-contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 6px;
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.fa-contact-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 0;
}
.fa-contact-card__sub {
  font-size: 0.82rem; color: rgba(248,245,240,0.45);
  margin-bottom: 0.5rem; margin-top: -0.5rem;
}
.fa-contact-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; color: rgba(248,245,240,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.fa-contact-item:hover { color: var(--accent); }
.fa-contact-item__icon {
  width: 36px; height: 36px;
  background: rgba(200,169,110,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fa-contact-item__icon svg { width: 16px; height: 16px; fill: var(--accent); }

/* ── SKILLS ── */
.fa-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.fa-skill-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,169,110,0.1);
  border-radius: 6px;
  padding: 1.8rem;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.fa-skill-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width 0.3s;
}
.fa-skill-card:hover { border-color: rgba(200,169,110,0.3); transform: translateY(-3px); }
.fa-skill-card:hover::after { width: 100%; }
.fa-skill-card__icon { font-size: 1.6rem; margin-bottom: 1rem; }
.fa-skill-card__name { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.fa-skill-card__desc { font-size: 0.82rem; line-height: 1.6; color: rgba(248,245,240,0.5); }

/* ── EXPERIENCE ── */
.fa-exp-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 2px; }
.fa-exp-item {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 3rem; padding: 2.5rem 0;
  border-bottom: 1px solid rgba(200,169,110,0.08);
}
.fa-exp-item:first-child { border-top: 1px solid rgba(200,169,110,0.08); }
.fa-exp-item__period {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 0.5rem;
}
.fa-exp-item__company { font-size: 0.85rem; color: rgba(248,245,240,0.5); font-weight: 500; }
.fa-exp-item__role {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 600;
  margin-bottom: 0.8rem;
}
.fa-exp-item__desc {
  font-size: 0.88rem; line-height: 1.75;
  color: rgba(248,245,240,0.65);
  margin-bottom: 1.2rem;
}
.fa-exp-item__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fa-tag {
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.2);
  color: var(--accent);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* ── EDUCATION ── */
.fa-edu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.fa-edu-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,169,110,0.1);
  border-radius: 6px; padding: 2rem;
  transition: all 0.3s;
}
.fa-edu-card:hover { border-color: rgba(200,169,110,0.3); background: rgba(200,169,110,0.04); }
.fa-edu-card__year {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem; color: var(--accent);
  letter-spacing: 0.15em; margin-bottom: 0.75rem;
}
.fa-edu-card__degree { font-weight: 600; font-size: 1rem; margin-bottom: 0.35rem; }
.fa-edu-card__inst { font-size: 0.83rem; color: rgba(248,245,240,0.5); }

/* ── CTA SECTION ── */
.fa-cta-subtitle {
  font-size: 1rem; line-height: 1.75;
  color: rgba(248,245,240,0.6);
  max-width: 500px; margin: 0 auto 3rem;
}
.fa-cta-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* ── FOOTER ── */
.fa-footer {
  background: #060e1a;
  padding: 2rem 6rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.fa-footer__brand { font-family: 'Playfair Display', serif; color: var(--accent); font-size: 1rem; }
.fa-footer__copy { font-size: 0.75rem; color: rgba(248,245,240,0.3); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.fa-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fa-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .fa-nav { padding: 1rem 2rem; }
  .fa-nav__links { display: none; }
  .fa-hero { grid-template-columns: 1fr; min-height: auto; }
  .fa-hero__text { padding: 8rem 2rem 3rem; }
  .fa-hero__image { justify-content: center; padding: 0 2rem; }
  .fa-photo-frame { width: 280px; }
  .fa-photo-frame img { height: 380px; }
  .fa-stats { grid-template-columns: repeat(2, 1fr); }
  .fa-section { padding: 5rem 2rem; }
  .fa-about { grid-template-columns: 1fr; gap: 3rem; }
  .fa-skills-grid { grid-template-columns: 1fr 1fr; }
  .fa-exp-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .fa-edu-grid { grid-template-columns: 1fr; }
  .fa-footer { flex-direction: column; gap: 0.75rem; text-align: center; padding: 2rem; }
}
@media (max-width: 600px) {
  .fa-skills-grid { grid-template-columns: 1fr; }
  .fa-hero__name { font-size: 2.5rem; }
}
