/* About Page Styles - Dark & Gold Theme */

/* Updated to match site's dark background and gold theme */
.about-container {
  background: #0a0a0a;
  min-height: 100vh;
  padding-bottom: 60px;
}

.about-hero {
  position: relative;
  height: 350px;
  background: linear-gradient(135deg, rgba(26, 22, 18, 0.95) 0%, rgba(15, 12, 10, 0.98) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 80px;
  border-bottom: 2px solid rgba(210, 155, 97, 0.3);
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(210, 155, 97, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

.about-title {
  position: relative;
  z-index: 1;
  font-family: "Prata", serif;
  font-size: 56px;
  font-weight: normal;
  color: #e4d5b8;
  text-transform: uppercase;
  letter-spacing: 10px;
  margin-bottom: 15px;
  text-shadow: 0 0 30px rgba(210, 155, 97, 0.6), 0 4px 20px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out;
}

.about-subtitle {
  position: relative;
  z-index: 1;
  font-size: 18px;
  color: #d29b61;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Content */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-section {
  background: rgba(26, 22, 18, 0.6);
  border: 2px solid rgba(210, 155, 97, 0.3);
  border-radius: 16px;
  padding: 50px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d29b61, transparent);
}

.about-section:hover {
  border-color: #d29b61;
  box-shadow: 0 10px 40px rgba(210, 155, 97, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: "Prata", serif;
  font-size: 38px;
  font-weight: normal;
  color: #e4d5b8;
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgba(210, 155, 97, 0.4);
}

.title-divider {
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d29b61, transparent);
  margin: 0 auto;
  position: relative;
}

.title-divider::before,
.title-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #d29b61;
  border-radius: 50%;
  box-shadow: 0 0 10px #d29b61;
}

.title-divider::before {
  left: 0;
}
.title-divider::after {
  right: 0;
}

.section-text {
  font-size: 17px;
  line-height: 1.9;
  color: #e4d5b8;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  justify-items: center;
}

.team-card {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(210, 155, 97, 0.2);
  border-radius: 12px;
  padding: 35px;
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: #d29b61;
  box-shadow: 0 15px 40px rgba(210, 155, 97, 0.3);
  background: rgba(0, 0, 0, 0.6);
}

.team-icon {
  font-size: 72px;
  max-block-size: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.team-card:hover .team-icon {
  filter: grayscale(0);
  transform: scale(1.1);
}

.team-name {
  font-family: "Prata", serif;
  font-size: 22px;
  font-weight: normal;
  color: #e4d5b8;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.team-role {
  font-size: 16px;
  color: #d29b61;
  font-weight: 500;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-desc {
  font-size: 15px;
  color: #e4d5b8;
  opacity: 0.8;
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 50px 0;
}



.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #d29b61 0%, #b8860b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  border: 5px solid #0a0a0a;
  box-shadow: 0 0 30px rgba(210, 155, 97, 0.6);
  font-family: "Prata", serif;
  font-size: 18px;
  font-weight: bold;
  color: #0a0a0a;
  transition: all 0.4s ease;
}

.timeline-item:hover .timeline-year {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(210, 155, 97, 0.9);
}

.timeline-content {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(210, 155, 97, 0.3);
  border-radius: 12px;
  padding: 30px;
  margin: 0 40px;
  transition: all 0.4s ease;
}

.timeline-content:hover {
  border-color: #d29b61;
  background: rgba(0, 0, 0, 0.6);
  transform: translateX(10px);
}

.timeline-item:nth-child(even) .timeline-content:hover {
  transform: translateX(-10px);
}

.timeline-title {
  font-family: "Prata", serif;
  font-size: 24px;
  font-weight: normal;
  color: #d29b61;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.timeline-text {
  font-size: 16px;
  color: #e4d5b8;
  opacity: 0.9;
  line-height: 1.7;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.value-card {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(210, 155, 97, 0.2);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(210, 155, 97, 0.1), transparent);
  transition: left 0.6s ease;
}

.value-card:hover::before {
  left: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: #d29b61;
  box-shadow: 0 15px 40px rgba(210, 155, 97, 0.3);
  background: rgba(0, 0, 0, 0.6);
}

.value-icon {
  font-size: 64px;
  margin-bottom: 20px;
  filter: grayscale(0.2);
  transition: all 0.5s ease;
}

.value-card:hover .value-icon {
  filter: grayscale(0);
  transform: scale(1.2) rotate(5deg);
}

.value-title {
  font-family: "Prata", serif;
  font-size: 26px;
  font-weight: normal;
  color: #e4d5b8;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.value-desc {
  font-size: 16px;
  color: #e4d5b8;
  opacity: 0.85;
  line-height: 1.8;
}

  .image-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        overflow: auto;
    }
    
    .modal-content {
        margin: auto;
        display: block;
        max-width: 90%;
        max-height: 90%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: zoom 0.3s;
    }
    
    @keyframes zoom {
        from {transform: translate(-50%, -50%) scale(0.9);}
        to {transform: translate(-50%, -50%) scale(1);}
    }
    
    .modal-close {
        position: absolute;
        top: 20px;
        right: 30px;
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }
    
    .modal-close:hover {
        color: #bbb;
    }
    
    .modal-caption {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        text-align: center;
        color: #ccc;
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.5);
    }
    
    .team-group {
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .team-group-title {
        background: linear-gradient(135deg, #e4d5b8, #4e4c47);
        color: white;
        font-size: 1.2rem;
        font-weight: 600;
        padding: 0.5rem 1.5rem;
        border-radius: 25px;
        display: inline-block;
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        letter-spacing: 0.5px;
    }
    

/* Responsive Design */
@media (max-width: 768px) {
  .about-title {
    font-size: 36px;
    letter-spacing: 6px;
  }

  .about-section {
    padding: 30px 25px;
  }

  .section-title {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 100px;
  }

  .timeline-year {
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    font-size: 13px;
  }

  .timeline-content {
    margin: 0;
  }

  .timeline-content:hover,
  .timeline-item:nth-child(even) .timeline-content:hover {
    transform: translateX(0);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}
