:root{
    --background-color: #fff;
    --text-color: #000;
    --title-color: #000;
    --banner-color: rgb(45,13,109);
    --banner-text: rgb(232,171,59);
    --box-color: #121212;
    --box-text: #fff;


}
.dark-theme {
  --background-color: #121212;
  --text-color: #ddd;
  --title-color: #f5f5f5;
  --box-color: #1e1e1e;
  --box-text: #fff;
}
body, html {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

body{
    background: var(--background-color);
    color: var(--text-color);
    transition: background 0.8s, color 0.8s;
    overflow-y: auto; 
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes at least the full height of the viewport */
    margin: 0;

}
.dark-theme body {
  color: var(--box-text);
}

.chore_header,
#services h3,
footer h3,
#about h2,
#contact h2 {
  color: var(--title-color);
}


.dark-theme .chore_header,
.dark-theme #services h3,
.dark-theme footer h3,
.dark-theme #about h2,
.dark-theme #contact h2 {
  color: var(--box-text);
}
/* === HOME TAB === */

#home {
  padding: 4rem 1rem;
  text-align: center;
}

.opener {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 80vh;
}

.logo-container {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

#dvd-logo {
  width: 80px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

#dvd-logo:hover {
  transform: scale(1.05);
}

main h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.2rem;
  margin: 0;
}

main h4 {
  font-size: 1.25rem;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #555;
}

.center-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.code-container {
  background-color: #f4f4f4;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 60px;
  width: fit-content;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: #222;
  border: 2px solid #ccc;
}

.dark-theme .code-container {
  background-color: #1a1a1a;
  border-color: #333;
  color: #ddd;
}

/* === PROJECTS TAB CLEANUP === */

#about {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

#about h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

/* Project container layout */
.chore_container,
.WeatherApp,
.website {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  background-color: #fafafa;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.dark-theme .chore_container,
.dark-theme .WeatherApp,
.dark-theme .website {
  background-color: #1e1e1e;
}

/* Reverse layout for variety if desired */
.chore_container.reverse,
.WeatherApp.reverse,
.website.reverse {
  flex-direction: row-reverse;
}

/* Text block */
.chore_text,
.WeatherApp .chore_text,
.website .chore_text {
  flex: 1;
  text-align: left;
}

.chore_header {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.chore_text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: #333;
}

.dark-theme .chore_text p {
  color: #ccc;
}

/* Image block */
.chore-img,
.CRM-images,
.Weather_container,
.website img {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}

.CRM-images img,
.website img,
.Solactive-images img,
.chore-img img {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.Weather_container img{
  width: 48%;
}
.CRM-images img:hover,
.Weather_container img:hover,
.website img:hover,
.chore-img img:hover {
  transform: scale(1.05);
}



/* GitHub icons */
.chore_img {
  text-align: center;
  margin-top: 1rem;
}

.chore_img a img {

  transition: filter 0.3s ease, transform 0.3s ease;
}

.chore_img a img:hover {
  filter: none;
  transform: scale(1.1);
}

/* Stack layout on mobile */
@media (max-width: 768px) {
  .chore_container,
  .WeatherApp,
  .chore_container.reverse
  .website {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .reverse {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .Weather_container{
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 48%;
  }
  .chore_text,
  .chore-img,
  .CRM-images {
    text-align: center;
  }

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

/* === ABOUT ME / SERVICES TAB === */

#services {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

#services h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

#services p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #444;
}

.dark-theme #services p {
  color: #ccc;
}

/* Subheadings */
#services h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Research and Resume Preview */
#services a img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

#services a img:hover {
  transform: scale(1.05);
}

/* Skills section */
.plang {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  border: none;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.plang img {
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease, filter 0.3s ease;
  
}

.plang img:hover {
  transform: scale(1.2);
  filter: grayscale(0%);
}

/* Certifications image */
.certy {
  margin-top: 1.5rem;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.certy:hover {
  transform: scale(1.02);
}

.dark-theme .certy {
  filter: brightness(0.9);
}
.info-pair {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

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

.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #111;
}

.dark-theme .info-card h3 {
  color: #ddd;
}

.info-card img {
  width: 240px;
  height: 240px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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


/* === TABS / NAVIGATION BAR === */

.tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2c0069;
  padding: 0.75rem 2rem;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #f5a623;
  font-size: 1rem;
  margin: 0 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
}

.tab-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.dark-mode {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #111;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dark-mode:hover {
  background-color: #222;
}

#btnText {
  font-size: 0.9rem;
}

#btnIcon {
  width: 16px;
  height: 16px;
}

/* Responsive nav stacking */
@media (max-width: 600px) {
  .tabs {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .tab-btn {
    margin: 0.2rem 0;
  }

  .dark-mode {
    align-self: flex-end;
  }
}



/* === FOOTER === */

footer {
  background-color: #f3f3f3;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 4rem;
}

.dark-theme footer {
  background-color: #121212;
}

.plug {
  border: none;
  margin: 0;
  padding: 0;
}

footer h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.dark-theme footer h3 {
  color: #ddd;
}

.social {
  display: inline-block;
  margin: 0 1rem;
}

.social img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
  
}

.social img:hover {
  transform: scale(1.15);
  filter: grayscale(0%);
}



/* === CONTACT TAB === */

#contact {
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#contact p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #444;
}

.dark-theme #contact p {
  color: #ccc;
}

#contact a {
  color: #4e1edb;
  text-decoration: underline;
}

.dark-theme #contact a {
  color: #9ab1ff;
}

/* Form styling */
form fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
}

form label {
  text-align: left;
  font-weight: 500;
  color: #333;
}

.dark-theme form label {
  color: #ddd;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  color: #222;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #5e2ceb;
  outline: none;
}

.dark-theme input,
.dark-theme textarea {
  background-color: #1e1e1e;
  color: #eee;
  border-color: #444;
}

.submit {
  background-color: #5e2ceb;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
}

.submit:hover {
  background-color: #4b21c2;
  transform: translateY(-2px);
}