/* Remove all drop shadows */
.header, .author-image, .skill-card, .summary, .featured-project-card {
  box-shadow: none !important;
}

.author-image img {
  box-shadow: none !important;
}

/* Consistent link colors */
a {
  color: #0078D7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Responsive video container */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 1.5rem 0;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Footer styling */
.footer {
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid #eaeaea;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.copyright {
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #0078D7;
  margin: 0 5px;
}

.separator {
  color: #ccc;
}

@media (min-width: 768px) {
  .footer-info {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .copyright {
    margin-bottom: 0;
  }
}

/* Fix navigation bar */
.header {
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .container {
  display: flex;
  align-items: center;
}

.header-left-content {
  display: flex;
  align-items: center;
  min-width: 180px;
}

.header-logo {
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
  margin-left: 10px;
  color: #ffffff;
}

.dark-mode-toggle-container {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 20px;
  order: 2;
}

.menu-main {
  margin-top: 5px;
  order: 3;
}

.menu-main li {
  margin-right: 15px;
  white-space: nowrap;
}

.menu-main li:last-child a {
  font-size: 0.9rem;
}

.menu-main li.active a {
  color: #0078D7;
  font-weight: 600;
}

/* Fix CV/Resume menu item */
.menu-item-cv\/resume a {
  font-size: 0.85rem;
}

/* Fix homepage layout and spacing */
body {
  margin: 0;
}

.content {
  padding-top: 0;
}

/* Fix page title sizes */
.intro h1 {
  font-size: 2.2rem;
  line-height: 1.2;
}

/* Project page title size */
.page-projects-single .intro h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

/* Target specific project with long title */
.page-projects-chef-to-ansible-converter .intro h1 {
  font-size: 2.1rem;
  line-height: 1.3;
  max-width: 90%;
}

/* Reduce size of project titles in list view */
.page-projects-list .project-list-title {
  font-size: 1.4rem;
  line-height: 1.3;
}

.project-summary {
  margin-bottom: 1.5rem;
}

.main-title {
  font-size: 3rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.main-title .dot {
  color: #0078D7;
}

.intro {
  margin-bottom: 0.75rem;
}

/* Fix alignment in Key Skills section */
.two-column-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.left-column {
  flex: 1.3;
  min-width: 300px;
}

.right-column {
  flex: 0.7;
  min-width: 250px;
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 6px;
  box-sizing: border-box;
  margin-top: -2.5rem;
}

/* Fix Key Skills section */
.skills-section-wrapper h3 {
  color: #0078D7;
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-align: center;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 0.25rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 0.25rem;
  border-radius: 4px;
  border: 1px solid #eaeaea;
}

.skill-card i {
  font-size: 1.5rem;
  color: #0078D7;
  margin-bottom: 0.3rem;
}

.skill-name {
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 500;
}

/* Fix featured projects section */
.left-column .featured-projects {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.left-column h3 {
  color: #0078D7;
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 0.5rem;
}

.left-column .project-card {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #eaeaea;
}

.left-column .project-card h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.left-column .project-card h4 a {
  color: #0078D7;
  text-decoration: none;
}

.left-column .project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}

.left-column .project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.left-column .tech-tag {
  background: #e9f4ff;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.8rem;
}

.left-column .project-card p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.left-column .read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #0078D7;
  text-decoration: none;
}

.left-column .view-all {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #0078D7;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .skill-card {
    padding: 1rem;
    width: 100%;
  }
  
  .skill-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .skills-section-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}
