/* Global Styles */
html, body {
  height: 100%;
  margin: 0;
}

body {
  margin: 0;
  font-family: "Century Gothic", "Arial", sans-serif;
  background-color: #fffaf5; /* off-white */
  color: #1d0e03;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Header */
nav {
    display: flex;
    align-items: center;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 250, 245, 0.9);  /* Semi-transparent off-white */
    backdrop-filter: blur(5px);                   /* Adds blur effect */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);   /* Subtle shadow */
}

.nav-flame-icon {
    width: 30px;
    height: auto;
    margin-right: 20px;
    margin-left: 20px;
}

.nav-links {
    display: flex;
    gap: 50px;  /* Increased from 20px */
    margin-left: 20px;
}

.nav-links a {
    display: inline-block;
    color: #1d0e03;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    opacity: 0.8;
}

.header {
  text-align: left;
  padding: 80px 20px 40px;
  background-color: #fffaf5;
}

.header h1 {
  font-size: 4rem;         /* Slightly bigger */
  font-weight: bold;
  border-bottom: 3px solid #1d0e03;
  display: inline-block;
  padding-bottom: 5px;
  margin-left: 5%;
  margin-bottom: 4px;     /* Increased spacing */
}

.header span {
  font-size: 2rem;       /* Slightly larger than original */
  opacity: 0.8;
}

.tagline {
  font-style: italic;
  font-size: 4rem;
  margin-top: 50px;
  margin-left: 5%;
  margin-right: 30%;
}

.hero-img {
  position: absolute;
  top: 80px;
  right: 5%;
  width: 450px;        /* Reduced from 500px */
  height: auto;       /* Added to maintain square aspect */
  max-width: 90%;
  border-radius: 50%;  /* Changed to 50% for circular image */
  object-fit: cover;   /* Added to ensure image fills circle properly */
  z-index: 0;
}

/* Work & About Sections */

.work{
   background-color: #c9aaee; /* light purple */
  padding: 20px 10%; /* Reduced from 80px to 60px */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.about  {
  background-color: #c9aaee; /* light purple */
  padding: 20px 10%;
  display: flex;               /* use flexbox for stable layout */
  flex-wrap: nowrap;
  align-items: flex-start;     /* align top edges */
  justify-content: space-between;
  gap: 40px;
}

.work .content {
  max-width: 600px;
  margin-left: -1%;
  margin-right: auto;
}

.about .content {
  order: 1;
  flex: 1 1 55%;
  max-width: 600px;
  margin: 0;
  padding-right: 40px; /* spacing between icon and text */
  padding-left: 0;
  text-align: left;
}

.work h2{
  font-size: 4rem;
  font-weight: bold;
  border-bottom: 2px solid #1d0e03;
  padding-bottom: 1px;
  margin-bottom: 20px;
  margin-left: 1%;
}

.about h2 {
  font-size: 4rem;
  font-weight: bold;
  border-bottom: 2px solid #1d0e03;
  margin-bottom: 20px;
}

.work h2 span
{
  font-weight: normal;
  display: block;
  font-size: 2rem;
  margin-top: 10px;
  margin-left: 1%;
  align-self: left;
}

.about h2 span {
  margin-left: 0;
  font-size: 1.2rem;
  display: block;
  font-weight: normal;
  margin-top: 10px;
}

.work p {
  margin-left: 0;
  font-size: 1rem;
  margin-bottom: 20px;
}

.about p {
  font-size: 1rem;
  margin-bottom: 20px;
  margin-left: 0; /* removed previous 20% so paragraph aligns with the title */
  text-align: left;
}

.art {
  position: relative;
  flex: 1 1 400px;
  min-width: 280px;
  max-width: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.art iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ===================== WORK PAGE ===================== */
.work-page {
    background-color: #c9aaee; /* light purple */
    padding: 80px 10% 100px;
    text-align: center;
    flex: 1;
}

.work-item,
.work-item img {
    max-width: 250px;
    height: auto;
    border: 0;                     /* remove solid box border */
    background: transparent;
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s ease, filter 0.25s ease;
}

.work-item:focus,
.work-item img:focus {
    outline: none;
    box-shadow: none;
}

/* Optional: ensure images don't create inline whitespace */
.work-item img {
    display: block;
}

.work-page h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 50px;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    gap: 50px;
    padding: 0 20px;
}

.work-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1d0e03;
    transition: transform 0.3s ease;
}

