* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-bg: #2C3E50;
    --secondary-bg: #1e1e1e;
    --text-color: #EAEDED;
    --accent-color: #C0392B;
    --accent-hover: #A93226;
    --highlight-color: #F1C40F;
    --container-width: 90%;
    --container-max: 1100px;
    --header-height: 75px;
}

body {
    font-family: Inter, sans-serif;
    line-height: 1.6;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding-top: var(--header-height);
}

.container {
    width: var(--container-width);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px;
}

.btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: var(--accent-hover);
}

header {
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: var(--header-height);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.has-dropdown {
    display: flex;
    align-items: center;
}

.has-dropdown > a {
    z-index: 1002;
}

.dropdown-toggle {
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
    position: relative;
    height: 100px;
}

nav ul li ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1;
    min-width: 100px;
}

nav ul li:hover .dropdown {
    display: block;
}

nav ul li .dropdown li a {
    display: block;
    width: 100%;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
}

nav ul li .dropdown li a:hover {
    background-color: var(--accent-color);
}

.history-section {
    padding: 50px 0;
    background-color: var(--primary-bg);
    color: var(--text-color);
}

.history-section h1 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.2rem;
}

.history-section p {
    margin-bottom: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.history-section h3 {
    text-align: left;
}

.collapsible {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    max-width: 800px;
    margin: 30px auto 10px;
    text-align: left;
    font-weight: bold;
    transition: background-color 0.3s;
    display: block;
}

.collapsible:hover {
    background-color: var(--accent-hover);
}

.collapsible:after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
}

.collapsible.active:after {
    content: '-';
}

.collapsiblecontent {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background-color: rgba(44, 62, 80, 0.8);
    border-radius: 0 0 5px 5px;
    opacity: 0;
}

.collapsible.active + .collapsiblecontent {
    max-height: 1000px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    opacity: 1;
}

.collapsiblecontent ul {
    list-style-position: inside;
    padding-left: 20px;
}

.collapsiblecontent li {
    margin-bottom: 10px;
}

.voted {
    position: relative;
    background: url("./creativecommons-pittsburghviewwithincline.jpg") no-repeat bottom right/cover;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    margin-top: 120px;
}

.attractions {
    position: relative;
    background: url("./creativecommons-pittsburghnightwithoutincline.jpg") no-repeat top/cover;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    margin-top: 120px;
}

.about {
    position: relative;
    background: url("./creativecommons-pittsburghviewwithoutincline.jpg") no-repeat bottom/cover;
    height: 310px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: bottom;
    color: var(--text-color);
    margin-top: 120px;
}

.attractions h2,
.about h2 {
    font-size: 3rem;
}

.attractions::before,
.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0), rgba(44, 62, 80, 1));
}

.voted::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0), rgba(44, 62, 80, 1));
}

.attractions h2,
.attractions p,
.attractions h3,
.attractions a,
.about h2,
.about p,
.about h3,
.about a {
    position: relative;
    z-index: 1;
}

.voted h1,
.voted h2,
.voted p,
.voted h3,
.voted a {
    position: relative;
    z-index: 1;
}

#internal-link {
    text-decoration: none;
}

.faq-category a {
    color: var(--highlight-color);
    position: relative;
    z-index: 1;
}

.faq-category h2 {
    color: var(--highlight-color);
}

.note {
    padding-top: 120px;
    color: var(--text-color)
}

.fare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 5px;
    overflow: hidden;
}

.fare-table th, 
.fare-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fare-table th {
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: bold;
}

.fare-table tr:last-child td {
    border-bottom: none;
}

.category-header td {
    background-color: var(--secondary-bg);
    color: var(--highlight-color);
    font-weight: bold;
    padding: 10px 15px;
}

.free {
    color: #4CAF50;
    font-weight: bold;
}

.voted h1 {
    font-size: 4.6rem;
    color: var(--text-color);
    text-align: center;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.voted h3 {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-color);
    padding-bottom: 20px;
}

.sub-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-bottom: 50px;
    background: var(--primary-bg);
}

.attractions-sub-nav,
.about-sub-nav,
.visit-sub-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: var(--primary-bg);
}

.about-sub-nav, .visit-sub-nav {
    font-size: 2rem;
}

.sub-nav::before {
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0), rgba(44, 62, 80, 1));
}

.nav-option {
    align-items: center;
}
.nav-option img {
    height: 300px;
    width: auto;
    gap: 0;
    border-radius: 10px;
}
.nav-option h2 {
    margin-top: 10px;
    font-size: 1.5em;
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

section {
    padding: 50px 0; 
    text-align: center;
    background-color: var(--primary-bg);
    color: var(--primary-bg);
    overflow: hidden;
}

section h2 {
    font-size: 2rem;
}

section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding: 0 10px;
}

.sections {
    width: 90%;
    max-width: 1100px;
    padding: 40px;
    position: relative;
    background-color: var(--text-color);
    display: block;
    margin: 0 auto;
}

.sections p {
    color: var(--primary-bg);
}

.sections a {
    color: var(--text-color);
}

#city-tours p,
#dining p {
    color: var(--primary-bg);
}

#city-tours a,
#dining a {
    color: var(--highlight-color);
}

