
/* Welcome to My Story about - Centered */
.about-me-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  padding: 20px;
}

.image-container {
  max-width: 500px;
  margin: 0 auto 40px;
}

.text-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-container h1,
.text-container p {
  text-align: center;
}

/* Meet The Sections - Centered */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

.text {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.image {
  max-width: 600px;
  margin: 0 auto;
}

.title,
.description {
  text-align: center;
}

Section Styles */
.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 60px 0;
  padding: 20px;
  gap: 40px;
}

.text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 20px;
}

.image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 20px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.image img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.image:hover img {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #ffb703;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.description {
  font-family: 'Futura Light', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
}
/* Stack image and text vertically */
@media (min-width: 992px) {
  .section {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  
  .section:nth-child(even) .text {
    order: 1;
  }
  
  .section:nth-child(even) .image {
    order: 2;
  }
  
  .text, .image {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
    margin: 0;
  }
}
/* ------------------===== GALLERY SECTION =====---------------- */
#illustrations-section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
#illustrations-section {
  padding: 4rem 2rem;
  background-color: #150021;
  text-align: center;
}

.gallery {
  column-count: 2;
  column-gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  width: 100%;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  max-width: 100%;
  max-height: 500px;
}

.gallery-item img.portrait {
  width: auto !important;
  min-width: 300px !important;
  max-width: 350px !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}



/* =====-----------------Modal Styling---------------------- ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(8px);
  overflow: hidden; /* Prevent scroll */
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

/* Disable body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Image Container */
.modal-content-wrapper {
  position: relative;
  text-align: center;
}

.modal-content {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(239, 200, 135, 0.25);
  transition: transform 0.3s ease;
}

#modal-caption {
  margin-top: 15px;
  color: #fff;
  font-family: 'Futura Light', sans-serif;
  font-size: 1.1rem;
  text-align: center;
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 38px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1100;
}

.close:hover {
  color: #EFC887;
}

/* Navigation Arrows */
.nav-btn {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 14px;
  color: #fff;
  font-weight: 300;
  font-size: 40px;
  transition: all 0.3s ease;
  user-select: none;
  z-index: 1100;
}

.nav-btn:hover {
  color: #EFC887;
  transform: scale(1.2);
}

.prev {
  left: 5%;
}

.next {
  right: 5%;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .modal-content {
    max-width: 90vw;
    max-height: 70vh;
  }

  .nav-btn {
    font-size: 30px;
  }
}

/* Section Styles */
.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 60px 0;
  padding: 20px;
  gap: 40px;
}

.text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 20px;
}

.image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 20px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.image img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.image:hover img {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #ffb703;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.description {
  font-family: 'Futura Light', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
}

/* Qualifications Section */
#my-qualifications {
  padding: 60px 20px;
  background-color: #1a0a2e;
  text-align: center;
  margin-top: 60px;
}

#my-qualifications h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #ffb703;
  margin-bottom: 15px;
}

#my-qualifications p {
  font-family: 'Futura Light', sans-serif;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 30px;
}

#my-qualifications a {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: #8500a1;
  text-decoration: none;
  padding: 10px 25px;
  border: 2px solid #8500a1;
  border-radius: 30px;
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

#my-qualifications a:hover {
  background-color: #8500a1;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(133, 0, 161, 0.4);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-me-top, .section {
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
  }
  
  .text, .image {
    padding: 15px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}


/* Centered About Section */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Welcome to My Story - Centered */
.about-me-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  padding: 20px;
}

.image-container {
  max-width: 500px;
  margin: 0 auto 40px;
}

.text-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-container h1,
.text-container p {
  text-align: center;
}

/* Meet The Sections - Centered */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

.text {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.image {
  max-width: 600px;
  margin: 0 auto;
}

.title,
.description {
  text-align: center;
}


/* Stack image and text vertically */
@media (min-width: 992px) {
  .section {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  
  .section:nth-child(even) .text {
    order: 1;
  }
  
  .section:nth-child(even) .image {
    order: 2;
  }
  
  .text, .image {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
    margin: 0;
  }
}


/* ===== GALLERY SECTION ===== */
#illustrations-section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
#illustrations-section {
  padding: 4rem 2rem;
  background-color: #150021;
  text-align: center;
}

.gallery {
  column-count: 2;
  column-gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  width: 100%;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  max-width: 100%;
  max-height: 500px;
}

.gallery-item img.portrait {
  width: auto !important;
  min-width: 300px !important;
  max-width: 350px !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}



/* About Section Styles */
.about-me-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 20px;
  gap: 40px;
}

.image-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.03);
}

.text-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 20px;
}

.text-container h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #ffb703;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.text-container p {
  font-family: 'Futura Light', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 15px;
}

/* Section Styles */
.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 60px 0;
  padding: 20px;
  gap: 40px;
}

.text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 20px;
}

.image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 20px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.image img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.image:hover img {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #ffb703;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.description {
  font-family: 'Futura Light', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
}
