/* Reset default margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}




 body {
  font-family: 'Markazi Text', serif;
  background: linear-gradient(135deg, #fdf6e3, #f5f0dc); /* tan background */
  overflow-x: hidden;
}

/* ABOUT WRAPPER: positions profile photo to the right of text */
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 2rem;
  flex-direction: row-reverse; /* <-- this moves the photo to the right side */
}

.profile-photo {
  width: 480px; /* Larger  */
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.section-wrapper {
  padding: 60px 30px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.light-bg {
  background: rgba(255, 255, 255, 0.4); /* semi-transparent white */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* For Safari */
  border: 1px solid rgba(255, 255, 255, 0.3);
}



.about-text {
  max-width: 600px;
  flex: 1;
}

.highlight {
  font-weight: bold;
  font-size: 1.1em; /* slightly larger than normal */
}

.about-text-box {
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 1.5rem;
  background-color: none; /* Optional: gives a subtle soft tone */
  font-size: 1.1rem;         /* Slightly larger font */
  line-height: 1.6;
}

/* Content container */
.content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 900px;
  margin: auto;
  font-family: 'Markazi Text', serif; /* Optional override */
}

.language-toggle {
  position: absolute;
  top: 1em;
  right: 1em;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}


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

body {
  font-family: 'Markazi Text', serif;
  background: linear-gradient(135deg, #fdf6e3, #f5f0dc); /* tan background */
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* === HEADER STYLE === */
header {
  background-color: #d9c2dd; /* soft lavender */
  padding: 4em 2em;
  clip-path: ellipse(80% 60% at 50% 40%);
  text-align: center;
  position: relative;
  z-index: 1; /* ensure it doesn’t overlay nav */
}

header h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-top: 2.5em; /* Add this line to push it down */
}
header p {
  margin-top: 1em; /* Add this if it's not already styled */
}


/* === LINKEDIN + RESUME === */
.linkedin-wrapper {
  margin: 1.5em auto; /* pushes it down below */
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.linkedin-wrapper .glass-button-luxury {
  font-family: 'Markazi Text', serif;
  font-size: 0.9rem;
  padding: 0.4em 0.8em;
  text-decoration: none;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  color: #333;
}

/* === TOP-CENTER NAV === */
.top-nav-container {
  position: fixed;
  top: 0.80em;
  left: 13%;
  transform: translateX(-20%);
  z-index: 9999;
  display: flex;
  gap: 0.75em;
  padding:  0.5em 1.25em;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  border-radius: 40px;
  box-shadow: 0 12px 24px rgba(210, 160, 230, 0.3);
  transition: opacity 0.3s ease;
}

body.scrolled .top-nav-container {
  opacity: 0;
  pointer-events: none;
}

.top-nav-container a {
  font-family: 'Markazi Text', serif;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  padding: 0.4em 1.1em;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #e2c1ef;
  box-shadow: 0 4px 10px rgba(190, 150, 220, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.top-nav-container a:hover {
  background-color: #f0d9f8;
  color: #2a2a2a;
  border-color: #c49ac4;
}

.side-tab-nav {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: none;
  flex-direction: column;
  gap: 0.5em;
  pointer-events: none;
}

body.scrolled .side-tab-nav {
  pointer-events: auto;
  display:flex;
}

.side-tab-nav a {
  font-family: 'Markazi Text', serif;
  font-size: 0.85rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  background: #da9aef;
  padding: 0.6em 0.8em;
  border-radius: 0 12px 12px 0;
  border: 1px solid #e5cef2;
  box-shadow: 0 4px 12px rgba(194, 13, 225, 0.372);
  transition: transform 0.4s ease, opacity 0.3s ease;
  transform: translateX(-80%);
  opacity: 0.3;
  white-space: nowrap;
  position: relative;
}

.side-tab-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background-color: #c49ac4; /* "grab tab" pink strip */
  border-radius: 0 3px 3px 0;
}

.side-tab-nav a:hover {
  transform: translateX(0);
  opacity: 1;
  background-color: #fff;
  z-index: 10000;
}



/* === MAIN SECTION === */
main {
  padding: 2em;
  position: relative;

}

/* === SECTION WRAPPER === */
.section-wrapper {
  padding: 60px 30px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.light-bg {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* === FOOTER === */
footer {
  background-color: #eee;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  z-index: 1;
  position: relative;
}



/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f5f0e1;
}

::-webkit-scrollbar-thumb {
  background-color: #d8bfd8;
  border-radius: 6px;
  border: 2px solid #f5f0e1;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #c49ac4;
}

html {
  scroll-behavior: smooth;
}


/* IMAGE GRID */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5em;
  margin-top: 1em;
}

.image-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);


}
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5em;
  margin-top: 1em;
}

.image-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
}

/* Nature form styling */
.nature-form {
  background: linear-gradient(to bottom right, #f0efe6, #e8f5e9);
  padding: 2em;
  border-radius: 12px;
  max-width: 500px;
  margin: 2em auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Georgia', serif;
  color: #2e4a2d;
  border: 2px solid #cdddc8;
}

.nature-form label {
  display: block;
  margin-bottom: 1.2em;
  font-weight: bold;
}

.nature-form input,
.nature-form textarea {
  width: 100%;
  padding: 0.75em;
  margin-top: 0.5em;
  border: 1px solid #a3bfa6;
  border-radius: 6px;
  background-color: #fdfdfb;
  font-family: inherit;
}

.nature-form button {
  background-color: #6ca67c;
  color: white;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nature-form button:hover {
  background-color: #5a8c69;
}

/* CONTACT AND MAP */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2em;
}

.map-container {
  flex: 1 1 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* GLASS BUTTON - LUXURY */
.glass-button-luxury {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #d8bfd8;
  border-radius: 30px;
  padding: 12px 28px;
  color: #5a5a5a;
  font-size: 1.3em;
  font-family: 'Markazi Text', serif;
  backdrop-filter: blur(8px) brightness(1.1);
  -webkit-backdrop-filter: blur(8px) brightness(1.1);
  box-shadow: 0 0 8px rgba(216, 191, 216, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.glass-button-luxury:hover {
  background: rgba(216, 191, 216, 0.15);
  box-shadow: 0 0 15px rgba(216, 191, 216, 0.8);
}

/* CUSTOM BULLETED LIST */
.custom-list {
  list-style-type: disc;
  color: #6a5acd;
  font-family: 'Markazi Text', serif;
  font-size: 1.3em;
  padding-left: 1.5em;
}

.custom-list li {
  margin-bottom: 0.5em;
}
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }

  .profile-photo {
    width: 100%;
    max-width: 300px;
  }
}

h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  background-color: rgba(230, 220, 250, 0.3); /* soft lavender tint */
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .side-tab-nav {
    display: none;
  }
}

/* === Mobile Responsiveness Fixes === */
@media (max-width: 768px) {
  body {
    padding: 0 1rem;
  }

  header {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  .language-toggle {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .top-nav-container a,
  .language-toggle button {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .section-wrapper {
    padding: 1.2rem;
  }

  .about-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-photo {
    width: 80%;
    max-width: 300px;
    margin-top: 1rem;
  }
}

/* This is for my visibility jpg sizing */
.project-image-wrapper {
  display: flex;
  justify-content: center; /* center the image */
  align-items: center;
  margin-top: 2rem;
}

.project-photo {
  width: 50%;
  max-width: 700px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
}

.subsection-header {
  background-color: hsla(255, 100%, 96%, 0.697); /* light lilac */
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: 'Markazi Text', serif;
  font-weight: 700;
  font-size: 1.8rem;         /* Slightly smaller than your h2s */
  color: #2d2d2d;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
