/* ==========================================================================
   Unified Page Headers - 統一ページヘッダー
   ========================================================================== */

/* Universal Page Hero Section */
.page-hero {
    padding: 20px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: url('/wp-content/uploads/2025/08/getty-images-JGbH69r09dU-unsplash-scaled.jpg');
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.85) 0%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #CC211B;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #351e15;
    margin: 0;
    line-height: 1.2;
}

/* Alternative background for different pages */
.page-hero.services-hero {
    background-image: url('/wp-content/uploads/2025/07/DSC00575-2-1.jpg');
}

.page-hero.contact-hero {
    background-image: url('/wp-content/uploads/2025/07/dino-reichmuth-A5rCN8626Ck-unsplash-scaled.jpg');
}

.page-hero.vehicles-hero {
    background-image: url('/wp-content/uploads/2025/07/dino-reichmuth-A5rCN8626Ck-unsplash-scaled.jpg');
}

.page-hero.news-hero {
    background-image: url('/wp-content/uploads/2025/07/jose-losada-DyFjxmHt3Es-unsplash-scaled.jpg');
}

/* Archive Page Hero */
.archive-hero {
    padding: 20px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: url('/wp-content/uploads/2025/08/getty-images-JGbH69r09dU-unsplash-scaled.jpg');
}

/* Specific background for vehicles archive page */
.archive-hero.vehicles-hero {
    background-image: url('/wp-content/uploads/2025/07/dino-reichmuth-A5rCN8626Ck-unsplash-scaled.jpg');
}

.archive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.85) 0%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
}

.archive-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.archive-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #CC211B;
    margin-bottom: 15px;
    display: inline-block;
}

.archive-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #351e15;
    margin: 0;
    line-height: 1.2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-title,
    .archive-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .page-hero,
    .archive-hero {
        padding: 20px 0 20px 0;
    }
    
    .page-title,
    .archive-title {
        font-size: 32px;
    }
    
    .page-subtitle,
    .archive-subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .page-hero,
    .archive-hero {
        padding: 20px 0 20px 0;
    }
    
    .page-title,
    .archive-title {
        font-size: 28px;
    }
    
    .page-subtitle,
    .archive-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }
}

/* Container utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}