/* ============================================================
   style.css — VisitGreatBritainNow.com — v1.1 (breadcrumbs + navbar fix)
   Author  : British Horizons Travel Ltd
   Version : 1.0.0
   Colours :
     Accent 1  #D00013  (UK Red)
     Accent 2  #001E50  (Navy Blue)
   WCAG AA  :
     White #fff on #D00013 → 5.9 : 1  ✓
     White #fff on #001E50 → 11.4 : 1 ✓
     #D00013 on #fff       → 5.9 : 1  ✓
     #001E50 on #fff       → 11.4 : 1 ✓
   ============================================================ */


/* === FONTS ================================================== */

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* === CSS CUSTOM PROPERTIES (DESIGN TOKENS) ================= */

:root {
    /* Brand colours */
    --accent1:          #D00013;   /* UK Red  */
    --accent1-hover:    #a8000f;   /* darkened 15 % */
    --accent1-light:    #fde8ea;   /* tint 90 % */
    --accent2:          #001E50;   /* Navy Blue */
    --accent2-hover:    #00163c;   /* darkened 15 % */
    --accent2-light:    #e6ecf7;   /* tint 90 % */

    /* Neutrals */
    --white:            #ffffff;
    --off-white:        #f8f9fa;
    --light-grey:       #e9ecef;
    --mid-grey:         #adb5bd;
    --dark-grey:        #495057;
    --body-color:       #222222;

    /* Semantic */
    --link-color:       #001E50;
    --link-hover:       #D00013;
    --focus-outline:    #D00013;

    /* Layout */
    --section-pad:      clamp(3rem, 6vw, 5rem);
    --border-radius:    0.5rem;
    --shadow-sm:        0 2px 8px  rgba(0, 0, 0, 0.08);
    --shadow-md:        0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg:        0 8px 32px rgba(0, 0, 0, 0.18);

    /* Typography */
    --font-primary:     'Roboto', Arial, Helvetica, sans-serif;
    --font-size-base:   1rem;          /* 16 px */
    --line-height-base: 1.65;
}


/* === RESET & NORMALIZE (lightweight) ======================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: var(--line-height-base);
    color: var(--body-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
    color: var(--link-hover);
    text-decoration: underline;
}

/* Global accessible focus ring */
:focus-visible {
    outline: 3px solid var(--focus-outline);
    outline-offset: 3px;
}

ul,
ol {
    padding-left: 1.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}


/* === TYPOGRAPHY ============================================= */

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.25;
    font-weight: 700;
    color: var(--accent2);
}

h1 { font-size: clamp(1.75rem, 4vw,  2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem,  3vw,  2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 500; }
h4 { font-size: clamp(1.1rem,  2vw,  1.4rem);  font-weight: 500; }
h5 { font-size: 1.1rem;                         font-weight: 500; }
h6 { font-size: 1rem;                           font-weight: 500; }

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark-grey);
}

.lead-accent {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--accent1);
    line-height: 1.7;
}

blockquote {
    border-left: 4px solid var(--accent1);
    margin-left: 0;
    padding: 0.75rem 1.25rem;
    color: var(--dark-grey);
    font-style: italic;
    background: var(--off-white);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}


/* === BOOTSTRAP 5 CUSTOMISATION ============================== */

/* Primary button → Accent 2 (Navy) / accent1 hover */
.btn-primary {
    background-color: var(--accent2);
    border-color: var(--accent2);
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.15s ease;
}
.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--accent1);
    border-color: var(--accent1);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-primary:active {
    background-color: var(--accent1-hover);
    border-color: var(--accent1-hover);
    transform: none;
}

/* Accent1 filled button (red) */
.btn-accent1 {
    background-color: var(--accent1);
    border-color: var(--accent1);
    color: var(--white);
    font-weight: 500;
    transition: background-color 0.22s ease, border-color 0.22s ease;
}
.btn-accent1:hover,
.btn-accent1:focus-visible {
    background-color: var(--accent1-hover);
    border-color: var(--accent1-hover);
    color: var(--white);
}

