/* --- 1. FONTS & RESETS --- */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: #F9F8F4; /* "Screenplay Paper" Off-White */
  color: #2C2C2C; /* Charcoal Ink */
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* --- 2. TYPOGRAPHY UTILITIES --- */
h1, h2, h3, .tamara-page-title, .my-projects-heading {
  font-family: 'Playfair Display', serif;
}

/* The Screenplay Font for Genre/Format */
.format, .genre, #profession, .writing-quote, #Ursula-name {
  font-family: 'Courier Prime', monospace;
}

a {
  color: #2C5564;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* --- 3. HEADER SECTION --- */
.tamara-page-title {
  display: flex;
  flex-direction: column;
  /* Push content to the right side */
  justify-content: center; 
  align-items: flex-end; 
  width: 100%;
  padding: 60px 5%; /* 5% padding keeps it from hitting the edge */
  background-image: url(https://www.dropbox.com/scl/fi/pjfazbkt40r91i20lf19w/coffee_3.png?rlkey=cim6nxxgwd9juj8w6m7v8n5f4&st=5dv8pfzp&dl=1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #2C2C2C;
  min-height: 500px; /* Slight height increase for drama */
  text-align: right;
}

/* Wrapper for all the text */
.header-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Aligns Name and Profession to the Right */
  max-width: 650px;
}

#tamara_name {
  font-family: 'Playfair Display', serif;
  font-size: 4em;
  margin: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 40px;
  color: #000;
  box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1; /* Sits behind the profession box slightly */
}

#profession {
  font-size: 1.5em;
  /* THE OVERLAP MAGIC */
  margin-top: -25px; /* Pulls it UP onto the white box */
  margin-right: 15px; /* Offsets it slightly from the edge */
  
  letter-spacing: 3px;
  text-transform: uppercase;
  background: #2C2C2C;
  color: #FFF;
  padding: 8px 20px;
  position: relative;
  z-index: 2; /* Sits ON TOP of the name */
}

/* --- QUOTE STYLING --- */
.quote-wrapper {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  /* This aligns the quote and name to the LEFT of their container */
  align-items: flex-start; 
  width: 100%;
}

.writing-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2em;
  text-align: left; /* Text reads left-to-right */
  background: rgba(255,255,255,0.85);
  padding: 20px;
  margin: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#Ursula-name {
  text-align: left;
  font-size: 1em;
  font-weight: bold;
  background: rgba(255,255,255,0.95); /* Slightly clearer bg for name */
  padding: 10px 20px;
  margin-top: 10px; /* Space between quote box and name box */
  display: inline-block;
}

/* --- MOBILE ADJUSTMENT --- */
@media screen and (max-width: 768px) {
  /* On mobile, the "negative space" usually disappears, so we center it back */
  .tamara-page-title {
    align-items: center;
    background-position: 65%; /* Shifts image to keep face visible */
  }
  
  .header-content {
    align-items: center;
  }
  
  #profession {
    margin-right: 0;
  }
  
  .quote-wrapper {
    align-items: center; /* Center quote on mobile */
  }
  
  #Ursula-name {
    align-self: center;
  }
}

/* --- 4. LOGOS & HONORS --- */
/* --- 4. LOGOS & HONORS --- */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px; 
  margin: 40px 0;
}

/* Base styles */
.logos img {
  width: auto;
  margin: 0;
  opacity: 0.9;
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.logos img:hover {
  filter: grayscale(0%);
}

/* --- INDIVIDUAL LOGO SIZES --- */
/* Doubled sizes to fill the viewer width */

#nama-logo {
    height: 160px; 
}

#big-break-logo {
    height: 160px;
}

#page-logo {
    height: 160px; 
}

#shore-logo {
    height: 180px; /* The laurel is taller/skinnier, so 200px keeps it balanced */
}


/* --- HONORS SECTION --- */
.honors {
  background: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 30px 20px;
  margin: 20px 0;
}

.honors-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Reduced gap because we are adding visual bullets now */
  gap: 15px; 
  row-gap: 25px; /* Adds extra breathing room between lines when they wrap */
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #2C5564; 
}

.honors-text li {
  position: relative;
  display: flex;
  align-items: center;
}

/* This adds a Gold Bullet point after every item... */
.honors-text li::after {
    content: "•";
    margin-left: 15px;
    color: #C5A059;
    font-size: 1.2em;
}

/* ...Except the last one, so we don't have a hanging dot */
.honors-text li:last-child::after {
    display: none;
}
/* --- INDIVIDUAL HONORS IMAGES --- */

#shore-laurel {
    height: 50px; /* Adjust this for the Laurel next to text */
    width: auto;
    margin-right: 15px; /* Spacing between laurel and text */
}

