/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */

/* --- Hero Section --- */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/home/likhang-filipino-exhibition-halls.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.ls-2 { letter-spacing: 2px; }
.ls-1 { letter-spacing: 1px; }

/* --- General Section Spacing --- */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-text);
}

/* --- Accent Image with "Pop" Effect --- */
.accent-image-wrapper {
    position: relative;
    padding: 1rem;
}

.accent-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background-color: var(--brand-red); /* The Red Box behind */
    z-index: 0;
    border-radius: 4px;
}

.accent-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border: 2px solid #ddd; /* The Border box in front/bottom */
    z-index: 1;
    pointer-events: none;
    border-radius: 4px;
}

.accent-image-wrapper img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px;
}

/* --- Logo Strip --- */
.logo-strip {
    padding: 4rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.grayscale-logos img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-height: 80px;
}

.grayscale-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- History Card --- */
.bg-beige {
    background-color: var(--brand-beige);
}

.history-card {
    border-left: 5px solid var(--brand-red);
    position: relative;
    z-index: 2;
}

.text-red { color: var(--brand-red); }

/* --- Galleries Grid --- */
.gallery-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--brand-red);
}

.about-gallery-link {
  color: #c8102e !important;
  font-weight: 500;
  position: relative; 
  transition: color 0.3s;
  text-decoration: none;
} 

.gallery-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: #f0f0f0; /* Very light gray */
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: 0;
    transition: color 0.3s;
}

.gallery-card:hover .gallery-number {
    color: rgba(200, 16, 46, 0.1); /* Faint red on hover */
}

.gallery-name {
    position: relative;
    z-index: 1;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .about-hero { height: 50vh; }
    .display-3 { font-size: 2.5rem; }
    
    .accent-image-wrapper::before { width: 100%; height: 90%; top: 10%; right: 0; }
    .accent-image-wrapper::after { display: none; }
    
    .section-padding { padding: 4rem 0; }
}