/* Outline accent2 button */
.btn-outline-accent2 {
    border: 2px solid var(--accent2);
    color: var(--accent2);
    background: transparent;
    font-weight: 500;
    transition: background-color 0.22s ease, color 0.22s ease;
}
.btn-outline-accent2:hover,
.btn-outline-accent2:focus-visible {
    background-color: var(--accent2);
    color: var(--white);
}

/* Outline accent1 button */
.btn-outline-accent1 {
    border: 2px solid var(--accent1);
    color: var(--accent1);
    background: transparent;
    font-weight: 500;
    transition: background-color 0.22s ease, color 0.22s ease;
}
.btn-outline-accent1:hover,
.btn-outline-accent1:focus-visible {
    background-color: var(--accent1);
    color: var(--white);
}

/* Override Bootstrap's .btn-outline-primary */
.btn-outline-primary {
    border-color: var(--accent2);
    color: var(--accent2);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
    background-color: var(--accent2);
    border-color: var(--accent2);
    color: var(--white);
}

/* Bootstrap text utilities */
.text-primary { color: var(--accent1) !important; }
.text-navy    { color: var(--accent2) !important; }

/* Card header override */
.card-header {
    background-color: var(--accent1) !important;
    color: var(--white) !important;
    font-weight: 600;
}


/* === FONT AWESOME ICON COLOUR ============================== */

.fa, .fab, .fal, .far, .fas, .fa-solid, .fa-regular, .fa-brands {
    color: var(--accent1);
}

/* Allow local overrides without !important */
.fa-white,
.footer .fa,
.footer .fas,
.footer .fab,
.footer .far {
    color: var(--white) !important;
}


/* === TOP BAR ================================================ */

.topbar {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 2px solid var(--accent1);
}

.topbar .logo img {
    max-width: 300px;
    max-height: 120px;
    width: auto;
    height: auto;
}

.topbar .contact-info {
    font-size: 0.875rem;
    color: var(--dark-grey);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.topbar .contact-info span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar .contact-info i {
    color: var(--accent1);
}

.topbar .contact-info a {
    color: var(--accent2);
    font-weight: 500;
}

.topbar .contact-info a:hover {
    color: var(--accent1);
    text-decoration: none;
}


/* === NAVBAR ================================================= */

.navbar {
    background-color: var(--accent1) !important;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 52px;
}

.navbar-brand {
    color: var(--white) !important;
    font-weight: 700;
}
.navbar-brand:hover { color: var(--light-grey) !important; }

.navbar .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.75rem 0.9rem !important;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
    color: #ffe0e0 !important;
    background: rgba(255, 255, 255, 0.1);
}
.navbar .nav-link.active {
    color: var(--white) !important;
    background: rgba(0, 0, 0, 0.15);
}

.navbar .dropdown-toggle::after {
    border-top-color: var(--white);
}

.dropdown-menu {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    border-top: 3px solid var(--accent1);
    border-left: 1px solid var(--light-grey);
    border-right: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
    box-shadow: var(--shadow-md);
    padding: 0.4rem 0;
    min-width: 13rem;
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    color: var(--accent2);
    font-weight: 400;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--accent1);
    color: var(--white);
}

/* Hamburger icon — white lines */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
    padding: 0.3rem 0.55rem;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler:focus {
    outline: 3px solid var(--white);
    box-shadow: none;
}

/* Sticky shadow added via JS on scroll */
.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}


/* === HERO =================================================== */

.hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    max-height: 580px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero picture,
.hero-img-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero img,
.hero .hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 80, 0.58);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 960px;
    padding: 3rem 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 5vw, 3.25rem);
    font-weight: 700;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

.hero-content .hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 700px;
}

.hero-content .btn {
    margin: 0.35rem;
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
}


/* === PAGE HERO (subpages, no image) ========================= */

.page-hero {
    background: var(--accent2);
    color: var(--white);
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(1.6rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 0;
}


/* === BREADCRUMBS ============================================ */

.breadcrumbs-wrapper {
    background: #f8f9fa;
    padding: 0.55rem 0;
    border-bottom: 1px solid #e9ecef;
}

/* Inside dark page-hero: transparent bg, white text */
.page-hero .breadcrumbs-wrapper,
section.page-hero .breadcrumbs-wrapper,
.page-hero > .container > .breadcrumbs-wrapper,
.page-hero > * > .breadcrumbs-wrapper {
    background: transparent !important;
    border-bottom-color: rgba(255,255,255,.2) !important;
    padding: 2px 0 6px;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.breadcrumb-item a {
    color: var(--accent2);
    font-weight: 500;
    text-decoration: none;
}
.breadcrumb-item a:hover { color: var(--accent1); }

.breadcrumb-item.active {
    color: var(--dark-grey);
}

/* Chevron separator colour */
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--accent1);
    content: "›";
    font-size: 1rem;
    line-height: 1;
}


