/*
Theme Name: Alexander Slade Professional Theme
Author: Alexander Slade
Description: A personal portfolio WordPress theme with a professional design.
Version: 1.2
*/

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f5f5f5;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  background: transparent;
  color: #fff;
  padding: 1rem 0;
  z-index: 1000;
}

.site-header .logo a {
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: 600;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 0 4rem;
  background: linear-gradient(to right, rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('/path-to-hero-background.jpg') no-repeat center center/cover;
}

.hero .text {
  flex: 1;
  padding-right: 2rem;
}

.hero .text h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero .text p {
  font-size: 1.25rem;
  line-height: 1.6;
}

.hero .portrait {
  flex: 1;
  max-width: 400px;
  text-align: right;
}

.hero .portrait img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary, .btn-secondary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}

.btn-primary {
  background-color: #333;
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #333;
  color: #333;
}

section {
  padding: 4rem 0;
}

.site-footer {
  background: #222;
  color: #bbb;
  text-align: center;
  padding: 3rem 1rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: #bbb;
  text-decoration: none;
}

.post-list {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
    }

    .post-tile {
      background: white;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      padding: 2rem;
      flex: 1 1 calc(33% - 2rem);
      min-width: 280px;
      max-width: 100%;
    }

    .post-tile h3 {
      margin-top: 0;
    }

    .post-tile h3 a {
      color: #333;
      text-decoration: none;
    }
