/* 
 * ラグジュアリー灯篭ヒーローセクション オーバーライドCSS
 * 既存デザインを破壊せずにTOPセクションのみに美しい背景を適用
 */

/* ヒーローセクションの背景をオーバーライド */
.hero {
    position: relative;
    background-image: url('./top-image/luxury-lantern-background.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
}

/* 既存の背景要素を非表示にする */
.hero .hero-background {
    display: none !important;
}

/* 文字の視認性を最優先にしたオーバーレイ - 花の装飾と競合しないようにクラス名変更 */
.hero .hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(20, 40, 60, 0.3) 0%,
        rgba(30, 50, 70, 0.5) 30%,
        rgba(40, 60, 80, 0.3) 60%,
        rgba(20, 40, 60, 0.4) 100%
    ) !important;
    z-index: 1;
    pointer-events: none;
}

/* コンテンツ領域の位置調整とテキスト強調 */
.hero .hero-content {
    position: relative !important;
    z-index: 10 !important;
    text-align: center !important;
    padding: 60px 20px !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100vh !important;
}

/* メインタイトルの強調 */
.hero h1 {
    color: #ffffff !important;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(255, 215, 0, 0.3) !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 40px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
}

/* タグライン（説明文）の視認性向上 */
.hero .tagline p {
    color: #f5f5f5 !important;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 2px 6px rgba(0, 0, 0, 0.7) !important;
    font-size: clamp(1rem, 2.5vw, 1.3rem) !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 15px 25px !important;
    border-radius: 8px !important;
    backdrop-filter: blur(2px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 強調テキスト（太字部分）をさらに目立たせる */
.hero .tagline b {
    color: #ffd700 !important;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 1),
        0 0 10px rgba(255, 215, 0, 0.5) !important;
    font-weight: 800 !important;
}

/* ボタンエリアの調整 */
.hero .hero-buttons {
    margin-top: 40px !important;
    z-index: 15 !important;
    position: relative !important;
}

/* プライマリボタンの強化 */
.hero .btn-primary {
    background: linear-gradient(135deg, #c9aa71, #e6d294) !important;
    color: #2c3e50 !important;
    text-shadow: none !important;
    font-weight: 600 !important;
    padding: 15px 35px !important;
    font-size: 1.1rem !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, #e6d294, #f4e5b8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 6px 20px rgba(255, 215, 0, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

/* 和風装飾要素の調整 */
.hero .washi-texture,
.hero .byobu-pattern,
.hero .byobu-pattern-left {
    opacity: 0.1 !important;
    z-index: 2 !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll !important;
    }

    .hero .hero-content {
        padding: 40px 15px !important;
        min-height: 100vh !important;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        margin-bottom: 30px !important;
    }

    .hero .tagline p {
        font-size: clamp(0.9rem, 4vw, 1.1rem) !important;
        padding: 12px 20px !important;
        margin-bottom: 15px !important;
    }

    .hero .btn-primary {
        padding: 12px 28px !important;
        font-size: 1rem !important;
    }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: url('./top-image/luxury-lantern-background.jpg') !important;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .hero::before {
        background: linear-gradient(
            135deg, 
            rgba(10, 20, 35, 0.4) 0%,
            rgba(20, 30, 45, 0.6) 30%,
            rgba(30, 40, 55, 0.4) 60%,
            rgba(10, 20, 35, 0.5) 100%
        ) !important;
    }
}

/* アニメーション効果の保持 */
.hero .float-animation {
    animation: float 6s ease-in-out infinite !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* アクセシビリティ: アニメーション無効化設定に対応 */
@media (prefers-reduced-motion: reduce) {
    .hero .float-animation {
        animation: none !important;
    }

    .hero .btn-primary:hover {
        transform: none !important;
    }
}

/* 印刷対応 */
@media print {
    .hero {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }


    .hero h1,
    .hero .tagline p {
        color: black !important;
        text-shadow: none !important;
        background: none !important;
    }
}
