body {
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
}

header h3 {
  margin-top: 5px;
}

.container {
  width: 100%;
  max-width: 500px;
  text-align: center;
  margin-top: 10px; 
}

/* Form Layout */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.form-inputs {
  display: flex;
  gap: 15px; /* Space between the input fields */
  margin: 0 auto;
}

.form-inputs input[type="text"],
.form-inputs input[type="number"] {
  width: 100%;
  padding: 10px;
  font-size: 1.0em;
  border: 1px solid #999;
  border-radius: 5px;
  margin-bottom: 5px;
}

input#days {
  width: 130px; 
}

input#destination {
  width: 250px; 
}

button {
  width: 70%;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  margin: 0 auto;
}

button:hover {
  background-color: #0056b3;
}

#itineraryResult {
  margin-top: 20px;
  margin-bottom: 2%;
  text-align: left;
  padding: 0px 15px;
  border: none;
  border-radius: 5px;
  background-color: #f9f9f9;
  display: none; 
}

#itineraryResult span {
  color: #808080;
  font-weight: bold;
  font-size: 0.9em;
}

#contate {
  margin-bottom: 2%;
  color: #808080;
  font-size: 0.9em;
}

#contate a {
  color: inherit; 
  text-decoration: underline;
}

.icon-button:hover svg {
    fill: #0056b3;         
}

#loading {
  margin: 10px auto 0 auto;
  width: 90%;
}

/* Progress Bar Container */
.progress {
  display: flex;
  height: 5px;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  width: 80%;
  margin: 0 auto;
}

/* Progress Bar */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0%; 
  color: white; 
  background-color: #007bff;
  transition: width 0.6s ease;
}

/* Styling the social icons container */
.gotripps-social-icons {
  text-align: center; /* Center the icons horizontally */
  margin-top: 20px; /* Add space above the icons */
}

/* Styling the links inside the social-icons div */
.gotripps-social-icons a {
  margin: 0 6px; /* Add horizontal spacing between icons */
  display: inline-block; /* Ensure the icons remain in a row */
  transition: transform 0.3s ease, opacity 0.3s ease; /* Add hover effects */
}

/* Styling the images inside the social-icons div */
.gotripps-social-icons img {
  width: 28px; /* Icon width */
  height: 28px; /* Icon height */
}

/* Hover effect for the links */
.gotripps-social-icons a:hover {
  transform: scale(1.1); /* Slight zoom effect */
  opacity: 0.8; /* Slightly fade the icons */
}


.contact-form {
  width: 100%;
  max-width: 500px; 
  margin: 0 auto; 
  padding: 0 20px; 
  text-align: center; 
  box-sizing: border-box;
}

.contact-form span {
  display: block;
  margin: 5px 0;
  color: #808080;
  font-size: 1.1em;
  text-align: center;
}

.contact-form * {
  border: none;
  outline: none;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  color: #808080;
}

.contact-form input,
.contact-form textarea {
  width: 100%; 
  padding: 10px; 
  font-size: 1.0em;  
  border: 1px solid #999;
  border-radius: 5px; 
  box-sizing: border-box; 
  margin-bottom: 15px; 
}

/* Textarea field styling */
.contact-form textarea {
  font-family: Arial, sans-serif;
  height: 100px; 
  resize: vertical; 
}

/* Submit Button */
.contact-form button {
  width: 70%;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  margin: 0 auto;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.contact-form h3 {
  margin-top: 5%;
  margin-bottom: 10%;
}

#desktop-ad {
  margin: 2rem auto; /* Horizontally center the div */
}

#desktop-ad img {
  max-width: 100%; /* Ensures the image never exceeds the container width */
  max-height: 100%; /* Maintains proportional height */
  width: 250px; /* Default width for desktop */
  height: auto; /* Keeps the aspect ratio */
}

#desktop-ad span {
  color: #808080;
  font-size: 0.5rem;
  display: block; /* Ensure it behaves like a block element */
  text-align: left; /* Align text to the left */
  margin-left: 8rem;
}  

/* Categories Container */
.categories-container {
  max-width: 350px;
  margin: 15px auto;
  padding: 0 10px;
}

/* Title Styling */
.categories-title {
  font-size: 18px;
  font-weight: bold;
  color: #808080;
  margin-bottom: 15px;
  text-align: left; /* Aligns the title to the left */
}

/* Categories Grid - 2 Columns */
.categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* Category Box Styling */
.category-box {
    display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  background: transparent;
  border-width: var(--category-border-width, 2px); /* Change thickness here */
  border-style: solid;
  box-sizing: border-box;
  transition: 
    box-shadow 0.2s,
    transform 0.09s,
    background 0.1s;
  /* Remove shadow by default */
  box-shadow: none;
}

/* Category Icons */
.category-box img {
  width: 40px;
  height: 40px;
  filter: none; /* Remove grayscale or color filters if any */
}

/* Category Icon and Text Coloring */
.category-box img {
  width: 40px;
  height: 40px;
  filter: none; /* Remove grayscale or color filters if any */
}

/* Green Button */
.border-green {
  border-color: #43a047;
  color: #43a047;
}
.border-green img { filter: none; }

/* Orange Button */
.border-orange {
  border-color: #fb8c00;
  color: #fb8c00;
}
.border-orange img { filter: none; }

