/* ===========================
   CONTACT PAGE PROFESSIONAL STYLES
   =========================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   HERO SECTION
   =========================== */
.contact-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(85, 51, 30, 0.88) 0%, rgba(139, 111, 71, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-badge {
  display: inline-block;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out 0.3s both;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}

/* ===========================
   QUICK CONTACT CARDS
   =========================== */
.quick-contact {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f5f2 0%, #e5d2b8 100%);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(40px);
}

.contact-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(85, 51, 30, 0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #55331e, #8b6f47);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s ease;
}

.contact-card:hover .card-icon {
  transform: scale(1.15) rotate(10deg);
}

.card-icon i {
  font-size: 2rem;
  color: white;
}

.contact-card h3 {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.contact-card a {
  color: #55331e;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.contact-card a:hover {
  color: #8b6f47;
}

/* ===========================
   MAIN CONTACT SECTION
   =========================== */
.main-contact {
  padding: 100px 20px;
  background: #fff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

/* ===========================
   CONTACT FORM
   =========================== */
.contact-form-section {
  opacity: 0;
  transform: translateX(-60px);
}

.form-header {
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}

.form-header p {
  color: #666;
  font-size: 1.05rem;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  position: relative;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 20px;
  color: #55331e;
  font-size: 1.1rem;
  z-index: 2;
  transition: all 0.3s ease;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 18px 20px 18px 55px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8f5f2;
  transition: all 0.3s ease;
  outline: none;
}

.input-wrapper textarea {
  resize: vertical;
  min-height: 150px;
}

.input-wrapper label {
  position: absolute;
  left: 55px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.textarea-wrapper label {
  top: 25px;
  transform: translateY(0);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: #55331e;
  background: white;
  box-shadow: 0 5px 20px rgba(85, 51, 30, 0.1);
}

.input-wrapper input:focus + label,
.input-wrapper select:focus + label,
.input-wrapper textarea:focus + label,
.input-wrapper input:not(:placeholder-shown) + label,
.input-wrapper select:not(:placeholder-shown) + label,
.input-wrapper textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 15px;
  font-size: 0.75rem;
  color: #55331e;
  background: white;
  padding: 0 8px;
  transform: translateY(0);
}

.input-wrapper input:focus ~ i,
.input-wrapper select:focus ~ i,
.input-wrapper textarea:focus ~ i {
  color: #8b6f47;
}

.error-message {
  display: none;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 8px;
  padding-left: 10px;
}

.form-group.error .error-message {
  display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #dc3545;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 45px;
  background: linear-gradient(135deg, #55331e, #8b6f47);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(85, 51, 30, 0.3);
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(85, 51, 30, 0.4);
}

.submit-btn:active {
  transform: translateY(-2px);
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(5px);
}

/* Form Feedback Messages */
.form-feedback {
  display: none;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  animation: slideInDown 0.5s ease-out;
}

.form-feedback.show {
  display: flex;
}

.form-feedback i {
  font-size: 1.8rem;
}

.success-message {
  background: #d4edda;
  border: 2px solid #28a745;
  color: #155724;
}

.success-message i {
  color: #28a745;
}

.error-message-box {
  background: #f8d7da;
  border: 2px solid #dc3545;
  color: #721c24;
}

.error-message-box i {
  color: #dc3545;
}

/* ===========================
   CONTACT INFO SIDEBAR
   =========================== */
.contact-info-section {
  opacity: 0;
  transform: translateX(60px);
}

.info-card {
  background: linear-gradient(135deg, #f8f5f2 0%, #e5d2b8 100%);
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}

.info-card > p {
  color: #666;
  margin-bottom: 30px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #55331e, #8b6f47);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.3rem;
  color: white;
}

.info-content h4 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 5px;
  font-weight: 700;
}

.info-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-links {
  border-top: 2px solid rgba(85, 51, 30, 0.2);
  padding-top: 25px;
}

.social-links h4 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 15px;
  font-weight: 700;
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #55331e;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
  background: linear-gradient(135deg, #55331e, #8b6f47);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(85, 51, 30, 0.3);
}

/* Quote Card */
.quote-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.quote-card i {
  font-size: 2.5rem;
  color: rgba(85, 51, 30, 0.2);
  margin-bottom: 15px;
}

.quote-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  font-style: italic;
  margin-bottom: 20px;
}

.quote-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.quote-author strong {
  color: #222;
  font-size: 1.1rem;
}

.quote-author span {
  color: #55331e;
  font-size: 0.9rem;
}

/* ===========================
   MAP SECTION
   =========================== */
.map-section {
  padding: 80px 20px;
  background: #f8f5f2;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  color: #55331e;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding: 8px 20px;
  background: rgba(85, 51, 30, 0.1);
  border-radius: 30px;
}

.section-title {
  font-size: 3rem;
  color: #222;
  font-weight: 700;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.map-placeholder {
  background: linear-gradient(135deg, #55331e 0%, #8b6f47 100%);
  padding: 100px 40px;
  text-align: center;
  color: white;
}

.map-placeholder i {
  font-size: 5rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.map-placeholder h3 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.map-placeholder p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: white;
  color: #55331e;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.map-btn:hover {
  background: #e5d2b8;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===========================
   FAQ SECTION
   =========================== */
.faq-section {
  padding: 100px 20px;
  background: white;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #f8f5f2;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(85, 51, 30, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  user-select: none;
}

.faq-question h4 {
  font-size: 1.2rem;
  color: #222;
  font-weight: 600;
  margin: 0;
}

.faq-question i {
  color: #55331e;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.faq-answer p {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.slide-in-left {
  animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .form-header h2 {
    font-size: 2rem;
  }

  .info-card {
    padding: 30px;
  }

  .map-placeholder {
    padding: 60px 30px;
  }

  .map-placeholder i {
    font-size: 3.5rem;
  }

  .map-placeholder h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .input-wrapper input,
  .input-wrapper select,
  .input-wrapper textarea {
    padding: 15px 15px 15px 50px;
  }

  .submit-btn {
    width: 100%;
  }
}