#city-tours1 p,
#city-tours2 p,
#city-tours3 p,
#city-tours4 p,
#dining1 p,
#dining2 p,
#dining3 p,
#dining4 p {
    color: var(--text-color);
}

#attractions-header1 h2,
#attractions-header2 h2,
#attractions-header3 h2,
#about-header1 h2,
#about-header2 h2 {
    color: var(--text-color);
    padding-bottom: 20px;
}

#visit-header1 h2,
#visit-header2 h2,
#visit-header3 h2 {
    color: var(--text-color);
    padding-bottom: 20px;
}

.collapsiblecontent ul li {
    color: var(--text-color);
}

.collapsiblecontent ul li a {
    color: var(--highlight-color);
}

.directions-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.map-container, .weather-container {
    flex: 1;
    min-width: 400px;
}

.map-container iframe {
    max-width: 100%;
}

.weather-container {
    border-radius: 8px;
    padding: 20px;
    height: 400px;
    overflow: hidden;
}

#weather-widget {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-section {
    text-align: center;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding: 50px 20px;
}

#map {
    width: 90%;
    max-width: 800px;
    height: 400px;
    border-radius: 10px;
}

.faq-section {
    padding: 50px 0;
    background-color: var(--primary-bg);
    color: var(--text-color);
}

.faq-section h1 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.2rem;
}

.faq-category {
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-title {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 20px;
    font-size: 1.3rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-weight: bold;
    transition: background-color 0.3s;
    display: block;
    margin-bottom: 15px;
}

.category-title:hover {
    background-color: var(--accent-hover);
}

.category-title:after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
}

.category-title.active:after {
    content: '-';
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.category-title.active + .faq-content {
    max-height: 1000px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--highlight-color);
}

.faq-answer {
    line-height: 1.6;
}

.gift-shop-section {
    padding: 50px 0;
    background-color: var(--primary-bg);
    color: var(--text-color);
}

.gift-shop-section h1 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.2rem;
}

.gift-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.gift-category {
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.item-card {
    background-color: rgba(44, 62, 80, 0.8);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 800px;
    transition: transform 0.3s;
}

.item-card:hover {
    transform: translateY(-5px);
}

.item-card img {
    width: auto;
    height: 240px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.item-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--highlight-color);
}

.item-card p {
    margin-bottom: 15px;
}

.shop-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.featured-item {
    background-color: rgba(44, 62, 80, 0.3);
    border: 2px dashed var(--secondary-bg);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--highlight-color);
    color: var(--secondary-bg);
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
}

.item-card-wrapper {
    position: relative;
}

.additional-items {
    background-color: rgba(44, 62, 80, 0.8);
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto 40px;
}

.additional-items h3 {
    color: var(--highlight-color);
    margin-bottom: 15px;
}

.additional-items ul {
    list-style-type: circle;
    padding-left: 20px;
    text-align: left;
}

.additional-items li {
    margin-bottom: 10px;
}

.society-section,
.mailing-list-section {
    background-color: var(--primary-bg);
}

.society-content,
.mailing-list-content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(30, 30, 30, 0.7);
    padding: 40px;
    border-radius: 10px;
    color: var(--text-color);
}

.society-content h2,
.mailing-list-content h2 {
    color: var(--highlight-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.society-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.contact-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s;
}

.contact-btn:hover {
    background-color: var(--accent-hover);
}

.mailing-form {
    margin-top: 20px;
    text-align: left;
}

.society-content ul {
    list-style-position: inside;
    width: fit-content;
    margin: 0 auto;
    text-align: left;
}

.society-content ul li {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    background-color: rgba(234, 237, 237, 0.9);
    color: var(--secondary-bg);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-right: 10px;
    width: auto;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: var(--accent-hover);
}

.required {
    color: var(--accent-color);
}

.media-content {
    background-color: var(--primary-bg);
    padding: 50px 0;
}

.media-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab {
    padding: 12px 25px;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    margin: 0 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.tab:hover {
    background-color: var(--accent-hover);
}

.tab.active {
    background-color: var(--accent-color);
}

.tab-content {
    background-color: rgba(30, 30, 30, 0.7);
    padding: 30px;
    border-radius: 0 5px 5px 5px;
    min-height: 400px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: var(--highlight-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

.video-container, .gallery-grid {
    margin-top: 30px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.gallery img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.1);
}

.tab-content p {
    color: var(--text-color);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000; 
    overflow: hidden;
}

.modal-img {
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.3);
    padding: 5px 12px;
    border-radius: 50%;
}

.close:hover {
    background: rgba(255, 255, 255, 0.7);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.8);
}

body.modal-open {
    overflow: hidden;
}

footer {
    background-color: var(--secondary-bg);
    display: flex;
    color: var(--text-color);
    padding: 20px 0;
    font-size: 0.9rem;
    position: relative;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

footer .footer-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    padding: 0 20px;
}

footer .footer-info > div {
    flex: 1;
    margin: 0 15px;
}

footer h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--highlight-color);
    margin-bottom: 8px;
}

footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent-color);
}

footer .copyright {
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

footer .copyright p {
    margin: 0;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 5px 0;
    }

    .directions-container {
        flex-direction: column;
    }
}
    
    .footer-info {
        flex-direction: row;
    }
    
    .footer-info > div {
        margin: 15px 0;
    }
}