/* ==========================
   LuxuryNad Portfolio Styles
   ========================== */

/* Default theme (dark) */
:root {
  --bg: #0f1724;
  --text: #e6eef6;
  --accent: #9b1c31;
  --muted: #9aa4b2;
  --card: rgba(255, 255, 255, 0.03);
  --radius: 14px;
  --transition: 300ms ease;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --text: #071023;
  --accent: #9b1c31;
  --muted: #334155;
  --card: rgba(2, 6, 23, 0.05);
}

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

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  padding: 40px;


  body {
  background: linear-gradient(-45deg, #0f1724, #1a1f2c, #9b1c31, #0f1724);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

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

}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

.role {
  color: var(--muted);
}

nav a {
  text-decoration: none;
  color: var(--muted);
  margin-left: 20px;
  font-weight: 500;
  transition: color var(--transition);
}

nav a:hover {
  color: var(--accent);
}

#hero {
  background: var(--card);
  padding: 40px;
  border-radius: var(--radius);
  margin-bottom: 50px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease forwards;
}

#hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#hero p {
  color: var(--muted);
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg, var(--accent), #7c3aed);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition);
}

.btn:hover {
  opacity: 0.8;
  box-shadow: 0 0 20px var(--accent);
}

#projects {
  margin-bottom: 50px;
}

.projects-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.project {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px var(--accent);
}

.project h3 {
  margin-bottom: 6px;
  color: var(--accent);
}

.project a {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.project a:hover {
  color: #fff;
}

#about,
#contact {
  background: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
}

#about:hover,
#contact:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px var(--accent);
}

#about p {
  color: var(--muted);
}

#contact ul {
  list-style: none;
}

#contact li {
  margin-bottom: 10px;
}

#contact a {
  color: var(--accent);
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

.theme-toggle {
  position: fixed;
  top: 25px;
  right: 25px;
  background: var(--card);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

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

html {
  scroll-behavior: smooth;
}

#about:hover,
#contact:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px var(--accent);
}

.project:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 30px var(--accent);
}

.project a i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.project a:hover i {
  transform: translateX(5px);
}




