/*
Theme Name: netlog Theme
Author: Hamza Afif
Description: A custom WordPress theme for netlog
*/
/* Cotation Page Styles */

body {
  padding-top: 120px; /* Adjust based on your header height */
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 300px; /* Reduced from 400px */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px; /* Reduced from 120px */
  padding-bottom: 40px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--light-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem; /* Slightly reduced */
  margin-bottom: 0.5rem; /* Reduced */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem; /* Slightly reduced */
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
  
  .cotation-form-container {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  .cotation-form-header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .cotation-form-header h2 {
    font-size: 28px;
    color: #333;
  }
  
  .cotation-form-header p {
    font-size: 16px;
    color: #777;
    line-height: 1.5;
  }
  
  /* Grid layout for form */
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .form-group label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    outline: none;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: #007bff;
  }
  
  .form-group textarea {
    height: 120px;
  }
  
  /* Full-width textarea and button */
  .form-group.full-width {
    grid-column: span 2;
  }
  
  button[type="submit"] {
    grid-column: span 2;
    padding: 15px 20px;
    background-color: #007bff;
    color: #fff;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
  }
  
  button[type="submit"]:hover {
    background-color: #0056b3;
  }
  

  .service-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); 
    z-index: 1;
  }
  
  @media (max-width: 768px) {
    body {
      padding-top: 80px; /* Adjust for smaller screens */
    }
  
    .hero-section {
      min-height: 250px; /* Reduced */
      padding-top: 60px; /* Adjusted */
    }
  
    .hero-title {
      font-size: 2.5rem;
    }
  
    .hero-subtitle {
      font-size: 1.1rem;
    }
  
    .form-grid {
      grid-template-columns: 1fr;
    }
  
    .form-group {
      margin-bottom: 20px;
    }
  
    .form-group.full-width {
      grid-column: span 1;
    }
  
    button[type="submit"] {
      grid-column: span 1;
    }
  
    .cotation-form-container {
      padding: 20px;
    }
  }
  
  @media (max-width: 480px) {
    .hero-section {
      padding-top: 80px; 
    }
  
    .hero-title {
      font-size: 2rem;
    }
  
    .hero-subtitle {
      font-size: 1rem;
    }
  }