/**
 * Shared design system for public pages – Emerald Lanka Tours brand
 * Primary: #0A7D3C | Secondary: #1A4B7C | Accent: #D4AA00
 */

/* ----- Shared section elements ----- */
.public-page-section .section-eyebrow { color: var(--brand-primary, #0A7D3C); }
.public-page-section .heading-section h2::after {
    background: linear-gradient(90deg, var(--brand-primary, #0A7D3C), var(--brand-secondary, #1A4B7C)) !important;
}

/* ----- Shared overrides (brand) ----- */
.public-page-section .section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.public-page-section .section-sub {
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.public-page-section .heading-section.text-center h2,
.public-page-section .heading-section h2.mb-4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
    padding-bottom: 12px;
}
.public-page-section .heading-section.text-center h2::after,
.public-page-section .heading-section h2.mb-4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 2px;
}
.public-page-section .heading-section:not(.text-center) h2.mb-4::after { left: 0; transform: none; }

/* ----- Destinations page ----- */
.destinations-page-section {
    background: linear-gradient(180deg, #f0faf5 0%, #e8f5ee 50%, #f0faf5 100%) !important;
    padding-top: 4rem !important;
    padding-bottom: 4.5rem !important;
}
.destinations-page-section .section-eyebrow { color: #0A7D3C; }
.destinations-page-section .section-sub { color: #64748b; }
.destinations-page-section .heading-section h2 { color: #0c4a6e; }
.destinations-page-section .heading-section h2::after {
    background: linear-gradient(90deg, #0A7D3C, #1A4B7C);
}
.destinations-page-section .destination-card-modern {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 125, 60, 0.12);
    border: 1px solid rgba(10, 125, 60, 0.1);
}
.destinations-page-section .destination-card-modern:hover {
    box-shadow: 0 20px 50px rgba(10, 125, 60, 0.2);
}
.destinations-page-section .category-badge {
    background: linear-gradient(135deg, #0A7D3C, #084d28);
    box-shadow: 0 4px 14px rgba(10, 125, 60, 0.35);
}
.destinations-page-section .destination-title a:hover { color: #0A7D3C; }
.destinations-page-section .destination-card-content .btn:hover {
    box-shadow: 0 4px 16px rgba(10, 125, 60, 0.35);
}
.destinations-page-section .alert-info {
    border-radius: 12px;
    border-color: rgba(10, 125, 60, 0.3);
}
.destinations-page-section .form-control:focus {
    border-color: #0A7D3C;
    box-shadow: 0 0 0 3px rgba(10, 125, 60, 0.15);
}
.destinations-page-section .btn-primary {
    background: linear-gradient(135deg, #0A7D3C, #084d28) !important;
    border: none !important;
    border-radius: 12px;
    font-weight: 600;
}

/* ----- Packages page ----- */
.packages-page-section {
    background: linear-gradient(180deg, #f8faf8 0%, #eef5f0 50%, #e2e8e4 100%) !important;
    padding-top: 4rem !important;
    padding-bottom: 4.5rem !important;
}
.packages-page-section .section-eyebrow { color: #0A7D3C; }
.packages-page-section .section-sub { color: #64748b; }
.packages-page-section .heading-section h2 { color: #1e293b; }
.packages-page-section .heading-section h2::after {
    background: linear-gradient(90deg, #0A7D3C, #1A4B7C);
}
.packages-page-section .card {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 125, 60, 0.08);
    border: 1px solid rgba(10, 125, 60, 0.08);
}
.packages-page-section .card:hover {
    box-shadow: 0 20px 50px rgba(10, 125, 60, 0.15);
}
.packages-page-section .package-destination { color: #0A7D3C; font-weight: 600; }
.packages-page-section .package-title { color: #0f172a; font-weight: 700; }
.packages-page-section .package-description { color: #475569; }
.packages-page-section .package-feature i { color: #0A7D3C; }
.packages-page-section .btn-primary {
    background: linear-gradient(135deg, #0A7D3C, #084d28) !important;
    border: none !important;
    border-radius: 12px;
    font-weight: 600;
}
.packages-page-section .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(10, 125, 60, 0.35) !important;
}
.packages-page-section .no-packages .btn-primary {
    background: linear-gradient(135deg, #0A7D3C, #084d28) !important;
}

/* ----- Blog page ----- */
.blog-page-section {
    background: linear-gradient(180deg, #f5faf7 0%, #eef5f1 50%, #f5faf7 100%) !important;
    padding-top: 4rem !important;
    padding-bottom: 4.5rem !important;
}
.blog-page-section .section-eyebrow,
.blog-page-section .subheading { color: #0A7D3C; }
.blog-page-section .section-sub { color: #64748b; }
.blog-page-section .heading-section h2 { color: #0c4a6e; }
.blog-page-section .heading-section h2::after {
    background: linear-gradient(90deg, #0A7D3C, #1A4B7C);
}
.blog-page-section .blog-card {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 125, 60, 0.1);
    border: 1px solid rgba(10, 125, 60, 0.1);
}
.blog-page-section .blog-card:hover {
    box-shadow: 0 20px 50px rgba(10, 125, 60, 0.18);
}
.blog-page-section .blog-category {
    background: linear-gradient(135deg, #0A7D3C, #1A4B7C);
}
.blog-page-section .blog-title a:hover { color: #0A7D3C; }
.blog-page-section .read-more-btn:hover { background: #0A7D3C; color: #fff; }
.blog-page-section .btn-outline-primary:hover {
    background: linear-gradient(135deg, #0A7D3C, #1A4B7C);
    border-color: transparent;
    color: #fff;
}

/* ----- Contact page ----- */
.contact-page-section.ftco-no-pb {
    background: linear-gradient(180deg, #f0faf5 0%, #e8f5ee 50%, #f0faf5 100%) !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}
.contact-page-section .box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 125, 60, 0.1);
    border: 1px solid rgba(10, 125, 60, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-page-section .box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 125, 60, 0.15);
}
.contact-page-section .box .icon {
    color: #0A7D3C;
}
.contact-page-section .box h3 {
    color: #0c4a6e;
    font-weight: 700;
}
.contact-page-section .box p,
.contact-page-section .box a {
    color: #475569;
}
.contact-page-section.contact-section:not(.ftco-no-pb) {
    background: linear-gradient(180deg, #f8faf8 0%, #eef5f0 100%) !important;
}
.contact-page-section .contact-form {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 125, 60, 0.08);
    border: 1px solid rgba(10, 125, 60, 0.1);
}
.contact-page-section .contact-form .form-control:focus {
    border-color: #0A7D3C;
    box-shadow: 0 0 0 3px rgba(10, 125, 60, 0.15);
}
.contact-page-section .btn-dark {
    background: linear-gradient(135deg, #0A7D3C, #1A4B7C) !important;
    border: none !important;
    border-radius: 12px;
    font-weight: 600;
}
.contact-page-section .btn-dark:hover {
    box-shadow: 0 8px 24px rgba(10, 125, 60, 0.35);
}

/* ----- About page ----- */
.about-page-section {
    background: #fff;
}
.about-page-section.about-intro-section .heading-section h2 {
    color: #1e293b;
    font-weight: 800;
}
.about-page-section.about-intro-section h2::after {
    background: linear-gradient(90deg, #0A7D3C, #1A4B7C);
}
.about-page-section.services-section.bg-light {
    background: linear-gradient(180deg, #f0faf5 0%, #e8f5ee 50%, #dcf0e4 100%) !important;
}
.about-page-section.services-section .heading-section h2 { color: #0c4a6e; }
.about-page-section.services-section .icon { color: #0A7D3C; }
.about-page-section.services-section .heading { color: #1e293b; font-weight: 700; }
.about-page-section.services-section .rich-content,
.about-page-section.services-section .media-body p { color: #57534e; }
.about-page-section.services-section .btn-primary {
    background: linear-gradient(135deg, #0A7D3C, #084d28) !important;
    border: none !important;
    border-radius: 50px;
    font-weight: 600;
}
.about-page-section.services-section .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(10, 125, 60, 0.35);
}
.about-page-section#section-counter .heading-section h2 { color: #f8fafc; }
.about-page-section#section-counter .block-18 .number { color: #D4AA00; }
.about-page-section#section-counter .block-18 .text span { color: rgba(248, 250, 252, 0.85); }

/* ----- Package detail page (public show) ----- */
.package-detail-page-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 40%, #e2e8f0 100%) !important;
    padding-top: 3rem !important;
    padding-bottom: 4rem !important;
}
.package-detail-page-section .section-title {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
    border-bottom: none;
    padding-bottom: 12px;
    position: relative;
}
.package-detail-page-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0A7D3C, #1A4B7C);
    border-radius: 2px;
}
.package-detail-page-section .main-image-container {
    box-shadow: 0 12px 48px rgba(10, 125, 60, 0.12);
    border: 1px solid rgba(10, 125, 60, 0.15);
}
.package-detail-page-section .thumbnail-item:hover,
.package-detail-page-section .thumbnail-item.active {
    border-color: #0A7D3C;
    box-shadow: 0 4px 16px rgba(10, 125, 60, 0.25);
}
.package-detail-page-section .package-details-card .card {
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(10, 125, 60, 0.12);
    border: 1px solid rgba(10, 125, 60, 0.15);
}
.package-detail-page-section .package-price-large {
    color: #0A7D3C;
}
.package-detail-page-section .feature-item i {
    color: #0A7D3C;
}
.package-detail-page-section .on-this-page .card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(10, 125, 60, 0.06);
}
.package-detail-page-section .on-this-page .nav-sections a:hover {
    color: #0A7D3C;
    border-left-color: #0A7D3C;
}
.package-detail-page-section .timeline::before {
    background: linear-gradient(180deg, #0A7D3C 0%, #1A4B7C 100%);
}
.package-detail-page-section .timeline-marker {
    background: linear-gradient(135deg, #0A7D3C 0%, #1A4B7C 100%);
    box-shadow: 0 2px 12px rgba(10, 125, 60, 0.4);
}
.package-detail-page-section .timeline-content {
    border-left-color: #0A7D3C;
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
}
.package-detail-page-section .inclusions-content,
.package-detail-page-section .exclusions-content {
    border-radius: 16px !important;
    background: linear-gradient(145deg, #f0faf5 0%, #dcf0e4 100%) !important;
    border: 1px solid rgba(10, 125, 60, 0.2) !important;
    box-shadow: 0 4px 20px rgba(10, 125, 60, 0.08);
}
.package-detail-page-section .route-map-container {
    background: #f0faf5;
    border: 1px solid rgba(10, 125, 60, 0.2);
}
.package-detail-page-section .btn-primary {
    background: linear-gradient(135deg, #0A7D3C, #084d28) !important;
    border: none !important;
    border-radius: 12px;
    font-weight: 600;
}
.package-detail-page-section .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(10, 125, 60, 0.35) !important;
}
.package-detail-page-section .contact-item i {
    color: #0A7D3C;
}
.package-detail-page-section .related-packages .section-title {
    color: #0f172a;
}
.package-detail-page-section .related-packages .section-title::after {
    background: linear-gradient(90deg, #0A7D3C, #1A4B7C);
}
.package-detail-page-section .package-card {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 125, 60, 0.08);
    border: 1px solid rgba(10, 125, 60, 0.08);
}
.package-detail-page-section .package-card:hover {
    box-shadow: 0 20px 50px rgba(10, 125, 60, 0.15);
}
.package-detail-page-section .package-card .btn-outline-primary:hover {
    background: linear-gradient(135deg, #0A7D3C, #1A4B7C);
    border-color: transparent;
    color: #fff;
}

/* ----- Destination detail page (desti show) ----- */
.destination-detail-page-section {
    background: linear-gradient(180deg, #f0faf5 0%, #e8f5ee 50%, #f0faf5 100%) !important;
    padding-top: 3rem !important;
    padding-bottom: 4rem !important;
    min-height: 400px;
}
.destination-detail-page-section .destination-detail-container,
.destination-detail-page-section .destination-detail-row {
    background: transparent !important;
}
.destination-detail-page-section .section-eyebrow {
    color: #0A7D3C !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.destination-detail-page-section .section-heading {
    color: #0c4a6e;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}
.destination-detail-page-section .section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0A7D3C, #1A4B7C);
    border-radius: 2px;
}
.destination-detail-page-section .destination-featured-image img,
.destination-detail-page-section .destination-featured-image {
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(10, 125, 60, 0.15);
    border: 1px solid rgba(10, 125, 60, 0.15);
    overflow: hidden;
}
.destination-detail-page-section .destination-lead {
    color: #475569;
    font-size: 1.1rem;
}
.destination-detail-page-section .destination-rich-content {
    color: #334155;
    line-height: 1.8;
}
.destination-detail-page-section .destination-rich-content h1,
.destination-detail-page-section .destination-rich-content h2,
.destination-detail-page-section .destination-rich-content h3 {
    color: #0c4a6e;
    font-weight: 700;
}
.destination-detail-page-section .packages-section {
    border-top-color: rgba(10, 125, 60, 0.2) !important;
}
.destination-detail-page-section .packages-section .section-heading {
    color: #0c4a6e;
}
.destination-detail-page-section .packages-section .section-heading .badge {
    background: linear-gradient(135deg, #0A7D3C, #1A4B7C) !important;
    border: none;
}
.destination-detail-page-section .package-card {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 125, 60, 0.1);
    border: 1px solid rgba(10, 125, 60, 0.15);
    background: #fff;
}
.destination-detail-page-section .package-card:hover {
    box-shadow: 0 20px 50px rgba(10, 125, 60, 0.2);
}
.destination-detail-page-section .package-title a:hover {
    color: #0A7D3C;
}
.destination-detail-page-section .package-card-footer {
    background: linear-gradient(180deg, #f0faf5 0%, #e8f5ee 100%);
    border-top: 1px solid rgba(10, 125, 60, 0.15);
}
.destination-detail-page-section .package-card-footer .btn-primary {
    background: linear-gradient(135deg, #0A7D3C, #084d28) !important;
    border: none !important;
    border-radius: 12px;
    font-weight: 600;
}
.destination-detail-page-section .package-card-footer .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(10, 125, 60, 0.35);
}
.destination-detail-page-section .package-price {
    color: #0A7D3C;
    font-weight: 700;
}
.destination-detail-page-section .package-badge {
    background: #e8f5ee;
    color: #0c4a6e;
}
/* Sidebar */
.destination-detail-page-section .info-card {
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(10, 125, 60, 0.12);
    border: 1px solid rgba(10, 125, 60, 0.15);
    background: #fff;
}
.destination-detail-page-section .info-card-title {
    color: #0c4a6e;
    font-weight: 700;
    border-bottom: 2px solid rgba(10, 125, 60, 0.25);
    padding-bottom: 0.75rem;
}
.destination-detail-page-section .info-label i {
    color: #0A7D3C;
}
.destination-detail-page-section .category-badge-sidebar {
    background: linear-gradient(135deg, #0A7D3C, #1A4B7C);
    box-shadow: 0 4px 14px rgba(10, 125, 60, 0.3);
}
.destination-detail-page-section .packages-badge-sidebar,
.destination-detail-page-section .packages-badge-link {
    background: linear-gradient(135deg, #0A7D3C, #1A4B7C) !important;
    border: none;
}
.destination-detail-page-section .packages-badge-link:hover {
    box-shadow: 0 6px 20px rgba(10, 125, 60, 0.4);
    color: #fff;
}
.destination-detail-page-section .tags-heading {
    color: #0c4a6e;
    font-weight: 700;
}
.destination-detail-page-section .tag-link {
    color: #0A7D3C;
    border-color: #0A7D3C;
}
.destination-detail-page-section .tag-link:hover {
    background: linear-gradient(135deg, #0A7D3C, #1A4B7C);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(10, 125, 60, 0.35);
}
