* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  display: flex;
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #e5e7eb;
}

/* Sidebar */
.sidebar {
  width: 230px;
  min-height: 100vh;
  background: rgba(15, 23, 42, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 20px;
  position: fixed;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 2rem;
  font-weight: bold;
  color: #38bdf8;
  margin-bottom: 40px;
}


.bolt {
  font-size: 1.2rem;
  color: #38bdf8;
  opacity: 0.9;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar nav a {
  text-decoration: none;
  color: #cbd5f5;
  padding: 10px 15px;
  border-radius: 6px;
  transition: 0.3s;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: #38bdf8;
  color: #020617;
}

/* Main Content */
.main-content {
  margin-left: 230px;
  padding: 60px;
  width: 100%;
}

/* Sections */
.section {
  margin-bottom: 60px;
}

.home h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.home h1 span {
  color: #38bdf8;
}

.home h3 {
  font-weight: 400;
  margin-bottom: 25px;
  color: #cbd5f5;
}

.home p {
  max-width: 750px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #d1d5db;
}

/* Buttons */
.buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.btn {
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 6px;
  transition: 0.3s;
  font-weight: 500;
}

.primary {
  background: #38bdf8;
  color: #020617;
}

.primary:hover {
  background: #0ea5e9;
}

.secondary {
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.secondary:hover {
  background: #38bdf8;
  color: #020617;
}

/* Glass sections */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass h2 {
  margin-bottom: 15px;
  color: #38bdf8;
}

.glass p {
  line-height: 1.6;
  color: #d1d5db;
}

/* Responsive */
@media (max-width: 900px) {
  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .main-content {
    margin-left: 0;
    padding: 30px;
  }
}
/* CONTACT PAGE */
.contact-page {
  text-align: center;
}

.contact-page h2 {
  color: #38bdf8;
  margin-bottom: 10px;
}

.contact-subtext {
  margin-bottom: 40px;
  color: #d1d5db;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

/* Animated button style (adapted) */
.contact-btn {
  text-decoration: none;
  position: relative;
}

.contact-btn div {
  position: relative;
  width: 60px;
  height: 60px;
  transform: rotate(0deg);
  transition: 0.3s;
}

.contact-btn:hover div {
  transform: rotate(-35deg) skew(20deg);
}

.contact-btn span {
  position: absolute;
  inset: 0;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  transition: 0.4s;
}

.contact-btn span:nth-child(5) {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  background: rgba(15, 23, 42, 0.9);
}

.contact-btn:hover span:nth-child(5) {
  transform: translate(20px, -20px);
}
.contact-btn:hover span:nth-child(4) {
  transform: translate(15px, -15px);
  opacity: 0.8;
}
.contact-btn:hover span:nth-child(3) {
  transform: translate(10px, -10px);
  opacity: 0.6;
}
.contact-btn:hover span:nth-child(2) {
  transform: translate(5px, -5px);
  opacity: 0.4;
}
.contact-btn:hover span:nth-child(1) {
  opacity: 0.2;
}
/* ABOUT PAGE */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  max-width: 240px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #d1d5db;
}

.about-text .quote {
  margin-top: 20px;
  font-style: italic;
  color: #cbd5f5;
}

.about-facts {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.fact {
  background: rgba(255,255,255,0.05);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo img {
    margin: 0 auto;
  }
}
/* HOME PAGE */

.home-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero-text h1 span {
  color: #38bdf8;
}

.hero-text h3 {
  font-weight: 400;
  color: #cbd5f5;
  margin-bottom: 20px;
}

.hero-text p {
  max-width: 600px;
  line-height: 1.7;
  color: #d1d5db;
  margin-bottom: 30px;
}

.hero-photo img {
  width: 100%;
  max-width: 220px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0.95;

}

/* Focus cards */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.focus-card {
  padding: 25px;
}

.focus-card h4 {
  margin-bottom: 8px;
  color: #38bdf8;
}

/* Project teaser */
.teaser-card {
  padding: 30px;
  max-width: 700px;
}

/* Responsive */
@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-photo img {
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .sidebar nav a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .logo {
    margin-bottom: 15px;
  }

  .main-content {
    margin-left: 0;
    padding: 25px 20px;
  }
}
@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-photo img {
    max-width: 140px;
  }

  .buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .focus-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .glass {
    padding: 22px;
  }
}
@media (max-width: 900px) {
  .about-text {
    text-align: center;
  }

  .about-facts {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .contact-links {
    gap: 25px;
  }

  .contact-btn div {
    width: 52px;
    height: 52px;
  }
}

}

