* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fcf8f2;
    color: #333333;
}

/* ==========================================================================
   Header Section Settings
   ========================================================================== */
header {
    position: relative;
    width: 100%;
    min-height: 320px; /* 必要に応じて高さを調整してください */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    
    /* 1. 背景画像の設定（images/back.jpgを読み込み） */
    background-image: 
        /* 上下に暗めのグラデーションをかけて、文字（金・白）の視認性を劇的に向上させます */
        linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75)),
        url('../images/back.jpg');
        
    /* 2. 画像の配置設定 */
    background-size: cover;       /* 画面幅に合わせて画像を綺麗にフィット */
    background-position: center;   /* 常に画像の中央を表示 */
    background-repeat: no-repeat;
    background-attachment: scroll; /* モバイルでの挙動を安定させるためscrollを推奨 */
    
    color: #ffffff;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.3);
}

/* アプリのタイトル（KL MASALA）のスタイル調整 */
header h1 {
    font-family: 'Cinzel', 'Noto Serif JP', serif; /* 格調高いセリフ体（明朝系）にすると一気に高級感が出ます */
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 10px;
    
    /* 北インドのラグジュアリー感を演出するスパイス・ゴールドの上品なグラデーション文字 */
    background: linear-gradient(135deg, #ffcc80 0%, #ff9933 50%, #e65c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* 背景画像に埋もれないように、かつビールアプリ感を払拭する綺麗な影 */
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6);
}

/* サブタイトル（The Ultimate North Indian Curry & Tandoori Guide in KL） */
header p {
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #f5f5f5;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.8);
}

/* 言語切り替えボタンの位置調整（ヘッダー右上） */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
}

.lang-switcher button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 6px 12px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-switcher button.active, .lang-switcher button:hover {
    background: #e65c00;
    border-color: #e65c00;
}

header h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    color: #ff9933; /* Indian Saffron Accent */
}

header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.filter-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-top: 4px solid #ff9933;
}

.filter-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.group-title {
    font-weight: bold;
    width: 100px;
    color: #555555;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background: #e65c00;
    color: #ffffff;
    border-color: #e65c00;
}

.utility-controls {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

#btn-nearme {
    background-color: #138808; /* Indian Green */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

#btn-nearme.nearme-active {
    background-color: #d9534f;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease;
    border: 1px solid #f0e6da;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: #fff8f0;
    padding: 15px 20px;
    border-bottom: 1px solid #f0e6da;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    color: #8c3b00;
}

.area-tag {
    background: #ff9933;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
}

.description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
    min-height: 65px;
}

.distance-tag {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.meta-info {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.meta-info div {
    margin-bottom: 5px;
}

.meta-info i {
    width: 18px;
    color: #ff9933;
}

.badge-container {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}
/* Features Colors */
.rich-curry { background: #ffe0b2; color: #b66a00; }
.tandoori { background: #ffcdd2; color: #b71c1c; }
.naan-roti { background: #d7ccc8; color: #4e342e; }
.biryani { background: #fff9c4; color: #f57f17; }
.vegetarian-friendly { background: #c8e6c9; color: #1b5e20; }
.luxury { background: #e1bee7; color: #4a148c; }

.card-footer {
    display: flex;
    border-top: 1px solid #f0e6da;
}
.north-specialty { background: #ffcc80; color: #e65c00; border: 1px solid #ff9933; }
.action-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.text-maps { background: #fff3e0; color: #e65c00; }
.text-web { background: #efebe9; color: #4e342e; }
.text-maps:hover { background: #e65c00; color: #fff; }
.text-web:hover { background: #4e342e; color: #fff; }

footer {
    background: #222222;
    color: #ffffff;
    padding: 40px 20px;
    margin-top: 60px;
}

.disclaimer-container {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    font-size: 0.85rem;
    color: #bbbbbb;
    line-height: 1.6;
}

.important-notice {
    margin-top: 10px;
    color: #ffaa66;
}

.share-section {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.share-buttons a, .share-buttons button {
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#share-whatsapp { background-color: #25d366 !important; color: #ffffff !important; }
#share-line { background-color: #06c755 !important; color: #ffffff !important; }
#share-wechat { background-color: #07C160 !important; color: #ffffff !important; }
#share-copy { background-color: #555555 !important; color: #ffffff !important; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #aaa;
}
/* ==========================================================================
   モバイル（スマホ）向けの表示最適化
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. ヘッダー画像の高さをコンパクトに調整 */
    .hero-section, 
    header, 
    .header-container { /* ※実際のヘッダーのクラス名に合わせて調整してください */
        min-height: auto !important;
        height: 220px !important; /* 縦幅をギュッと縮めます */
        padding: 15px 0 !important;
    }

    /* タイトル文字とサブタイトルのサイズを小さくして収まりを良くする */
    .hero-section h1, 
    header h1 {
        font-size: 1.8rem !important;
        margin-bottom: 5px !important;
    }
    .hero-section p, 
    header p {
        font-size: 0.9rem !important;
        padding: 0 15px !important;
    }

    /* 言語切り替えボタンの位置や余白の微調整 */
    .lang-switch { /* ※実際のクラス名に合わせてください */
        margin-top: 5px !important;
        margin-bottom: 10px !important;
    }

    /* 2. フィルターエリア（オレンジの枠）の余白を詰める */
    .filter-container,
    .filter-section { /* ※実際のフィルター外枠のクラス名 */
        margin-top: -20px !important; /* ヘッダーとの被り具合を調整 */
        padding: 12px 15px !important; /* 内側の余白を狭く */
    }

    /* 「Area:」「Features:」の文字とボタンの間隔を詰める */
    .filter-group h3,
    .filter-section label,
    .filter-container p { 
        margin-top: 5px !important;
        margin-bottom: 4px !important;
        font-size: 0.9rem !important;
    }

    /* ボタン自体のサイズと、ボタン同士の間隔（上下左右）を小さくする */
    .filter-btn, 
    .tag-btn { /* ※実際のボタンのクラス名 */
        padding: 4px 10px !important; /* ボタンを少し平べったく小さく */
        font-size: 0.8rem !important;  /* 文字を少し小さく */
        margin: 3px !important;        /* ボタンのまわりの隙間を最小限に */
    }
}