:root {
  /* Colors matched with the user's photo background gradient */
  --bg-deep: #03070e;
  --bg-surface: #070e1b;
  --bg-surface-glow: rgba(7, 14, 27, 0.7);
  --bg-card: rgba(10, 20, 38, 0.6);
  --accent-cyan: #7eb8e5;         /* Soft pastel sky blue from photo top */
  --accent-blue: #5b99d5;         /* Medium blue */
  --accent-magenta: #84b89f;      /* Soft pastel mint green from photo bottom */
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  
  --font-main: 'Outfit', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
button { cursor: pointer; font-family: inherit; border: none; background: none; transition: var(--transition-smooth); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
section { padding: 120px 0; position: relative; z-index: 1; }

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Typography gradients */
.text-gradient {
  background: linear-gradient(90deg, var(--accent-cyan), var(--text-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animations */
.fade-in-up { 
  opacity: 0; 
  transform: translateY(40px) scale(0.98); 
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); 
}
.fade-in-up.visible { 
  opacity: 1; 
  transform: translateY(0) scale(1); 
}

.fade-in-left { 
  opacity: 0; 
  transform: translateX(-40px) scale(0.98); 
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); 
}
.fade-in-left.visible { 
  opacity: 1; 
  transform: translateX(0) scale(1); 
}

/* Glow Backgrounds */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  animation: glowFloat 10s ease-in-out infinite alternate;
}

@keyframes glowFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }
  50% {
    transform: translate(25px, -20px) scale(1.08);
    opacity: 0.38;
  }
  100% {
    transform: translate(-15px, 15px) scale(0.92);
    opacity: 0.25;
  }
}
.hero-glow-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--accent-blue); }
.hero-glow-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: var(--accent-magenta); }
.port-glow { top: 30%; right: 0; width: 60vw; height: 60vw; background: rgba(189, 0, 255, 0.15); }
.services-glow { bottom: 0; left: 0; width: 50vw; height: 50vw; background: rgba(0, 240, 255, 0.1); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: 0.5px;
  backdrop-filter: blur(5px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-magenta));
  color: #fff;
  box-shadow: 0 4px 15px rgba(189, 0, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
}
.btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 5px 0;
  z-index: 100;
  background: rgba(5, 10, 16, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-fast);
}
.navbar.scrolled { padding: 0; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; display: flex; align-items: center; }
.logo-text {
  color: #ffffff;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}
.logo-text:hover {
  opacity: 0.8;
}
.brand-logo-img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-right: 12px;
  opacity: 0.95;
  transition: var(--transition-fast);
}
.logo:hover .brand-logo-img {
  opacity: 1;
  transform: scale(1.05);
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); position: relative; }
.nav-links a:hover { color: var(--text-main); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
  background: var(--accent-cyan); transition: var(--transition-smooth);
}
.nav-links a:hover::after { width: 100%; }

.menu-toggle { display: none; flex-direction: column; gap: 6px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--text-main); transition: var(--transition-fast); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; text-align: center; }
.hero-container { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; }
.hero-content { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: 4.5rem; line-height: 1.15; margin-bottom: 1.5rem; font-weight: 700; }
.hero-subtitle { font-size: 1.35rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 650px; line-height: 1.7; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; }

.hero-image { display: none; }
.image-wrapper { position: relative; border-radius: 20px; padding: 10px; background: linear-gradient(135deg, rgba(155,195,212,0.3), rgba(181,162,227,0.15)); box-shadow: 0 0 25px rgba(155,195,212,0.15); }
.profile-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}
.placeholder-hint { font-size: 0.85rem; margin-top: 10px; opacity: 0.6; }

