/* CONTACT.CSS: Dedicated Styles for the Contact Section */

/* --- Contact Section Container --- */
.contact {
    padding: 6rem 0;
    background: #0b0b0b; 
    color: #ffffff;
}

/* Two-column layout matching the reference image */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    /* Ratio: Information column (1) to Form column (2) */
    grid-template-columns: 1fr 2fr; 
    gap: 4rem;
}

/* --- LEFT COLUMN: INFO BOXES --- */

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Styling for the individual boxes (Top & Bottom Left) */
.contact-box {
    background: #111111; 
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08); 
}

/* Main Heading (Let's Work Together) */
.contact-header h2 {
    font-family: 'Syncopate', sans-serif; 
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-weight: 700;
}

/* Styling for Phone/Email items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
    /* Resetting default circular container for a clean look */
    width: 20px; 
    height: auto;
    background: none;
    box-shadow: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon i {
    font-size: 1rem;
    color: #9370DB; /* Accent color for icon */
}

/* Details: Phone/Email/Address content */
.contact-details h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1rem;
    color: #e6e6e6;
    font-weight: 700;
    margin: 0;
}

.contact-details p {
    font-family: 'Poppins', sans-serif; 
    font-size: 0.9rem;
    color: #aaaaaa;
    margin-top: 4px;
    line-height: 1.4;
}

/* Bottom Left Box: Business Hours */
.business-hours h4, .address-info h4 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.business-hours p {
    font-size: 0.95rem;
    color: #aaaaaa;
    margin-bottom: 0.5rem;
}

/* --- RIGHT COLUMN: THE FORM --- */

.contact-form-wrapper {
    background: #111111; 
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form-wrapper .kicker {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #9370DB; /* Accent color for "Hire Us" */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.form-group {
    margin-bottom: 2rem;
}

/* Form element styling update for dark theme/reference image */
.form-group input,
.form-group textarea,
.form-group select { /* Added select for service dropdown */
    width: 100%;
    /* Transparent background blending with the wrapper box */
    background: transparent; 
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
    padding: 10px 0;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 0; 
    font-family: 'Poppins', sans-serif; /* Poppins for form text */
    
    /* Placeholder styling */
    &::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #9370DB; /* Accent color on focus */
    box-shadow: 0 1px 0 #9370DB;
}

/* Submit button styling (made black like the reference) */
.btn-submit {
    width: 100%;
    padding: 15px 0;
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #1a1a1a;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .contact-container {
        /* Stack columns on smaller screens */
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-box,
    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* --- Desktop: show inline nav, hide hamburger --- */
.hamburger { display: none; cursor: pointer; }

/* Bars inside hamburger */
.hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  transition: transform .25s ease, opacity .2s ease;
  background: #fff; /* adjust to your theme */
}

/* Mobile styles */
@media (max-width: 768px) {
  /* show hamburger */
  .hamburger { display: block; z-index: 10020; }

  /* hide the nav menu by default */
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;             /* adjust to navbar height */
    right: 20px;
    left: 20px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    padding: 1rem;
    border-radius: 10px;
    flex-direction: column;
    gap: 12px;
    z-index: 10010;
  }

  /* visible state */
  .nav-menu.active {
    display: flex;
    animation: slideDown .25s ease forwards;
  }

  /* hamburger active animation (simple cross) */
  .hamburger.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* make sure nav links are tappable and large enough */
  .nav-link {
    padding: 10px 6px;
    display: block;
    font-size: 16px;
  }
}

/* safety: place navbar above everything */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; }
