/* Style.css - Cambodia Arrival Card - All Components */

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    line-height: 1.3;
    color: var(--accent-1);
}
h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; margin-bottom: 8px; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
p { margin-bottom: 16px; line-height: 1.75; }
p:last-child { margin-bottom: 0; }
a { color: var(--link-color); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--link-hover); text-decoration: underline; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 6px; line-height: 1.7; }
strong { font-weight: 700; }

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 16px; color: var(--accent-1); }
.section-header p { color: #555; font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.section-header::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-2-dark));
    border-radius: 2px;
    margin: 20px auto 0;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
}
.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-bg);
}
.btn-primary:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200,146,42,0.35);
}
.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border-color: var(--btn-secondary-bg);
}
.btn-secondary:hover {
    background: var(--accent-2-dark);
    border-color: var(--accent-2-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover {
    background: #fff;
    color: var(--accent-1);
    text-decoration: none;
}

/* === SECTION BACKGROUNDS === */
.section-white { background: #fff; }
.section-light { background: var(--section-light-bg); }
.section-accent {
    background: linear-gradient(135deg, var(--accent-1) 0%, #0F2447 100%);
    color: #fff;
}
.section-accent h2, .section-accent h3, .section-accent p { color: #fff; }
.section-accent .section-header::after { background: var(--accent-2); }
.section-accent .btn-outline:hover { color: var(--accent-1); }
.section-gold {
    background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-2-dark) 100%);
    color: #fff;
}
.section-gold h2, .section-gold h3, .section-gold p { color: #0A1929; }

/* === STATS BAR === */
.stats-bar {
    background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-2-dark) 100%);
    padding: 32px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0A1929;
    display: block;
    line-height: 1;
}
.stat-item .stat-label {
    font-size: 0.85rem;
    color: #0A1929;
    opacity: 0.85;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
    display: block;
}

/* === TWO COLUMN LAYOUTS === */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.two-col-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26,58,108,0.15);
    aspect-ratio: 580/400;
}
.two-col-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.two-col-img:hover img { transform: scale(1.03); }
.two-col-text h2 { margin-bottom: 16px; }
.two-col-text p { color: #444; margin-bottom: 20px; }

/* === FEATURE BOXES (3 cols) === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.feature-box {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(26,58,108,0.08);
    border-top: 4px solid var(--accent-2);
    transition: transform 0.25s, box-shadow 0.25s;
}
.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(26,58,108,0.14);
}
.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
}
.feature-box h3 { color: var(--accent-1); margin-bottom: 12px; }
.feature-box p { color: #555; font-size: 0.95rem; margin-bottom: 0; }

/* === PARALLAX === */
.parallax-section {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.parallax-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 130%;
    top: -15%;
    object-fit: cover;
    will-change: transform;
}
.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,36,71,0.88) 0%, rgba(168,120,36,0.6) 100%);
}
.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.parallax-content blockquote {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.parallax-content cite {
    font-size: 0.95rem;
    opacity: 0.85;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* === TABLE === */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: 8px; box-shadow: 0 2px 12px rgba(26,58,108,0.1); }
table { width: 100%; border-collapse: collapse; background: #fff; }
thead th {
    background: var(--accent-1);
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}
tbody tr { border-bottom: 1px solid #e8edf5; transition: background 0.2s; }
tbody tr:hover { background: var(--section-light-bg); }
tbody td { padding: 12px 16px; font-size: 0.95rem; color: #333; }
tbody tr:last-child { border-bottom: none; }
.td-check { color: #43A047; font-size: 1.1rem; }
.td-cross { color: #E53935; font-size: 1.1rem; }

/* === CTA BANNER === */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-1) 0%, #0a1929 100%);
    padding: 64px 20px;
    text-align: center;
    color: #fff;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-secondary { font-size: 1.05rem; padding: 14px 36px; }

/* === TIMELINE / STEPS === */
.steps-list { list-style: none; padding: 0; counter-reset: step-counter; }
.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
    counter-increment: step-counter;
}
.step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-2-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(200,146,42,0.3);
}
.step-content h3 { margin-bottom: 4px; color: var(--accent-1); font-size: 1.05rem; }
.step-content p { color: #555; font-size: 0.95rem; margin-bottom: 0; }

/* === ACCORDION / FAQ === */
.accordion { margin: 8px 0; }
.accordion-item { border: 1px solid #dde3f0; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.accordion-btn {
    width: 100%;
    text-align: left;
    background: var(--accordion-btn-bg);
    color: var(--accordion-btn-text);
    border: none;
    padding: 16px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.accordion-btn:hover { background: #dde8fa; }
.accordion-btn .acc-icon { font-size: 1.2rem; transition: transform 0.3s; flex-shrink: 0; color: var(--accent-2); }
.accordion-btn.open .acc-icon { transform: rotate(45deg); }
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
    background: #fff;
}
.accordion-body.open { max-height: 800px; }
.accordion-body-inner { padding: 16px 20px; color: #444; font-size: 0.97rem; line-height: 1.7; }

/* === CARDS GRID (subpage links) === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(26,58,108,0.09);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #e5eaf5;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(26,58,108,0.15);
}
.card-header {
    background: linear-gradient(135deg, var(--card-header-bg), #0F2447);
    color: #fff;
    padding: 20px 24px 16px;
}
.card-header h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.card-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.card-body { padding: 20px 24px; flex: 1; }
.card-body p { color: #555; font-size: 0.93rem; margin-bottom: 16px; }
.card-footer { padding: 16px 24px; border-top: 1px solid #eaeff8; }
.card-link {
    color: var(--accent-1);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.card-link:hover { color: var(--accent-2); text-decoration: none; }

/* === ALERT BOXES === */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 4px solid;
    margin: 20px 0;
    font-size: 0.97rem;
    line-height: 1.6;
}
.alert-info { background: var(--alert-info-bg); border-color: var(--alert-info-border); color: var(--alert-info-text); }
.alert-warning { background: var(--alert-warning-bg); border-color: var(--alert-warning-border); color: var(--alert-warning-text); }
.alert-success { background: var(--alert-success-bg); border-color: var(--alert-success-border); color: var(--alert-success-text); }
.alert-danger { background: var(--alert-danger-bg); border-color: var(--alert-danger-border); color: var(--alert-danger-text); }
.alert strong { display: block; margin-bottom: 4px; font-size: 1rem; }

/* === CHECK LIST === */
.checklist { list-style: none; padding: 0; }
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eaeff8;
    font-size: 0.97rem;
    color: #333;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
    content: '✓';
    color: #43A047;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* === HIGHLIGHT QUOTE === */
.highlight-quote {
    background: linear-gradient(135deg, var(--section-light-bg), #e8eef8);
    border-left: 5px solid var(--accent-2);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-size: 1.05rem;
    color: var(--accent-1);
    font-weight: 600;
    font-style: italic;
}

/* === BADGE === */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.badge-primary { background: var(--accent-1); color: #fff; }
.badge-gold { background: var(--accent-2); color: #0A1929; }
.badge-success { background: var(--alert-success-bg); color: var(--alert-success-text); border: 1px solid var(--alert-success-border); }
.badge-warning { background: var(--alert-warning-bg); color: var(--alert-warning-text); border: 1px solid var(--alert-warning-border); }

/* === FOOTER === */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 0;
    margin-top: 0 !important;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 36px;
    margin-bottom: 48px;
}
.footer-col h4 {
    color: var(--accent-2);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(200,146,42,0.4);
}
.footer-col p { color: var(--footer-text); opacity: 0.85; font-size: 0.9rem; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--footer-links); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; opacity: 0.85; }
.footer-links a:hover { color: #fff; opacity: 1; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.5);
}
.footer-disclaimer {
    background: rgba(0,0,0,0.3);
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* === BREADCRUMBS === */
.breadcrumbs-bar {
    background: var(--section-light-bg);
    padding: 10px 0;
    border-bottom: 1px solid #dde3f0;
}
.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    gap: 6px;
    align-items: center;
    font-size: 0.85rem;
}
.breadcrumbs-list li { display: flex; align-items: center; gap: 6px; color: #777; }
.breadcrumbs-list li::after { content: '›'; color: #aaa; }
.breadcrumbs-list li:last-child::after { display: none; }
.breadcrumbs-list a { color: var(--link-color); text-decoration: none; }
.breadcrumbs-list a:hover { text-decoration: underline; }
.breadcrumbs-list li:last-child { color: #555; font-weight: 600; }

/* === ARTICLE CONTENT === */
.article-body h2 { margin-top: 40px; margin-bottom: 16px; }
.article-body h3 { margin-top: 28px; margin-bottom: 12px; }
.article-body h4 { margin-top: 20px; color: var(--accent-2-dark); }
.article-body ul, .article-body ol { margin-bottom: 20px; }

/* === TWO-COL ARTICLE LAYOUT (content + sidebar) === */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}
.toc-sidebar {
    position: sticky;
    top: 80px;
    background: var(--section-light-bg);
    border-radius: 10px;
    padding: 24px;
    border-left: 4px solid var(--accent-2);
}
.toc-sidebar h4 {
    color: var(--accent-1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.toc-list { list-style: none; padding: 0; }
.toc-list li { margin-bottom: 8px; }
.toc-list a { color: var(--link-color); font-size: 0.88rem; text-decoration: none; display: flex; gap: 8px; align-items: flex-start; }
.toc-list a::before { content: '›'; color: var(--accent-2); flex-shrink: 0; }
.toc-list a:hover { color: var(--accent-2); }

/* === COMPARE GRID === */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.compare-box {
    border: 2px solid #dde3f0;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    background: #fff;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.compare-box.featured {
    border-color: var(--accent-2);
    box-shadow: 0 4px 20px rgba(200,146,42,0.2);
}
.compare-box h3 { font-size: 1.05rem; color: var(--accent-1); margin-bottom: 12px; }
.compare-box .price { font-size: 1.6rem; font-weight: 700; color: var(--accent-2); margin-bottom: 4px; }

/* === SECTION DIVIDER === */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-2-dark));
    border: none;
    margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .two-col-reversed .two-col-text { order: -1; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .toc-sidebar { position: static; order: -1; }
}
@media (max-width: 768px) {
    .section { padding: 48px 0; }
    .cards-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .two-col { gap: 28px; }
}
@media (max-width: 576px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 1.7rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    table { font-size: 0.85rem; }
    thead th, tbody td { padding: 10px 10px; }
}
