
/*--------------------Body Element for all pages-----------------------*/
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    }

/*--------------------Header Element for all pages-----------------------*/
header {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 0;
    background-color: #333;
    color: white;
    border-bottom: 1px solid #ddd; 
}

header h1 {
    margin-bottom: 0;
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 50px;
}

/*--------------------Navigation for all pages-------------------------*/
header .navmain ul {
    list-style-type: none;
    background-color: #333;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

header .navmain a {
    color: white;
    text-decoration: none;
    padding: 15px;
    display: block;
    text-align: center;
    font-size: 1.3em;
}

header .navmain li{
    float: right;
}

/*--------------------------Homepage Image-------------------------------*/
#homehero {
    height: 500px;
    background-image: url(sunset.jpg);
    background-size:100% 100%;
    background-repeat: no-repeat;
}

/*---------------------Main Element for All Pages-------------------------*/
main {
	background-color: #FFFFFF;
	padding: 1px 20px 20px 30px;
	display: block;
	overflow: auto;
	margin: 20px;
}

/*--------------------Footer Element For All Pages------------------------*/
footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 1em;
}

footer ul {
    display: flex;
    justify-content: center;
    gap: 4.5em;
    list-style: none;
    padding: 0;
    margin: 0;
}

footer a {
    color: white;
    text-decoration: none;
}

/*--------------Footer Navigation For All Region Pages------------------*/
footer.navst ul {
    list-style-type: none;
    background-color: #333;
    padding: 0;
    margin: 0;
    overflow: hidden;
    justify-content: center;
    gap: 1em;
}

footer .navst a {
    color: white;
    text-decoration: none;
    padding: 0px;
    display: block;
    text-align: center;
    font-size: 1.3em;
}    

footer .navst li{
    float: center;
}

footer p {
    margin-top: 1em; 
    font-size: 1em; 
}
    
/*-------------------Header 2 Element For All Pages----------------------*/
h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 275%;
}

/*--------------------Itineraries Page Container Class--------------------*/
.container {
    position: relative;
    max-width: 1224px;
    width: 90%;
    margin: auto;
    padding: 20px;
}

/*--------------------Itineraries Page Galleries-------------------------*/
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 1px; 
}

.image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.image img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
    opacity: 0;
    transition: opacity 1s ease;
    text-align: center;
    font-size: 1.875em;
    padding: 10px;
}

.image:hover img {
    transform: scale(1.1); 
}

.image:hover .overlay {
    opacity: 1;
}
/*---------------------Tables for Region Pages--------------------------*/
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

table th, table td {
    border: 1px solid #333;
    padding: 0.8em;
    text-align: center;
}

table th {
    background-color: #333;
    color:white;
    border: 1px solid white;
}

/*----------------------------Maps-----------------------------------------*/
.nwbmap, .nwluxmap {
    text-align: center;
    margin-top: 1em;
}

.nwbmap img, .nwluxmap img {
    max-width: 75%;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/*------------------------Regions Paragraphs-----------------------------*/
.descparagraph {
    display: flex;
    gap: 20px; 
    margin: 20px;
}

.desctext {
    flex: 3; 
    text-align: justify;
    font-size: 1.25em;
}

/*------------------------Budget Images-----------------------------------*/
.nwbudgetimages {
    flex: 2; 
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

.nwbudgetimages img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; 
    border: 1px solid #ddd; 
}

.nwbudgetimages figcaption {
    position: relative;
    left: -50px;
    text-align: center;
    font-size: 1em;
    margin-top: 5px; 
    color: #555;
}

/*------------------------Luxury Images-----------------------------------*/
.nwluximages {
    flex: 2; 
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

.nwluximages img {
    max-width: 100%; 
    height:auto;
    border-radius: 8px; 
    border: 1px solid #ddd; 
}

.nwluximages figcaption {
    text-align: center;
    font-size: 1em;
    position: relative;
    left: -50px;
    margin-top: 5px; 
    color: #555;
}

/*------------------------Video for Travel Tips Page-----------------------*/
.videoContainer {
    display: flex;
    justify-content: center;
    margin: 20px 0; 
}

/*------------------------Form for Submit Page-----------------------------*/
form {
    background-color: #EAEAEA;
    margin-left: 550px;
	margin-right: 550px;
	margin-top:20px;
	margin-bottom:20px;
	padding:10px;
	
}

input, textarea {
    display: block;
	margin-top: 1em;
	width:400px;
}

label {
    float: left;
    clear: left;
    display: block;
    padding-right: 10px;
    margin-top: 1em;
    text-align: left;
    width: 150px;
}

/*------------------------Responsiveness-Smaller Window--------------------*/
@media (max-width: 768px) {
header {
    flex-direction: column;
    align-items: center;
}

header .navmain ul {
    flex-direction: column;
    gap: 5px;
}

.descparagraph {
    flex-direction: column;
}

.nwbmap img, .nwluxmap img {
    height: auto;
}
}

/*------------------------Responsive-Mobile View----------------------------*/
@media (max-width: 600px) {
    
body{
    padding: 1em;
}
    
#homehero {
    height: 300px; 
    background-size: cover; 
}

.content main {
    display: flex;
    flex-direction: column; 
    gap: 1em; 
}

.content main img {
    width: 100%; 
    height: auto;
}

.gallery {
    display: flex;
    flex-direction: column; 
    gap: 1em; 
}

.gallery .image {
    width: 100%; 
}

.gallery img {
    width: 100%; 
    height: auto; 
}

.descparagraph {
    flex-direction: column;
}

.nwbmap img, .nwluxmap img {
    height: auto;
}

header h1 {
    font-size: 1.2em;
}

header .navmain a {
    font-size: 0.9em;
    padding: 8px;
}

table th, table td {
    font-size: 0.7em;
}

footer ul {
    flex-direction: column;
    gap: 5px;
}

form {
    margin: 10px;
    max-width:100%;
}


input, textarea {
    width:100%;
    max-width: none;
}

label{
    text-align: left;
}

}