.work-item img {
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Independent icon sizing */
.icon-tattoo {
    max-width: 240px !important;
}

.icon-animation {
    max-width: 300px !important;
}

.icon-illustration {
    max-width: 400px !important;
}

.work-item:hover img {
    transform: scale(1.05);
    box-shadow: none; /* don't use box-shadow (rectangular) */
    filter:
      drop-shadow(0 0 2px #ffffff)
      drop-shadow(0 0 4px #ffffff)
      drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

.work-item h3 {
    font-size: 1.5rem;
    margin: 0;
}

.about-icon {
  order: 0;
  flex: 0 0 35%;
  max-width: 400px;
  width: 35%;
  margin: 0 auto;
  align-self: center;
}

/* ensure the image fills its column and is well behaved */
.about-icon img {
  width: 225%;
  height: auto;
  display: block;
  object-fit: cover;
}

.button {
  display: inline-block;
  background-color: #014b3f;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  position: relative;
  z-index: 2;
}

.button:hover {
  background-color: #c9aaee;
  color: #014b3f;
  border: 2px solid #014b3f;
}

/* Footer styling */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: #23140c;
  background-color: #fffaf5;
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

.footer-name {
  font-size: 6vw;
  font-weight: 600;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.footer-line {
  border: 0;
  border-top: 1px solid #23140c;
  margin: 20px auto;
  width: 90%;
}

.footer-email {
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-email a {
  color: #23140c;
  text-decoration: none;
}

.footer-email a:hover {
  text-decoration: underline;
}

/* Icon links */
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.icon {
  font-size: 1.5rem;
  color: #23140c;
  transition: transform 0.3s ease, color 0.3s ease;
}

.icon:hover {
  color: #ffffff;
  transform: scale(1.2);
}


/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  /* Header adjustments */
  .header h1 {
    font-size: 2.5rem;
    margin-left: 5%;
  }

  .header span {
    font-size: 1.5rem;
  }

  .tagline {
    font-size: 2rem;
    margin-left: 5%;
    margin-right: 5%;
  }

  .hero-img {
    position: relative;
    top: 20px;
    right: auto;
    width: 200px;
    margin: 20px auto;
    display: block;
  }

  /* Navigation */
  .nav-links {
    gap: 20px;
  }

  /* Work & About Sections */
  .work h2, .about h2 {
    font-size: 2.5rem;
  }

  .work .content, .about .content {
    margin-left: 0;
    padding-right: 0;
  }

  .about {
    flex-direction: column;
  }

  .about .content {
    order: 0;
  }

  .about-icon {
    order: 1;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    margin-top: -40px;
  }

  .about-icon img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Work page grid */
  .work-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Footer */
  .footer-name {
    font-size: 8vw;
    letter-spacing: 2px;
  }

  .footer-icons {
    gap: 30px;
  }

  .icon img {
    width: 30px;
    height: 30px;
  }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
  .header h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 15px;
    font-size: 0.9rem;
  }
}


/* Work Gallery Page */

.work-gallery {
    padding: 120px 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #c9aaee; /* Added purple background */
}

body {
    margin: 0;
    font-family: "Century Gothic", "Arial", sans-serif;
    background-color: #c9aaee; /* Changed to match work background */
    color: #1d0e03;
    line-height: 1.6;
}

nav {
    background-color: rgba(255, 250, 245, 0.9);  /* Keeping nav off-white */
    /* ...existing nav properties... */
}

.footer {
    background-color: #fffaf5;  /* Keeping footer off-white */
    /* ...existing footer properties... */
}
.work-gallery h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 20px;
}

.gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.item-description {
    padding: 15px;
}

.item-description h3 {
    margin: 0 0 10px;
    color: #1d0e03;
}

.item-description p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    /* Work page gallery responsiveness */
    .work-page {
        padding: 80px 5% 60px;
    }

    .work-page h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 10px;
    }

    .gallery-item img {
        height: 150px;
    }

    /* Icon sizing adjustments for mobile */
    .icon-tattoo {
        max-width: 150px !important;
    }

    .icon-animation {
        max-width: 200px !important;
    }

    .icon-illustration {
        max-width: 250px !important;
    }

    /* Work grid adjustments */
    .work-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Modal responsiveness */
    .modal-image {
        max-width: 95%;
        max-height: 85vh;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }

    /* About page top section */
    .about-top {
        padding: 60px 5% 20px;
    }

    /* Professional section adjustments */
    .professional-section {
        padding: 40px 5%;
    }

    .professional-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    /* Education and profile styling */
    .education h3 {
        font-size: 1.1rem;
    }

    .education p {
        font-size: 0.9rem;
    }

    .profile-img {
        width: 200px;
    }
}

/* Extra small devices - new content */
@media screen and (max-width: 480px) {
    .work-page {
        padding: 80px 5% 40px;
    }

    .work-page h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 5px;
    }

    .gallery-item img {
        height: 120px;
    }

    .item-description {
        padding: 10px;
    }

    .item-description h3 {
        font-size: 0.9rem;
    }

    .item-description p {
        font-size: 0.8rem;
    }

    /* Icon sizing for extra small screens */
    .icon-tattoo {
        max-width: 100px !important;
    }

    .icon-animation {
        max-width: 130px !important;
    }

    .icon-illustration {
        max-width: 180px !important;
    }

    /* Work grid single column */
    .work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-item h3 {
        font-size: 1.2rem;
    }

    /* Modal for small screens */
    .modal-image {
        max-width: 100%;
        max-height: 80vh;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 25px;
    }

    /* About section adjustments */
    .about-section {
        padding: 40px 5%;
    }

    .about-section h1 {
        font-size: 2rem;
    }

    .about-section h2 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .about-section p {
        max-width: 100%;
        font-size: 0.95rem;
    }

    /* Professional section */
    .professional-section {
        padding: 30px 5%;
    }

    .professional-section h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .bottom-container {
        gap: 20px;
    }

    .education h3 {
        font-size: 1rem;
    }

    .education p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .profile-img {
        width: 150px;
    }

    .contact {
        padding: 15px;
    }

    .contact p {
        margin: 5px 0;
        font-size: 0.85rem;
    }

    /* Gallery item description */
    .item-description {
        padding: 8px;
    }

    .work-item-grid-mobile {
        max-width: 150px;
    }
}

