/* ========================================
   ACCENT COLOR SYSTEM - UNIVERSAL STYLING
   ======================================== */

/* Accent Color Palette */
:root {
  --accent-yellow: #052332;
  --accent-orange: #052332;
  --accent-green: #052332;
  --accent-purple: #052332;
  --accent-cyan: #052332;
  --accent-blue: #052332;
  
  /* Accent Color Variations */
  --accent-yellow-light: rgba(5, 35, 50, 0.1);
  --accent-orange-light: rgba(5, 35, 50, 0.1);
  --accent-green-light: rgba(5, 35, 50, 0.1);
  --accent-purple-light: rgba(5, 35, 50, 0.1);
  --accent-cyan-light: rgba(5, 35, 50, 0.1);
  --accent-blue-light: rgba(5, 35, 50, 0.1);
}

/* ========================================
   UNIVERSAL CARD STYLING
   ======================================== */

/* Base Card Styles with Accent Colors - Simplified */
.index-card,
.about-card,
.peer-review-card,
.linkedin-review-card,
.product-card,
.project-card,
.card {
  background: #fff;
  border: 2px solid var(--accent-yellow);
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
}

.index-card::before,
.about-card::before,
.peer-review-card::before,
.linkedin-review-card::before,
.product-card::before,
.project-card::before,
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-yellow);
}

/* Card Hover Effects */
.index-card:hover,
.about-card:hover,
.peer-review-card:hover,
.linkedin-review-card:hover,
.product-card:hover,
.project-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(5, 35, 50, 0.2);
  border-color: var(--accent-orange);
}

/* ========================================
   PROFILE PHOTO STYLING
   ======================================== */

.about-photo-top {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  padding: 16px;
}

.about-photo-top img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  max-width: 200px;
  width: 100%;
  height: auto;
}

.about-photo-top img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.about-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  border: 4px solid #052332;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(5, 35, 50, 0.3);
  transition: all 0.3s ease;
  position: relative;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 6px 20px rgba(5, 35, 50, 0.4);
  transform: scale(1.05);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: white;
  display: block;
  position: relative;
  z-index: 1;
}

/* ========================================
   CARD TITLE STYLING
   ======================================== */

.card-title {
  position: relative;
  display: inline-block;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-yellow);
  border-radius: 2px;
}

/* ========================================
   DETAIL ITEM STYLING
   ======================================== */

.detail-item {
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.detail-item:nth-child(1) {
  background: var(--accent-yellow-light);
  border-left: 3px solid var(--accent-yellow);
}

.detail-item:nth-child(2) {
  background: var(--accent-orange-light);
  border-left: 3px solid var(--accent-orange);
}

.detail-item:nth-child(3) {
  background: var(--accent-green-light);
  border-left: 3px solid var(--accent-green);
}

.detail-item:nth-child(4) {
  background: var(--accent-purple-light);
  border-left: 3px solid var(--accent-purple);
}

.detail-item:nth-child(5) {
  background: var(--accent-cyan-light);
  border-left: 3px solid var(--accent-cyan);
}

.detail-item:nth-child(6) {
  background: var(--accent-blue-light);
  border-left: 3px solid var(--accent-blue);
}

.detail-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ========================================
   PRODUCT CARD ENHANCEMENTS
   ======================================== */

.product-card {
  border-color: var(--accent-green);
}

.product-card::before {
  background: var(--accent-green);
}

.product-card:hover {
  border-color: var(--accent-green);
}

/* ========================================
   PROJECT CARD ENHANCEMENTS
   ======================================== */

.project-card {
  border-color: var(--accent-purple);
}

.project-card::before {
  background: var(--accent-purple);
}

.project-card:hover {
  border-color: var(--accent-purple);
}

/* ========================================
   BUTTON STYLING
   ======================================== */

.btn,
button,
[role="button"] {
  background: var(--accent-yellow);
  border: none;
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

button.filter-btn,
button.sort-btn,
button.table-sort-btn,
.filter-btn,
.sort-btn,
.table-sort-btn,
.project-filters button,
.table-sort-buttons button {
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
}

.btn:hover,
button:hover,
[role="button"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: var(--accent-orange);
}

/* ========================================
   NAVIGATION ACCENTS
   ======================================== */

.nav-item.active,
.nav-link.active {
  border-bottom: 3px solid var(--accent-yellow);
  color: var(--accent-orange);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-title,
h2,
h3 {
  position: relative;
  display: inline-block;
}

.section-title::after,
h2::after,
h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-yellow);
  border-radius: 2px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .about-photo {
    width: 100px;
    height: 100px;
  }
  
  .card-title::after {
    width: 40px;
  }
  
  .section-title::after,
  h2::after,
  h3::after {
    width: 30px;
  }
}
