/* ============================================
   AQEEL ZEIN — Personal Website
   Shared Stylesheet
   ============================================ */

:root {
  --navy: #0b1220;
  --navy-dark: #060b14;
  --blue: #2f7ef7;
  --blue-dark: #1c63e0;
  --text-dark: #101828;
  --text-gray: #5b6472;
  --bg-light: #f4f6fa;
  --white: #ffffff;
  --border: #e3e7ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "Poppins", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar .logo .logo-badge {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links li a {
  color: #cfd6e4;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
  border-bottom-color: var(--blue);
}

.btn-primary {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

/* ---------- HERO (HOME PAGE) ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  background-image: linear-gradient(
      to bottom,
      rgba(6, 11, 20, 0.55) 0%,
      rgba(6, 11, 20, 0.35) 45%,
      rgba(6, 11, 20, 0.85) 100%
    ),
    url("images/hero-background.jpg");
  background-size: cover;
  background-position: center;
  padding: 0 48px 140px;
}

.hero-content {
  max-width: 640px;
  color: var(--white);
}

.hero-content .eyebrow {
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-content h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--blue);
}

.hero-divider {
  width: 70px;
  height: 4px;
  background: var(--blue);
  margin: 22px 0;
  border-radius: 2px;
}

.hero-content p {
  color: #dbe1ec;
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 480px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.btn-hero:hover {
  background: var(--blue-dark);
}

/* Feature cards overlapping hero bottom */
.feature-cards {
  max-width: 1120px;
  margin: -80px auto 60px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 30px;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.feature-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-gray);
}

/* ---------- GENERIC PAGE HEADER (Profil / Tentang / Kontak) ---------- */
.page-header {
  text-align: center;
  padding: 48px 20px 8px;
}

.page-header h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
}

.page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}

/* ---------- PROFIL PAGE ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d9d9d9;
  box-shadow: var(--shadow);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.detail-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: #e8f0fe;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-item h4 {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.detail-item p {
  font-size: 14px;
  color: var(--text-gray);
}

/* ---------- TENTANG PAGE ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: start;
}

.about-illustration {
  background: #eaf1fb;
  border-radius: var(--radius);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.about-illustration img {
  max-width: 100%;
}

.about-text p {
  color: var(--text-gray);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--text-dark);
}

.goal-box {
  margin-top: 24px;
  background: #eaf1fb;
  border-radius: var(--radius);
  padding: 24px 28px;
  grid-column: 1 / -1;
}

.goal-box h4 {
  margin-bottom: 14px;
  font-size: 15px;
}

.goal-box ul li {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.goal-box ul li::before {
  content: "✔ ";
  color: var(--blue);
  font-weight: 700;
}

/* ---------- KONTAK PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
}

.contact-form h3 {
  margin-bottom: 18px;
  font-size: 17px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
}

.form-group textarea {
  min-height: 90px;
}

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-submit:hover {
  background: var(--blue-dark);
}

.page-background{
    background-color: var(--navy-dark);
    background-image:
        linear-gradient(
            rgba(6,11,20,.75),
            rgba(6,11,20,.75)
        ),
        url("images/hero-background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.page-wrap{
    max-width:1120px;
    margin:40px auto;
    padding:40px;
    background:rgba(255,255,255,.95);
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy);
  color: #b7bfcc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  font-size: 13px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s ease;
}

.footer-socials a:hover {
  background: var(--blue);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 20px;
  }
  .nav-links {
    gap: 18px;
    order: 3;
    flex-wrap: wrap;
  }
  .hero {
    padding: 0 20px 160px;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .feature-cards {
    grid-template-columns: 1fr 1fr;
    margin-top: -110px;
  }
  .profile-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }
}

@media (max-width: 520px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   ABOUT PAGE
========================== */

.about-text h2{
    font-size:32px;
    color:#1f2937;
    margin-bottom:20px;
}

.about-text p{
    font-size:17px;
    line-height:1.9;
    color:#555;
    text-align:justify;
    margin-bottom:18px;
}

.goal-box{
    background:#ffffff;
    border-radius:15px;
    padding:30px;
    margin-top:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.goal-box h3{
    color:#2f7ef7;
    margin-bottom:15px;
    font-size:24px;
}

.goal-box ul{
    padding-left:20px;
}

.goal-box li{
    margin-bottom:12px;
    color:#555;
    line-height:1.8;
}

.page-header p{
    color:#dbeafe;
    font-size:18px;
    margin-top:10px;
}