.achievement {
    color: #000;          /* Pure black to stand out from the Teal text */
    text-transform: uppercase;
    font-weight: 900;     /* Extra bold */
    letter-spacing: 1px;
    border-bottom: 2px solid #C5A059; /* Optional: Adds a subtle gold underline "honor" effect */
    margin: 0 5px;        /* Adds a little breathing room around the word */
}
/* --- 5. UPDATES --- */
.recent-updates {
  max-width: 800px;
  margin: 40px auto;
  background: #FFF;
  border-left: 5px solid #2C5564;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 20px;
  text-align: center;
}

#recent-updates {
  font-size: 0.9em;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0;
  color: #888;
}

.scroll-container {
  overflow: visible; 
  white-space: normal;
}

.scroll-text {
  animation: none;
  display: block;
  padding: 0;
  margin: 10px 0 0 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.3em;
  font-style: italic;
  color: #2C2C2C;
}

/* Forces images to act as thin strips regardless of their actual file size */
.divider-image img, 
.divider-image2 img, 
.divider-image3 img, 
.divider-image4 img, 
.divider-image5 img {
  display: block;
  margin: 40px auto;
  width: 100%;        /* Stretches to fill the width */
  height: 45px;       /* FORCE a thin height (adjust this number if you want them thicker/thinner) */
  object-fit: fill;   /* Ensures the ink stretches to fill the space like a line */
  opacity: 0.8;
}

/* --- 7. BIO SECTION (RESTORED LAYOUT) --- */
/* Update this section in your CSS */
.bio {
  position: relative;
  text-align: justify;
  width: 100%;
  max-width: 1000px; 
  margin: 0 auto;
  padding: 60px 40px;
  min-height: 600px; 
  overflow: visible; 
  z-index: 1; 
  /* Deleted the background-image lines here */
}

/* The Screenplay - Faded but positioned */
.bio::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  bottom: 25%;
  right: -30%;
  background-image: url('https://assets.codepen.io/9605634/screenplay+page+for+bio.png');
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-15deg);
  z-index: -1;
  opacity: 0.15; /* Faded styling you liked */
}

/* Add this new rule */
#bio::after {
  content: '';
  position: absolute;
  /* Adjust these numbers to move the pen around */
  bottom: -60px;  /* Negative value pulls it BELOW the edge */
  right: 680px;   /* Negative value pulls it OUTSIDE the right edge */
  width: 400px;   /* Size of the pen */
  height: 400px;
  background-image: url('https://assets.codepen.io/9605634/fountain+pen.png');
  background-size: contain;
  background-repeat: no-repeat;
 z-index: -1; /* Moves it behind the text box background */
  opacity: 0.2; /* Makes it faded to match the other items */
   transform: rotate(-75deg);
  pointer-events: none;
  pointer-events: none; /* Ensures you can still select text under it */
}

/* The Notecard - Faded but positioned */
.bio::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 40%;
  bottom: 20%;
  right: -25%;
  background-image: url('https://assets.codepen.io/9605634/notcard+for+tamara+website.png');
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(15deg);
  z-index: -1;
  opacity: 0.2; /* Faded styling you liked */
}

#little-me {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 2;
}

#bio {
  font-size: 1.3em;
  line-height: 1.8;
  position: relative;
  z-index: 2;
  background: rgba(249, 248, 244, 0.7); /* Subtle backing to ensure readability over messy desk */
  padding: 20px;
  border-radius: 5px;
}

/* --- 8. PROJECTS GRID (RESTORED SIZES) --- */
.my-projects-heading {
  text-align: center;
  font-size: 3em;
  margin: 60px 0 30px 0;
  color: #2C2C2C;
}

.project-grid {
  display: grid;
  /* Restored to original 2-column big box layout */
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.project-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1; /* Restored Square Shape */
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  background: #000;
}

.project-box-images {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Hover Effects */
.project-box:hover .project-box-images.unhovered {
  opacity: 0;
}

.project-info {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.4) 100%);
  color: white;
  padding: 40px; /* Increased padding for big boxes */
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.project-box:hover .project-info {
  opacity: 1;
}

/* Specific text styles inside projects */
.project-description {
  font-size: 1.1em; /* Slightly larger text */
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  background: transparent !important;
}

.genre, .format {
  font-size: 1em;
  color: #A8D0DB; 
  margin: 2px 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- 9. CONTACT --- */
.contact-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.contact-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4em;
  margin-bottom: 40px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-icon {
  width: 50px;
  height: auto;
  transition: transform 0.2s;
}

.social-link:hover .social-icon {
  transform: scale(1.1);
}

/* --- 10. MODAL --- */
.project-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
}

.project-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #1a1a1a;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid #333;
}

.modal-close {
  position: absolute;
  top
  
  
  /* Add this to the bottom of style.css */
#bio p {
  margin-bottom: 20px; /* Gives breathing room between paragraphs */
  margin-top: 0;
}

#bio p:last-child {
  margin-bottom: 0; /* Removes extra space after the final sentence */
}