:root {
  --bg: #03050b;
  --card: rgba(10, 16, 30, 0.75);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.75);
  --accent: #00afff;
  --accent-glow: rgba(0, 175, 255, 0.3);
  --shadow: 0 20px 50px rgba(2, 15, 35, 0.6);
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(0, 175, 255, 0.15), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.15), transparent 45%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.glow-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 175, 255, 0.15), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  backdrop-filter: blur(18px);
  background: rgba(3, 5, 11, 0.75);
  border-bottom: 1px solid var(--stroke);
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.25rem;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.highlight {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

main {
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 7vw, 5rem);
}

.section {
  margin: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin: 0.25rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 28ch;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-group {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), #00d8ff);
  color: #020810;
  box-shadow: 0 10px 30px rgba(0, 175, 255, 0.4);
}

.btn.secondary {
  border: 1px solid var(--stroke);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn.tertiary {
  color: var(--accent);
  border: 1px solid transparent;
  background: rgba(0, 175, 255, 0.08);
}

.btn:hover {
  transform: translateY(-3px);
}

.portrait-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 350px;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  z-index: 2;
  border: 2px solid rgba(0, 175, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 175, 255, 0.3), 
              0 0 40px rgba(0, 175, 255, 0.2),
              inset 0 0 40px rgba(0, 175, 255, 0.1);
  backdrop-filter: blur(20px);
  background: rgba(10, 16, 30, 0.6);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

.portrait-glow {
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg, 
    rgba(0, 175, 255, 0.4) 0%, 
    rgba(0, 175, 255, 0.1) 50%, 
    transparent 100%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
}

.earth-wrapper {
  position: relative;
  min-height: 420px;
  width: 100%;
  border-radius: 32px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 175, 255, 0.3), rgba(3, 5, 11, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1;
}

#earth-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.orbital {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(0, 175, 255, 0.4);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.7;
  }
}

.glass-panel {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.section-heading h2 {
  margin: 0.5rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-text {
  color: var(--muted);
  max-width: 70ch;
}

.interest-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.interest-grid span {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
}

.projects .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.project-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.project-card p {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tags span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 175, 255, 0.12);
  color: var(--text);
  font-size: 0.85rem;
}

.project-btn {
  display: inline-flex;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.social-card {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  background: rgba(0, 175, 255, 0.08);
  text-align: center;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 175, 255, 0.35);
}

.skills-slider-wrapper {
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.skills-slider {
  display: flex;
  gap: 1.25rem;
  animation: scroll 40s linear infinite;
  width: fit-content;
}

.skills-slider:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.skill-card {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 175, 255, 0.4);
  border-color: var(--accent);
  background: rgba(0, 175, 255, 0.1);
}

.skill-card img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 175, 255, 0.3));
  transition: transform 0.3s ease;
}

.skill-card:hover img {
  transform: scale(1.1);
}

.skill-card span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.contact .cta-group {
  justify-content: center;
}

/* Photography Section */
.photography-hero {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
}

.photography-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--accent), #00d8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.photography-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto;
}

.photography-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 175, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 175, 255, 0.3);
}

.photography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.photo-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--stroke);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 175, 255, 0.3);
  border-color: var(--accent);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-item:hover img {
  transform: scale(1.1);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 5, 11, 0.95) 0%,
    transparent 50%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.photo-item.hidden {
  display: none;
}

.photography-services {
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 175, 255, 0.2);
  border-color: var(--accent);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0, 175, 255, 0.3));
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  color: var(--text);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.photographer-about {
  margin-bottom: 4rem;
}

.about-photographer-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: center;
}

.photographer-headshot {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--stroke);
  box-shadow: 0 20px 40px rgba(0, 175, 255, 0.2);
}

.photographer-headshot img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.testimonials-section {
  margin-bottom: 4rem;
  position: relative;
  min-height: 300px;
}

.testimonials-slider {
  position: relative;
  min-height: 200px;
  margin: 2rem 0;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 2rem;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 70ch;
  margin: 0 auto 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: rgba(0, 175, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 0.75rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0, 175, 255, 0.5);
}

.photography-cta {
  text-align: center;
}

.photography-cta .cta-group {
  justify-content: center;
  margin-top: 2rem;
}

/* Innovation Section */
.innovation-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.quote-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 175, 255, 0.2);
}

.quote-card .quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.quote-card .quote-author {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.innovation-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  justify-content: center;
}

.keyword-tag {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(0, 175, 255, 0.15);
  border: 1px solid rgba(0, 175, 255, 0.3);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.keyword-tag:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(0, 175, 255, 0.25);
}

/* Contact Details */
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 175, 255, 0.2);
}

.contact-icon {
  font-size: 2rem;
  line-height: 1;
}

.contact-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
  background: rgba(3, 5, 11, 0.9);
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0 0 auto auto;
    top: 75px;
    right: clamp(1rem, 5vw, 2rem);
    flex-direction: column;
    background: rgba(3, 5, 11, 0.95);
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    transform: translateY(-140%) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header {
    padding: 1rem 1.25rem;
  }

  main {
    padding: 2rem 1.25rem;
  }

  .photography-grid {
    grid-template-columns: 1fr;
  }

  .photography-hero {
    padding: 2rem 1.5rem;
  }

  .photography-title {
    font-size: 2rem;
  }

  .photography-subtitle {
    font-size: 1rem;
  }

  .testimonial-text {
    font-size: 1rem;
    padding: 1rem;
  }

  .testimonial-controls {
    flex-wrap: wrap;
  }

  .hero-visual {
    min-height: 320px;
  }

  .earth-wrapper {
    min-height: 320px;
  }

  .portrait-box {
    width: 220px;
    height: 280px;
  }

  .photography-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .about-photographer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .photographer-headshot {
    max-width: 250px;
  }

  .innovation-quotes {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .innovation-keywords {
    gap: 0.5rem;
  }

  .keyword-tag {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .innovation-quotes {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .innovation-keywords {
    gap: 0.5rem;
  }

  .keyword-tag {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .photography-filters {
    gap: 0.75rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .skill-card {
    min-width: 120px;
    padding: 1.25rem 1rem;
  }

  .skill-card img {
    height: 44px;
    width: 44px;
  }

  .skill-card span {
    font-size: 0.85rem;
  }

  .skills-slider {
    gap: 1rem;
  }
}

