/* =========================================
   💌 ENQUIRY FORM SECTION
   ========================================= */

.enquiry-section {
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
  background: transparent;
}

.enquiry-section .intro-text {
  max-width: 800px;
  margin: auto;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 1s ease forwards;
}

.enquiry-section .intro-text h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-red);
  text-shadow: 0 0 10px var(--red-primary);
  margin-bottom: 20px;
}

.enquiry-section .intro-text p {
  font-size: 1.05rem;
  color: var(--text-light);
  opacity: 0.9;
}

/* =========================================
   🧊 FORM CONTAINER (Glassmorphic)
   ========================================= */

.enquiry-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  animation: fadeIn 1.5s ease-in-out forwards;
}

.form-card.glass-effect {
  width: 450px;
  padding: 35px 25px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.form-card.glass-effect::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 25% 25%, rgba(255, 0, 0, 0.15), transparent 70%);
  transform: rotate(25deg);
  animation: rotateGlow 20s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.enquiry-form {
  position: relative;
  z-index: 2;
}

.enquiry-form h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--text-light);
  text-shadow: 0 0 10px var(--red-primary);
  letter-spacing: 1px;
}

/* =========================================
   ✏️ INPUT FIELDS
   ========================================= */

.input-group {
  position: relative;
  margin-bottom: 20px;
  animation: fadeSlideIn 0.7s ease both;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.input-group input,
.input-group select {
  width: 90%;
  padding: 12px 15px 12px 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

/* =========================================
   🔘 BUTTON STYLE
   ========================================= */

.enquiry-form .btn {
  background: linear-gradient(135deg, var(--red-primary), #300);
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
  transition: var(--transition);
  font-weight: 600;
}

.enquiry-form .btn:hover {
  background: linear-gradient(135deg, #ff4d4d, #1b0000);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
  transform: translateY(-2px);
}

/* =========================================
   🩰 GALLERY
   ========================================= */

.enquiry-gallery img {
  width: 450px;
  height: 325px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  margin-bottom: 20px;
  transition: var(--transition);
  animation: fadeUp 1.5s ease forwards;
}

.enquiry-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
}

/* =========================================
   ✨ ANIMATIONS
   ========================================= */

@keyframes fadeUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeSlideIn {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* =========================================
   📱 RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .form-card.glass-effect {
    width: 90%;
  }

  .enquiry-gallery img {
    width: 100%;
    height: auto;
  }

  .enquiry-section .intro-text h1 {
    font-size: 1.8rem;
  }

  .enquiry-form .btn {
    width: 100%;
  }
}

/* ===============================
   FINAL MOBILE LAYOUT FIX
=============================== */
@media (max-width: 768px) {

    /* Force content full width */
    body {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .main-content,
    .container-fluid {
        margin-left: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Sidebar must overlay, not push */
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        z-index: 1200;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    /* Dashboard cards full width */
    .card {
        width: 100% !important;
        min-width: 100% !important;
    }

    /* Fix vertical text breaking */
    .card h5,
    .card h3 {
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center;
    }
}
