/* ================================================
   INTERIOR PROJECTS PAGE - HERO SECTION
   ================================================ */

#projects-hero {
    height: calc(100vh - var(--header-height));
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    overflow: hidden;
}
.hero-image-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; 
}
.hero-image-background img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-image-background::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2);
}
#projects-hero .container {
    position: relative; z-index: 2;
}
#projects-hero .hero-content {
    text-align: left;
}
#projects-hero .hero-content h1 {
    font-family: 'Cormorant', serif; font-size: clamp(3.5rem, 8vw, 8rem); font-weight: 400; color: var(--cream-color); line-height: 1.2; text-transform: uppercase; margin-bottom: 2.5rem;
}
#projects-hero .contact-button {
background-color: transparent;
    border: 2px solid var(--cream-color);
    color: var(--cream-color);
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
#projects-hero .contact-button:hover {
 background-color: var(--cream-color);
    color: var(--primary-color);}

/* ================================================
   PROJECTS PAGE - PORTFOLIO SECTIONS
   ================================================ */

.project-section {
    padding: 6rem 0;
    background-color: var(--gold-color);
}
.project-grid-layout {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    gap: 4rem;
}
.project-text-content {
    display: flex; flex-direction: column; justify-content: space-between; height: 100%; color: var(--cream-color);
}
.project-text-content .section-top-line {
    border: none; height: 1px; width: 100%; max-width: 350px; margin: 0 0 3rem 0; background-color: rgba(255, 250, 235, 0.7);
}
.project-text-content h2 {
    font-family: 'Cormorant', serif; font-size: clamp(3rem, 6vw, 5rem); color: var(--cream-color); font-weight: 400; text-transform: uppercase; line-height: 1.1;
}
.project-details {
    display: grid; gap: 1rem; margin-top: 5rem;
}
.detail-item {
    display: flex; gap: 1.5rem; font-size: 1.1rem;
}
.detail-label {
    font-weight: 600; flex-basis: 90px;
}
.project-image-content img {
    width: 100%; height: auto; display: block;
}
.project-multi-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem;
}
.project-item {
    display: flex; flex-direction: column; color: var(--cream-color);
}
.project-item .project-details {
    margin-top: 0; margin-bottom: 2rem;
}
.project-item-image img {
    width: 100%; height: 450px; object-fit: cover; display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 900px) {
    .project-grid-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .project-multi-grid { grid-template-columns: 1fr; }
}

/* ================================================
   ELEMENT ANIMATION STYLES
   ================================================ */

.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* Staggered delays for a cascading effect */
.project-multi-grid .animate-item:nth-child(1) { transition-delay: 0.1s; }
.project-multi-grid .animate-item:nth-child(2) { transition-delay: 0.2s; }
.project-multi-grid .animate-item:nth-child(3) { transition-delay: 0.3s; }
.project-multi-grid .animate-item:nth-child(4) { transition-delay: 0.4s; }
.project-multi-grid .animate-item:nth-child(5) { transition-delay: 0.5s; }
.project-multi-grid .animate-item:nth-child(6) { transition-delay: 0.6s; }

.animate-item.visible {
    opacity: 1;
    transform: translateY(0);
}