/* ============================================
   ABOUT SECTION - MORPHING BLOB CAROUSEL & BENTO GRID
   ============================================ */

/* Main Layout Container */
.about-bento-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .about-bento-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================
   MORPHING BLOB FRAME CAROUSEL
   ============================================ */

.about-carousel-column {
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 120px;
}

@media (max-width: 992px) {
  .about-carousel-column {
    position: relative;
    top: 0;
  }
}

.morphing-blob-carousel {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob-frame-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.blob-border {
  filter: drop-shadow(0 0 20px rgba(239, 55, 36, 0.5));
}

.blob-images-container {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}

.blob-carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1s ease-in-out, transform 1.5s ease-in-out;
}

.blob-carousel-img.active {
  opacity: 1;
  transform: scale(1);
}

/* Carousel Indicators */
.blob-carousel-indicators {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.blob-carousel-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.blob-carousel-indicators .indicator.active {
  background: var(--color-primary);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(239, 55, 36, 0.5);
}

.blob-carousel-indicators .indicator:hover {
  background: rgba(239, 55, 36, 0.5);
}

/* Carousel Navigation */
.blob-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(239, 55, 36, 0.3);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0;
}

.morphing-blob-carousel:hover .blob-carousel-nav {
  opacity: 1;
}

.blob-carousel-nav.prev {
  left: -20px;
}

.blob-carousel-nav.next {
  right: -20px;
}

.blob-carousel-nav:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 20px rgba(239, 55, 36, 0.4);
}

/* Glow Effect */
.blob-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(239, 55, 36, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* ============================================
   BENTO GRID LAYOUT
   ============================================ */

.about-bento-column {
  width: 100%;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

/* Bento Card Base Styles */
.bento-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color-light);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(239, 55, 36, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(239, 55, 36, 0.2);
}

.bento-card:hover::before {
  opacity: 1;
}

/* Name Card - Large, spans 2 columns */
.bento-card-name {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(239, 55, 36, 0.08) 100%);
  padding: 30px;
}

.bento-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.bento-title {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 16px;
}

.bento-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(239, 55, 36, 0.1);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.bento-tag i {
  font-size: 0.9rem;
}

