/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  padding: 0; /* was: 0 1rem */
}

body {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  padding: 0 1rem;
}

h1,
h2,
h3 {
  font-weight: normal;
  margin-bottom: 0.5rem;
}

/* Global Paragraph Spacing */
p {
  margin-bottom: 1rem;
}

/* Global Link Styling */
a {
  color: #2c5f2d;
  text-decoration: none;
}

a:hover {
  color: #244624;
  text-decoration: underline;
}

/* HEADER & NAVIGATION */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ccc;
  min-height: 80px;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left h1 {
  font-size: 1.8rem;
  margin: 0;
}

.header-left a {
  color: #2c5f2d;
  text-decoration: none;
}

.subtitle {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
}

nav ul li a {
  font-weight: 500;
  transition: color 0.2s ease;
}

/* MAIN CONTENT */
main {
  max-width: 900px;
  margin: 1rem auto;
}

section {
  margin-bottom: 1rem;
}

section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* INTRO SECTION */
.intro {
  margin-bottom: 1.5rem;
}

/* SECTION DIVIDER */
.section-divider {
  width: 100%;
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid #ccc;
}

/* ACTIVITIES SECTION */
.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 0.5rem;
  align-items: start;
}

/* Force all activity sections to start at exactly the same position */
.activity-section {
  display: block;
  position: relative;
  top: 0;
}

.activity-section h3 {
  margin: 0 0 1.2rem 0;
  padding: 0;
  color: #2c5f2d;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

/* UNIVERSITY STYLING */
.university {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  margin-top: 0.3rem;
}

/* CLEAN LIST STYLING */
.clean-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.clean-list li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* ACTIVITIES SUBSECTION */
.activities-subsection {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid #2c5f2d;
}

/* Fix alignment issue caused by activities subsection */
.activity-section:has(.activities-subsection) {
  align-self: start;
}

.activity-section .activities-subsection:first-of-type {
  margin-top: 1.5rem;
}

.activities-subsection h4 {
  font-size: 1rem;
  color: #2c5f2d;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.activities-subsection .clean-list {
  margin-top: 0.5rem;
  margin-left: 1rem;
}

.activities-subsection .clean-list li {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Better link styling within activities */
.activities-subsection a {
  display: inline-block;
  margin-top: 0.2rem;
  color: #2c5f2d;
  font-weight: 500;
}

/* COLLECTION BUTTON STYLING */
.collection-links {
  margin: 1rem 0;
  display: flex;
  gap: 1rem;
}

.collection-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid #2c5f2d;
  color: #2c5f2d;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.collection-btn:hover {
  background-color: #2c5f2d;
  color: white;
  text-decoration: none;
}

/* BLOG */
.blog-section .blog-summary {
  margin-bottom: 2rem;
}

.blog-summary h3 a {
  color: #2c5f2d;
}

/* PROJECTS */
.project-list {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
}

.project-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  border: 1px solid #eee;
  padding: 1.5rem;
  border-radius: 5px;
  background-color: #fff;
}

.project-text {
  flex: 1;
  margin-right: 1.5rem;
}

.project-image {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* PROJECT BANNER */
.project-banner {
  margin-bottom: 2rem;
  border-radius: 5px;
  overflow: hidden;
  max-height: 300px;
}

.project-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.project-detail {
  margin-top: 1rem;
}

.project-content p {
  margin-bottom: 1.2rem;
}

/* COMMON BANNER STYLES */
.page-banner {
  margin-bottom: 2rem;
  border-radius: 5px;
  overflow: hidden;
  height: 35vh;
  min-height: 250px;
  max-height: 400px;
}

.page-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-banner {
    height: 25vh;
    min-height: 200px;
    max-height: 300px;
  }
}

/* BACK BUTTON STYLING */
.back-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #2c5f2d;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.back-btn:hover {
  background-color: #244624;
}

/* CORNER DRAWING */
.corner-drawing {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: -10;
  pointer-events: none;
}

.corner-drawing img {
  max-width: 120px;
  max-height: 120px;
  opacity: 0.63;
  transition: opacity 0.3s ease;
}

.corner-drawing:hover img {
  opacity: 0.9;
}

/* ART PAGE REDESIGN STYLES */

/* Art intro section */
.art-intro {
  margin-bottom: 2.5rem;
}

