.logo a {
  text-decoration: none;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
/* ===============================
   ABOUT SECTION
================================ */

.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

/* Text side */
.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-intro {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Card side */
.about-card {
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.about-card h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.about-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.about-card li {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-card {
    margin-top: 24px;
  }
}
/* ===============================
   HERO SECTION
================================ */

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  will-change: transform; /* for your parallax JS */
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--text-main);
}

/* Brand gradient text */
.hero .brand-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}
/* ===============================
   THEME VARIABLES
================================ */

:root {
  --bg-main: radial-gradient(circle at top, #0f172a, #020617);
  --header-bg: rgba(2,6,23,0.85);
  --card-bg: rgba(255,255,255,0.06);
  --text-main: #ffffff;
  --text-muted: #94a3b8;

  --accent: #38bdf8;
 
  --brand-gradient: linear-gradient(
    120deg,
    #7dd3fc,
    #38bdf8,
    #818cf8,
    #38bdf8,
    #7dd3fc
  );
}

/* ===============================
   LOGO STYLE
================================ */

.logo {
  font-weight: 700;
  font-size: 1.4rem;

  background: var(--brand-gradient);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;

  animation: logoGradient 6s ease infinite;
}

@keyframes logoGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.logo:hover {
  filter: drop-shadow(0 0 16px var(--accent));
  animation-play-state: paused;
  transition: filter 0.3s ease;
}


/* Light theme */
[data-theme="light"] {
  --bg-main: linear-gradient(#f8fafc, #eef2ff);
  --header-bg: rgba(255,255,255,0.85);
  --card-bg: #ffffff;

  --text-main: #0f172a;
  --text-muted: #475569;

  --accent: #2563eb;
  --brand-gradient: linear-gradient(135deg, #2563eb, #4f46e5);
}

/* Light theme refinement */
[data-theme="light"] .logo {
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.35));
  animation-duration: 8s;
}


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

html, body {
  font-family: 'Lato', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  overflow-x: hidden;
}
/* ===============================
   THEME TOGGLE BUTTON
================================ */

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 16px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.1);
  opacity: 0.85;
}

/* ===============================
   HEADER
================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h2 {
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ===============================
   TEXT LOGO (HEADER)
================================ */
.logo {
  font-weight: 700;
  font-size: 1.4rem;

  background: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
}
/* ===============================
   LOGO HOVER GLOW
================================ */
.logo {
  position: relative;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.45));
  transform: translateY(-1px);
}


nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
}
/* ===============================
   NAV LINKS STYLING
================================ */

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

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 2px;
  transition: color 0.25s ease;
}

/* Hover text color */
.nav-links a:hover {
  color: var(--text-main);
}

/* Underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===============================
   HERO
================================ */
.hero {
  padding: 120px 20px 80px;
  text-align: center;
}

.hero-inner {
  will-change: transform;
}

/* ===============================
   PROJECTS SECTION
================================ */

.projects {
  padding: 100px 0;
}

/* Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* Card */
.project-card {
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.4);
}

/* Image */
.project-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

/* Content */
.project-content {
  padding: 24px;
}

.project-content h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.project-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Link */
.project-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  position: relative;
}

.project-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.project-link:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .projects {
    padding: 80px 0;
  }
}


/* ===============================
   GLOBAL CONTAINER
================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(20px);
  width: 100%;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;               /* space between logo & text */
}


.footer-logo {
  width: 32px;
  height: auto;
}


.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;               /* space between icons */
}

/* Circle social icons */
.footer-right a {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.footer-right a i {
  font-size: 2rem;
}

.footer-right a:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  filter: brightness(1.2);
}

/* Brand colors */
.footer-right a.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.footer-right a.pinterest { background: #e60023; }
.footer-right a.github { background: #000; }
.footer-right a.linkedin { background: #0a66c2; }
.footer-right a.fiverr-icon { background: #1dbf73; font-weight: 800; }

.footer-container {
  max-width: 1200px;        /* same as navbar */
  margin: 0 auto;           /* center content */
  padding: 20px 24px;

  display: flex;
  justify-content: space-between; /* ⬅️ creates the big gap */
  align-items: center;
}
/* ===============================
   SKILLS SECTION
================================ */

.skills {
  padding: 100px 0;
}

/* Section header */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

/* Skill card */
.skill-card {
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* Icon */
.skill-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--accent);
}

.skill-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.skill-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .skills {
    padding: 80px 0;
  }
}
/* ===============================
   PROJECT GRADIENT IMAGES
================================ */

.project-image {
  height: 180px;
  border-radius: 14px;
  margin-bottom: 16px;
  background-size: 200% 200%;
  animation: gradientMove 6s ease infinite;
}

/* Different gradients per card */
.gradient-1 {
  background: linear-gradient(#ee0979, #ff6a00);
}

.gradient-2 {
  background: linear-gradient(135deg, #ff00cc, #333399);
}

.gradient-3 {
  background: linear-gradient(135deg, #833ab4, #fd1d1d);
}
.project-card:hover .project-image {
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* Smooth gradient animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
body {
  background: var(--bg-main);
  color: var(--text-main);
}

.site-header {
  background: background: var(--card-bg);

}

.skill-card,
.project-card,
.site-footer {
  background: var(--card-bg);
}
