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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ececec;
    color: #000000;
    line-height: 1.6;
}

h1 {
	font-family: Garamond;
	font-size: 60px;
}

h2 {
	font-family: Garamond;
	font-size: 28px;
}

h3 {
	font-family: Garamond;
	font-size: 30px;
	border-bottom: 2px solid #75cde2;
    margin-bottom: 15px;
}


h4 {
	font-family: Garamond;
	font-size: 25px;
	margin-top: 15px;
}

h5 {
	font-family: Garamond;
	font-size: 20px;
	text-align:center;
	margin-top: 10px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a:-webkit-any-link {
    color: #a5aab0;
}

/* Header & Footer: Black */
header, footer {
    background-color: #424242;
    color: white;
    padding: 2rem 0;
    text-align: center;
	border-top: 10px solid #75cde2;
}

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

header h2 {
	color: #b4b4b4;
}


/* Main Content Section */
main {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

section {
    margin-bottom: 40px;
}



.ruins-background-crop {
    height: 250px;
    background-image: url(resources/ruins-bonito.jpg);
    background-size: cover;
    background-position: center;
    margin-top: -60px;
    margin-bottom: 20px;
}

.ruins2-background-crop {
height: 380px;
    background-image: url(resources/DSC_0626.jpg);
    background-size: cover;
    background-position: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.callout-container {
    overflow: auto;
    background-color: #856433;
    padding: 25px;
    border-radius: 15px;
    color: white;
}

.twocolumn-container {
	margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Pushes items to far left and right */
    gap: 20px; /* Optional: adds space between the two columns */
}

.left-col, .right-col {
    flex: 1; /* Optional: makes both columns equal width */
}


/* Gallery Grid */
.gallery-grid,  .gallery-grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.img-caption {
	align-content: end;
	padding-top: 10px;
    padding-bottom: 20px;
}

.img-caption-centered {
	align-content: end;
	padding: 10px 100px 20px; 
}

.img-caption-centered img {
	height: 225px;
	margin-top: 15px;
}

.centered {
	margin: 15px auto;
    display: block;
}

.left {
	margin: 10px 30px 10px 0;
	float: left; /* This is the key property */
}

.right {
	margin: 10px;
	float: right; /* This is the key property */
}

.reference-caption {
	text-align: center;
    font-style: italic;
}
	

.gallery-grid-high img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    border: 2px solid #444;
	margin: 20px 0;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    border: 2px solid #444;
}

.gallery-grid2 img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    border: 2px solid #444;
	margin: 20px 0;
}

.gallery-grid img:hover, .gallery-grid2 img:hover, .gallery-grid-high img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
    border-color: #888;
}

/* Footer */
footer {
    margin-top: 40px;
    font-size: 0.9rem;
}

.footer-container {
	max-width: 800px;
	margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Pushes items to far left and right */
    gap: 20px; /* Optional: adds space between the two columns */
}

.left-footer, .right-footer {
    flex: 1; /* Optional: makes both columns equal width */
}