.art-intro h2 {
  margin-bottom: 1.5rem;
}

/* Featured Showcase Section - FINAL FIX */
.featured-showcase {
  margin-bottom: 4rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  height: 350px;
  margin-bottom: 3rem; /* Large margin to separate from text */
}

.showcase-main {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f9fa;
  z-index: 1;
}

.showcase-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.showcase-main:hover img {
  transform: scale(1.02);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 1.5rem;
  z-index: 2;
}

.showcase-overlay h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.showcase-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.showcase-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

.showcase-studio,
.showcase-detail {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #f8f9fa;
  flex: 1;
  z-index: 1;
}

.showcase-studio img,
.showcase-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.showcase-studio:hover img,
.showcase-detail:hover img {
  transform: scale(1.05);
}

/* SPECIFIC FIX for the text container */
.showcase-text {
  clear: both;
  margin-top: 2rem;
  position: relative;
  z-index: 1000; /* Very high z-index */
  background-color: white; /* Force white background */
  padding: 1rem 0; /* Add padding for safety */
  width: 100%;
  display: block;
}

.showcase-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #555;
  position: relative;
  z-index: 1001;
}

.studio-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
}

/* Showcase Strip */
.showcase-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  height: 120px;
}

.strip-image {
  overflow: hidden;
  border-radius: 4px;
  background: #f8f9fa;
}

.strip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.strip-image:hover img {
  transform: scale(1.1);
}

/* Artistic Journey Section */
.art-journey {
  margin-bottom: 4rem;
}

.art-journey h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #2c5f2d;
}

.journey-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.journey-item {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.journey-item:last-child {
  border-bottom: none;
}

.journey-content h4 {
  font-size: 1.2rem;
  color: #2c5f2d;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.journey-content p {
  color: #555;
  line-height: 1.6;
}

.journey-preview {
  display: flex;
  justify-content: center;
}

.studio-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  width: 240px;
}

.studio-images img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: transform 0.2s ease;
}

.studio-images img:hover {
  transform: scale(1.1);
}

/* Collections Section */
.art-collections h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #2c5f2d;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.collection-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.collection-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #2c5f2d;
  text-decoration: none;
  color: inherit;
}

.collection-card.coming-soon {
  opacity: 0.7;
  cursor: default;
}

.collection-card.coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: #eee;
}

.collection-image {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-image::before {
  content: "";
  width: 60px;
  height: 60px;
  background: rgba(44, 95, 45, 0.1);
  border-radius: 50%;
  position: absolute;
}

.placeholder-image::after {
  content: "🎨";
  font-size: 24px;
  opacity: 0.5;
  position: absolute;
}

.collection-info {
  padding: 1.5rem;
}

.collection-info h4 {
  margin: 0 0 0.5rem 0;
  color: #2c5f2d;
  font-size: 1.1rem;
  font-weight: 600;
}

.collection-info p {
  margin: 0 0 0.8rem 0;
  color: #666;
  font-size: 0.95rem;
}

.collection-count {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

/* OLD ART PAGE STYLES (for backwards compatibility) */
.art-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
  height: calc(100vh - 200px);
}

/* STORY SECTION */
.story-section {
  height: 100%;
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.story-section::-webkit-scrollbar {
  display: none;
}

.story-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.story-item:last-child {
  border-bottom: none;
}

.story-item h3 {
  margin-bottom: 0.5rem;
}

.story-item p {
  color: #555;
  margin-bottom: 1rem;
}

.story-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.story-images img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

/* CATALOGUES SIDEBAR */
.collections-sidebar h3 {
  margin-bottom: 1rem;
}

.catalogue-link {
  display: block;
  border: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.catalogue-link:hover {
  border-color: #2c5f2d;
  text-decoration: none;
}

.catalogue-link img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.catalogue-info {
  padding: 1rem;
}

.catalogue-info h4 {
  margin-bottom: 0.3rem;
  color: #2c5f2d;
}

.catalogue-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* COLLECTION CATALOGUE STYLES */

/* Collection Header */
.collection-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.collection-intro h2 {
  margin-bottom: 1.5rem;
  color: #2c5f2d;
}

.collection-intro p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.collection-meta {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #2c5f2d;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e8e8e8;
}

.meta-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.meta-label {
  font-weight: 600;
  color: #2c5f2d;
  font-size: 0.9rem;
}

.meta-value {
  color: #555;
  font-size: 0.9rem;
}

/* Collection Gallery */
.catalogue-gallery {
  margin-bottom: 3rem;
}

/* Collection Navigation */
.collection-navigation {
  padding-top: 2rem;
  border-top: 1px solid #eee;
  text-align: left;
}

/* Responsive Collection Header */
@media (max-width: 768px) {
  .collection-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .collection-meta {
    padding: 1rem;
  }
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.art-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.art-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #2c5f2d;
}

.art-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}

.art-item figcaption {
  padding: 1.5rem;
}

.art-item figcaption h4 {
  margin: 0 0 0.5rem 0;
  color: #2c5f2d;
  font-size: 1.1rem;
}

.art-medium {
  color: #666;
  font-size: 0.9rem;
  margin: 0.3rem 0;
  font-style: italic;
}

.art-date {
  color: #999;
  font-size: 0.85rem;
  margin: 0;
}

/* MODAL STYLES */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  display: flex;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  animation: slideIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 1);
  color: #2c5f2d;
}

