:root {
  --primary-color: #013272;
  --accent-color: #a32300;
  --bg-color: #f4f8ff;
  --text-color: #024162;
  --rug-base: #f5f0e8;
  --rug-sand: #f0e6d4;
  --rug-clay: #eadfc8;
  --rug-earth: #e4d9c2;
  --rug-accent: #ded3bc;
  --max-width: 1200px;
  --header-height: 48px;
}

/* CSS Reset for better cross-browser consistency */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default list styling */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Remove default button styling */
button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background-color: #ffcf77;
  color: var(--text-color);
  line-height: 1.6;
  padding-top: var(--header-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

main {
  flex: 1; /* Ensure main content area expands to fill available space */
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.container1 {
  width: 100%;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 0;
  flex: 1; /* This will make the main content expand to fill available space */
}

.container2 {
  width: 80%;
  text-align: left;
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem 0;
  flex: 1; /* This will make the main content expand to fill available space */
}

.banner {
  background-image: url('/images/desert-river-sky.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  text-align: center;
  padding: 1rem;
  position: relative;
}


.banner1 {
  background-image: url('/images/canyon-spider-banner.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  text-align: center;
  padding: 1rem;
  position: relative;
}


.banner2 {
  background-image: url('/images/canyon-de-chelly.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Better mobile performance */
  width: 100vw;
  min-height: 150px;
  margin-left: calc(50% - 50vw);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.banner2 h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: white;
  margin-bottom: 0.5rem;
}

.banner2 h2 {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Responsive banner adjustments */
@media (max-width: 768px) {
  .banner2 {
    min-height: 120px;
    padding: 1rem 0.5rem;
  }
  
  .banner2 h1 {
    font-size: 1.5rem;
  }
  
  .banner2 h2 {
    font-size: 1.1rem;
  }
}

/* ==== GENERAL LINK STYLES ==== */
a {
  text-decoration: none;
  color: inherit;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

a:hover {
  color: #3CA0E7;
}


 


/* ==== IMAGE MODAL STYLES ==== */
.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.image-modal-content {
  position: relative;
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  transition: all 0.3s ease;
}

.image-modal-close:hover {
  color: #ccc;
  transform: scale(1.1);
}

.image-modal-caption {
  color: #fff;
  font-size: 18px;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  margin-top: 20px;
  max-width: 80%;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


*{text-decoration:none; list-style:none; margin:0px; padding:0px; outline:none;}
body{margin:0px; padding:0px; font-family: 'Open Sans', sans-serif;}
section{width:100%; max-width:1200px; margin:0px auto; display:table; position:relative;}
h1{margin:0px auto; display:table; font-size:26px; padding:40px 0px; color:#002e5b; text-align:center;}
h1 span{font-weight:500;}


/* Hide only the navigation menu checkbox, not all labels */
input[type=checkbox]#menu-toggle{display:none;}

.content{display:table; margin-bottom:60px; width:900px;}
.content h2{font-size:18px; font-weight:500; color:#002e5b; border-bottom:1px solid #fde428; display:table; padding-bottom:10px; margin-bottom:10px;}
.content p{font-size:14px; line-height:22px; color:#7c7c7c; text-align:justify;}


@media only screen and (max-width: 1440px) {
section{max-width:95%;}
}

@media only screen and (max-width: 980px) {
input[type=checkbox]#menu-toggle {position: absolute; top: -9999px; left: -9999px; background:none;}
input[type=checkbox]#menu-toggle:fous{background:none;}
label[for=menu-toggle] {float:right; padding:8px 0px; display:inline-block; cursor:pointer; }
input[type=checkbox]#menu-toggle:checked ~ nav {display:block;}
}

@media only screen and (max-width: 980px) {
.content{width:90%;}
}

@media only screen and (max-width: 568px) {
h1{padding:25px 0px;}
h1 span{display:block;}
}

@media only screen and (max-width: 480px) {
section {max-width: 90%;}
}

@media only screen and (max-width: 360px) {
h1{font-size:20px;}
label[for=menu-toggle]{padding:5px 0px;}
#logo{font-size: 20px;}
nav{top:47px;}
}

@media only screen and (max-width: 320px) {
h1 {padding: 20px 0px;}
}
