/* === GLOBAL === */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0E0D0C;
  color: #8A7964;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === HEADER === */
.site-header {
  background-color: #0E0D0C;
  border-bottom: 1px solid #3C362D;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.logo-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.logo.small {
  width: 42px;
  height: 42px;
  object-fit: cover;
}

.header-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.5rem;
  font-weight: bold;
  color: #FF5C1B;
}

.nav-menu {
  display: flex;
  gap: 1rem;
}

.nav-button {
  color: #4E4436;
  background-color: #1E1C1A;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  pointer-events: none;
  cursor: default;
  position: relative;
}

.nav-button:not(.disabled) {
  background-color: #FF5C1B;
  color: #0E0D0C;
  pointer-events: auto;
  cursor: pointer;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: none; /* <- gets flipped to flex on small screens */
}

/* === FOOTER === */
.footer {
  background-color: #0E0D0C;
  text-align: center;
  padding: 1rem;
  color: #3C362D;
  font-size: 0.9rem;
  border-top: 1px solid #3C362D;
}

/* === ABOUT SECTION === */
.about {
  background-color: #141312;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
  border-top: 1px solid #3C362D;
  border-bottom: 1px solid #3C362D;
}

.about-inner {
  max-width: 800px;
  width: 100%;
  color: #8A7964;
  font-size: 1.1rem;
  line-height: 1.75;
  background-color: #1a1816;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-logo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  margin-bottom: 1rem;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 12px #FF5C1B;
}

.about-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #FF5C1B;
  margin-bottom: 2rem;
  text-align: center;
}

.about-box {
  background-color: rgba(31, 29, 27, 0);
  padding: 2rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
  width: 100%;
}

.about-subtitle {
  font-size: 1.75rem;
  color: #FF5C1B;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-text {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* === SKILLS PAGE === */
.skills {
  background-color: #141312;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.skills-inner {
  max-width: 900px;
  width: 100%;
  color: #8A7964;
  font-size: 1.05rem;
  line-height: 1.7;
}

.skills-logo {
  width: 140px;
  height: 140px;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 50%;
  box-shadow: 0 0 12px #FF5C1B;
  object-fit: cover;
}

.skills-category {
  margin-bottom: 2.5rem;
}

.skills-title {
  text-align: center;
  font-size: 2.5rem;
  color: #FF5C1B;
  margin-bottom: 3rem;
}

.skills-list {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.skills-list li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem 1rem 0.5rem;
  }

  .logo-name {
    flex-direction: column;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
  }
}
.admin-form label {
  display: block;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #D1C6B0;
}

.admin-form button {
  background-color: #FF5C1B;
  color: #0E0D0C;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 1rem;
  cursor: pointer;
}

.admin-form button:hover {
  background-color: #e65017;
}
a.blog-card,
a.blog-card:visited,
a.blog-card:hover,
a.blog-card:active {
  color: inherit !important;
  text-decoration: none !important;
  display: block;
}

.blog-card {
  margin: 1.5rem 0;
  background-color: #1F1D1B;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 0 12px #FF5C1B44;
}
.blog-card-title {
  font-size: 1.6rem;
  color: #FF5C1B;
  margin-bottom: 0.75rem;
}

.blog-card-excerpt {
  color: #B6A990; /* warmer, softer contrast */
  font-size: 1.05rem;
  line-height: 1.6;
}
