/* Google Fonts */
body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  background: #0a0a23;
  color: #fff;
  scroll-behavior: smooth;
  padding-top: 70px;
}

section {
  padding: 80px 20px 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-weight: 600;
  margin-bottom: 16px;
}

h1 {
  font-size: 3rem;
  color: #7c3aed;
}

h2 {
  font-size: 2rem;
  color: #38bdf8;
}

h3 {
  font-size: 1.5rem;
  color: #fff;
  border-left: 4px solid #7c3aed;
  padding-left: 12px;
  margin-bottom: 32px;
  position: relative;
  transition: all 0.3s ease;
  cursor: default;
}

h3::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #7c3aed, #38bdf8);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

h3:hover {
  transform: translateX(8px);
  color: #38bdf8;
}

h3:hover::before {
  transform: scaleY(1);
}

.cta {
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
  color: #fff;
  border: none;
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(60,0,120,0.15);
}
.cta:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 32px rgba(60,0,120,0.25);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #0a0a23;
  overflow: hidden;
  padding: 0 20px;
}

.hero-content {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 4.5rem;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #fff;
}

.hero-description {
  font-size: 1.2rem;
  color: #a8b2d1;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: #7c3aed;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #a8b2d1;
  margin-top: 8px;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.cta {
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta.primary {
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
  color: #fff;
  border: none;
  box-shadow: 0 4px 24px rgba(60,0,120,0.15);
}

.cta.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #7c3aed;
  box-shadow: 0 4px 24px rgba(60,0,120,0.1);
}

.cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(60,0,120,0.25);
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 400px;
  height: 400px;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 4px solid rgba(124, 58, 237, 0.3);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 40px;
  right: -20px;
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
  padding: 12px 24px;
  border-radius: 20px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(60,0,120,0.2);
  animation: float 3s ease-in-out infinite;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(60,0,120,0.3);
  background: linear-gradient(90deg, #38bdf8, #7c3aed);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #a8b2d1;
  font-size: 0.9rem;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-indicator svg {
  width: 24px;
  height: 24px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 60% 40%, #7c3aed55 0%, transparent 70%),
              radial-gradient(circle at 30% 70%, #38bdf855 0%, transparent 70%);
  animation: bgMove 8s linear infinite alternate;
  z-index: 1;
}

@keyframes bgMove {
  0% { background-position: 60% 40%, 30% 70%; }
  100% { background-position: 70% 50%, 20% 60%; }
}

@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
  }

  .stat-item {
    align-items: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image {
    width: 300px;
    height: 300px;
    border-radius: 40px;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-image {
    width: 250px;
    height: 250px;
    border-radius: 35px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-image {
    width: 200px;
    height: 200px;
    border-radius: 30px;
  }
}

/* About Section */
#about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  transition: all 0.3s ease;
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #7c3aed;
  object-fit: cover;
  box-shadow: 0 4px 24px #7c3aed33;
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-avatar:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: #38bdf8;
  box-shadow: 0 8px 32px #7c3aed66;
}

.about-text {
  max-width: 500px;
  transition: all 0.3s ease;
}

.about-text:hover {
  transform: translateX(10px);
}

.about-text h3 {
  transition: all 0.3s ease;
}

.about-text:hover h3 {
  color: #38bdf8;
  transform: translateX(5px);
}

.about-text p {
  transition: all 0.3s ease;
  line-height: 1.6;
}

.about-text:hover p {
  color: #a8b2d1;
  transform: translateX(5px);
}

/* Portfolio Section */
#portfolio .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.portfolio-item {
  background: #181836;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 16px #7c3aed22;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px #7c3aed44;
}
.portfolio-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
}
.portfolio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.portfolio-thumb:hover .portfolio-video {
  transform: scale(1.05);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.9);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.portfolio-thumb:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}
.play-btn:hover {
  background: rgba(124, 58, 237, 1);
  transform: translate(-50%, -50%) scale(1.2);
}
.portfolio-info {
  padding: 18px;
}

/* Portfolio More Work Button */
.portfolio-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.more-work-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
  color: #fff;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(60,0,120,0.15);
}

.more-work-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.more-work-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(60,0,120,0.25);
}

.more-work-btn:hover svg {
  transform: translateX(4px);
}

.more-work-btn:active {
  transform: translateY(-2px);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  background: #181836;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
  opacity: 1;
}

.video-modal video {
  width: 100%;
  display: block;
  max-height: 80vh;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s;
  z-index: 10;
}

.close-modal:hover {
  background: rgba(124, 58, 237, 0.9);
  transform: scale(1.1);
}

/* Add overlay animation */
.video-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.video-modal.active::before {
  opacity: 1;
}

/* Services Section */
.services-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.service-box {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.service-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-box:hover::before {
  transform: translateX(100%);
}

.service-icon {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 12px;
  padding: 0.8rem;
  transition: all 0.3s ease;
}

.service-box:hover .service-icon {
  transform: scale(1.1);
  background: var(--accent-color);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.service-box:hover .service-icon svg {
  color: #fff;
}

.service-box h4 {
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-box p {
  color: var(--text-color);
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
  transition: opacity 0.3s ease;
}

.service-box:hover p {
  opacity: 1;
}

/* Contact Section */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 400px;
  margin: 0 auto 24px auto;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: #23234a;
  color: #fff;
  font-size: 1rem;
  resize: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-color);
  background: #2a2a5a;
}

.submit-btn {
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
  color: #fff;
  border: none;
  padding: 14px 0;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.contact-socials {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
}

.contact-socials a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #23234a;
  border-radius: 12px;
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-socials a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.contact-socials a:hover::before {
  transform: translateX(100%);
}

.contact-socials a svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.contact-socials a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-socials a:hover svg {
  transform: scale(1.1);
}

/* Instagram hover effect */
.contact-socials a[title="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Facebook hover effect */
.contact-socials a[title="Facebook"]:hover {
  background: #1877f2;
}

/* Email hover effect */
.contact-socials a[title="Email"]:hover {
  background: #ea4335;
}

@media (max-width: 480px) {
  .contact-socials {
    gap: 16px;
  }
  
  .contact-socials a {
    width: 45px;
    height: 45px;
  }
  
  .contact-socials a svg {
    width: 20px;
    height: 20px;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 24px 0 12px 0;
  background: #0a0a23;
  color: #fff;
  font-size: 1rem;
  border-top: 1px solid #23234a;
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  
  .about-text:hover {
    transform: translateY(5px);
  }
  
  .about-text:hover h3,
  .about-text:hover p {
    transform: translateY(2px);
  }
}
@media (max-width: 600px) {
  section {
    padding: 48px 8px 36px 8px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .portfolio-thumb img {
    height: 100px;
  }
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 35, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: #7c3aed;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-brand::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
  transition: width 0.3s ease;
}

.nav-brand:hover {
  color: #38bdf8;
  transform: translateY(-2px);
}

.nav-brand:hover::before {
  width: 100%;
}

.nav-brand:active {
  transform: translateY(0);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
  transition: width 0.3s;
}

.nav-link:hover {
  color: #7c3aed;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-toggle.active .hamburger {
    background: transparent;
  }

  .nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }
}

@media (max-width: 1024px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-list {
    grid-template-columns: 1fr;
  }
  
  .service-box {
    padding: 1.5rem 1rem;
  }
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-btn svg {
  width: 35px;
  height: 35px;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-btn svg {
    width: 30px;
    height: 30px;
  }
} 