/* Blue Button */
.border-blue {
  border-color: #1e88e5;
  color: #1e88e5;
}
.border-blue img { filter: none; }

/* Red Button */
.border-red {
  border-color: #e53935;
  color: #e53935;
}
.border-red img { filter: none; }

/* PRESSED EFFECT: Button is "pressed in" when active (mouse/tap) */
.category-box:active {
  background: #f2f2f2;
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(0,0,0,0.09) inset;
}

/* Adjust border thickness here */
:root {
  --category-border-width: 2px; /* Change this value for all at once */
}

/* OPTIONAL: Add slight hover effect for desktop */
/* First, ensure category-box span inherits the color by default */
.category-box.border-green span { color: #43a047; }
.category-box.border-orange span { color: #fb8c00; }
.category-box.border-blue span { color: #1e88e5; }
.category-box.border-red span { color: #e53935; }

/* On hover, only the span (text) color changes to a darker shade */
.category-box.border-green:hover span,
.category-box.border-green:active span { color: #357a38; }

.category-box.border-orange:hover span,
.category-box.border-orange:active span { color: #cf7100; }

.category-box.border-blue:hover span,
.category-box.border-blue:active span { color: #155a99; }

.category-box.border-red:hover span,
.category-box.border-red:active span { color: #ab2327; }

/* Gradient Colors */
.green { background: linear-gradient(135deg, #66bb6a, #43a047); }
.orange { background: linear-gradient(135deg, #ffa726, #fb8c00); }
.blue { background: linear-gradient(135deg, #42a5f5, #1e88e5); }
.red { background: linear-gradient(135deg, #ef5350, #e53935); }

/* Gradient Colors Alt
.green { background: linear-gradient(135deg, #19f723, #43a047); }
.orange { background: linear-gradient(135deg, #f2e702, #fb8c00); }
.blue { background: linear-gradient(135deg, #57b4ff, #085ea8); }
.red { background: linear-gradient(135deg, #fc605d, #db0804); } */


/*************************** Responsive Styles **********************/

@media (max-width: 480px) {

  .container {
    padding: 10px;
    width: 90%;
  }

   .header img {
    width: 90%; /* Set width to 90% of container */
    height: auto; /* Maintain aspect ratio */
  }

  .header h3 {
    font-size: 1.25em;
    width: 80%;
    margin: 5px auto;
  }

  /* Keep form inputs side by side */
  .form-inputs {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  input#destination {
    width: 65%;
    font-size: 1.2em;
    border: 1px solid #999;
  }

  input#days {
    width: 35%;
    font-size: 1.2em;
    border: 1px solid #999;
  }

  input::placeholder {
  font-size: 1.03em;
}

  button {
    width: 70%;  
  }

  #itineraryResult {
    padding-top: 5px;
    font-size: 1.2em;
    line-height: 1.4;
  }

  .icon-container svg {
    width: 25px; /* Adjust as needed */
    height: 25px; /* Adjust as needed */
  }

   .contact-form {
    padding: 0 10px; /* Reduce padding on very small screens */
  }

  .contact-form span { 
    font-size: 1.15em;
  }

  .contact-form input,
  .contact-form textarea { 
    font-size: 1.2em;
  }

  .contact-form label {
    font-size: 1.1em;
  }

  .contact-form button {
    font-weight: bold;
  }

  #desktop-ad img {
    width: 55%; /* Scale down for smaller screens */
    max-width: 250px; /* Prevents it from being larger than 300px on any device */
  }

  #desktop-ad span {
  color: #808080;
  font-size: 0.5rem;
  display: block; /* Ensure it behaves like a block element */
  text-align: left; /* Align text to the left */
  margin-left: 5rem;
} 
  
}

/****************************************************************/

@media (min-width: 481px) and (max-width: 853px) {
  
  .header img {
    width: 70%; 
    height: auto; 
  }

  .header h3 {
    font-size: 1.25em;
  }

  #itineraryResult {
    font-size: 1.2em;
    line-height: 1.3;
    padding-top: 5px;
  }

  .form-inputs {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  input#destination {
    flex: 1 1 65%;
    font-size: 1.2em;
    border: 1px solid #999;
  }

  input#days {
    flex: 1 1 30%;
    font-size: 1.2em;
    border: 1px solid #999;
  }

  input::placeholder {
  font-size: 1.05em;
  }

  button {
    width: 60%;
  }

   .icon-container svg {
    width: 27px; /* Adjust as needed */
    height: 27px; /* Adjust as needed */
  }

  .contact-form span { 
    font-size: 1.15em;
  }

  .contact-form input,
  .contact-form textarea { 
    font-size: 1.2em;
  }

  .contact-form label {
    font-size: 1.1em;
  }

  .contact-form button {
    font-weight: bold;
  }

  #contate {
  font-size: 0.6em;
}

 #desktop-ad img {
    width: 45%; /* Scale down for smaller screens */
    max-width: 250px; /* Prevents it from being larger than 300px on any device */
  }

  #desktop-ad span {
  color: #808080;
  font-size: 0.5rem;
  display: block; /* Ensure it behaves like a block element */
  text-align: left; /* Align text to the left */
  margin-left: 8.7rem;
} 

}