/* ================================
   CONTACT PAGE LAYOUT
================================ */
.contact-page {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px 40px;
  box-sizing: border-box;
}

.contact-hero {
  text-align: center;
  margin-bottom: 40px;
}

.contact-hero h1 {
  font-size: clamp(26px, 5vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.contact-hero p {
  font-size: 17px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ================================
   MAIN CONTENT (2 COLUMNS)
================================ */
.contact-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* CARDS (Shared Style) */
.contact-form-card,
.contact-info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.contact-form-card {
  flex: 1.4;
}

.contact-form-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.contact-subtext {
  font-size: 16px;
  color: #777;
  margin-bottom: 25px;
}

.contact-info-card {
  flex: 1;
}

.info-block {
  margin-bottom: 25px;
}

.info-block h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.info-block p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.info-block a {
  color: #27ae60;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.info-block a:hover {
  color: #219150;
}

/* ================================
   FORM ELEMENTS
================================ */
.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-group label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  box-sizing: border-box;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #27ae60;
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ================================
   SUBMIT BUTTON
================================ */
.contact-submit-btn {
  width: 100%;
  padding: 14px;
  background: #27ae60;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition:
    background 0.2s,
    transform 0.2s;
}

.contact-submit-btn:hover {
  background: #219150;
  transform: translateY(-2px);
}

/* ================================
   ⭐ MOBILE AUTO-ADJUST
================================ */
@media (max-width: 768px) {
  .contact-page {
    margin: 20px auto;
    padding: 0 15px 30px;
  }

  .contact-content {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form-card,
  .contact-info-card {
    width: 100%;
    padding: 25px 20px;
    box-sizing: border-box;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 14px;
  }

  .contact-submit-btn {
    padding: 16px;
  }
}

/* ================================
   ⭐ MOBILE HEADER (MATCH OTHER PAGES)
================================ */
.mobile-header {
  display: none;
}

@media (max-width: 768px) {
  .main-header {
    display: none !important;
  }

  .mobile-header {
    display: block;
    width: 100%;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
  }

  .mobile-logo img {
    width: 55px;
  }

  .mobile-cart {
    position: relative;
  }

  .mobile-cart img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  #cart-count-mobile {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #27ae60;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
  }

  .mobile-menu-btn {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    background: #f8f8f8;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .mobile-dropdown {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 1px solid #eee;
  }

  .mobile-dropdown.active {
    display: flex;
  }

  .mobile-dropdown a {
    padding: 14px 20px;
    font-size: 17px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }

  .mobile-dropdown a:last-child {
    border-bottom: none;
  }

  .bubble-animate {
    animation: bubblePop 0.35s ease-out;
  }

  @keyframes bubblePop {
    0% {
      transform: scale(1);
    }
    40% {
      transform: scale(1.15);
    }
    70% {
      transform: scale(0.95);
    }
    100% {
      transform: scale(1);
    }
  }
}
