/* about.css - Dedicated styles for the About page */

/* About Page Specific Styles */
.about-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--accent-color);
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--accent-color), #0088cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.3rem;
  color: #b0b0b0;
  font-weight: 300;
  line-height: 1.5;
}

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.1), rgba(0, 136, 204, 0.05));
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 2rem 0 3rem;
  text-align: center;
  border: 1px solid rgba(0, 170, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-color), #0088cc, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #d0d0d0;
  max-width: 800px;
  margin: 0 auto;
}

/* About Content */
.about-content {
  line-height: 1.8;
}

.about-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(43, 43, 43, 0.3);
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
}

.about-section h2 {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.about-section h2 i {
  font-size: 1.5rem;
}

.about-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-section:last-child {
  margin-bottom: 0;
}

/* Highlight Box */
.highlight-box {
  background: rgba(0, 170, 255, 0.1);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  position: relative;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, var(--accent-color), #0088cc, var(--accent-color));
  border-radius: 8px;
  z-index: -1;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Tech Stack Grid */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.tech-item {
  background: var(--card-color);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border: 1px solid transparent;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 170, 255, 0.2);
  border-color: var(--accent-color);
}

.tech-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.tech-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.tech-item p {
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.5;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 4rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 4px solid var(--background-color);
}

.timeline-date {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #b0b0b0;
  line-height: 1.6;
}

/* Support Section */
.support-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.1), rgba(0, 136, 204, 0.1));
  padding: 3rem 2rem;
  border-radius: 16px;
  margin: 3rem 0;
}

.support-section h2 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}

.support-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #d0d0d0;
}

.support-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  text-decoration: none;
}

.instagram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(240, 148, 51, 0.4);
  color: white;
}

.instagram-btn i {
  font-size: 1.3rem;
}

/* Buy Me Coffee Button Container */
.coffee-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.coffee-button-container a {
  color: black;
}

/* Connect & Support Section */
.about-cta {
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.1), rgba(0, 136, 204, 0.05));
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 3rem 0;
  text-align: center;
  border: 1px solid rgba(0, 170, 255, 0.2);
}

.about-cta h2 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-weight: 700;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cta-item {
  background: rgba(43, 43, 43, 0.4);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid transparent;
  transition: all var(--transition-speed);
}

.cta-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 170, 255, 0.2);
}

.cta-item h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-item h3 i {
  font-size: 1.3rem;
}

.cta-item p {
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.instagram-btn {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.instagram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(240, 148, 51, 0.4);
  color: white;
}

/* Override Buy Me Coffee button styles */
.coffee-button-container iframe {
  border-radius: 50px !important;
  transition: transform var(--transition-speed) !important;
}

.coffee-button-container:hover iframe {
  transform: translateY(-3px);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 170, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 170, 255, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #b0b0b0;
  margin-top: 0.5rem;
}

/* FAQ Section */
.faq-section {
  margin: 3rem 0;
}

.faq-container {
  max-width: 100%;
}

.faq-item {
  background: var(--card-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.faq-item.open {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0, 170, 255, 0.15);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  transition: background-color var(--transition-speed);
  gap: 1rem;
}

.faq-question:hover {
  background: rgba(0, 170, 255, 0.1);
}

.faq-question i {
  color: var(--accent-color);
  transition: transform var(--transition-speed);
  flex-shrink: 0;
  margin-left: auto;
}

.faq-item.open .faq-question i {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 1rem 1.5rem 1.5rem;
  max-height: 300px;
}

.faq-answer p {
  color: #d0d0d0;
  line-height: 1.7;
  margin: 0.5rem 0;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.faq-answer p:first-child {
  margin-top: 0;
  padding-top: 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-page {
    padding: 1rem 0.5rem;
  }
  
  .page-title {
    font-size: 2.2rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  .about-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .about-section h2 {
    font-size: 1.5rem;
  }
  
  .about-section p {
    font-size: 1rem;
  }
  
  .tech-stack {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 2.5rem;
  }
  
  .timeline-item::before {
    left: 6px;
    width: 12px;
    height: 12px;
  }
  
  .support-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .support-section {
    padding: 2rem 1rem;
  }
  
  .about-cta {
    padding: 2rem 1rem;
    margin: 2rem 0;
  }
  
  .about-cta h2 {
    font-size: 2rem;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-item {
    padding: 1.5rem;
  }
  
  .about-hero {
    padding: 2rem 1rem;
    margin: 1.5rem 0 2rem;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-item {
    padding: 1rem;
  }
  
  .tech-item i {
    font-size: 2rem;
  }
}
