/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --dark-bg: #0a0a0f;
  --dark-bg-2: #111118;
  --light-bg: #f5f5f7;
  --light-bg-2: #eaeaef;
  --accent-gold: #c9a84c;
  --accent-cyan: #00d4ff;
  --accent-magenta: #ff2d75;
  --text-white: #ffffff;
  --text-light: #cccccc;
  --text-dark: #1a1a2e;
  --text-muted: #888899;
  --radius: 0.75rem;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark-bg);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
}

/* ===== TOP CONTACT BAR ===== */
.top-contact-bar {
  background: var(--dark-bg-2);
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 8px;
}

.top-contact-bar .contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-contact-bar .contact-info a {
  color: var(--text-muted);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-contact-bar .contact-info a:hover {
  color: var(--accent-gold);
}

.top-contact-bar .whatsapp-btn {
  background: #25D366;
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.top-contact-bar .social-links {
  display: flex;
  gap: 12px;
}

.top-contact-bar .social-links a {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
}

.top-contact-bar .social-links a:hover {
  color: var(--accent-cyan);
  transform: scale(1.2);
}

/* ===== HEADER / NAV ===== */
.main-header {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

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

.nav-close-btn {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--dark-bg);
}

.hero-stars-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
}

.hero-title .gold {
  color: var(--accent-gold);
}

.hero-title .cyan {
  color: var(--accent-cyan);
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.9s;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.2s;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--dark-bg);
  border-color: var(--accent-gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-gold);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 40px;
}

.section-dark {
  background: var(--dark-bg);
}

.section-dark-2 {
  background: var(--dark-bg-2);
}

.section-light {
  background: var(--light-bg);
  color: var(--text-dark);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-light .section-subtitle {
  color: #666;
}

.section-light .section-title {
  color: var(--text-dark);
}

.gold-text {
  color: var(--accent-gold);
}

.cyan-text {
  color: var(--accent-cyan);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #e6c55a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== WHY CHOOSE US ===== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.reason-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
}

.reason-card:hover {
  border-color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.05);
  transform: translateY(-5px);
}

.reason-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-gold);
  opacity: 0.3;
  margin-bottom: 10px;
}

.reason-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-white);
}

.reason-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== MARQUEE ===== */
.marquee-section {
  background: var(--accent-gold);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-bg);
  text-transform: uppercase;
  letter-spacing: 2px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== WORK PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark-bg);
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-white);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== PORTFOLIO BANNER ===== */
.portfolio-banner {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
}

.portfolio-banner .hero-title {
  font-size: clamp(2rem, 7vw, 5rem);
}

/* ===== PORTFOLIO GALLERY ===== */

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

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

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

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.portfolio-overlay p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--accent-gold);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-block h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.contact-info-block > p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-gold);
}

.contact-info-item div h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 2px;
}

.contact-info-item div p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-gold);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn-primary {
  align-self: flex-start;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-text h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent-gold);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.stat-item .stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper .about-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(0, 212, 255, 0.1));
  border: 2px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-placeholder .initials {
  font-family: 'Orbitron', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent-gold);
  opacity: 0.4;
}

/* ===== EDUCATION ===== */
.education-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.education-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  height: 100%;
  background: rgba(201, 168, 76, 0.2);
}

.edu-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.edu-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  font-size: 1rem;
}

.edu-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 24px;
  flex: 1;
}

.edu-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.edu-content .edu-school {
  font-size: 0.9rem;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.edu-content .edu-year {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== SKILLS ===== */
.skill-bar-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.skill-bar-header .skill-percent {
  color: var(--accent-gold);
}

.skill-bar-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  border-radius: 3px;
  transition: width 1.5s ease;
}

/* ===== FOOTER ===== */
.main-footer {
  background: var(--dark-bg-2);
  padding: 60px 40px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in {
  opacity: 0;
  transition: all 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left.visible {
  opacity: 1;
  animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right.visible {
  opacity: 1;
  animation: fadeInRight 0.8s ease forwards;
}

.fade-in.visible {
  opacity: 1;
  animation: fadeIn 0.8s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-contact-bar {
    justify-content: center;
    text-align: center;
  }
  .top-contact-bar .social-links {
    display: none;
  }
  .main-header {
    padding: 14px 20px;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links.open .nav-close-btn {
    display: block;
  }
  .nav-links a {
    font-size: 1.3rem;
  }
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
  .section {
    padding: 60px 20px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-gallery {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}
