/* 
  Complete Redesign of Contact Page 
  Black Canvas, White Frosty Glassmorphism & Gold Glare
*/

.contact-black-canvas {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 80px; /* Space for top nav */
  overflow: hidden; /* Prevent glare from causing scrollbars */
}

/* =========================================
   1. GOLD GLARE (Top Right)
   ========================================= */
.gold-glare {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(40px);
}

/* =========================================
   2. WHITE FROSTY GLASS CONTAINER
   ========================================= */
.glass-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  
  /* White Frosty Glassmorphism Effect */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 60px;
}

/* =========================================
   3. LEFT SIDE (Details)
   ========================================= */
.glass-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.glass-details h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
}

.details-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 400px;
}

.info-group {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 5px;
}

.info-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #aaaaaa;
  line-height: 1.6;
}

/* =========================================
   4. RIGHT SIDE (Form)
   ========================================= */
.glass-form {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-group-floating {
  position: relative;
  width: 100%;
}

.form-group-floating input,
.form-group-floating select,
.form-group-floating textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 15px 0 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group-floating textarea {
  resize: vertical;
  min-height: 80px;
}

/* Custom Select Styling */
.form-group-floating select {
  appearance: none;
  color: #aaaaaa;
  cursor: pointer;
}
.form-group-floating select:focus,
.form-group-floating select:valid {
  color: #ffffff;
}
.form-group-floating select option {
  background: #111;
  color: #fff;
}

.form-group-floating label {
  position: absolute;
  top: 15px;
  left: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #aaaaaa;
  pointer-events: none;
  transition: 0.3s ease all;
}

/* Floating Label Animation */
.form-group-floating input:focus ~ label,
.form-group-floating input:not(:placeholder-shown) ~ label,
.form-group-floating textarea:focus ~ label,
.form-group-floating textarea:not(:placeholder-shown) ~ label,
.form-group-floating label.active-label {
  top: -10px;
  font-size: 0.75rem;
  color: #d4af37;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-group-floating input:focus,
.form-group-floating select:focus,
.form-group-floating textarea:focus {
  border-bottom: 1px solid #d4af37;
}

/* Date input specific */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.5;
  cursor: pointer;
  transition: 0.3s;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Submit Button */
.submit-btn {
  background: #d4af37;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  padding: 18px 40px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background: #e6c55c;
  transform: translateY(-2px);
}

/* =========================================
   5. RESPONSIVE DESIGN (MOBILE OPTIMIZATION)
   ========================================= */
@media (max-width: 900px) {
  .glass-container {
    flex-direction: column;
    padding: 50px 40px;
    gap: 50px;
  }
  .glass-details h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-black-canvas {
    padding: 100px 20px 80px;
  }
  .gold-glare {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
  }
  .glass-container {
    padding: 40px 20px;
    border-radius: 16px;
    gap: 40px;
  }
  .glass-details h2 {
    font-size: 2.5rem;
  }
  .form-row { 
    grid-template-columns: 1fr; 
    gap: 30px; 
  }
  .submit-btn {
    align-self: stretch; /* Full width button on mobile */
  }
}
