
/* Subpage Styles */
.subpage-hero {
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Service Page Hero */
.hero-service {
    background-image: url('images/heroes/hero-service.jpg');
}

.hero-service .container {
    margin-left: 100px !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-service .subpage-hero-title,
.hero-service .subpage-hero-subtitle {
    text-align: left;
    width: 100%;
}

/* Cases Page Hero */
.hero-cases {
    background-image: url('images/heroes/hero-cases.jpg');
}

.hero-cases .container {
    margin-left: auto !important;
    margin-right: 100px !important;
    padding-right: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-cases .subpage-hero-title,
.hero-cases .subpage-hero-subtitle {
    text-align: right;
    width: 100%;
}

/* Profile Page Hero */
.hero-profile {
    background-image: url('images/heroes/hero-profile.jpg');
}

/* Ideas Page Hero */
.hero-ideas {
    background-image: url('images/heroes/hero-ideas.jpg');
}

.hero-ideas .container {
    margin-left: 100px !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-ideas .subpage-hero-title,
.hero-ideas .subpage-hero-subtitle {
    text-align: left;
    width: 100%;
}

.hero-ideas .container {
    margin-left: 100px !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-ideas .subpage-hero-title,
.hero-ideas .subpage-hero-subtitle {
    text-align: left;
    width: 100%;
}

.hero-ideas .container {
    margin-left: 100px !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-ideas .subpage-hero-title,
.hero-ideas .subpage-hero-subtitle {
    text-align: left;
    width: 100%;
}

/* Contact Page Hero - reuse profile image */
.hero-contact {
    background-image: url('images/heroes/hero-profile.jpg');
}

.hero-contact .container {
    margin-left: 100px !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-contact .subpage-hero-title,
.hero-contact .subpage-hero-subtitle {
    text-align: left;
    width: 100%;
}

/* No dark overlay — text relies on text-shadow for readability */

.subpage-hero .container {
    margin-left: 0;
}

.subpage-hero-title {
    font-size: clamp(56px, 10vw, 120px);
    font-weight: 200;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.subpage-hero-subtitle {
    font-size: clamp(14px, 2vw, 20px);
    color: var(--color-white);
    font-weight: 300;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
    letter-spacing: 0.3em;
}

/* Cases Grid */
.cases-grid-section {
    padding: 100px 0;
    background: var(--color-white);
}

.cases-masonry {
    column-count: 3;
    column-gap: 30px;
}

@media (max-width: 1024px) {
    .cases-masonry { column-count: 2; }
}

@media (max-width: 768px) {
    .cases-masonry { column-count: 1; }
}

.case-card {
    break-inside: avoid;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.case-card img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.case-card:hover img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--color-white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.case-card:hover .case-overlay {
    transform: translateY(0);
}

.case-category {
    font-size: 11px;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.case-title {
    font-size: 20px;
    font-weight: 500;
}

/* Profile Section */
.profile-section {
    padding: 100px 0;
    background: var(--color-white);
}

.profile-block {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.profile-block h2 {
    font-size: 36px;
    font-weight: 300;
    color: var(--color-black);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.profile-block p {
    font-size: 16px;
    line-height: 2;
    color: var(--color-gray);
}

.profile-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 80px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.profile-mission {
    max-width: 800px;
    margin: 80px auto;
    padding: 60px;
    background: #fafafa;
}

.profile-mission blockquote {
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-black);
    text-align: center;
    line-height: 1.8;
}

/* Ideas Section */
.ideas-section {
    padding: 100px 0;
    background: var(--color-white);
}

.ideas-list {
    max-width: 900px;
    margin: 0 auto;
}

.idea-item {
    padding: 40px 0;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: padding-left 0.3s ease;
}

.idea-item:hover {
    padding-left: 20px;
}

.idea-item h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 12px;
}

.idea-item p {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.8;
}

.idea-meta {
    margin-top: 16px;
    font-size: 12px;
    color: var(--color-gold);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item label {
    font-size: 12px;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 18px;
    color: var(--color-black);
}

.map-container {
    height: 400px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
