:root {
    --primary-dark-blue: #0A1931;
    --secondary-indigo: #1A2E47;
    --dark-gradient-start: #0A1931;
    --dark-gradient-end: #000000;
    --text-light-grey: #E0E0E0;
    --text-white: #FFFFFF;
    --accent-gold: #FFD700; /* Subtle gold/bronze for highlights */
    --accent-gold-hover: #E0B800;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(26, 46, 71, 0.7);
    --card-bg-hover: rgba(26, 46, 71, 0.9);
    --section-light-bg: #F8F9FA;
    --text-dark-blue: #0A1931;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark-gradient-start) 0%, var(--dark-gradient-end) 100%);
    color: var(--text-light-grey);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 600;
}

p {
    color: var(--text-light-grey);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold-hover);
    text-decoration: none;
}

.text-accent {
    color: var(--accent-gold) !important;
}

.btn-primary-custom {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark-blue);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    color: var(--primary-dark-blue);
}

.btn-secondary-custom {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark-blue);
}

/* Navbar */
.custom-navbar {
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(5px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    color: var(--text-white) !important;
    font-size: 1.5rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-light-grey) !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold) !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.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%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-image: url('visuals/media/basilica-cistern-hero_3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Adjust for fixed navbar */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 49, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .row .col-auto {
    padding: 1rem;
    background-color: rgba(26, 46, 71, 0.6);
    border-radius: 8px;
    margin: 0.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-section .row .col-auto:hover {
    background-color: rgba(26, 46, 71, 0.8);
    transform: translateY(-5px);
}

.hero-section .row .col-auto i {
    color: var(--accent-gold);
}

/* Sections */
.section-dark {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--dark-gradient-end) 100%);
    color: var(--text-light-grey);
}

.section-dark-alt {
    background-color: var(--secondary-indigo);
    color: var(--text-light-grey);
}

.section-light {
    background-color: var(--section-light-bg);
    color: var(--text-dark-blue);
}

.section-light h2, .section-light h4 {
    color: var(--text-dark-blue);
}

.section-light p, .section-light li {
    color: #495057;
}

/* Timeline Section */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--primary-dark-blue);
    border: 4px solid var(--accent-gold);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -16px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-bg);
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.timeline-content:hover {
    background-color: var(--card-bg-hover);
    transform: translateY(-5px);
}

.timeline-content .timeline-date {
    color: var(--accent-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.timeline-content img {
    max-height: 200px;
    object-fit: cover;
}

/* Info Cards */
.info-card {
    background-color: var(--text-white);
    border: 1px solid #dee2e6;
    color: #343a40;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.info-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.info-card ul li {
    margin-bottom: 8px;
}

/* Ticket Cards */
.ticket-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ticket-card:hover {
    background-color: var(--card-bg-hover);
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

.ticket-card .price-tag {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-top: auto;
    margin-bottom: 1rem;
}

/* Ticket Purchase Modal */
.modal-content {
    border: none;
    border-radius: 10px;
}

.modal-header {
    background-color: var(--primary-dark-blue);
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    background-color: var(--secondary-indigo);
}

.form-label {
    color: var(--text-light-grey);
    font-weight: 500;
}

.custom-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.custom-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
    color: var(--text-white);
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.custom-input option {
    background-color: var(--secondary-indigo);
    color: var(--text-white);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Toast */
.toast-container {
    z-index: 1080;
}

/* Gallery */
.gallery-item {
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.4) !important;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 250px; /* Fixed height for gallery images */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* FAQ */
.custom-accordion-item {
    background-color: transparent;
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.custom-accordion-item:last-of-type {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.custom-accordion-item:first-of-type {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.custom-accordion-button {
    background-color: var(--card-bg);
    color: var(--text-white);
    font-weight: 600;
    padding: 1rem 1.25rem;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
}

.custom-accordion-button:not(.collapsed) {
    background-color: var(--accent-gold);
    color: var(--primary-dark-blue);
}

.custom-accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.custom-accordion-button::after {
    filter: invert(1);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.custom-accordion-button:not(.collapsed)::after {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.custom-accordion-body {
    background-color: var(--primary-dark-blue);
    color: var(--text-light-grey);
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
}

/* Footer */
.footer-section {
    background-color: var(--dark-gradient-end) !important;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    color: var(--text-white) !important;
    font-size: 1.25rem;
}

.footer-logo {
    height: 30px;
    width: auto;
}

.footer-links li a {
    color: var(--text-light-grey);
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-gold);
}

.footer-links li i {
    color: var(--accent-gold);
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1070;
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner p a {
    font-weight: 600;
}

.cookie-banner .btn-primary-custom {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.cookie-banner .btn-secondary-custom {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.custom-checkbox {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-checkbox:checked {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.custom-checkbox:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        border-radius: 8px;
        margin-top: 10px;
        padding: 15px;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent var(--accent-gold);
    }

    .timeline-item::after {
        left: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }

    .timeline-item:nth-child(even)::after {
        left: 15px;
    }

    .footer-section .col-md-4 {
        text-align: center !important;
    }

    .footer-brand {
        justify-content: center !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 0.9rem;
    }

    .hero-section .row .col-auto {
        flex: 0 0 48%; /* Two columns on small screens */
        max-width: 48%;
    }

    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner .d-flex.gap-2 {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner .btn {
        flex-grow: 1;
    }
}
/*
 * New stock styles for the policy content.
 * These styles are specifically for elements within the .policyOrbitalShell container.
 */

.policyOrbitalShell {
    /* Padding for the main content shell to provide space from edges */
    padding: 30px 20px; /* Top/Bottom 30px, Left/Right 20px */
}

/* Heading 1 styles - moderately sized */
.policyOrbitalShell h1 {
    font-size: 1.8rem; /* Approximately 28.8px if base font is 16px */
    line-height: 1.2;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #c6c0c0; /* Dark grey for better readability */
}

/* Heading 2 styles - moderately sized */
.policyOrbitalShell h2 {
    font-size: 1.5rem; /* Approximately 24px */
    line-height: 1.3;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.8rem;
    color: #c6c0c0;
}

/* Heading 3 styles - moderately sized */
.policyOrbitalShell h3 {
    font-size: 1.25rem; /* Approximately 20px */
    line-height: 1.4;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
    color: #c6c0c0;
}

/* Heading 4 styles - moderately sized */
.policyOrbitalShell h4 {
    font-size: 1.125rem; /* Approximately 18px */
    line-height: 1.4;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
    color: #c6c0c0;
}

/* Heading 5 styles - moderately sized, slightly larger than body text */
.policyOrbitalShell h5 {
    font-size: 1.05rem; /* Approximately 16.8px */
    line-height: 1.5;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #c6c0c0;
}

/* Paragraph styles for standard text blocks */
.policyOrbitalShell p {
    font-size: 1rem; /* Base font size, e.g., 16px */
    line-height: 1.6;
    margin-bottom: 1em; /* Space between paragraphs */
    color: #bbbbbb; /* Standard text color */
}

/* Unordered list styles */
.policyOrbitalShell ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px; /* Indent for bullets */
}

/* List item styles */
.policyOrbitalShell li {
    font-size: 1rem; /* Inherit or explicitly set for consistency */
    line-height: 1.6;
    margin-bottom: 0.5em; /* Space between list items */
    color: #bbbbbb;
}
@media screen and (width < 678px) {
.content-overlay {
    padding-top: 100px;
    padding-bottom: 100px;
}
}