
/* style.css */

/* Global Styles */
body {
    margin: 0;
    font-family: Garamond, serif;   
    color: #777;
}

.header {
    text-align: center;
    padding: 32px;
}

.row {
    display: -ms-flexbox; /* IE 10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE 10 */
    flex-wrap: wrap;
    padding: 0 20px;
}

/* Create four equal columns that sit next to each other */
.column {
    -ms-flex: 25%; /* IE 10 */
    flex: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
}

/* Style the buttons */
.btn {
    border: none;
    outline: none;
    padding: 10px 16px;
    background-color: #f1f1f1;
    cursor: pointer;
    font-size: 18px;
}

.btn:hover {
    background-color: #ddd;
}

.btn.active {
    background-color: #666;
    color: white;
}

.container {
    padding: 5px 5px;
}

a {
    color: #00bcd4;
    text-decoration: none;
}

h1 {
    margin: 10px 0 30px 0;
    letter-spacing: 10px; 
    font-family: Garamond, serif;
    font-size: 20px;
    color: white;
}

h2 {
    margin: 10px 0 10px 0;
    padding: 5px 0 5px 0;
    letter-spacing: 10px;  
    font-family: Garamond, serif;   
    font-size: 40px;
    color: blue;
    text-align: center;
}

h3 {
    margin: 5px 0 5px 0;
    letter-spacing: 8px; 
    font-family: Garamond, serif;    
    font-size: 16px;
    color: blue;
}

h4 {
    margin: 10px 0 30px 0;
    letter-spacing: 10px;     
    font-family: Garamond, serif;     
    font-size: 20px;
    color: white;
}

/* Container settings */
.container {
    position: relative;
    width: 100%;
    max-width: 3600px;
}

.container img {
    width: 100%;
    height: auto;
    padding: 3px 3px; 
}

.container .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: rgba(4, 170, 109, 0.6);
    color: white;
    font-size: 12px;
    padding: 6px 25px;
    border: 1px solid white;
    cursor: pointer;
    border-radius: 3px;
    text-align: center;
}

.container .btn:hover {
    background-color: rgba(4, 170, 109, 0.9);
    color: white;
}

/* Footer settings */
footer {
    background-color: #2d2d30;
    color: #f5f5f5;
    padding: 10px;
}

footer a {
    color: #f5f5f5;
}

footer a:hover {
    color: #777;
    text-decoration: none;
}

.form-control {
    border-radius: 0;
}

textarea {
    resize: none;
}

/* Separate (Style) */
* {
    box-sizing: border-box;
}

img {
    margin-bottom: 5px;
}

/* ============================================================
	City/State Page Styles (Scoped)
============================================================ */

/* Fade-in/out for page transitions */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}
body.loaded {
    opacity: 1;
}
body.fade-out {
    opacity: 0;
}

/* Scoped styles for city/state pages */
.city-page h2 {
    text-align: center;
    margin: 40px 0 30px;
    font-family: Garamond, serif;
    font-size: 40px;
    letter-spacing: 8px;
    color: blue;
}

/* City tile container */
.city-page .city-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0;
}

/* City image — raised effect */
.city-page .city-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.05);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: filter 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover effect */
.city-page .city-container:hover img {
    filter: brightness(1.05);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* City button */
.city-page .city-container .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(4, 170, 109, 0.6);
    color: white;
    font-size: 14px;
    padding: 8px 28px;
    border: 1px solid white;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Button hover */
.city-page .city-container .btn:hover {
    background-color: rgba(4, 170, 109, 1);
    color: white;
    box-shadow: 0 0 12px rgba(4, 170, 109, 0.75);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Optional animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
