@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@600;700&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #050505;
  color: #f5f5f5;
  overflow-x: hidden;
  position: relative;
}

/* BACKGROUND GLOW */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(160px);
  opacity: .14;
  z-index: -3;
}

body::before {
  background: #b08d57;
  top: -200px;
  left: -150px;
}

body::after {
  background: #6940ff;
  bottom: -200px;
  right: -150px;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,87,.18), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* HEADER */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: transform .35s ease;
}

nav {
  max-width: 1400px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav a {
  color: #d0d0d0;
  text-decoration: none;
  transition: .3s;
}

nav a:hover {
  color: #b08d57;
}

/* HERO */
.hero {
  min-height: 100vh;
  max-width: 1400px;
  margin: auto;
  padding: 130px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
}

.mesh {
  position: absolute;
  inset: 0;
  background:
      radial-gradient(circle at 20% 20%, rgba(176,141,87,.10), transparent 30%),
      radial-gradient(circle at 80% 80%, rgba(105,64,255,.10), transparent 30%);
  filter: blur(60px);
}

.tag {
  color: #b08d57;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 25px;
}

.hero h1 span {
  color: #b08d57;
  text-shadow: 0 0 25px rgba(176,141,87,.4);
  transition: opacity .3s ease;
}

.hero p {
  color: #b5b5b5;
  line-height: 1.9;
  font-size: 1.1rem;
  max-width: 650px;
}

.buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.btn-primary,
.btn-secondary {
  padding: 16px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: .3s;
}

.btn-primary {
  background: linear-gradient(135deg, #b08d57, #dec18a);
  color: black;
  box-shadow: 0 0 25px rgba(176,141,87,.25);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.12);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.05);
}

/* HERO IMAGE */
.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.photo-ring {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  border: 1px solid rgba(176,141,87,.25);
  animation: spin 20s linear infinite;
}

.hero-image img {
  width: 430px;
  border-radius: 28px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 30px rgba(176,141,87,.22),
    0 0 100px rgba(176,141,87,.15),
    0 0 180px rgba(105,64,255,.1);
  animation: floating 5s ease-in-out infinite;
}

@keyframes spin {
  from { transform: rotate(0deg);}
  to { transform: rotate(360deg);}
}

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

/* SECTIONS */
section {
  max-width: 1400px;
  margin: auto;
  padding: 100px 40px;
}

section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  margin-bottom: 24px;
}

.about p {
  max-width: 900px;
  line-height: 1.9;
  color: #b7b7b7;
}

/* PROJECTS */
.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  position: relative;
  display: block;
  min-height: 260px;
  padding: 40px;
  border-radius: 28px;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: .35s;
}

.card:hover {
  transform: translateY(-14px);
  border-color: #b08d57;
  box-shadow: 0 0 30px rgba(176,141,87,.16);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card p {
  color: #aaa;
  line-height: 1.8;
}

.card span {
  position: absolute;
  bottom: 35px;
  color: #b08d57;
}

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

/* CONTACT */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-links a {
  padding: 16px 24px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  transition: .3s;
}

.contact-links a:hover {
  transform: translateY(-5px);
  border-color: #b08d57;
}

/* FOOTER */
.premium-footer {
  margin-top: 120px;
  padding: 80px 40px 30px;
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
}

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

.footer-brand h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #aaa;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links h4 {
  color: #b08d57;
}

.footer-links a,
.footer-links span {
  color: #aaa;
  text-decoration: none;
  transition: .3s;
}

.footer-links a:hover {
  color: white;
  transform: translateX(6px);
}

.availability {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00ff99;
  box-shadow: 0 0 12px #00ff99;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1);}
  50% { transform: scale(1.3);}
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.05);
  color: #777;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* MOBILE */
@media(max-width:1100px){
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin: auto;
  }

  .buttons {
    justify-content: center;
  }

  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:700px){
  nav {
    flex-direction: column;
    gap: 20px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-image img {
    width: 90%;
  }

  .photo-ring {
    display: none;
  }
}
