/* General Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Make the Home header and Exhibit .header look identical */
header,
.header {
    background-color: #E27729;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 50px;
}

.logo img {
  display: none;
    height: 150px;
    width: auto;
}
nav a[href="interactive-tour.html"],
.footer-links a[href="interactive-tour.html"] { display: none !important; }


/* Navigation Bar */
nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    justify-content: flex-end; /* Align to the right */
    margin-right: 5.5rem; /* Adjust spacing from the right edge */
}


nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'Avenir Next', sans-serif;
    text-transform: uppercase;
}

nav ul li a.active {
    border-bottom: 2px solid black;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    background-color: #fff;
    border-bottom: 2px solid #ddd;
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
    max-width: 50%;
}

.hero-text .date-range {
    font-size: 1.5rem;
    color: #d68a26;
    font-weight: bold;
}

.hero-text .location {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.hero h1 {
    font-size: 4rem;
    margin: 1rem 0;
    font-weight: normal;
    color: #4b5320;
}

.hero h1 .highlight {
    color: #d68a26;
}

.hero .subheading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
}

.hero .quote {
    font-size: 1rem;
    line-height: 1.5;
    margin: 1rem 0;
    color: #444;
}

.hero .quote em {
    font-style: italic;
    font-size: 0.9rem;
    color: #666;
}

.hero .description {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.explore-btn {
    padding: 0.8rem 2rem;
    background-color: #4b5320;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 25px;
}

.hero-image {
    flex: 1;
    max-width: 40%;
    min-width: 200px;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Map Section */
.map-section {
    text-align: center;
    padding: 2rem 0;
    background-color: #fff;
}

.text-container {
    max-width: 1200px; /* Match the width of the images */
    margin: 0 auto;    /* Center horizontally */
    padding: 0 2rem;   /* Consistent padding */
    text-align: center; /* Center-align text content */
    line-height: 1.6;  /* Improve readability */
}


.map-section h2 {
    font-size: 2rem;
    color: #4b5320;
    margin-bottom: 0.5rem;
}

.map-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
}
/* Carousel Container */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Match the size of the map section */
    height: 450px; /* Match the map image height */
    margin: 0 auto;
    overflow: hidden; /* Hide overflowing slides */
    display: flex;
    align-items: center;
}

/* Carousel Slides */
.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth transition */
}

/* Replace your current .carousel-item block with this */
.carousel-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;          /* fill the carousel’s fixed height */
  object-fit: contain;   /* show whole image, no crop/zoom */
  background: #fff;      /* optional letterbox background */
  display: block;
}

/* Helps vertical centering within the slide row */
.carousel-slides {
  display: flex;
  align-items: center;
}

/* Make sure the carousel has a fixed height (you already do) */
.carousel {
  height: 450px; /* or whatever height you want */
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 2;
}

.carousel-btn.left-btn {
    left: 10px;
}

.carousel-btn.right-btn {
    right: 10px;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Map Images Container */
.map-container {
    display: flex;
    justify-content: center; /* Center the images */
    gap: 1.5rem; /* Space between images */
    margin: 0 auto;
    max-width: 1200px; /* Matches the exhibit section width */
    padding: 0 2rem;
}

/* Map Images */
.map-container img {
    width: 48%; /* Each image takes up approximately half the container */
    height: auto; /* Maintain the aspect ratio */
    max-height: 450px; /* Match the exhibit section height */
    object-fit: cover; /* Ensures clean cropping */
    border: 1px solid #ddd;
    border-radius: 8px; /* Optional soft edges */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}



.read-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: #d68a26;
    color: white;
    text-decoration: none;
}

/* Exhibits Section */
.exhibits {
    background-color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.exhibit-cards {
    display: flex;
    justify-content: space-between; /* Aligns cards evenly with space */
    gap: 1.5rem; /* Adds spacing between cards */
    padding: 0 2rem; /* Adds padding on the sides to prevent edge-to-edge touch */
    max-width: 1200px; /* Limit container width */
    margin: 0 auto; /* Center the container */
}

.card {
    flex: 1; /* Allow cards to grow and fill available space */
    min-width: 300px; /* Ensures cards don't get too small */
    background-color: #f9f9f9;
    padding: 1.5rem;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    border-radius: 8px;
}

.card img {
    width: 100%;
    height: 200px; /* Adjust height for consistency */
    object-fit: cover; /* Keeps image proportions and crops nicely */
    border-radius: 5px;
}

.card h3 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.card p {
    font-size: 1rem;
    line-height: 1.4;
    color: #555;
    margin: 0.5rem 0;
}

.card a {
    text-decoration: none;
    font-size: 0.9rem;
    color: #d68a26;
    font-weight: bold;
}

.card a:hover {
    text-decoration: underline; /* Add underline on hover */
}



/* Footer */
footer {
  display: none;
    background-color: #A7C5A1;
    padding: 2rem 0;
    font-family: 'Avenir Next', sans-serif;
    text-transform: uppercase;
    //display: flex;
    justify-content: space-between; /* Spread left and right sections */
    align-items: center; /* Vertically center items */
}

/* Footer Container */
.footer-container {
    display: flex;
    justify-content: space-between; /* Properly align left and right sections */
    align-items: center;
    margin: 0 auto; /* Center the footer container */
    width: 90%;
    max-width: 1200px;
}

/* Footer Left Section */
.footer-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: row; /* Aligns links horizontally */
    gap: 1.5rem; /* Space between links */
    margin: 0;
    padding: 0;
    position: relative;
    bottom: -30px; /* Move the links down */
}

