/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

#success-message {
  position: absolute;
  top: 10px; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  background: green;
  color: white;
  padding: 10px;
  border-radius: 5px;
  z-index: 1000; /* Ensure it appears above other elements */
}

#success-message {
  transition: opacity 0.5s ease-in-out;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111;
}

/* Navbar Container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2d2d2d;
  padding: 10px 40px;
}

/* Logo Styling */
/* .logo {
  display: flex;
  align-items: center;
} */

.logo-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.logo a {
  text-decoration: none;
  color: gold;
  font-size: 22px;
  font-weight: bold;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-img {
  width: 40px; /* Adjust size as per requirement */
  height: auto;
  margin-right: 10px; /* Space between logo and text */
}

.logo a {
  color: #ffd700;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 50%;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: bold;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #5c4033;
}

.nav-links a.active {
  color: white;
  border-bottom: 2px solid #5c4033;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Fullscreen Carousel */

.carousel {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 165%;
  object-fit: cover;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  z-index: 10;
}

button.prev {
  left: 20px;
}

button.next {
  right: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #0d0d0d;
  color: #333;
}

.contact-section {
  padding: 40px 20px;
  text-align: center;
}

.contact-section h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #ffd700;
}

.contact-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
  background-color: #faf0dc;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
  flex: 1;
  min-width: 250px;
  margin-right: 20px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  margin: 53px 0;
  font-size: 16px;
}

.contact-info span {
  margin-right: 10px;
}

.contact-form {
  flex: 1;
  min-width: 250px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin: 10px 0 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact-form button {
  background-color: #ffd700;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.contact-form button:hover {
  background-color: #5c4033;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

/* Styling for phone number input */
#phone {
  width: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s ease-in-out;
}

/* Highlight input when focused */
#phone:focus {
  border-color: black;
}

/* Error message styling */
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  font-weight: bold;
}

/* Add red border when there is an error */
#phone.error {
  border-color: red;
}

/* Add spacing between the message box and the button */
#message {
  margin-bottom: 20px; /* Adds space below the message box */
}

/* Optional: Add spacing between all input fields */
.contact-form input,
.contact-form textarea {
  margin-bottom: 15px; /* Space between inputs */
}

/* Optional: Space between validation message and button */
.error-message {
  margin-bottom: 15px;
}

/* Add space below the Send Message button */
button[type="submit"] {
  margin-bottom: 20px; /* Adjust as needed */
}

/* Style the success message (optional) */
.success-message {
  margin-top: 10px; /* Space between button and success message */
  color: green;
  font-weight: bold;
}

@media (max-width: 600px) {
  button.prev,
  button.next {
    padding: 8px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    margin-right: 0;
  }
}


@media screen and (max-width: 992px) {
  .carousel {
    height: 50vh;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    width: 100%;
  }
}

/* For small tablets */
@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    top: 70px;
    background-color: #fff;
    flex-direction: column;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    padding: 20px 0;
  }
  
  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }
  
  .burger {
    display: block;
  }
  
  .nav-active {
    transform: translateX(0%);
  }
  
  /* Burger animation classes */
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .toggle .line2 {
    opacity: 0;
  }
  
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .carousel {
    height: 40vh;
  }
  
  .contact-section h1 {
    font-size: 2.2rem;
  }
}

/* For mobile phones */
@media screen and (max-width: 576px) {
  .navbar {
    padding: 12px 4%;
  }
  
  .logo a {
    font-size: 1.2rem;
  }
  
  .logo-img {
    height: 30px;
  }
  
  .carousel {
    height: 30vh;
  }
  
  .prev, .next {
    padding: 10px;
    font-size: 14px;
  }
  
  .contact-section {
    padding: 40px 4%;
  }
  
  .contact-section h1 {
    font-size: 1.8rem;
  }
  
  .contact-section > p {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
  
  .contact-info, .contact-form {
    padding: 20px 15px;
    min-width: 100%;
  }
  
  .contact-info h2 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .contact-info li {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .contact-form label {
    font-size: 0.9rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .contact-form button {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
  }
}

/* For extra small phones */
@media screen and (max-width: 480px) {
  .logo a {
    font-size: 1rem;
  }
  
  .logo-img {
    height: 25px;
    margin-right: 5px;
  }
  
  .carousel {
    height: 25vh;
  }
  
  .prev, .next {
    padding: 8px;
    font-size: 12px;
  }
  
  .contact-section h1 {
    font-size: 1.6rem;
  }
  
  .contact-section > p {
    font-size: 0.85rem;
  }
}

/* For very small screens */
@media screen and (max-width: 375px) {
  .navbar {
    padding: 10px 3%;
  }
  
  .logo a {
    font-size: 0.9rem;
  }
  
  .logo-img {
    height: 22px;
  }
  
  .carousel {
    height: 22vh;
  }
  
  .contact-section {
    padding: 30px 3%;
  }
  
  .contact-section h1 {
    font-size: 1.4rem;
  }
  
  .contact-info li {
    font-size: 0.8rem;
  }
  
  .contact-form label,
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 0.85rem;
  }
}

/* For extremely small screens */
@media screen and (max-width: 320px) {
  .logo a {
    font-size: 0.8rem;
  }
  
  .logo-img {
    height: 20px;
  }
  
  .carousel {
    height: 20vh;
  }
  
  .contact-section h1 {
    font-size: 1.3rem;
  }
  
  .contact-info, .contact-form {
    padding: 15px 12px;
  }
  
  .contact-info h2 {
    font-size: 1.3rem;
  }
  
  .contact-form button {
    padding: 8px 15px;
  }
}