/* About */
.about { background: linear-gradient(to bottom, var(--bg-deep), var(--bg-surface)); }
.about-content { max-width: 800px; margin: 0 auto; text-align: center; }
.about-text { font-size: 1.5rem; line-height: 1.8; color: var(--text-main); margin-bottom: 3rem; font-weight: 300; }
.about-highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.highlight-tag {
  padding: 8px 16px; border-radius: 20px; font-size: 0.9rem;
  background: rgba(0, 240, 255, 0.08); border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

/* Portfolio */
.video-categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.video-filter-btn {
  padding: 8px 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted); background: transparent;
  transition: var(--transition-smooth);
}
.video-filter-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-magenta));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(126, 184, 229, 0.3);
}
.video-filter-btn:hover:not(.active) {
  border-color: var(--accent-cyan);
  color: var(--text-main);
  background: rgba(255,255,255,0.05);
}

.video-grid { display: grid; gap: 2rem; align-items: start; }
.video-grid.aspect-vertical {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.video-grid.aspect-horizontal {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.video-grid.aspect-mixed {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.video-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; overflow: hidden; transition: var(--transition-smooth);
  cursor: pointer;
}
.video-card:hover { 
  transform: translateY(-8px); 
  border-color: var(--accent-cyan); 
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(126, 184, 229, 0.25); 
}

.video-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.video-preview-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.video-card.aspect-horizontal .video-preview-wrapper {
  aspect-ratio: 16/9;
}
.video-card.aspect-vertical .video-preview-wrapper {
  aspect-ratio: 9/16;
}

.video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--transition-smooth);
}
.video-card:hover .video-preview {
  transform: scale(1.05);
}

.video-play-overlay-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-smooth);
  pointer-events: none;
}
.video-play-overlay-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 4px;
}
.video-card:hover .video-play-overlay-btn {
  opacity: 1;
  transform: scale(1);
  background: var(--accent-magenta);
  border-color: transparent;
  box-shadow: 0 0 15px var(--accent-magenta);
}

.video-info {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 16, 0.4));
}
.video-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.4rem;
}
.video-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  line-height: 1.3;
}
.video-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.watch-btn {
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  text-align: left;
  margin-top: auto;
}
.watch-btn::after {
  content: '→';
  transition: transform 0.3s;
}
.video-card:hover .watch-btn::after {
  transform: translateX(4px);
}

/* Photography */
.photography { background: var(--bg-surface); }
.photo-categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.filter-btn {
  padding: 8px 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted); background: transparent;
  transition: var(--transition-smooth);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-magenta));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(126, 184, 229, 0.3);
}
.filter-btn:hover:not(.active) {
  border-color: var(--accent-cyan);
  color: var(--text-main);
  background: rgba(255,255,255,0.05);
}
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem;
}
.photo-item { 
  position: relative; 
  border-radius: 10px; 
  overflow: hidden; 
  aspect-ratio: 4/5; 
  background: #162230; 
  cursor: pointer; 
  transition: var(--transition-smooth); 
}
.photo-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.placeholder-photo { display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255,255,255,0.2); }
.photo-overlay {
  position: absolute; inset: 0; background: rgba(5, 10, 21, 0.8);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition-smooth);
}
.photo-item:hover .photo-overlay { opacity: 1; }
.view-text { color: #fff; font-weight: 500; transform: translateY(20px); transition: var(--transition-smooth); }
.photo-item:hover .view-text { transform: translateY(0); }
.view-more-container {
  display: none;
  justify-content: center;
  margin-top: 3rem;
  width: 100%;
}


/* Results */
.results { padding: 80px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); background: linear-gradient(90deg, rgba(189,0,255,0.05), transparent); }
.results-container { display: flex; align-items: center; gap: 4rem; }
.results-text { flex: 1; }
.results-text h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.results-text p { color: var(--text-muted); font-size: 1.1rem; }
.results-points { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }
.value-point { display: flex; align-items: center; gap: 1.5rem; background: rgba(0,0,0,0.2); padding: 1.5rem; border-radius: 12px; }
.point-icon { font-size: 1.8rem; }
.value-point h3 { font-size: 1.2rem; font-weight: 500; }

