:root {
    --public-gold: #c9a227;
    --public-deep: #0b1f33;
    --public-teal: #0d6e6e;
}

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #1a1a1a;
}

.public-header {
    z-index: 1030;
}

.public-nav {
    background: linear-gradient(90deg, var(--public-deep), #123a5c);
}

.public-subnav {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(11, 31, 51, 0.06);
    width: 100%;
}

.public-subnav-inner {
    display: flex;
    align-items: center;
    min-height: 3.5rem;
}

.public-subnav-toggle {
    border: 0;
    background: transparent;
    padding: 0.5rem 0.75rem;
    margin: 0;
    flex: 0 0 auto;
}

.public-subnav-toggle-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811, 31, 51, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.public-subnav-menu {
    width: auto;
    min-width: 0;
}

.public-subnav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
}

.public-subnav-item {
    display: flex;
    align-items: center;
}

.public-subnav-item a {
    display: block;
    color: var(--public-deep);
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 1.1rem 1rem;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s ease;
}

/* Flush to the very left edge */
.public-subnav-item:first-child a {
    padding-left: 0;
}

.public-subnav-item a:hover,
.public-subnav-item a:focus {
    color: var(--public-teal);
}

/* Short vertical line shown between every link */
.public-subnav-divider {
    width: 2px;
    height: 1.5rem;
    background-color: #6b7785;
    align-self: center;
    flex: 0 0 auto;
    list-style: none;
}

@media (min-width: 992px) {
    .public-subnav-menu.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }
}

@media (max-width: 991.98px) {
    .public-subnav-menu {
        flex: 1 1 100%;
        width: 100%;
    }

    .public-subnav-links {
        width: 100%;
    }
}

.public-slider {
    background-color: var(--public-deep);
    overflow: hidden;
}

/* Single source of truth for slider height */
.public-slider,
.public-slider .carousel-inner,
.public-slider .carousel-item,
.public-slide {
    height: 88vh;
    min-height: 30rem;
    max-height: 52rem;
}

.public-slider .carousel-item {
    position: relative;
}

.public-slide {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.public-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 51, 0.15), rgba(11, 31, 51, 0.65));
}

.public-slider .carousel-caption {
    z-index: 2;
    bottom: 4rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.public-slider .carousel-caption h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.8rem);
}

.public-slider .carousel-indicators {
    z-index: 3;
}

.public-hero {
    background: linear-gradient(135deg, rgba(11, 31, 51, 0.92), rgba(13, 110, 110, 0.85)),
        url("https://images.unsplash.com/photo-1591604129939-f1efa4ccc88f?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
    color: #fff;
    min-height: 78vh;
    display: flex;
    align-items: center;
}

.public-hero .lead {
    max-width: 36rem;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
}

.section-title {
    font-weight: 700;
    color: var(--public-deep);
}

.package-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(11, 31, 51, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(11, 31, 51, 0.12);
}

.package-badge {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.15);
    color: var(--public-gold);
    font-size: 1.35rem;
}

.public-footer {
    background: var(--public-deep);
    color: #e8eef4;
}

.cta-band {
    background: linear-gradient(90deg, var(--public-teal), #148f8f);
    color: #fff;
    border-radius: 1.25rem;
}

.section-anchor {
    display: block;
    position: relative;
    top: -7.5rem;
    visibility: hidden;
}

[id] {
    scroll-margin-top: 7.5rem;
}

.gallery-tile {
    aspect-ratio: 4 / 3;
    border-radius: 0.75rem;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0.25rem 1rem rgba(11, 31, 51, 0.12);
}