.bento-card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(239, 55, 36, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Bio Card - Full width */
.bento-card-bio {
  grid-column: span 3;
  background: var(--bg-secondary);
}

.bento-bio-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.bento-bio-text:last-child {
  margin-bottom: 0;
}

/* Glassmorphism Contact Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .glass-card {
  background: rgba(30, 30, 50, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.glass-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(239, 55, 36, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.glass-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.glass-card:hover .glass-icon {
  background: rgba(239, 55, 36, 0.2);
  transform: scale(1.05);
}

.glass-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.glass-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.glass-value {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Social Card */
.bento-card-social {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-social-icons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: center;
}

.bento-social-link {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(239, 55, 36, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bento-social-link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bento-social-link:hover {
  background: var(--color-primary);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(239, 55, 36, 0.3);
}

.bento-social-link:hover img {
  filter: brightness(0) invert(1);
}

.btn-cv-download-bento {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-cv-download-bento:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(239, 55, 36, 0.4);
  color: white;
}

/* Motto Card */
.bento-card-motto {
  background: linear-gradient(135deg, rgba(239, 55, 36, 0.08) 0%, rgba(255, 215, 0, 0.05) 100%);
  border-left: 4px solid var(--color-primary);
}

.motto-icon {
  font-size: 2rem;
  color: var(--color-primary);
  opacity: 0.5;
  margin-bottom: 12px;
}

.motto-text {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Bento Grid */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card-name {
    grid-column: span 2;
  }

  .bento-card-bio {
    grid-column: span 2;
  }

  .bento-card-contact,
  .bento-card-location,
  .bento-card-phone {
    grid-column: span 1;
  }

  .bento-card-social {
    grid-column: span 2;
  }

  .bento-card-motto {
    grid-column: span 2;
  }

  .bento-name {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-card-name,
  .bento-card-bio,
  .bento-card-contact,
  .bento-card-location,
  .bento-card-phone,
  .bento-card-social,
  .bento-card-motto {
    grid-column: span 1;
  }

  .bento-card {
    padding: 18px;
  }

  .morphing-blob-carousel {
    max-width: 320px;
  }

  .blob-carousel-nav {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .blob-carousel-nav.prev {
    left: -10px;
  }

  .blob-carousel-nav.next {
    right: -10px;
  }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .bento-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .bento-card-name {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(239, 55, 36, 0.15) 100%);
}

[data-theme="dark"] .bento-card-bio {
  background: var(--bg-tertiary);
}

[data-theme="dark"] .blob-carousel-nav {
  background: rgba(30, 30, 50, 0.9);
  border-color: rgba(239, 55, 36, 0.4);
}

[data-theme="dark"] .blob-carousel-nav:hover {
  background: var(--color-primary);
}

/* ============================================
   ABOUT SECTION - COMPREHENSIVE DARK/LIGHT MODE
   ============================================ */

/* Light Mode (Default) - Explicit Styles */
.bento-title {
  color: #1a1a2e;
}

.bento-subtitle {
  color: #ef3724;
}

.bento-bio-text {
  color: #4a4a6a;
  line-height: 1.7;
}

.bento-tag {
  background: rgba(239, 55, 36, 0.1);
  color: #ef3724;
  border: 1px solid rgba(239, 55, 36, 0.2);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(239, 55, 36, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass-label {
  color: #6a6a8a;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.glass-value {
  color: #1a1a2e;
  font-weight: 600;
}

.glass-value a {
  color: #ef3724;
  text-decoration: none;
  transition: color 0.3s ease;
}

.glass-value a:hover {
  color: #d62d1a;
}

.bento-social-link {
  background: rgba(239, 55, 36, 0.08);
  color: #1a1a2e;
  border: 1px solid rgba(239, 55, 36, 0.15);
  transition: all 0.3s ease;
}

.bento-social-link:hover {
  background: #ef3724;
  color: #fff;
  border-color: #ef3724;
  transform: translateY(-3px);
}

.motto-text {
  color: #1a1a2e;
  font-style: italic;
  font-size: 1.1rem;
}

.motto-icon {
  color: #ef3724;
}

.blob-carousel-indicators .indicator {
  background: rgba(239, 55, 36, 0.3);
  border: none;
  transition: all 0.3s ease;
}

.blob-carousel-indicators .indicator.active,
.blob-carousel-indicators .indicator:hover {
  background: #ef3724;
}

.about-floating-elements .floating-element {
  background: rgba(239, 55, 36, 0.08);
  border: 1px solid rgba(239, 55, 36, 0.15);
}

.about-blob {
  opacity: 0.15;
}

/* Dark Mode Styles */
[data-theme="dark"] .bento-title {
  color: #ffffff;
}

[data-theme="dark"] .bento-subtitle {
  color: #ef3724;
  text-shadow: 0 0 20px rgba(239, 55, 36, 0.3);
}

[data-theme="dark"] .bento-bio-text {
  color: #b0b0c0;
}

[data-theme="dark"] .bento-tag {
  background: rgba(239, 55, 36, 0.15);
  color: #ff6b5b;
  border-color: rgba(239, 55, 36, 0.3);
}

[data-theme="dark"] .glass-card {
  background: rgba(30, 30, 50, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .glass-label {
  color: #8a8aa0;
}

[data-theme="dark"] .glass-value {
  color: #e0e0e8;
}

[data-theme="dark"] .glass-value a {
  color: #ff6b5b;
}

[data-theme="dark"] .glass-value a:hover {
  color: #ef3724;
  text-shadow: 0 0 10px rgba(239, 55, 36, 0.5);
}

[data-theme="dark"] .bento-social-link {
  background: rgba(239, 55, 36, 0.1);
  color: #e0e0e8;
  border-color: rgba(239, 55, 36, 0.25);
}

[data-theme="dark"] .bento-social-link:hover {
  background: #ef3724;
  color: #fff;
  box-shadow: 0 4px 20px rgba(239, 55, 36, 0.4);
}

[data-theme="dark"] .motto-text {
  color: #c0c0d0;
}

[data-theme="dark"] .motto-icon {
  color: #ef3724;
  text-shadow: 0 0 15px rgba(239, 55, 36, 0.5);
}

[data-theme="dark"] .blob-carousel-indicators .indicator {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .blob-carousel-indicators .indicator.active,
[data-theme="dark"] .blob-carousel-indicators .indicator:hover {
  background: #ef3724;
  box-shadow: 0 0 10px rgba(239, 55, 36, 0.5);
}

[data-theme="dark"] .about-floating-elements .floating-element {
  background: rgba(239, 55, 36, 0.1);
  border-color: rgba(239, 55, 36, 0.2);
}

[data-theme="dark"] .about-blob {
  opacity: 0.2;
}

[data-theme="dark"] .morphing-blob-carousel {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .blob-frame-svg {
  filter: drop-shadow(0 0 30px rgba(239, 55, 36, 0.3));
}

[data-theme="dark"] .bento-card-motto {
  background: linear-gradient(135deg, rgba(30, 30, 50, 0.9) 0%, rgba(239, 55, 36, 0.1) 100%);
}

[data-theme="dark"] .bento-card-social {
  background: rgba(30, 30, 50, 0.8);
}

[data-theme="dark"] .bento-grid {
  gap: 16px;
}

/* Dark mode hover effects */
[data-theme="dark"] .bento-card:hover {
  border-color: rgba(239, 55, 36, 0.4);
  box-shadow: 0 10px 40px rgba(239, 55, 36, 0.15);
}

[data-theme="dark"] .glass-card:hover {
  border-color: rgba(239, 55, 36, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Light Mode - Page About Background */
.page-about {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 50%, #f5f6fa 100%);
}

/* Dark Mode - About Section Additional */
[data-theme="dark"] .about-bento-layout {
  color: #e0e0e8;
}

[data-theme="dark"] .about-carousel-column {
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
}