.footer-links li a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
}

.footer-links li a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Footer Right Section */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    position: relative; /* Allows precise positioning */
    top: -30px; /* Moves the right side upward */
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Adjusts spacing between logos */
    justify-content: center; /* Centers the icons in the container */
    margin-top: 1rem; /* Adds space between the icons and other elements */
}

/* General styling for social icons */
.footer-social img:not(.footer-layered-lands-logo) {
    width: 30px; /* Uniform size for social media icons */
    height: 30px; /* Ensures square dimensions */
    object-fit: contain; /* Prevents distortion */
}
/* Specific Styling for Layered Lands Logo */
.footer-layered-lands-logo {
    width: 150px; /* Adjust the size of the Layered Lands logo */
    height: auto; /* Maintain aspect ratio */
    margin-right: -4rem; /* Adjust spacing between the logo and Instagram */
}

/* Footer Copyright */
.footer-copyright {
    margin-top: -1.5rem; /* Space between copyright and social icons */
    font-size: 0.9rem;
    text-align: center; /* Align text to center */
    color: #333;
    line-height: 1.5; /* Improves readability */
}

/* Explore Section */
.explore-section {
    position: relative;
    width: 100%;
    height: 250px; /* Adjust height to match the wireframe */
    background-image: url('images/map.jpg'); /* Replace with your image path */
    background-position: right 0% bottom 90%; /* Focuses on the desired image area */
    background-size: cover; /* Ensures it covers the area */
}

.explore-text-box {
    position: absolute;
    top: 20%; /* Adjust vertical positioning */
    left: 10%; /* Adjust horizontal positioning */
    background-color: rgba(255, 255, 255, 0.9); /* Slight transparency */
    padding: .75rem 1rem; /* Adds spacing inside the text box */
    max-width: 265px; /* Matches the wireframe width */
    text-align: left;
    border-radius: 4px;
}

.explore-text-box h3 {
    font-size: 1.2rem; /* Smaller heading size */
    font-weight: 600;
    margin-bottom: 0.8rem; /* Add spacing below heading */
    color: #333; /* Adjust text color */
}

.explore-text-box p {
    font-size: 0.9rem; /* Smaller paragraph size */
    line-height: 1.4; /* Improve text readability */
    color: #555; /* Subtle text color */
    margin-bottom: 1.5rem; /* Adds space before the button */
}

.explore-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: #4b5320; /* Match the button color */
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.explore-btn:hover {
    background-color: #3a4215; /* Darker shade on hover */
}

/* PMA Section */
.pma-section {
  display: none;
    margin-top: 30px; /* Adjust the value for the desired spacing */
    margin-bottom: 30px; /* Adjust the value for the desired spacing */
    position: relative;
    width: 100%;
    height: 250px; /* Height to match wireframe */
    background-image: url('images/pmahome.png'); /* Full background image */
    background-size: cover; /* Ensure full section coverage */
    background-position: top; /* Center the image */
    padding: 30px 0;
}

.pma-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pma-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #E27729; /* Rectangle background color */
    width: 70%; /* Rectangle spans 70% of the container */
    max-width: 700px; /* Ensure a max width for large screens */
    padding: 0.5rem 1rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Add slight shadow for depth */
}

.pma-logo {
    flex: 7; /* 70% of the rectangle */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pma-logo img {
    max-height: 60px; /* Adjust logo size as needed */
    width: auto; /* Maintain logo proportions */
}

.visit-btn {
    flex: 3; /* 30% of the rectangle */
    text-align: center;
    background-color: #333; /* Button background color */
    color: #fff; /* Button text color */
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.visit-btn:hover {
    background-color: #555; /* Slightly lighter on hover */
}

/* non sections here  */

/* Force Parent Section Background to White */
.section-container {
    background-color: #ffffff; /* Force white */
    margin: 0;
    padding: 0;
    position: relative; /* Remove any overflow impact */
}

/* Divider Styling */
.section-divider {
    width: 75%; /* Shorter line */
    height: 2px; /* Line thickness */
    margin: 2rem auto; /* Center with spacing */
    background-color: #000000; /* Solid black line */
    border: none; /* Ensure no borders */
}

/* Remove Grey from Adjacent Containers */
body, html {
    background-color: #ffffff; /* Ensure full-page white background */
    margin: 0;
    padding: 0;
}


/* Custom Thin Header Styling */
.thin-header {
    font-weight: 100; /* Thin text */
    font-size: 1rem; /* Adjust the size as needed */
    text-align: left; /* Align the text to the center */
    color: #333; /* Optional: Text color */
    margin-top: 1rem; /* Adds spacing above */
    margin-bottom: 1rem; /* Adds spacing below */
    line-height: 1.4; /* Improves line spacing */
}

/* Add these styles to your existing style.css */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #E86C2C;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content li {
    padding: 12px 16px;
    display: block;
}

.dropdown-content a {
    color: white;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li:hover {
    background-color: #d15b1f;
}

/* ensure dropdown items can show the underline too */
.dropdown-content a.active { border-bottom: 2px solid black; }

