@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&family=Lato:wght@400;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap");


/* ------ Global Reset & Styles ------ */
* {
  padding: 0;
  box-sizing: border-box;
  }

/* Body Styles */
body {
  margin: 1% 10% 10% 10%;
  padding: 0 2%;
  background-color: #f9f9f9;
    font-family: 'Manhattan', serif; /* Body font */
    font-size: 18px; /* Size font design preference */
    line-height: 1.75; /* Improve user readability */
    letter-spacing: 0.5px; /* Spacing between letters */
    color: #333333; /* Elegant text color */
  }

  p {
    margin-bottom: 1.5em; /* Add spacing between paragraphs */
  }
h1, h2, h3 {
  font-family: 'Tall_font AG', serif; /* Visually distinct font headers */
  color: #333333; /* Accent color for headings */
  line-height: 1.1; /* Tighter spacing than body */
  margin-top: 0.8em;
  margin-bottom: 0.8em; /* Spacing from next element */
  text-align: center;
}

h1 {
  font-size: 1.5em; /* Large size for main heading */
  background: linear-gradient(75deg, black, white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Makes gradient fill text only */
}

h2 {
  font-size: 2em; /* Medium size for secondary headings */
}

h3 {
  font-size: 1.75em; /* Smaller size for tertiary headings */
}
.airbnb-link {
    color: #000;           /* black text */
    text-decoration: none; /* no underline */
}

.airbnb-link:hover {
    text-decoration: underline; /* optional */
}
.box input[type="text"],
.box textarea {
    font-family: inherit;
    font-size: 16px;
    padding: 10px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    line-height: 1.5;
    display: block; /* ensures both behave similarly */
}

textarea {
    resize: vertical; /* optional */
    min-height: 120px; /* consistent height */
}

/* ------ Header & Logo ------ */
.header {
  margin: 0 0 0 0;
  padding: 0;
}

.logo {
  font-family: "Tall_font AG", serif;
  font-size: 2em;
  font-stretch: extra-expanded;
  letter-spacing: 2px;
  text-transform: capitalize;
  line-height: 1.5;
  color: #333;
  text-align: center;
  margin: 0 auto;
  padding-top: 0;
  background: linear-gradient(75deg, black, white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Makes gradient fill text only */
}

/* Navbar */
.topnav {
  overflow: hidden;
  background-color: #333; /* Dark background for navbar */
  display: flex;
  justify-content: flex-start; /* Align boxes to the start of the navbar */
  align-items: center;
  }

.topnav a {
  flex: 0 0 10%;    /* Each link gets 10% of the navbar width */
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  float: left;
  color: #f2f2f2; /* Light text */
  text-decoration: none;
  font-size: large;
  padding: 10px 14px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}

/* Custom Hover Colors */
.topnav a:hover {
  color: white; /* Text changes to white on hover */
}

/* Home (index.html) - Hover Effect */
.topnav a[href="index.html"]:hover {
  background-color: #FADA7A; /* Vibrant orange-red */
}

/* Description (description.html) - Hover Effect */
.topnav a[href="description.html"]:hover {
  background-color: #81BFDA; /* Teal color */
}

/* Gallery (gallery.html) - Hover Effect */
.topnav a[href="gallery.html"]:hover {
  background-color: #AFD198; /* Deep teal-blue */
}

/* Contact (contact.php) - Hover Effect */
.topnav a[href="contact.php"]:hover {
  background-color: #FFAD84; /* Magenta-pink */
}

/* Active Styles for Current Page */
.topnav a.active {
  color: white; /* White text for active link */
}

.topnav a.active[href="index.html"] {
  background-color: #FADA7A; /* Active matches hover for Home */
}

.topnav a.active[href="description.html"] {
  background-color: #81BFDA; /* Active matches hover for Description */
}

.topnav a.active[href="gallery.html"] {
  background-color: #AFD198; /* Active matches hover for Gallery */
}

.topnav a.active[href="contact.php"] {
  background-color: #FFAD84; /* Active matches hover for Contact */
}


img {
  vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%; /* Makes it circular */
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
  z-index: 10; /* Ensure it appears above other elements */
  transition: background-color 0.3s ease;
}


/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.row:after {
  content: "";
  display: inline-table;
  clear: both;
}

/* Columns side by side */
.column {
  float: left;
  width: 100%;
  display: flex;
  flex-direction: row;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}
/* Grid layout for thumbnails below the slideshow */
.gallery-grid {
  display: grid; /* Enable CSS grid */
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Responsive grid columns */
  gap: 10px; /* Space between thumbnails */
  justify-items: center; /* Center items horizontally */
  margin-top: 20px; /* Add spacing above the grid */
}

.gallery-grid img {
  width: 100%; /* Make images fill their grid cell */
  max-width: 120px; /* Limit maximum size */
  height: auto; /* Maintain aspect ratio */
  border-radius: 4px; /* Optional: Add rounded corners */
  cursor: pointer; /* Use pointer cursor for thumbnails */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}

/* Add hover effects to the thumbnails */
.gallery-grid img:hover {
  transform: scale(1.1); /* Slight zoom-in effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}
/* Style for Alt Text Below Each Image */
.caption-container {
  display: block; /* Ensures text appears below the image */
  margin-top: 8px; /* Adds spacing between the image and the text */
  font-family: Arial, sans-serif; /* Custom font styles */
  font-size: 16px; /* Adjust the font size */
  color: #555; /* Text color */
  font-weight: 400; /* Regular font weight */
  text-align: center; /* Centers the text directly below each image */
}
.flex {
  display: flex;
  justify-content: inherit;
  align-items: left;
}

.commentbody{
  grid-column: 1/ span 3;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.commentcontainer{
 width: 80%;
 padding: 10px;
 background-color: white; 
}
.commentcontainer h2{
  color: black;
  font-size: x-large;
  text-align: left;
  margin-bottom: 10px;
}
.wrapper{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
  gap: 30px;margin-bottom: 30px;
}
.wrapper .box{
  width: 100%;
  position: relative;
  padding: 20px;
}
.wrapper .box input{
  width: 100%;
  font-size: 20px;
  background: transparent;
  border: none;
  outline: none;
  border-bottom: 1px solid rgb(42, 56, 56);
  transition: 0.5s linear;
}
.wrapper .box input:focus,
.wrapper .box input:valid{
  width: 20%;
  align-items: right;
  width: 100%;
  background: white;
  margin-top: 10px;

}
.wrapper .box label{
position: absolute;
top:0;
left:0;
color: black;
font-size: 18px;
padding: 20px;
transition: 0.5s linear;
}
.wrapper .box input:focus ~ label,
.wrapper .box input:valid ~ label{
  padding: 0;
}

.wrapper .box textarea{
  width: 100%;
  font-size: 20px;
  background: transparent;
  border: none;
  outline: none;
  border-bottom: 1px solid black;
  transition: 0.5s linear;
}

.wrapper .box textarea:focus,
.wrapper .box textarea:valid{
  padding: 20px 10px;
  background: white;
  margin-top: 10px;
}
.wrapper .box textarea:focus ~ label,
.wrapper .box textarea:valid ~ label{
    padding: 0;
}
.wrapper input[type="submit"]{
  grid-column: 3/ span 1;
  text-align: right;
  background: #f9f9f9;
  outline: black;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  width: 20%;
  margin-right: auto;
}
/* Mobile phones: max width 600px */
@media screen and (max-width: 600px) {
  body {
    margin: 2% 5%;
    font-size: 16px;
  }

  .wrapper {
    grid-template-columns: 1fr !important; /* Stack form inputs vertically */
    gap: 20px;
  }

  .wrapper input[type="submit"] {
    width: 100% !important;
    font-size: 18px;
    padding: 12px;
  }

  .topnav a {
    flex: none; /* Let links resize naturally */
    font-size: 14px;
  }

  .topnav a.icon {
    display: none;
  }

  .topnav.responsive a {
    display: block;
    text-align: left;
  }
}

  .prev,
  .next {
    top: 35%;
    font-size: 18px;
    padding: 12px;
  }
@media (orientation: portrait) {
  .prev, .next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    z-index: 9999;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 24px;
    color: white;
    user-select: none;
  }
  .prev {
    left: 10px;
  }
  .next {
    right: 10px;
  }
}

/* Responsive Navbar: Small Screens 
@media screen and (max-width: 600px) and (orientation: portrait) {
  .topnav a {
    display: none; /* Hide links initially on small screens 
    font-size: 14px;
  }

  .topnav a.icon {
    display: block; /* Show menu icon 
  }

  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive a {
    display: block; /* Display links as block for responsive dropdown 
    text-align: left; /* Left-aligned text 
    font-size: 14px;
  }
}

@media screen and (max-width: 600px) and (orientation: landscape) {
  /* Hide hamburger on landscape phones 
  .topnav .icon {
    display: none;
  }

  /* Optional: adjust nav link style 
  .topnav a {
    display: inline-block;
    font-size: 14px;
  }
}

/* @media screen and (max-width: 600px) {
  .topnav a {
    display: inline-block;
    font-size: 14px; /* Slightly smaller text on small screens 
    padding: 10px;
  }
}
*/

/* Tablets & Small Laptops: 601px to 900px */
@media screen and (min-width: 601px) and (max-width: 900px) {
  body {
    margin: 2% 8%;
    font-size: 17px;
  }

  .wrapper {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
  }

  .wrapper input[type="submit"] {
    width: 50%;
    font-size: 19px;
  }

  .topnav a {
    flex: 0 0 15%;
    font-size: medium;
  }
  
    .topnav a.icon {
    display: none;
  }
}

/* Larger screens: 901px and up */
@media screen and (min-width: 901px) {
  body {
    margin: 1% 10%;
    font-size: 18px;
  }

  .wrapper {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

  .wrapper input[type="submit"] {
    width: 20%;
    font-size: 20px;
  }

  .topnav a {
    flex: 0 0 10%;
    font-size: medium;
  }
  
    .topnav a.icon {
    display: none;
  }
}

/* Fix input and textarea focus width */
.wrapper .box input:focus,
.wrapper .box input:valid,
.wrapper .box textarea:focus,
.wrapper .box textarea:valid {
  width: 100%;
  background: white;
  margin-top: 10px;
}
