/* ==========================================================================
   HOME.CSS - Homepage Styles
   ========================================================================== */

.hero-main {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 2rem 0;
}

@media (max-width: 767px) {
  .hero-main {
    min-height: auto;
    padding: 5rem 0 3rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-main {
    padding: 6rem 0 4rem;
  }
}

.hero-bg-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(0, 217, 255, 0.15), transparent 50%), radial-gradient(ellipse at bottom left, rgba(0, 217, 255, 0.15), transparent 50%);
  z-index: -1;
}

@media (max-width: 767px) {
  .hero-content-main {
    text-align: center;
  }
}

.hero-content-main h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .hero-content-main h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
}

.hero-content-main .text-gradient {
  background: linear-gradient(135deg, #00d9ff, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content-main .lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

@media (max-width: 767px) {
  .hero-content-main .lead {
    font-size: 0.95rem;
  }
}

@media (max-width: 767px) {
  .hero-content-main .d-flex.flex-wrap {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-content-main .btn {
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
  }
}

.info-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .info-card {
    justify-content: center;
    font-size: 0.85rem;
  }
}

.info-card i {
  font-size: 1rem;
  color: #00d9ff;
  opacity: 0.8;
}

@media (max-width: 767px) {
  .info-card i {
    font-size: 0.9rem;
  }
}

.info-card span {
  color: #cccccc;
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .info-card span {
    font-size: 0.85rem;
  }
}

.hero-image-main {
  position: relative;
}

.hero-image-main::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.2), transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.hero-visual .hero-blob {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2rem 4rem rgba(0, 217, 255, 0.4));
}

.hero-visual .hero-blob .blob-path {
  filter: url(#goo);
}

.hero-visual .hero-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 6rem;
  color: white;
  text-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-1rem);
  }
}

.hero-img-profile {
  border-radius: 30px;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.hero-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: #0a0a0a;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cccccc;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.social-links-hero {
  display: flex;
  gap: 1rem;
}

.social-links-hero .social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 217, 255, 0.1);
  border: 2px solid #00d9ff;
  color: #00d9ff;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links-hero .social-link:hover {
  transform: translateY(-0.25rem);
  background: #00d9ff;
  color: #000000;
  box-shadow: 0 0 1.5rem rgba(0, 217, 255, 0.6);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator .scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid currentColor;
  border-radius: 1rem;
  position: relative;
}

.scroll-indicator .scroll-mouse .scroll-wheel {
  width: 0.25rem;
  height: 0.5rem;
  background: currentColor;
  border-radius: 0.25rem;
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes scrollWheel {
  0%, 100% {
    opacity: 0;
    top: 0.5rem;
  }
  50% {
    opacity: 1;
    top: 1rem;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-0.5rem);
  }
}

.stats-highlight {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-box {
  text-align: center;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background: #000000;
  transform: translateY(-0.25rem);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #00d9ff, #00d9ff);
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.stat-icon-secondary {
  background: linear-gradient(135deg, #00d9ff, #0891b2) !important;
}

.stat-icon-accent {
  background: linear-gradient(135deg, #0891b2, #00d9ff) !important;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00d9ff, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #cccccc;
  margin: 0;
}

.featured-projects-main .section-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 217, 255, 0.1);
  color: #00d9ff;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.featured-projects-main .text-gradient {
  background: linear-gradient(135deg, #00d9ff, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-card-main {
  background: #0a0a0a;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-img-main {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cccccc;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-info-main {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 217, 255, 0.1);
  color: #00d9ff;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-main {
  padding: 5rem 0;
}

.cta-box {
  background: linear-gradient(135deg, #00d9ff 0%, #00d9ff 100%);
  border-radius: 30px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 4rem 3rem;
  }
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.cta-box h2,
.cta-box p {
  color: white;
  position: relative;
  z-index: 1;
}

.cta-box .btn {
  position: relative;
  z-index: 1;
}