/* Contact */
.contact-container { max-width: 800px; }
.contact-box { background: var(--bg-card); padding: 4rem; border-radius: 24px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.contact-box h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-box p { color: var(--text-muted); margin-bottom: 3rem; font-size: 1.1rem; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.contact-btn {
  display: flex; align-items: center; gap: 10px; padding: 12px 24px;
  background: rgba(255,255,255,0.05); border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
}
.contact-btn:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); color: var(--accent-cyan); border-color: rgba(0,240,255,0.4); box-shadow: 0 0 15px rgba(0,240,255,0.15); }
.contact-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Footer */
.footer { padding: 2.5rem 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }
.footer-logo-img {
  display: block;
  margin: 0 auto 15px auto;
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: var(--transition-smooth);
}
.footer-logo-img:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* Modals */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); }
.modal-content { position: relative; width: 100%; max-width: 900px; background: #000; border-radius: 12px; overflow: hidden; animation: modalIn 0.3s ease; }
.modal-content.photo-content { background: transparent; display: flex; justify-content: center; align-items: center; height: 90vh; }
.close-modal { position: absolute; top: -40px; right: 0; font-size: 2rem; color: #fff; cursor: pointer; z-index: 10; }
.modal-content.photo-content .close-modal { top: 10px; right: 10px; background: rgba(0,0,0,0.5); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.video-container { aspect-ratio: 16/9; width: 100%; background: #111; position: relative; }
.placeholder-video-player { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-muted); border: 2px dashed rgba(255,255,255,0.2); margin: 2px;}
#lightbox-img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.placeholder-fullscreen-photo { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: #111; color: var(--text-muted); border: 1px dashed rgba(255,255,255,0.2); }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container { flex-direction: column; text-align: center; }
  .hero-title { font-size: 3rem; }
  .hero-subtitle { margin: 0 auto 2.5rem; }
  .hero-cta { justify-content: center; }
  .results-container { flex-direction: column; }
  .results-text { text-align: center; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; background: rgba(5, 10, 16, 0.95);
    flex-direction: column; align-items: center; padding: 2rem 0; gap: 1.5rem;
    clip-path: circle(0 at top right); transition: all 0.4s ease-out;
  }
  .nav-links.active { clip-path: circle(150% at top right); }
  .menu-toggle { display: flex; }
  
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .contact-box { padding: 2rem 1.5rem; }
  .contact-box h2 { font-size: 2rem; }
}

/* About Me Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  max-width: 320px;
  width: 100%;
  justify-self: center;
}
.about-image .image-wrapper {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  box-shadow: 0 10px 30px rgba(126, 184, 229, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.about-image .image-wrapper:hover {
  transform: scale(1.04) rotate(2deg);
  box-shadow: 0 15px 40px rgba(132, 184, 159, 0.4);
}
.about-image .profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  box-shadow: none;
}
.about-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.about-me-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}
.about-me-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.about-role {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  display: block;
}
.about-text-solo {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.about-details .about-highlights {
  justify-content: flex-start;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-details {
    align-items: center;
    text-align: center;
  }
  .about-me-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .about-details .about-highlights {
    justify-content: center;
  }
}

/* Services */
.services { background: var(--bg-deep); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { padding: 2rem; background: rgba(255,255,255,0.02); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); transition: var(--transition-smooth); }
.service-card:hover { background: rgba(255,255,255,0.05); transform: translateY(-5px); border-color: rgba(0,240,255,0.2); box-shadow: 0 5px 20px rgba(0,240,255,0.1); }
.service-title { font-size: 1.3rem; margin-bottom: 0.8rem; color: #fff; }
.service-desc { color: var(--text-muted); font-size: 0.95rem; }

/* Word Rotator Animation */
.word-fade {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: wordFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.word-fade-out {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  animation: wordFadeOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wordFadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Mouse-Move Interactive Glow */
.glow-bg {
  transition: transform 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
