/* Modern Black Portfolio with Scroll Animations */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.95);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #ec4899);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.login-btn {
  background: linear-gradient(135deg, #6366f1, #ec4899) !important;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-size: 0.8rem !important;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 2s forwards;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  transition: all 0.3s ease;
  display: inline-block;
}

.hero-btn.primary {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #fff;
}

.hero-btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn.primary:hover {
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/myimage.png');
  background-size: cover;
  background-position: left center;
  background-attachment: scroll;
  opacity: 0.8;
  z-index: 1;
  animation: parallax 20s ease-in-out infinite;
}

@keyframes parallax {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 95vw;
  padding: 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-title .line {
  display: block;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.6rem, 2vw, 1.5rem);
  color: #ccc;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1.5s forwards;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat .number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #6366f1;
  line-height: 1;
}

.stat .label {
  font-size: clamp(0.6rem, 1.2vw, 0.9rem);
  color: #ccc;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.hero-title,
.hero-subtitle,
.hero-stats {
  transform: translateY(30px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #ccc;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #6366f1);
}

.scroll-indicator span {
  font-size: 0.8rem;
  letter-spacing: 2px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
.about-section {
  padding: 6rem 0;
  position: relative;
  background: #000;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/myimage2.png');
  background-size: cover;
  background-position: right center;
  background-attachment: scroll;
  opacity: 0.4;
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.portfolio-section,
.testimonials-section,
.contact-section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.about-section .section-header {
  text-align: left;
}

.section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #ec4899);
  margin: 0 auto;
}

.about-section .title-line {
  margin: 0;
}

/* About Section */
.about-content {
  max-width: 600px;
  margin: 0;
  text-align: left;
}

.about-text {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.about-text.animate {
  opacity: 1;
  transform: translateY(0);
}

.about-social {
  margin-top: 2rem;
}

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

.about-social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.about-social-links a:hover {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.about-text p {
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.8;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.skill-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.skill-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-5px);
}

.skill-item i {
  font-size: 2rem;
  color: #6366f1;
  margin-bottom: 1rem;
}

.skill-item span {
  display: block;
  color: #fff;
  font-weight: 500;
}

/* Portfolio Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ccc;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-color: transparent;
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.portfolio-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(236, 72, 153, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Testimonials Section */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.5s ease;
  position: absolute;
  width: 100%;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  text-align: center;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-prev,
.slider-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-color: transparent;
}

.testimonial-content p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: #ccc;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #ccc;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contact-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-item i {
  color: #6366f1;
  font-size: 1.2rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #20b358;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  width: 90vw;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.close-lightbox {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

.lightbox-info {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: #ccc;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .hero-stats {
    gap: 4rem;
  }
  
  .stat .number {
    font-size: 3rem;
  }
  
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-bg {
    background-position: center 20%;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .testimonial-author {
    text-align: left;
  }
  
  .about-section::before {
    width: 100%;
    opacity: 0.3;
    background-position: center;
  }
  
  .about-content {
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-stats {
    gap: 5rem;
  }
}