html {
  scroll-behavior: smooth;
}
:root {
  --bg-dark: #12262b;
  --accent-yellow: #f4d06f;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-main: #e0e7e9;
  --text-dim: #aebfc3;
  --card-bg: #1a333a;
  --btn-dark: #0d1a1d;
  --tag-bg: rgba(0, 212, 255, 0.1);
  --tag-text: #00d4ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}
body {
  background: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* --- Navbar --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 35px 8% 25px;
  background: rgba(18, 38, 43, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.hero-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px auto;
  flex-wrap: wrap;
}


.icon-card {
  width: 60px;
  height: 60px;
  background: #1e3a42; 
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.html-color {
  color: #e34f26 !important;
}
.css-color {
  color: #1572b6 !important;
}
.js-color {
  color: #f7df1e !important;
}
.bs-color {
  color: #7952b3 !important;
}
.react-color {
  color: #61dafb !important;
}


.icon-card:hover {
  transform: translateY(-8px) scale(1.1);
  border-color: rgba(255, 255, 255, 0.3);
  background: #25464f;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-yellow);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  transition: 0.3s;
  position: relative;
  padding-bottom: 5px;
}
.nav-links a:hover {
  color: var(--accent-yellow);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-yellow);
  transition: 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--accent-yellow);
  cursor: pointer;
}

/* --- Side Menu --- */
.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(18, 38, 43, 0.98);
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  padding: 120px 40px;
  gap: 25px;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid var(--glass-border);
  z-index: 1500;
}
.side-menu.active {
  left: 0;
}
.close-menu {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 1.8rem;
  color: var(--accent-yellow);
  cursor: pointer;
  transition: 0.3s;
}
.close-menu:hover {
  transform: rotate(90deg);
  color: #fff;
}
.side-menu a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 1.3rem;
  font-weight: 600;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 15px;
}
.side-menu a:hover {
  color: var(--accent-yellow);
  transform: translateX(10px);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  z-index: 1400;
}
.overlay.active {
  visibility: visible;
  opacity: 1;
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 140px 8% 60px;
}
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  width: 100%;
  max-width: 1050px;
  padding: 50px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}
.hero-flex {
  display: flex;
  gap: 50px;
  align-items: center;
}
.profile-img {
  width: 180px;
  height: 220px;
  border-radius: 35px;
  border: 3px solid var(--accent-yellow);
  object-fit: cover;
}
.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 15px 0;
}
.hero-description {
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
}

.cta-group {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 35px;
}
.btn-cv {
  background: var(--accent-yellow);
  color: #12262b;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}
.btn-cv:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(244, 208, 111, 0.2);
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.3rem;
  text-decoration: none;
  transition: 0.4s;
}
.social-icon:hover {
  transform: translateY(-8px);
  color: var(--accent-yellow);
  border-color: var(--accent-yellow);
}

/* --- Projects Section --- */
.projects-section {
  padding: 80px 8% 120px;
  background: rgba(0, 0, 0, 0.1);
}
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}
.control-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--accent-yellow);
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.control-btn:hover {
  background: var(--accent-yellow);
  color: var(--bg-dark);
}
.slider-controls {
  display: flex;
  gap: 10px;
}
.slider-container {
  overflow: hidden;
}
.projects-track {
  display: flex;
  gap: 30px;
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card {
  flex: 0 0 calc(33.333% - 20px);
  background: var(--card-bg);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  transition: 0.4s;
}
.project-card:hover {
  border-color: var(--accent-yellow);
}
.project-img {
  height: 200px;
  background: #25464f;
  overflow: hidden;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  padding: 25px 25px 0;
  flex-grow: 1;
}
.project-info h3,
p {
  margin-bottom: 15px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(0, 212, 255, 0.2);
}


.project-links {
  display: flex;
  width: 100%;
  margin-top: auto;
  border-top: 1px solid var(--glass-border);
}
.project-links a {
  flex: 1;
  text-align: center;
  padding: 20px 0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-code {
  background: var(--btn-dark);
  color: var(--text-main);
  border-right: 1px solid var(--glass-border);
}
.btn-demo {
  background: var(--accent-yellow);
  color: var(--bg-dark);
}
.project-links a:hover {
  filter: brightness(1.2);
}

/* --- Responsive --- */
@media (max-width: 950px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .hero-flex {
    flex-direction: column;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .project-card {
    flex: 0 0 calc(50% - 15px);
  }
  .cta-group {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .project-card {
    flex: 0 0 100%;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
/*  */

/* --- About Section --- */
.about-section {
  padding: 100px 8%;
  display: flex;
  justify-content: center;
}
.about-content {
  max-width: 900px;
  text-align: center;
  padding: 60px;
  border-radius: 40px;
}
.about-badge {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 20px;
}
.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--accent-yellow);
}
.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 20px;
}

/* --- Skills Section --- */
.skills-section {
  padding: 80px 8%;
}
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 {
  font-size: 2.8rem;
  color: var(--accent-yellow);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.skills-category {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 30px;
  transition: 0.3s;
}
.skills-category:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-5px);
}
.skills-category h3 {
  margin-bottom: 30px;
  font-size: 1.5rem;
  color: #fff;
  border-bottom: 2px solid var(--glass-border);
  padding-bottom: 10px;
}
.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.skill-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.3s;
}
.skill-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.skill-item i {
  font-size: 1.4rem;
}

/* --- Responsive --- */
@media (max-width: 850px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    padding: 40px 25px;
  }
}

/*  */

/* --- Contact Section Styles --- */

.contact-section {
  padding: 80px 10%;
  background-color: #0f1a1d; 
  color: #fff;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: #f4d06f; 
  margin-bottom: 10px;
}

.contact-header p {
  color: #aebfc3;
}


.contact-container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}


.contact-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
  border-color: #f4d06f;
}

.info-icon {
  color: #f4d06f;
  font-size: 1.5rem;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.info-details p {
  color: #aebfc3;
  font-size: 0.9rem;
}


.contact-main {
  flex: 2;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-row {
  display: flex;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f4d06f;
}


.send-btn {
  background: #f4d06f;
  color: #0d1a1d;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.send-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}


@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
  .input-row {
    flex-direction: column;
  }
}

/* --- Simple Footer Styles --- */
.simple-footer {
  background: #0d1a1d;
  padding: 40px 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy p {
  color: #aebfc3;
  font-size: 1.2rem;
  font-weight: 500;
}

.footer-copy .my-name {
  color: #f4d06f; 
  font-weight: 700;
}

.footer-contact-icons {
  display: flex;
  gap: 15px;
}

.footer-contact-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}


.footer-contact-icons a:hover {
  background: #f4d06f;
  color: #0d1a1d;
  transform: translateY(-5px);
  border-color: #f4d06f;
  box-shadow: 0 5px 15px rgba(244, 208, 111, 0.2);
}


@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

