/* /assets/css/home.css */
:root {
    --navy: #0F172A;
    --navy-light: #1E293B;
    --gold: #C49A4A;
    --gold-light: #E5C77F;
    --cream: #F8FAFC;
    --white: #FFFFFF;
    --gray: #64748B;
    --border: #E2E8F0;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); background: var(--cream); color: var(--navy); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.ccrb-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* HEADER / HERO */
.ccrb-hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 100px;
    text-align: center;
}
.ccrb-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.ccrb-hero p { font-size: 1.1rem; color: #CBD5E1; max-width: 700px; margin: 0 auto 30px; }

/* SEARCH BOX MOCKUP */
.ccrb-search-bar {
    background: var(--white);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.ccrb-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}
.ccrb-search-btn {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: 0 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

/* SECTION HEADINGS */
.ccrb-section { padding: 60px 0; }
.ccrb-section-title { font-size: 1.75rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.ccrb-section-subtitle { color: var(--gray); font-size: 1rem; margin-bottom: 30px; }

/* GRIDS */
.ccrb-grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.ccrb-grid-5 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* CARD STYLES (OTA Style) */
.ccrb-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.ccrb-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.ccrb-card-img { width: 100%; height: 220px; object-fit: cover; position: relative; }
.ccrb-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.ccrb-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.ccrb-card-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; flex: 1; }
.ccrb-card-price { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.ccrb-card-price span { font-size: 0.85rem; font-weight: 400; color: var(--gray); }
.ccrb-price-old { text-decoration: line-through; color: #EF4444; font-size: 0.9rem; margin-right: 8px; }

/* TAGS & BADGES */
.ccrb-tag { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; margin-bottom: 8px; }
.ccrb-tag-blue { background: #E0F2FE; color: #0369A1; }
.ccrb-tag-gold { background: #FEF3C7; color: #B45309; }
.ccrb-badge-rating { background: #1E3A8A; color: white; padding: 4px 8px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; }
.ccrb-badge-text { font-size: 0.8rem; font-weight: 700; color: #1E3A8A; margin-left: 6px; }

/* WHY US SECTION */
.ccrb-trust-box { background: #F8FAFC; border: 1px solid var(--border); padding: 24px; border-radius: 12px; text-align: left; }
.ccrb-trust-icon { font-size: 2rem; margin-bottom: 12px; }
.ccrb-trust-title { font-weight: 700; margin-bottom: 6px; font-size: 1rem; }
.ccrb-trust-desc { font-size: 0.85rem; color: var(--gray); }

/* DESTINATION CARDS */
.ccrb-dest-card { position: relative; border-radius: 12px; overflow: hidden; height: 200px; }
.ccrb-dest-card img { width: 100%; height: 100%; object-fit: cover; }
.ccrb-dest-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; color: white;
}
.ccrb-dest-title { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 6px; }

/* FILTER PILLS */
.ccrb-pills { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 24px; }
.ccrb-pill { padding: 8px 16px; border-radius: 30px; border: 1px solid var(--border); background: var(--white); font-weight: 600; font-size: 0.9rem; cursor: pointer; white-space: nowrap; }
.ccrb-pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* FOOTER */
.ccrb-footer { background: var(--navy); color: var(--white); padding: 60px 0 30px; margin-top: 60px; }
.ccrb-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.ccrb-footer h4 { font-size: 1.1rem; margin-bottom: 16px; color: var(--gold); }
.ccrb-footer a { color: #CBD5E1; display: block; margin-bottom: 8px; font-size: 0.9rem; }
.ccrb-footer a:hover { color: var(--white); }
.ccrb-footer-bottom { border-top: 1px solid var(--navy-light); padding-top: 20px; text-align: center; color: #94A3B8; font-size: 0.85rem; }

@media (max-width: 768px) {
    .ccrb-search-bar { flex-direction: column; }
    .ccrb-hero { padding: 40px 0 60px; }
    .ccrb-hero h1 { font-size: 2rem; }
}