/* about page */

.about-top {
  position: relative;
  background-image: url('images/banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 80px 10% 30px; /* adjust vertical space shown behind headings */
  text-align: center;
  color: #1d0e03;
  overflow: hidden;
}

/* --- About Section --- */
.about-section {
    background-color: #fffaf5;
    text-align: center;
    padding: 80px 15%;
}

.about-section h1 {
    font-size: 2.8rem;
    margin-bottom: 5px;
    font-weight: 700;
     -webkit-text-stroke: 1px #fffaf5;  /* outline width and color */
}

.about-section h2 {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 1000;
    -webkit-text-stroke: 1px #fffaf5;  /* outline width and color */
}

.about-section p {
    max-width: 850px;
    margin: 10px auto;
    font-size: 1rem;
    text-align: center;
}

/* --- Professional Section --- */
.professional-section {
    background-color: #cfa9e6;
    padding: 60px 10%;
}

.professional-section h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 40px;
}

/* Container for two-column layout */
.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

/* Left column (Education) */
.education {
    flex: 1.3;
    min-width: 300px;
}

.education h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.education p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Right column (Profile & Contact) */
.profile {
    flex: 1;
    text-align: center;
}

.profile-img {
    width: 260px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.contact {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.contact p {
    margin: 8px 0;
    font-size: 0.95rem;
}

.linkedin-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* --- Responsive --- */
@media (max-width: 800px) {
    .bottom-container {
        flex-direction: column;
        align-items: center;
    }

    .education, .profile {
        width: 100%;
        text-align: left;
    }

    .profile {
        text-align: center;
    }

    .about-section {
        padding: 60px 10%;
    }
}

/* Image Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.modal-caption {
    margin-top: 15px;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    max-width: 80%;
    word-wrap: break-word;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #c9aaee;
}

/* Make gallery images clickable */
.clickable-image {
    cursor: pointer;
}

.clickable-image:hover {
    opacity: 0.8;
}