#modalImage {
  max-width: 60%;
  max-height: 100%;
  object-fit: contain;
}

.modal-info {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h3 {
  color: #2c5f2d;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.modal-details {
  margin-bottom: 1.5rem;
}

.modal-details p {
  margin: 0.5rem 0;
  color: #555;
}

.modal-details strong {
  color: #333;
}

#modalDescription {
  color: #666;
  line-height: 1.6;
  font-style: italic;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 968px) {
  .art-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    height: auto;
  }

  .story-section {
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    justify-content: center;
    margin-top: 1rem;
  }

  .project-item {
    flex-direction: column;
  }

  .project-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .project-image {
    width: 100% !important;
    margin-left: 0;
  }

  .project-image img {
    width: 100%;
    max-width: none;
  }

  .story-item {
    padding-left: 1.5rem;
  }

  .art-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .art-item img {
    height: 200px;
  }

  /* RESPONSIVE MODAL */
  .modal-content {
    flex-direction: column;
    max-width: 95vw;
    max-height: 95vh;
  }

  #modalImage {
    max-width: 100%;
    max-height: 60%;
  }

  .modal-info {
    padding: 1.5rem;
  }

  .modal-close {
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }

  /* Mobile activities responsive */
  .activities {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Art page mobile responsive - FINAL FIX */
  .showcase-grid {
    grid-template-columns: 1fr;
    height: auto;
    margin-bottom: 2rem;
  }

  .showcase-main {
    height: 250px;
  }

  .showcase-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    height: 120px;
  }

  .showcase-text {
    margin-top: 1.5rem;
    padding: 0.5rem 0;
  }

  .showcase-strip {
    grid-template-columns: repeat(3, 1fr);
    height: 100px;
  }

  .strip-image:nth-child(4),
  .strip-image:nth-child(5) {
    display: none;
  }

  .journey-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .journey-content {
    order: 2;
  }

  .journey-preview {
    order: 1;
  }

  .studio-images {
    width: 200px;
  }

  .studio-images img {
    width: 60px;
    height: 60px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .art-journey {
    margin-bottom: 3rem;
  }
}

/* ENHANCED BLOG STYLES */
.blog-section {
  max-width: 800px;
  margin: 0 auto;
}

.blog-section > p {
  color: #666;
  font-style: italic;
  margin-bottom: 2rem;
}

.blog-summary {
  margin-bottom: 2rem;
}

.blog-summary h3 {
  margin-bottom: 0.8rem;
}

.blog-summary h3 a {
  color: #2c5f2d;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.2s ease;
}

.blog-summary h3 a:hover {
  color: #244624;
  text-decoration: underline;
}

.blog-summary .date {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.blog-summary > p:not(.date) {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* BLOG TAGS */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background-color: #2c5f2d;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: lowercase;
}

.tag:hover {
  background-color: #244624;
}

/* RESPONSIVE BLOG */
@media (max-width: 768px) {
  .blog-summary h3 a {
    font-size: 1.2rem;
  }

  .blog-tags {
    margin-top: 0.8rem;
  }
}
@media (min-width: 769px) {
  #experience,
  #find-me {
    padding-top: 6px;
  }
}
