/* Overlay Content */
.overlay-content {
    position: absolute;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    width: 100vw; /* Ensure full width for centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center both horizontally and vertically */
    box-sizing: border-box;
  }



/* Video Background Section */
.overlay-content,
.image-header-container,
.video-background-frame,
.video-background-wrapper {
    height: 25vh !important;
  }


/* Video Background Section */
.video-background-wrapper {
    position: absolute;
    width: 100vw; /* Ensure full width for centering */
    overflow: hidden;
  }
  
.video-background-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* Ensure full width for centering */
    object-fit: cover;
    z-index: -1;
  }

body {
  color: none; /* Set global text color to white */
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
  text-decoration: none; /* Removes underline from links */
}

.loose-text {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  width: 100%;
  color: #333;
}

.loose-text h5 {
  color: gray;
  text-align: center;
  margin: 10px;
}

.main-heading {
  font-size: 24px;
  margin: 10px 0;
  text-align: center;
  font-weight: 500; /* Thin weight for headings */
  background: none; /* Ensure no background color */
  z-index: 1000;
}


/* HEADER */
h1, h2, p {
  margin: 10px auto;
  padding: 0;
  overflow: hidden; /* or auto */
  text-align: center; /* Center align  text */
  overflow-wrap: break-word;
  font-weight: 300; /* Consistent font-weight */
}



.selling-page-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 10; /* Ensure it's above other page elements */
    display: flex;
    justify-content: center; /* Center the menu horizontally */
  }


/* Image/Video Background Container */
.image-header-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  margin: 0;
  display: flex;
  align-items: center; /* Vertically center content */
  justify-content: center; /* Center horizontally */
}


.hidden {
  opacity: 0; /* Make it invisible */
  pointer-events: none; /* Prevent it from blocking interactions */
  display: none; /* Hides the element */}



/* Mobile view for screens up to 768px wide */
@media screen and (max-width: 768px) {
    .search-container {
      display: flex;
      align-items: center;
  }
  
  .search-container input {
      flex-grow: 1;
      margin-right: 10px;
  }
  
  .image-header-container {
    height: 100vh; /* Use viewport height for portrait mode */

  }


  .button-link {
    width: 200px; /* Fixed width for buttons */
    height: 50px;
    font-size: 14px;
  }

  .custom-column {
    flex: 1 1 100%; /* Each column takes 100% of width */
    max-width: 100%; /* Ensure each column does not exceed 100% width */
  }
  
  .button-link {
    border: 1px solid #ffffff;
  }

    
}


/* Contact Form Styles */

.contact-form-container {
    width: 50vw;
    margin: 40px auto; /* Adds space around the form and centers it horizontally */
    padding: 40px;
    padding-bottom: 50px;
    background: #f9f9f9; /* Light background color for the form */
    border-radius: 8px; /* Rounded corners for the form container */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visibility */
}

/* Heding inside the form */
.contact-form-container h1 {
    font-size: 24px;
    margin-bottom: 35px;
    color: #333; /* Darker color for the  */
}


/* Form Group Styling */
.form-group {
    margin-bottom: 15px;
    text-align: center; 
}

/* Label Styling */
.form-group label {
    display: block;
    font-weight: 600; /* Bold labels for better readability */
    margin-bottom: 5px;
    
    
    color: #555; /* Darker color for labels */
}

/* Input and Textarea Styling */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd; /* Light border color */
    border-radius: 4px; /* Slightly rounded corners for input fields */
    box-sizing: border-box; /* Ensures padding and border are included in the total width */
    font-size: 16px;
}

textarea {
    text-align: center;
    resize: vertical;
    font-size: 14px !important;  
    text-align: center;     
    justify-content: center; 
    font-family: Arial, sans-serif; 
    color: rgb(185, 185, 185);
    }

textarea::placeholder {
    text-align: center;
    justify-content: center;
    font-size: 14px !important;
    color: rgb(185, 185, 185);
}

/* Textarea Styling */
.form-group textarea {
    resize: vertical; /* Allows vertical resizing only */
}

/* Submit Button Styling */
button[type="submit"] {
    background-color: #78909c; /* Primary button color */
    color: white; /* Text color for the button */
    border: none;
    padding: 10px 20px;
    border-radius: 4px; /* Rounded corners for the button */
    font-size: 16px;
    cursor: pointer; /* Pointer cursor on hover */
    display: block; /* Ensure the button is a block element */
    margin: 20px auto; /* Center the button horizontally with margin around it */
}

/* Hover Effect for Submit Button */
button[type="submit"]:hover {
    background-color: #78909ca0; /* Darker shade on hover */
}

/* Media Query for Centering Text on Screens 1000px or Smaller */

@media screen and (max-width: 1000px) {

  

    .form-group label {
        text-align: center; /* Center labels inside the form group */
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group textarea {
        display: inline-block; /* Make inputs and textarea inline-block for centering */
        text-align: center; /* Center text inside the input fields */
    }

    button[type="submit"] {
        display: block; /* Ensure the button is a block element */
        margin: 20px auto; /* Center the button horizontally */
    }
}


/* Portrait mode for very small screens (e.g., Galaxy Fold front thin screen) */
@media screen and (max-width: 500px) and (orientation: portrait) {
    .search-container {
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }

    .search-container input,
    .search-container button {
        width: 100%;
        margin-bottom: 10px;
    }

    .search-container button {
        margin-bottom: 0;
    }



    .contact-form-container {
        width: 65vw;
    }
    
    .image-header-container {
        height: 100vh; /* Use viewport height for portrait mode */
        width: 100vw; /* Use viewport height for portrait mode */
    
    }

    /* Input and Textarea Styling */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd; /* Light border color */
        border-radius: 4px; /* Slightly rounded corners for input fields */
        box-sizing: border-box; /* Ensures padding and border are included in the total width */
        font-size: 14px;
    }

    textarea{
        font-size: 10px;          
    }

    textarea::placeholder {
        font-size: 10px;          
    }

}

.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  border-radius: 12px;
  margin: 0 auto;
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  font-size: 14px;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background-color: #78909cbc;
  color: white;
}

.btn-primary:hover {
  background-color: #78909c;
}

.btn-icon {
  font-size: 1.2em;
}

.auth-subtitle {
  color: #6c757d;
  font-style: italic;
  margin-top: 10px;
}




.extensive-search-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 20px 0;
  width: 100%;
}

#toggle-extensive-search {
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #78909c;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#toggle-extensive-search:hover {
  background-color: #78909c;
}
#extensive-search-container {
  display: none;
  transition: all 0.3s ease;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 960px;
}
#extensive-search-container.visible {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  max-height: 500px;
}
#extensive-search-container iframe {
  max-width: 100%;
  width: 960px;
  height: 300px;
}

