/* ====== Base ====== */
:root{
  --bg:#374149;          /* dark slate */
  --card:#2f373b;
  --accent:#ff6a00;      /* orange */
  --accent-2:#ff8a3d;
  --muted:#cfd6d9;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background:var(--bg);
  color:var(--muted);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.4;
}
a{color:inherit;text-decoration:none}

/* ====== NAV ====== */
.nav{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  top:18px;
  z-index:50;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.06));
  padding:10px 22px;
  border-radius:40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 6px 0 rgba(255,106,0,0.12) inset;
  display:flex;
  gap:18px;
  align-items:center;
  border:1px solid rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
}
.nav a{
  padding:8px 14px;
  border-radius:20px;
  font-weight:600;
  color:var(--muted);
  transition: all .25s ease;
}
.nav a.active, .nav a:hover{
  background: linear-gradient(90deg, rgba(255,106,0,0.12), rgba(255,138,61,0.06));
  color: white;
  box-shadow: 0 4px 14px rgba(255,106,0,0.14);
  transform: translateY(-2px);
}

/* ====== HERO / WELCOME ====== */
.hero{
  max-width:1100px;
  margin:110px auto 40px;
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:30px;
  align-items:center;
  padding: 0 20px;
}
.hero-left h1{
  font-size:44px;
  color:white;
  letter-spacing:1px;
  margin-bottom:12px;
  text-shadow:
    0 0 0 #fff,
    3px 3px 0 rgba(255,106,0,0.25),
    6px 6px 0 rgba(0,0,0,0.15);
}
.hero-left h2{
  font-size:20px;
  color:var(--muted);
  margin-bottom:18px;
  font-weight:600;
}
.hero-left p{
  color: #d1d7d9;
  margin-bottom:18px;
  max-width:640px;
}
.cta{
  display:flex;
  gap:12px;
}
.btn{
  background:var(--accent);
  color:#fff;
  padding:10px 18px;
  border-radius:28px;
  font-weight:700;
  box-shadow: 0 10px 30px rgba(255,106,0,0.18);
  transition: transform .18s ease, box-shadow .18s;
  border: none;
  cursor:pointer;
}
.btn.secondary{
  background:transparent;
  color:var(--muted);
  border:2px solid rgba(255,255,255,0.04);
  box-shadow:none;
}
.btn:active{transform:translateY(2px)}

/* ===== PROFILE CIRCLE ===== */
.profile-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
}
.profile{
  width:260px;
  height:260px;
  border-radius:50%;
  background:#222;
  display:block;
  overflow:hidden;
  position:relative;
  box-shadow:
    0 0 60px rgba(255,106,0,0.18),
    0 6px 26px rgba(0,0,0,0.6);
  border:8px solid rgba(255,106,0,0.08);
  transition: transform .35s ease;
}
.profile img{width:100%;height:100%;object-fit:cover;display:block}
.profile:hover{transform:scale(1.02) rotate(-2deg)}

/* ===== ABOUT / SERVICES ===== */
.section{
  max-width:1100px;
  margin:40px auto;
  padding: 0 20px 40px;
}
.section h3{
  font-size:28px;
  color:white;
  margin-bottom:18px;
  padding-left:8px;
  border-left:6px solid var(--accent);
  display:inline-block;
}
.about-grid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:28px;
  align-items:start;
  margin-top:10px;
}
.about-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  padding:22px;
  border-radius:12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  color:#d1d7d9;
  line-height:1.6;
}

/* ===== Services: diamond cards ===== */
.services{
  margin-top:26px;
  display:flex;
  gap:26px;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
}
.diamond{
  width:170px;
  height:170px;
  transform: rotate(45deg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
  border-radius:18px;
  box-shadow:
    0 16px 30px rgba(0,0,0,0.6),
    0 10px 0 rgba(255,106,0,0.14) inset;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .28s ease, box-shadow .28s;
  position:relative;
  overflow:visible;
}
.diamond::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:-18px;
  width:54%;
  height:18px;
  transform:translateX(-50%) rotate(0deg);
  background: linear-gradient(90deg, rgba(255,106,0,0.18), rgba(255,138,61,0.06));
  filter: blur(6px);
  border-radius:10px;
  z-index:-1;
}
.diamond .content{
  transform: rotate(-45deg);
  text-align:center;
  font-weight:700;
  color:var(--muted);
  letter-spacing:1px;
  font-size:18px;
}
.diamond:hover{
  transform: rotate(45deg) translateY(-8px) scale(1.03);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.6),
    0 12px 0 rgba(255,106,0,0.20) inset;
}

/* ===== Portfolio images row ===== */
.portfolio-row{
  display:flex;
  gap:18px;
  margin-top:18px;
  flex-wrap:wrap;
}
.portfolio-card{
  flex:1 1 300px;
  min-width:220px;
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  border:1px solid rgba(255,255,255,0.02);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  transition: transform .25s;
}
.portfolio-card img{width:100%;height:200px;object-fit:cover;display:block}
.portfolio-card:hover{transform:translateY(-8px)}

/* ===== Contact small cards ===== */
.contact-grid{
  display:flex;
  gap:18px;
  margin-top:14px;
  flex-wrap:wrap;
}
.contact-card{
  background: rgba(255,255,255,0.03);
  padding:14px 16px;
  border-radius:10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  min-width:220px;
  font-weight:600;
  color:var(--muted);
}

/* ===== Footer ===== */
footer{
  margin:40px 0 80px;
  text-align:center;
  color:#bfc7c9;
}

/* ===== Responsive ===== */
@media (max-width:980px){
  .hero, .about-grid{grid-template-columns:1fr}
  .nav{left:20px;transform:none}
  .profile{width:200px;height:200px}
}
@media (max-width:520px){
  .diamond{width:140px;height:140px}
  .profile{width:160px;height:160px}
  .hero-left h1{font-size:28px}
}
