/* Akkeem the Dream — Digital Marketing Portfolio
   Standalone CSS export (Haint Blue / creme / matte black theme) */

:root {
  --background: #f7f4ef;
  --foreground: #1c1e25;
  --card: #fdfcfa;
  --primary: #2c4a6e;
  --primary-foreground: #faf7f1;
  --secondary: #ece7dc;
  --secondary-foreground: #2c4a6e;
  --muted-foreground: #5c6270;
  --border: #ded7c6;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Hero */
.hero {
  border-bottom: 1px solid var(--border);
  background: var(--primary);
  color: var(--primary-foreground);
}

.hero .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.hero-photo {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.hero-text {
  text-align: center;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  color: rgba(250, 247, 241, 0.8);
  margin: 0 0 0.5rem;
}

.hero-name {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

.hero-nickname {
  font-size: 1.25rem;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(250, 247, 241, 0.9);
  margin: 0.25rem 0 0;
}

.hero-summary {
  margin-top: 1rem;
  max-width: 36rem;
  color: rgba(250, 247, 241, 0.9);
  line-height: 1.6;
}

/* Main sections */
main {
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 64rem;
  margin: 0 auto;
}

section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  margin: 0 0 1rem;
}

hr.separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 1rem;
}

.body-text {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 48rem;
  color: rgba(28, 30, 37, 0.9);
}

/* Goal card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.goal-card {
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
}

.goal-card p {
  margin: 0;
}

/* Certifications grid */
.cert-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cert-card {
  overflow: hidden;
}

.cert-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  display: block;
}

.cert-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.cert-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
}

.badge-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
}

.interests-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: rgba(236, 231, 220, 0.4);
}

footer .container {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

footer p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

footer a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    text-align: left;
  }
  .hero-text {
    text-align: left;
  }
  footer .container {
    flex-direction: row;
  }
}