/* === SECTIONS =============================================== */

.section-padding {
    padding: var(--section-pad) 0;
}

.section-padding-sm {
    padding: calc(var(--section-pad) * 0.6) 0;
}

.section-alt {
    background: var(--off-white);
}

.section-dark {
    background: var(--accent2);
    color: var(--white);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}
.section-dark p {
    color: rgba(255, 255, 255, 0.87);
}
.section-dark a {
    color: #7ab3f4;
}
.section-dark a:hover { color: var(--white); }

.section-title {
    font-weight: 700;
    color: var(--accent2);
    margin-bottom: 0.35rem;
}
.section-title span,
.section-title .accent {
    color: var(--accent1);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--dark-grey);
    margin-bottom: 2.5rem;
}
.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.8); }


/* === PARALLAX =============================================== */

.parallax {
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 360px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 80, 0.62);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    width: 100%;
    padding: 4rem 1.25rem;
}

.parallax-content h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 4vw, 2.75rem);
    font-weight: 700;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.55);
    margin-bottom: 1rem;
}

.parallax-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto 1.5rem;
}


/* === CARDS — Tour cards ==================================== */

.card-tour {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    height: 100%;
    overflow: hidden;
}

.card-tour:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-tour img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: block;
}

.card-tour .card-header {
    background-color: var(--accent1) !important;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.65rem 1rem;
    border-radius: 0 !important;
}

.card-tour .card-body {
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-tour .card-text {
    color: var(--dark-grey);
    font-size: 0.9rem;
    flex: 1;
    margin-bottom: 0.75rem;
}

.card-tour .card-footer {
    background: var(--white);
    border-top: 1px solid var(--light-grey);
    padding: 0.65rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-tag {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent1);
    letter-spacing: -0.01em;
}

.price-tag small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--dark-grey);
}

.duration-badge {
    font-size: 0.8rem;
    color: var(--dark-grey);
}
.duration-badge i { color: var(--accent2); margin-right: 3px; }

/* Generic article/info card */
.card-article {
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius);
    transition: box-shadow 0.25s ease;
    height: 100%;
}
.card-article:hover { box-shadow: var(--shadow-md); }

.card-article img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}


/* === BENEFIT / ICON BOXES ================================== */

.benefit-box {
    text-align: center;
    padding: 2rem 1.25rem;
}

.benefit-icon {
    font-size: 2.75rem;
    color: var(--accent1);
    margin-bottom: 1rem;
    display: block;
}

.benefit-box h4 {
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 0.5rem;
}

.benefit-box p {
    font-size: 0.925rem;
    color: var(--dark-grey);
    margin-bottom: 0;
}


/* === ACCORDION ============================================== */

.accordion-button {
    background-color: var(--accent2) !important;
    color: var(--white) !important;
    font-weight: 500;
    font-size: 0.9375rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent1) !important;
    color: var(--white) !important;
    box-shadow: none;
}

/* Caret arrow — white */
.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(208, 0, 19, 0.35);
}

.accordion-body {
    font-size: 0.95rem;
    color: var(--dark-grey);
    line-height: 1.7;
    padding: 1rem 1.25rem;
}

.accordion-item {
    border: 1px solid var(--light-grey);
    margin-bottom: 0.4rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
}


/* === FORMS ================================================== */

.form-label {
    font-weight: 500;
    color: var(--accent2);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.form-control,
.form-select {
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
    font-size: 0.9375rem;
    color: var(--body-color);
    padding: 0.55rem 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent2);
    box-shadow: 0 0 0 3px rgba(0, 30, 80, 0.18);
    outline: none;
}

.form-control.is-invalid {
    border-color: var(--accent1);
}

