/* ==========================================================================
   VIEW CEYLON - FIRST 24 HOURS PAGE STYLES
   ========================================================================== */

/* --- Hero --- */
.h24-hero {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.55) 45%, rgba(255,255,255,0.4) 100%),
                url('https://picsum.photos/seed/negombo-palms-sunset/1600/700');
    background-size: cover;
    background-position: center 40%;
    padding: 80px 20px 60px;
    text-align: center;
}

.h24-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 22px;
}

.h24-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.h24-hero h1 .accent {
    color: var(--primary-color);
}

.h24-hero p {
    max-width: 600px;
    margin: 0 auto 26px;
    color: var(--text-muted);
    font-size: 16px;
}

.h24-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- Quick facts floating panel --- */
.h24-facts {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.h24-fact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.h24-fact i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
}

.h24-fact h5 {
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.h24-fact p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
}

/* --- Main layout --- */
.h24-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

/* --- Timeline blocks --- */
.h24-block {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.h24-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h24-rail-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.h24-rail-icon {
    color: var(--text-dark);
    font-size: 16px;
    margin-top: 10px;
}

.h24-rail-line {
    flex: 1;
    width: 2px;
    background-image: repeating-linear-gradient(to bottom, #cbd5e0 0, #cbd5e0 4px, transparent 4px, transparent 8px);
    margin-top: 10px;
    min-height: 40px;
}

.h24-block:last-child .h24-rail-line {
    display: none;
}

.h24-hour-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.h24-content-grid {
    display: grid;
    gap: 24px;
    align-items: start;
}

.h24-content-grid.two-col {
    grid-template-columns: 280px 1fr;
}

.h24-content-grid.three-col {
    grid-template-columns: 230px 1fr 250px;
}

.h24-content-grid img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.h24-content-text h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.h24-content-text ul {
    list-style: none;
    margin-bottom: 14px;
}

.h24-content-text ul li {
    font-size: 13.5px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.h24-content-text ul li i {
    color: var(--accent-green);
    margin-right: 6px;
}

.h24-tipbox {
    background: #f7fafc;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12.5px;
    color: var(--text-dark);
    border-left: 3px solid var(--primary-color);
}

/* Extra color boxes within blocks */
.h24-extra-box {
    border-radius: 12px;
    padding: 20px;
}

.h24-extra-box.green { background: #eef7f0; }
.h24-extra-box.purple { background: #f3e8fb; }
.h24-extra-box.orange { background: #fff4e5; }
.h24-extra-box.pink { background: #fdeef1; }

.h24-extra-box h5 {
    font-size: 14.5px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.h24-extra-box p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.h24-extra-box ul {
    list-style: none;
    margin-bottom: 12px;
}

.h24-extra-box ul li {
    font-size: 12.5px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.h24-extra-box ul li i {
    color: var(--accent-green);
    margin-right: 6px;
}

.h24-extra-box .btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 10px;
}

.h24-extra-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-top: 4px;
}

/* Hotel tiers */
.h24-hotel-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.h24-hotel-tier {
    background: var(--white);
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
}

.h24-hotel-tier h6 {
    font-size: 11px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.h24-hotel-tier span {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.h24-hotel-tier button {
    width: 100%;
    font-size: 10px;
    padding: 6px 4px;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
}

/* Food / things-to-do mini grid */
.h24-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.h24-mini-item {
    background: var(--white);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.h24-mini-item img {
    width: 100%;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
    display: block;
}

.h24-mini-item h6 {
    font-size: 11px;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.h24-mini-item span {
    font-size: 9.5px;
    color: var(--text-muted);
}

/* Testimonial card */
.h24-testimonial {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    padding: 22px;
    color: #fff;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.6)), url('https://picsum.photos/seed/negombo-beach-walk/500/300');
    background-size: cover;
    background-position: center;
    margin-top: 16px;
}

.h24-stars {
    color: #f6c343;
    margin-bottom: 10px;
    font-size: 14px;
}

.h24-testimonial p {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.h24-testimonial span {
    font-size: 12px;
    opacity: 0.85;
}

/* --- Sidebar --- */
.h24-side-card {
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.h24-side-card.dark {
    background: #123524;
    color: #fff;
}

.h24-side-card.dark h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 15px;
}

.h24-side-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.h24-side-item:last-child {
    margin-bottom: 0;
}

.h24-side-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}

.h24-side-item h6 {
    font-size: 13px;
    margin-bottom: 2px;
}

.h24-side-item p {
    font-size: 11.5px;
    opacity: 0.85;
    margin: 0;
}

.h24-side-card.peach {
    background: #fff4e5;
}

.h24-side-card.peach h4 {
    color: var(--text-dark);
    margin-bottom: 14px;
    font-size: 15px;
}

.h24-mistake-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 12.5px;
    color: var(--text-dark);
}

.h24-mistake-row:last-child {
    margin-bottom: 0;
}

.h24-mistake-row i {
    color: #e53e3e;
    margin-top: 2px;
}

.h24-side-card.blue {
    background: #eaf3ff;
}

.h24-side-card.blue h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.h24-side-card.blue p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.h24-side-card.blue .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

.h24-side-card.blue .h24-call {
    font-size: 12.5px;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
}

/* --- Ready for Day Two --- */
.h24-day2 {
    background: #eef7f0;
    border-radius: 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
}

.h24-day2 h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.h24-day2 p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 14px;
}

.h24-day2-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.h24-day2-places {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.h24-place {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 110px;
}

.h24-place img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.h24-place-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
}

.h24-place-label h6 {
    font-size: 11.5px;
    margin-bottom: 1px;
}

.h24-place-label span {
    font-size: 9.5px;
    opacity: 0.85;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .h24-content-grid.three-col {
        grid-template-columns: 200px 1fr;
    }
    .h24-content-grid.three-col > :nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .h24-layout {
        grid-template-columns: 1fr;
    }
    .h24-content-grid.two-col,
    .h24-content-grid.three-col {
        grid-template-columns: 1fr;
    }
    .h24-content-grid.three-col > :nth-child(3) {
        grid-column: auto;
    }
    .h24-day2 {
        grid-template-columns: 1fr;
    }
    .h24-day2-places {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .h24-hero h1 {
        font-size: 32px;
    }
    .h24-block {
        grid-template-columns: 40px 1fr;
    }
    .h24-day2-places {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .h24-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .h24-facts {
        flex-direction: column;
    }
}
