/* Basic St/* Global Reset and Basic Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'EB Garamond', serif;
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
header {
  background-color: #001f3f;
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between; /* Space between logo and title/nav */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo Styles */
.logo-img {
  width: 140px; /* Adjust logo width */
  height: auto;
}

/* Center logo on mobile and make it 50% larger */
@media (max-width: 1200px) {
  .logo {
      display: flex;
      justify-content: center;
      width: 100%;
  }
  .logo-img {
      width: 210px; /* 50% larger than the original 140px */
  }
}

/* Title and Navigation Container */
.nav-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align title and navigation to the right */
  width: 100%; /* Ensure container takes up full width */
}

.header-title {
  text-align: right; /* Align title text to the right */
  color: white; /* Set the header title color to white */
}

.header-title h1 {
  font-size: 42px; /* Font size for the title */
  font-weight: 700; /* Bold font weight */
  margin: 0; /* Remove default margin */
  text-transform: uppercase; /* Uppercase letters for a modern look */
  letter-spacing: 2px; /* Spacing between letters for readability */
}

/* Hide title on mobile */
@media (max-width: 1200px) {
  .header-title {
      display: none;
  }
}

/* Navigation Styles */
.nav {
  margin-top: 10px; /* Space between title and navigation */
  display: flex;
  justify-content: flex-end; /* Align the navigation items to the right */
}

nav ul {
  list-style: none; /* Remove bullet points */
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px; /* Space between navigation items */
}

nav ul li {
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
  transition: color 0.3s ease; /* Smooth transition for color change */
}

@media (min-width: 1201px) {
  nav ul li a {
      font-size: 24px; /* 33% larger font size for desktop */
  }
  nav ul li a:hover {
      color: #ff7f50;
  }
}

/* Responsive Header - Show Navigation on Smaller Screens */
@media (max-width: 1200px) {
  .header-content {
      flex-direction: column;
      align-items: center;
  }

  .nav-title-container {
      align-items: center;
      margin-top: 20px;
  }

  .nav {
      justify-content: center;
      width: 100%;
  }

  nav {
      display: flex;
      justify-content: center;
      width: 100%;
  }

  nav ul {
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 10px;
  }

  nav ul li {
      margin: 5px 0;
  }

  nav ul li a {
      color: #001f3f;
      background-color: white;
      font-size: 18px;
      padding: 8px 16px;
      border-radius: 20px; /* Pill shape */
      display: inline-block;
      transition: background-color 0.3s ease, color 0.3s ease;
  }

  nav ul li a:hover {
      background-color: #ff7f50;
      color: #001f3f;
  }
}

/* Ensure smooth rendering on iOS Safari */
@media screen and (max-width: 1201px) {
  .header-content {
      flex-direction: column;
      align-items: center; /* Center items for mobile view */
  }
}

/* Footer Styles */
footer {
  padding: 30px 20px; /* Increased padding for better spacing */
  background-color: #001f3f;
  color: white;
  text-align: center;
  margin-top: 40px; /* Added margin at the top for separation */
}

/* Improved touch handling for iOS */
nav ul li a {
  -webkit-touch-callout: none; /* Disable callouts on long tap */
  -webkit-user-select: none; /* Disable text selection */
  user-select: none;
  touch-action: manipulation; /* Better touch handling */
}

/* Fix for 100vw issues on iOS */
body {
  overflow-x: hidden;
  max-width: 100%;
}

yling */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  h1 {
      text-align: left;
      margin-top: 20px; /* Added top margin for spacing */
      margin-bottom: 20px;
      color: #f7f7f8;
      font-weight: 800;
    }

  h2 {
      text-align: left;
      margin-top: 20px;
      margin-bottom: 20px;
      color: #2c3e50;
      font-weight: 600;
      font-size: 24px;
    }

/* Form Styling */
form {
  width: 80%;
  max-width: 800px;
  margin: 20px auto 40px auto; /* Center the form and add bottom margin */
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Section Headings */
h3 {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 600;
  text-decoration: underline;
  font-size: 20px;

}

/* Contact Info and Project Details Styling */
.contact-info,
.project-details {
  display: flex;
  flex-direction: column; /* Single-column layout */
  gap: 15px; /* Consistent spacing between elements */
  margin-bottom: 20px;
  font-size: 18px;
}

/* Labels and Headings */
.contact-info label,
.project-details label,
h4 {
  font-weight: 600;
  color: #4a4a4a;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: left;
}

/* Input Fields */
.contact-info input[type="text"],
.contact-info input[type="email"],
.contact-info input[type="tel"],
.contact-info textarea,
.project-details input[type="text"],
.project-details input[type="number"],
.project-details textarea,
select#services,
.message-box textarea {
  width: 100%; /* Full width */
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 18px;
  font-family: 'EB Garamond', serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

/* Input Focus States */
.contact-info input:focus,
.contact-info textarea:focus,
.project-details input:focus,
.project-details textarea:focus,
select#services:focus,
.message-box textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Dropdown Menu Styling */
select#services {
  margin-bottom: 10px;
  appearance: none;
}

/* Placeholder Option */
select#services option:first-child {
  color: #ccc;
}

/* Build Details Styling */
#buildDetails {
  display: none;
  margin-top: 10px;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 100%; /* Ensure it takes full width */
  max-width: 1200px; /* Adjust as needed */
  box-sizing: border-box;
}

#buildDetails h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
}

#buildDetails .input-group {
  margin-bottom: 15px;
}

#buildDetails .input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #4a4a4a;
}

#buildDetails .input-group input,
#buildDetails .input-group select {
  width: 100%;
  max-width: 1200px; /* Adjust as needed */
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'EB Garamond', serif;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

#buildDetails .input-group input:focus,
#buildDetails .input-group select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Checkbox styling (if any) */
#buildDetails input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-left: 20px;
  margin-bottom: 5px;
}

/* Message Box Styling */
.message-box {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Submit Button Styling */
.submit-button {
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.submit-button button {
  font-family: 'EB Garamond', serif;
  font-weight: bold;
  background-color: #001f3f;
  color: #ff7f50;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button button:hover {
  background-color: #ff7f50;
  color: #001f3f;
}

/* Responsive Design */
@media (max-width: 768px) {
  form {
    padding: 20px;
    margin-bottom: 30px;
  }


  .contact-info,
  .project-details {
    gap: 15px;
    margin-bottom: 15px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select#services {
    font-size: 16px;
    padding: 10px;
    width: 100%;
  }
}
