/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* Allow footer to be pushed down */
  max-width: 100%;
  overflow-x:hidden;
}

/* About Section */
.hero-title {
  font-size: 50px;
  font-weight: 800;
  text-align: center;
  position: relative;

  /* Cleaner gradient text */
  background: linear-gradient(90deg, #cc9844, #fff8dc, #cc9844);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow:
  0 0 2px rgba(204, 152, 68, 0.6),
  0 0 4px rgba(255, 248, 220, 0.4);

  /* Soft shimmer only, no extra shadows */
  animation: shimmer 3s infinite linear, fadeSlideIn 1.2s ease-out forwards;
  opacity: 0;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }
}


.section-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers children horizontally */
  text-align: center; /* optionally center text */
}


.section__pic-container {
  position: relative;
  height: 300px;
  width: 300px;
  overflow: visible; /* allow gold blings to go outside the border */
  margin-top: 100px;
}

.section__pic-container img.about-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 10px solid black;
  position: relative;
  z-index: 2; /* make sure profile pic stays above gold blings */
}

/* Base styles for goldbling and gold */
.goldbling, .gold {
  position: absolute;
  width: 30px;
  height: 30px;
  opacity: 0;
  animation: magicalGlow 3s infinite ease-in-out;
}

/* Goldbling specific styles (optional to keep them distinct) */
.goldbling {
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.9)); /* brighter glow */
}

/* Left side positioning */
/* goldbling left */
.left.left-1 { top: 5%; left: -40px; }
.left.left-2 { top: 40%; left: -40px; }
.left.left-3 { top: 75%; left: -40px; }
/* gold left */
.left.gold-left-1 { top: 20%; left: -50px; }
.left.gold-left-2 { top: 55%; left: -50px; }
.left.gold-left-3 { top: 90%; left: -50px; }

/* Right side positioning */
/* goldbling right */
.right.right-1 { top: 5%; right: -40px; }
.right.right-2 { top: 40%; right: -40px; }
.right.right-3 { top: 75%; right: -40px; }
/* gold right */
.right.gold-right-1 { top: 20%; right: -50px; }
.right.gold-right-2 { top: 55%; right: -50px; }
.right.gold-right-3 { top: 90%; right: -50px; }

@keyframes magicalGlow {
  0%, 100% {
    opacity: 0;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
  }
}


.about-pic {
  width: 100%;
  height: 100%;
  border: 10px solid black;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeScaleIn 1.5s ease forwards;
  animation-delay: 0.5s; /* slight delay to sync with other elements */
}

@keyframes fadeScaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.text-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 50px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 27.2px;
  color: #192026;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.text-container p {
  margin-bottom: 24px;
  align-items: center;
}

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





.about-containers {
  display:flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 2rem auto;
}

.about-details-container {
  display:flex;
  flex-direction: row;
  gap: 1rem;
}
.symbol {
  height:32px;
}

.details-container {
  flex: 1 1 300px;
  max-width: 400px;
  padding: 1.5rem;
  border: 3px solid #192026;
  border-radius: 1.5rem;
  text-align:center;
  background-color: #fff;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0.95);
  animation: zoomInFade 1.2s ease forwards;
}

.icon-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.icon-row article {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon {
  width: 35px;
}

.icon-label {
  margin-top: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: #192026;
  text-align: center;
}


.details-container:nth-child(1) {
  animation-delay: 0.3s;
}

.details-container:nth-child(2) {
  animation-delay: 0.6s;
}

.details-container:nth-child(3) {
  animation-delay: 0.9s;
}




@keyframes zoomInFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.icon {
  margin-bottom: 0.5rem;
}

/* Experience Section */
.experience-details-container {
  display: flex;
  flex-direction: column;
  justify-items:center;
  margin-top: 2rem;
}

.article-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

article {
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  display:flex;
  align-items:normal;
  text-align: left;
  gap: 0.5rem;
  width: 100%;
}

.experience-sub-title {
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #192026;
  font-weight: 700;
  text-align: left;
}

.title {
  color: #bf8897;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1.2s ease forwards;
  animation-delay: 0.8s; /* delay so it appears after profile pic */
}

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

.section__text__p1 {
  text-align: center;
  font-weight: 600;
  color: gray;
}

/* Footer Contact Section Adjustments */
.contact-section {
  background-color: rgba(191, 136, 151, 0.6);
  border: 1px solid rgba(191, 136, 151, 0.6);
  padding: 40px 196px; /*reduced padding for mobile view*/
  margin-top: 50px;
  text-align: center;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-title {
  color: #000;
  font-size: 28px;
  font-weight: 700;
  align-items: flex-start;
  white-space: nowrap;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-description {
  color: #000;
  font-size: 16px; /*Adjust font size*/
  font-weight: 400;
  max-width: 100%; /*Ensure text wraps properly*/
  margin-bottom: 20px; 
  padding: 0 10px; /*Add padding to ensure content isn't too close to edges*/
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-links a {
  display: inline-block;
  width: 33px;
  height: 33px;
}

.contact-links img {
  width: 100%;
  height: 100%;
}

.email {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
}

.social-link img {
  width: 33px;
  height: 33px;
}

.cta-button {
  display: inline-block;
  color: #192026;
  font-size: 24px;
  font-weight: 700;
  width: 270px;
  height: 42px;
  background-color: #b79e76;
  border: 1px solid #192026;
  text-decoration: none;
  text-align: center;
  line-height: 42px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.cta-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}


/* Layout for Image Row Section */
.image-row-section {
  display: flex;
  justify-content: center;
  align-items: center;
 margin: 2rem 0;
}

.image-row-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}



.row-image {
  flex: 1 1 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  height: 250px; /* Fixed height for uniform appearance */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeZoomIn 1.2s ease forwards;
}

.fixed-size {
  height: 250px;
  object-fit: cover;
}


/* Hover Effect */
.row-image:hover {
  transform: scale(1.02);
}

/* Animation Delays */
.row-image:nth-child(1) { animation-delay: 0.3s; }
.row-image:nth-child(2) { animation-delay: 0.5s; }
.row-image:nth-child(3) { animation-delay: 0.7s; }
.row-image:nth-child(4) { animation-delay: 0.9s; }
.row-image:nth-child(5) { animation-delay: 1.1s; }
.row-image:nth-child(6) { animation-delay: 1.3s; }

@keyframes fadeZoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

#caption {
  margin: auto;
  text-align: center;
  color: #ccc;
  padding: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 899px) {
  .row-image {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 599px) {
  .row-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



