@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Kanit:200,300,500');

body {
	background-color: #e2e2e2;
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	font-weight: 200;
}

text {
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	font-weight: 200;
}

ul {
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	font-weight: 200;
}

p {
	line-height: 140%;
}

header {
	background-color: #000;
    padding-top: 10px;
	padding-right: 10px;
    position: relative;
	text-align: right;
}

/* Search Bar */
header .search-container {
    position: absolute;
    top: 50%;
    right: 10px;
}

input[type="text"] {
    padding: 10px;
    width: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: #ccc;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #ccc;
}

/* contact form */

.contactForm {
    max-width: 600px;
    margin: 50px auto; 
    padding: 20px; 
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

form {
    margin-top: 20px;
	align-content: center;
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	font-weight: 200;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    padding: 10px;
    width: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type="submit"] {
    width: 200px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #000;
	color: white;
    cursor: pointer;
}

/* nav bar */
nav {
	background-color: #000;
	color: #fff;
	width: 100%;
	text-align: center;
	font-size: 16px;
	font-weight: 300;
}


nav a {
	padding: 10px 30px 5px;
}

#wrapper {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	background-color: #e2e2e2;
}

.grey-box {
	max-width: 100%;
	margin: 0 auto;
	background-color: #e2e2e2;
	padding: 80px 200px;
}

.grey-box p {
	font-size: 18px;
	line-height: 200%;
}

h1 {
	font-size: 28px;
	font-weight: 500;
	border-bottom: 1px solid #c2c2c2;
	margin-bottom: 14px;
}

h2 {
	font-weight:500;
	font-size: 60px;
	color: #fff;
	width: 100%;
	text-align: center;
	position: absolute;
	left: 0;
	bottom: 40%;
}

#lodge{
  	background-image: url("images/luxury-log-home.jpg");
	min-height: 500px;
}

#kakabeka{
  	background-image: url("images/cottages/lakeside/kakabeka.jpg");
	min-height: 500px;
}

#whitepine{
  	background-image: url("images/cottages/woods/white-pine.jpg");
	min-height: 500px;
}

#splitrock{
  	background-image: url("images/cottages/lakeside/split-rock.jpg");
	min-height: 500px;
}

#tetego{
  	background-image: url("images/cottages/lakeside/tettegouche.jpg");
	min-height: 500px;
}


#lodge, #kakabeka, #whitepine, #splitrock, #tetego {
	min-height: 400px; 
  	background-position: center;
	position: relative;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

footer {
	background-color: #000;
	color: #fff;
	font-size: 13px;
	text-align:center;
	padding: 20px;
}

.navbar {
  overflow: hidden;
  font-weight: normal;
  display: flex;
  align-items: center;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 18px 16px;
  text-decoration: none;
  font-weight: normal;
}

.dropdown {
  float: left;
  overflow: hidden;
  font-weight: normal;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
	font-weight: normal;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: gray;
	font-weight: normal;
}

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

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
	font-weight: normal;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

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

.container {
  position: relative;
  width: 50%;
  flex: 50%;
  padding: 10px;
}

.image {
  opacity: 1;
	width:200%;
	height:200%;
	object-fit:cover;
  display: block;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .middle {
  opacity: 1;
}

.flexcontainer {
	display: flex;
	flex-direction: row;
}

.feature-box {
	position: relative;
	width: 30%;
	background-color: white;
	padding: 20px;
	margin-left: 120px;
	border-radius: 10px;
	box-shadow: 5px 5px 5px gray;
}

.feature-box2 {
	position: relative;
	width: 60%;
	background-color: white;
	padding: 20px;
	margin-left: 100px;
	border-radius: 10px;
	box-shadow: 5px 5px 5px gray;
}

.form {
	width: 500px;
	clear: both;
	font-size: 16px;
}

label {
	font-size: 16px;
}

.form input {
	width: 100%;
	clear: both;
	font-size: 16px;
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* Accomdations PHP CSS */

.accommodation-box {
    max-width: 1000px;
    margin: 50px auto; 
    padding: 20px; 
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.accommodation-details {
	max-width: 600px;
	margin: 20px auto;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	font-weight: 200;
}

.accommodation-details h3{
	font-size: 20px;
	font-family: 'Kanit', sans-serif;
	font-weight: 200;
	font-weight: 400;
}


.accommodation-img {
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
}

.accommodation-img img {
    display: block;
    margin: 0 auto;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Media Queries */

@media screen and (max-width: 1080px) {
    .grey-box {
        padding: 80px 5%;
    }

    .feature-box,
    .feature-box2 {
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }
	
	header {
      background-color: #000;
      padding-top: 10px;
      padding-right: 10px;
      position: relative;
      text-align: center;
	}
}

@media screen and (max-width: 480px) {
    .grey-box {
        padding: 40px 5%;
    }

    .feature-box,
    .feature-box2 {
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 30px;
        bottom: 30%;
    }

    /* Adjusting navbar styles */
    .navbar {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar a {
        float: none;
        text-align: center;
    }

    .dropdown {
        float: none;
    }

	.dropdown-content {
        position: relative; 
        display: block; 
        max-height: none; 
        overflow: visible; 
    }
	
	header {
      background-color: #000;
      padding-top: 10px;
      padding-right: 10px;
      position: relative;
      text-align: center;
	}
}