.invalid-feedback {
    color: var(--accent1);
    font-size: 0.825rem;
}

.form-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--border-radius);
    padding: 0.9rem 1.25rem;
    display: none;
}
.form-alert-success.show { display: block; }

.form-alert-error {
    background: var(--accent1-light);
    color: var(--accent1-hover);
    border: 1px solid #f5c6cb;
    border-radius: var(--border-radius);
    padding: 0.9rem 1.25rem;
    display: none;
}
.form-alert-error.show { display: block; }


/* === TABLES ================================================= */

.table-styled {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.925rem;
}

.table-styled thead th {
    background: var(--accent2);
    color: var(--white);
    font-weight: 600;
    padding: 0.7rem 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.table-styled tbody td {
    padding: 0.65rem 1rem;
    border: 1px solid var(--light-grey);
    vertical-align: top;
}

.table-styled tbody tr:nth-child(even) {
    background: var(--off-white);
}

.table-styled tbody tr:hover {
    background: var(--accent2-light);
}


/* === FOOTER ================================================= */

.footer {
    background: var(--accent2);
    color: var(--white);
    padding: 3.5rem 0 0;
    margin-top: 0 !important;
}

.footer h5 {
    color: var(--accent1);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.footer p,
.footer li,
.footer address {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.65;
}

.footer address { font-style: normal; }

.footer a {
    color: var(--accent1);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer a:hover { color: #ff6666; text-decoration: underline; }

.footer ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer ul li {
    margin-bottom: 0.45rem;
}
.footer ul li a::before {
    content: '›';
    margin-right: 0.4rem;
    color: var(--accent1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0;
    margin-top: 2.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: var(--white); }


/* === LAZY-LOAD SKELETON PLACEHOLDER ========================= */

.img-lazy-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #e0e0e0 25%, #efefef 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.img-lazy-wrap img[data-src] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-lazy-wrap img.loaded {
    opacity: 1;
    animation: none;
    background: none;
}

@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* === UTILITY CLASSES ======================================== */

.bg-accent1     { background-color: var(--accent1)  !important; color: var(--white) !important; }
.bg-accent2     { background-color: var(--accent2)  !important; color: var(--white) !important; }
.bg-accent1-lt  { background-color: var(--accent1-light) !important; }
.bg-accent2-lt  { background-color: var(--accent2-light) !important; }
.text-accent1   { color: var(--accent1) !important; }
.text-accent2   { color: var(--accent2) !important; }
.border-accent1 { border-color: var(--accent1) !important; }
.border-accent2 { border-color: var(--accent2) !important; }

.rounded-custom { border-radius: var(--border-radius) !important; }

/* Styled list with FA checkmarks */
ul.list-styled {
    list-style: none;
    padding-left: 0;
}
ul.list-styled li {
    padding: 0.2rem 0 0.2rem 1.8rem;
    position: relative;
    color: var(--dark-grey);
    font-size: 0.95rem;
}
ul.list-styled li::before {
    content: '\f058';      /* fa-circle-check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent1);
    position: absolute;
    left: 0;
    top: 0.25rem;
}

/* Section divider line in red */
.divider-accent1 {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent1);
    border-radius: 2px;
    margin: 0.75rem auto 1.5rem;
}
.divider-accent1.left { margin-left: 0; }

/* Back to top button */
#backToTop {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--accent1);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-size: 1rem;
}
#backToTop:hover { background: var(--accent1-hover); transform: translateY(-2px); }
#backToTop:focus-visible { outline: 3px solid var(--accent1-hover); outline-offset: 3px; }

/* Fade-in animation (triggered by IntersectionObserver in main.js) */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Map embed */
.map-responsive {
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent2);
}
.map-responsive iframe {
    width: 100%;
    display: block;
}


/* === RESPONSIVE — ≤ 992 px (tablet / hamburger) ============ */

@media (max-width: 992px) {
    .navbar {
        max-height: none; /* allow expand */
    }

    .topbar .contact-info {
        display: none !important;
    }

    /* Make dropdown menus full-width on mobile */
    .dropdown-menu {
        border-top: none;
        box-shadow: none;
        border-left: none;
        border-right: none;
        border-bottom: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
        background: rgba(0, 0, 0, 0.12);
        border-radius: 0 !important;
    }

    .dropdown-item {
        color: var(--white);
        padding-left: 2rem;
    }
    .dropdown-item:hover { background: rgba(255, 255, 255, 0.15); color: var(--white); }

    .hero {
        min-height: 420px;
        max-height: none;
    }
    .hero-content {
        min-height: 420px;
    }

    .parallax {
        background-attachment: scroll; /* iOS fallback */
    }
}


/* === RESPONSIVE — ≤ 768 px (mobile landscape) ============== */

@media (max-width: 768px) {
    .hero {
        min-height: 380px;
    }
    .hero-content {
        min-height: 380px;
        padding: 2rem 1rem;
    }

    .page-hero {
        padding: 2rem 0;
    }

    .card-tour img {
        height: 180px;
    }

    .footer {
        padding: 2.5rem 0 0;
    }

    .benefit-box {
        padding: 1.5rem 0.75rem;
    }

    #backToTop {
        bottom: 1rem;
        right: 1rem;
    }
}


/* === RESPONSIVE — ≤ 576 px (mobile portrait) =============== */

@media (max-width: 576px) {
    h1 { font-size: 1.65rem; }
    h2 { font-size: 1.4rem;  }
    h3 { font-size: 1.2rem;  }

    .section-padding {
        padding: 2.25rem 0;
    }

    .hero-content h1 {
        font-size: 1.55rem;
    }

    .hero-content .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-content .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.3rem auto;
    }

    .price-tag {
        font-size: 1.15rem;
    }

    .accordion-button {
        font-size: 0.875rem;
        padding: 0.7rem 0.9rem;
    }

    .parallax-content {
        padding: 2.5rem 1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .topbar {
        padding: 0.5rem 0;
    }
}


/* === HOMEPAGE & SHARED PAGE COMPONENTS ===================== */

/* Hero */
.hero { position:relative; width:100%; min-height:450px; max-height:550px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.hero-bg-img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-overlay { position:absolute; inset:0; background:rgba(0,30,80,.6); }
.hero-content { position:relative; z-index:2; text-align:center; color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:3rem 1.5rem; min-height:450px; width:100%; }
.hero-content h1 { font-size:clamp(1.75rem,5vw,3.25rem); font-weight:700; text-shadow:2px 2px 12px rgba(0,0,0,.8); margin-bottom:1rem; color:#fff; }
.text-accent-hero { color:#ffd0d0; }
.hero-lead { font-size:clamp(1rem,2.5vw,1.25rem); text-shadow:1px 1px 6px rgba(0,0,0,.7); max-width:700px; margin:0 auto 1.75rem; }
.hero-badge { display:inline-flex; align-items:center; gap:.4rem; background:rgba(255,255,255,.15); color:#fff; border:1px solid rgba(255,255,255,.35); border-radius:50px; padding:.3rem 1rem; font-size:.85rem; font-weight:500; letter-spacing:.04em; margin-bottom:1rem; }
.btn-hero-primary { background:#D00013; color:#fff; border:2px solid #D00013; padding:.7rem 1.75rem; border-radius:4px; font-weight:600; transition:all .25s; }
.btn-hero-primary:hover { background:#a8000f; border-color:#a8000f; color:#fff; }
.btn-hero-outline { background:transparent; color:#fff; border:2px solid rgba(255,255,255,.75); padding:.7rem 1.75rem; border-radius:4px; font-weight:600; transition:all .25s; }
.btn-hero-outline:hover { background:rgba(255,255,255,.15); color:#fff; border-color:#fff; }
@media (max-width:768px) { .hero { min-height:500px; } .hero-content { min-height:500px; } }

/* Section helpers */
.section-eyebrow { display:inline-flex; align-items:center; gap:.4rem; color:#D00013; font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; margin-bottom:.6rem; }
.section-eyebrow i { font-size:.9rem; }
.section-lead { max-width:650px; margin:.5rem auto 0; color:#555; font-size:1.05rem; }
.lead-text { font-size:1.1rem; color:#333; font-weight:500; line-height:1.7; }

/* About section image */
.img-frame { position:relative; }
.img-frame img { border-radius:.5rem; }
.img-badge { position:absolute; bottom:-14px; right:14px; background:#D00013; color:#fff; padding:.4rem 1rem; border-radius:50px; font-size:.82rem; font-weight:700; white-space:nowrap; }

/* Tour cards */
.tour-card { border:none; box-shadow:0 3px 18px rgba(0,0,0,.1); transition:transform .3s,box-shadow .3s; overflow:hidden; }
.tour-card:hover { transform:translateY(-6px); box-shadow:0 10px 32px rgba(0,0,0,.16); }
.card-img-wrapper { position:relative; overflow:hidden; }
.card-img-wrapper img, .card-img-top { height:230px; object-fit:cover; width:100%; transition:transform .4s; }
.tour-card:hover .card-img-top { transform:scale(1.05); }
.card-price-badge { position:absolute; top:12px; right:12px; background:#D00013; color:#fff; padding:.3rem .8rem; border-radius:50px; font-weight:700; font-size:.85rem; }
.card-subtitle-text { font-size:.82rem; }
.card-header { background:#D00013 !important; color:#fff !important; padding:.75rem 1rem; }
.card-header h3 { font-size:1rem; font-weight:600; }
.card-footer { background:#fff; border-top:1px solid #f0f0f0; padding:.75rem 1rem; }
.price-tag { font-size:1.3rem; font-weight:700; color:#D00013; }

/* Benefits */
.benefit-box { padding:2rem 1.5rem; text-align:center; }
.benefit-icon { font-size:2.8rem; color:#D00013; margin-bottom:1rem; display:block; transition:transform .3s; }
.benefit-box:hover .benefit-icon { transform:scale(1.15); }
.benefit-title { font-size:1.05rem; font-weight:600; color:#001E50; margin-bottom:.5rem; }

/* Parallax */
.parallax { background-attachment:fixed; background-position:center; background-size:cover; background-repeat:no-repeat; min-height:340px; display:flex; align-items:center; position:relative; }
.parallax-overlay { position:absolute; inset:0; background:rgba(0,30,80,.65); }
.parallax-content { position:relative; z-index:2; text-align:center; color:#fff; width:100%; padding:4rem 1.5rem; }
.parallax-content h2 { font-weight:700; font-size:clamp(1.5rem,4vw,2.4rem); text-shadow:1px 1px 8px rgba(0,0,0,.5); margin-bottom:.75rem; }
.parallax-lead { font-size:1.05rem; max-width:620px; margin:0 auto; opacity:.92; }
.btn-parallax-primary { background:#D00013; color:#fff; border:2px solid #D00013; padding:.7rem 1.75rem; border-radius:4px; font-weight:600; transition:all .25s; }
.btn-parallax-primary:hover { background:#a8000f; border-color:#a8000f; color:#fff; }
.btn-parallax-outline { background:transparent; color:#fff; border:2px solid rgba(255,255,255,.75); padding:.7rem 1.75rem; border-radius:4px; font-weight:600; transition:all .25s; }
.btn-parallax-outline:hover { background:rgba(255,255,255,.15); color:#fff; }
@media (max-width:768px) { .parallax { background-attachment:scroll; } }

/* Entry Requirements cards */
.req-card { background:#fff; border:1px solid #e9ecef; border-radius:.5rem; padding:2rem 1.5rem; text-align:center; height:100%; box-shadow:0 2px 12px rgba(0,0,0,.07); transition:box-shadow .3s; }
.req-card:hover { box-shadow:0 6px 24px rgba(0,0,0,.12); }
.req-icon { font-size:2.5rem; color:#D00013; margin-bottom:1rem; display:block; }
.req-title { font-size:1rem; font-weight:600; color:#001E50; margin-bottom:.75rem; }

/* Page hero (subpages) */
.page-hero { background:linear-gradient(135deg,#001E50 0%,#003080 100%); color:#fff; padding:clamp(2.5rem,6vw,4rem) 0; position:relative; overflow:hidden; }
.page-hero::after { content:''; position:absolute; bottom:0; left:0; right:0; height:4px; background:#D00013; }
.page-hero h1 { font-weight:700; font-size:clamp(1.6rem,4vw,2.6rem); color:#fff; margin-bottom:.5rem; }
.page-hero .breadcrumb { background:transparent; padding:0; margin:0; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color:rgba(255,255,255,.5); }
.page-hero .breadcrumb-item a { color:rgba(255,255,255,.75); }
.page-hero .breadcrumb-item.active { color:rgba(255,255,255,.55); }

/* Sections */
.section { padding:var(--section-pad,4rem) 0; }
.section-alt { background:#f8f9fa; }
.section-dark { background:#001E50; color:#fff; }
.section-dark .section-title { color:#fff; }
.section-title { font-weight:600; font-size:clamp(1.4rem,3.5vw,2.1rem); color:#001E50; margin-bottom:1.5rem; line-height:1.2; }
.text-red { color:#D00013; }

/* Accordion */
.accordion-button { font-weight:500; }
.accordion-button:not(.collapsed) { background:rgba(208,0,19,.08); color:#D00013; box-shadow:none; }
.accordion-button:focus { box-shadow:0 0 0 .2rem rgba(208,0,19,.25); }
.accordion-button i { color:#D00013; }

/* Dark accordion variant */
.accordion-dark .accordion-button { background:#001E50; color:#fff; }
.accordion-dark .accordion-button:not(.collapsed) { background:#D00013; color:#fff; }
.accordion-dark .accordion-button::after { filter:invert(1); }
.accordion-dark .accordion-body { background:#002066; color:#eee; }

/* Table */
.table-uk thead th { background:#001E50; color:#fff; }
.table-uk tbody tr:hover { background:#fff3f3; }

/* Steps */
.step-num { width:48px; height:48px; background:#D00013; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:1.15rem; flex-shrink:0; }
.step-item { display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.5rem; }
.step-body h3 { font-size:1.02rem; font-weight:600; color:#001E50; margin-bottom:.3rem; }

/* Info box */
.info-box { background:#e6ecf7; border-left:4px solid #001E50; border-radius:0 .4rem .4rem 0; padding:1rem 1.25rem; margin:1rem 0; }
.info-box.info-red { background:#fde8ea; border-left-color:#D00013; }
.info-box i { color:#001E50; }
.info-box.info-red i { color:#D00013; }

/* Stat counter */
.stat-box { text-align:center; padding:1.5rem; }
.stat-num { font-size:2.5rem; font-weight:700; color:#D00013; display:block; }
.stat-label { font-size:.85rem; color:#555; }

/* Back to top */
#backToTop { position:fixed; bottom:24px; right:24px; width:44px; height:44px; background:#D00013; color:#fff; border:none; border-radius:50%; display:none; align-items:center; justify-content:center; font-size:1.1rem; cursor:pointer; z-index:999; box-shadow:0 3px 12px rgba(0,0,0,.25); transition:background .2s; }
#backToTop:hover { background:#a8000f; }

/* List styled */
ul.list-styled { list-style:none; padding-left:0; }
ul.list-styled li { padding:.25rem 0 .25rem 1.6rem; position:relative; }
ul.list-styled li::before { content:'\f058'; font-family:'Font Awesome 6 Free'; font-weight:900; color:#D00013; position:absolute; left:0; top:.28rem; }

/* Gallery grid */
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1rem; }
.gallery-grid img { width:100%; height:200px; object-fit:cover; border-radius:.4rem; transition:transform .3s; cursor:pointer; }
.gallery-grid img:hover { transform:scale(1.03); }

/* Icon color inherits from parent (button/link) */
.btn i, .btn .fa, .btn .fas, .btn .far, .btn .fab,
a i, a .fa, a .fas, a .far, a .fab { color: inherit !important; }
/* FA accent icons (standalone, not in buttons) */
.fa-accent, .section-eyebrow i, .benefit-icon i, .req-icon i,
.contact-item > i, .step-card-header i { color: #D00013 !important; }

/* Custom Bootstrap overrides */
.btn-primary { background:#001E50; border-color:#001E50; color:#fff; font-weight:500; transition:all .2s; }
.btn-primary:hover,.btn-primary:focus { background:#D00013; border-color:#D00013; color:#fff; }
.btn-outline-primary { border-color:#001E50; color:#001E50; font-weight:500; }
.btn-outline-primary:hover { background:#001E50; border-color:#001E50; color:#fff; }
.text-primary { color:#D00013 !important; }
.bg-primary { background:#001E50 !important; }
a { color:#001E50; } a:hover { color:#D00013; }
h1 { font-weight:700; } h2 { font-weight:600; } h3 { font-weight:500; } h4 { font-weight:400; } h5 { font-weight:300; }

/* Footer fixes */
.footer { margin-top:0 !important; }

/* === BREADCRUMBS IN PAGE-HERO (transparent bg, white text) ============= */
.page-hero .breadcrumbs-wrapper {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,.25) !important;
    margin-bottom: .5rem;
    padding: 4px 0;
}
.page-hero .breadcrumb { background: transparent !important; padding: 4px 0; margin-bottom: 0; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.9) !important; font-size: .88rem; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.65) !important; font-size: .88rem; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6) !important; }

/* === NAVBAR — CENTERED + LARGER FONT + ANIMATIONS ==================== */
@media (min-width: 992px) {
    #mainNav .navbar-collapse {
        display: flex !important;
        justify-content: center !important;
    }
    #mainNav .navbar-nav {
        margin: 0 auto;
        width: auto;
    }
}
#mainNav .nav-link {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    letter-spacing: .03em;
    padding: .7rem 1.2rem !important;
    position: relative;
    transition: color .25s ease, background .25s ease !important;
}
/* Animated underline on hover */
#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background: rgba(255,255,255,.8);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    border-radius: 1px;
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { transform: scaleX(1); }
/* Active item indicator */
#mainNav .nav-link.active {
    background: rgba(255,255,255,.12) !important;
    border-radius: 4px;
}
/* Dropdown animation — desktop only (mobile handled by Bootstrap JS collapse) */
@media (min-width: 992px) {
    #mainNav .dropdown-menu {
        display: block !important;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px) scaleY(.97);
        transform-origin: top center;
        transition: opacity .25s ease, transform .25s cubic-bezier(.4,0,.2,1), visibility 0s linear .25s;
        pointer-events: none;
        margin-top: 0;
    }
    #mainNav .dropdown:hover .dropdown-menu,
    #mainNav .dropdown.show .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scaleY(1);
        transition: opacity .25s ease, transform .25s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
        pointer-events: auto;
    }
}
#mainNav .dropdown-item {
    font-size: 1rem;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
    padding-left: .9rem;
}
#mainNav .dropdown-item:hover {
    background: #D00013 !important;
    color: #fff !important;
    padding-left: 1.2rem;
}

/* === FOOTER — ALL LINKS WHITE ========================================= */
.footer a,
.footer a:link,
.footer a:visited,
.footer .footer-links a,
.footer .footer-contact-list a,
.footer-col a,
.footer-legal-links a,
.footer-bottom a,
.footer-bottom nav a {
    color: #fff !important;
    text-decoration: none;
}
.footer a:hover,
.footer .footer-links a:hover,
.footer .footer-contact-list a:hover,
.footer-col a:hover,
.footer-legal-links a:hover,
.footer-bottom a:hover { color: #ffd0d0 !important; }
.footer-contact-item { color: #fff !important; text-decoration: none; }
.footer-contact-item:hover { color: #ffd0d0 !important; }
.footer-bottom { color: rgba(255,255,255,.75); }
.footer-copyright { color: rgba(255,255,255,.75) !important; }

/* === PRINT ================================================== */

@media print {
    .navbar,
    .topbar,
    .hero,
    .parallax,
    .footer,
    #backToTop,
    .btn {
        display: none !important;
    }

    body { font-size: 11pt; color: #000; }
    a { color: #000; text-decoration: underline; }
    h1, h2, h3 { color: #000; page-break-after: avoid;
    }
    .footer .footer-links a:hover,
    .footer .footer-contact-list a:hover,
    .footer-col a:hover { color: #ffd0d0 !important; }
    /* Legal bottom bar keeps red accent */
    .footer-legal-links a { color: #D00013 !important; }
    .footer-legal-links a:hover { color: #ff6666 !important; }
    .footer-contact-item { color: #fff !important; text-decoration: none; }
    .footer-contact-item:hover { color: #ffd0d0 !important; }

    body {
        font-size: 11pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    h1, h2, h3 {
        color: #000;
        page-break-after: avoid;
    }
}
