:root {
  --bg-color: #050505;
  --bg-secondary: #0f0f13;
  --text-main: #ffffff;
  --text-muted: #888899;
  --accent-1: #6366f1;
  --accent-2: #ec4899;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

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

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

/* Typography */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  color: white;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--accent-1);
  color: var(--accent-1);
}
.btn-outline:hover {
  background: var(--accent-1);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 100;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.logo span {
  font-weight: 300;
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
}

.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  animation: float 10s infinite ease-in-out alternate;
}
.orb-1 {
  background: var(--accent-1);
  top: 10%;
  left: 10%;
}
.orb-2 {
  background: var(--accent-2);
  bottom: 10%;
  right: 10%;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 50px) scale(1.1); }
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 5rem 2rem;
}
.feature-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}
.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.feature-card p {
  color: var(--text-muted);
}

/* Projects */
.projects {
  padding: 5rem 0;
  background: var(--bg-secondary);
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.project-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.project-card:hover .overlay {
  opacity: 1;
}

.project-info {
  padding: 1.5rem;
}
.project-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.project-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA */
.cta-section {
  padding: 6rem 2rem;
}
.cta-section .container {
  padding: 4rem 2rem;
  background: linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.8)), url('./arkaplan.png');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--glass-border);
}
.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
}
footer .small {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.5;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 0.8s forwards ease-out;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Custom Additions for Info & Profile */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.profile-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-1);
}

.info-section {
  padding: 2rem 2rem 5rem;
}
.info-card {
  padding: 3rem;
  text-align: center;
}
.info-card h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-1);
}
.info-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
}
.tech-stack {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}
.tech-stack h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.tech-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.tech-logos img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.tech-logos img:hover {
  transform: translateY(-5px) scale(1.1);
}
.arkaplan-img {
  height: 80px !important;
  border-radius: 8px;
  margin-left: 2rem;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }
  .navbar {
    width: 95%;
    padding: 0.8rem 1rem;
  }
  .nav-right {
    gap: 1rem;
  }
  .profile-img {
    width: 35px;
    height: 35px;
  }
  .arkaplan-img {
    margin-left: 0;
    margin-top: 1rem;
  }
}
