/* ===== CSS Variables - Dark Purple Theme ===== */
:root {
  --primary: #a855f7;
  --primary-light: #c084fc;
  --primary-dark: #9333ea;
  --primary-glow: rgba(168, 85, 247, 0.3);

  --bg-dark: #0c0a0f;
  --bg-card: #13111a;
  --bg-card-hover: #1a1725;
  --bg-elevated: #1e1b29;

  --text-primary: #f8f8f8;
  --text-secondary: #a3a3a3;
  --text-muted: #6b6b6b;

  --border-color: rgba(168, 85, 247, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);

  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.15);
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

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

/* ===== Typography ===== */
.section-label {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 48px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(12, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.logo-img{
  height: 60px;
  border-radius: 100px;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 80px;
}

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

.hero-greeting {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.hero-role {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-visual {
  flex: 0 0 400px;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
}

.hero-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  opacity: 0.3;
}

.decoration-dots {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--primary) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.4;
}

/* ===== About Section ===== */
.about {
  padding: 120px 0;
  background-color: var(--bg-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

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

.about-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-content {
  padding-top: 20px;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.experience-card {
  margin-top: 40px;
  padding: 28px;
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.experience-card:hover {
  border-color: var(--border-color);
  background-color: var(--bg-card-hover);
}

.experience-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.experience-info h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.experience-info h3 a {
  color: var(--primary);
}

.experience-info h3 a:hover {
  text-decoration: underline;
}

.experience-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.experience-tags span {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: rgba(168, 85, 247, 0.1);
  color: var(--primary);
  border-radius: 20px;
}

/* ===== Services Section ===== */
.services {
  padding: 120px 0;
  background-color: var(--bg-card);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 24px;
  background-color: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-color);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(168, 85, 247, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Portfolio Section ===== */
.portfolio {
  padding: 120px 0;
  background-color: var(--bg-dark);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  flex: 1 1 calc(25% - 15px);
  min-width: 250px;
  height: 280px;
}

.gallery-item.large {
  flex: 1 1 calc(50% - 10px);
  height: 400px;
}

.gallery-item.tall {
  flex: 1 1 calc(25% - 15px);
  height: 580px;
}

.gallery-item.wide {
  flex: 1 1 calc(50% - 10px);
  height: 280px;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 15, 0.95) 0%, rgba(12, 10, 15, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-category {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
  transform: translateY(20px);
  transition: transform 0.4s ease 0.05s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

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

.gallery-item:hover .gallery-category,
.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

/* ===== Contact Section ===== */
.contact {
  padding: 120px 0;
  background-color: var(--bg-card);
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 48px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background-color: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--border-color);
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(168, 85, 247, 0.1);
  border-radius: 12px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
  min-width: 0;
}

.contact-info h3 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-info a:hover {
  color: var(--primary);
}

.copy-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.copy-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.social-section h3 {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 60px;
    padding-top: 100px;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
  }

  .hero-visual {
    order: 1;
    flex: 0 0 auto;
    max-width: 320px;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-container {
    max-width: 450px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    flex: 1 1 calc(50% - 10px);
  }

  .gallery-item.large,
  .gallery-item.wide {
    flex: 1 1 100%;
  }

  .gallery-item.tall {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    flex-direction: column;
    align-items: center;
    padding: 32px;
    gap: 24px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: var(--transition);
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-role {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    flex: 1 1 100%;
    height: 280px;
  }

  .gallery-item.large,
  .gallery-item.tall {
    height: 320px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .social-grid {
    justify-content: center;
  }

  .social-link span {
    display: none;
  }

  .social-link {
    padding: 14px;
  }
}
