/* ============================================================
   CONTACT US PAGE STYLES
   ============================================================ */

/* Contact Section */
.sv-contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 100vh;
}

.sv-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ============================================================
   CONTACT FORM STYLES
   ============================================================ */

.sv-contact-form-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(139, 69, 19, 0.1);
  animation: sv-slide-up 600ms ease forwards;
  opacity: 0;
}

.sv-contact-form-header {
  margin-bottom: 35px;
  text-align: center;
}

.sv-contact-form-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.sv-contact-form-subtitle {
  font-size: 15px;
  color: #8B4513;
  font-weight: 600;
  margin: 0;
  letter-spacing: 1px;
}

/* Form Group */
.sv-form-group {
  margin-bottom: 25px;
  position: relative;
}

.sv-form-label {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
  text-transform: capitalize;
  letter-spacing: 1px;
}

.sv-form-input,
.sv-form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  letter-spacing: 1px;
  color: #0f172a;
  transition: all 300ms ease;
  box-sizing: border-box;
}

.sv-form-input::placeholder,
.sv-form-textarea::placeholder {
  color: #999999;
}

.sv-form-input:focus,
.sv-form-textarea:focus {
  outline: none;
  border-color: #8B4513;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.sv-form-input.error,
.sv-form-textarea.error {
  border-color: #e74c3c;
  background: #ffebee;
}

.sv-form-input.success,
.sv-form-textarea.success {
  border-color: #27ae60;
  background: #eafaf1;
}

.sv-form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Error Message */
.sv-error-message {
  display: block;
  font-size: 12px;
  color: #e74c3c;
  margin-top: 5px;
  opacity: 0;
  transition: all 300ms ease;
  height: 0;
}

.sv-error-message.show {
  opacity: 1;
  height: auto;
}

/* Form Hint */
.sv-form-hint {
  display: block;
  font-size: 13px;
  color: #999999;
  margin-top: 5px;
  letter-spacing: 1px;
  font-style: italic;
}

/* Captcha */
.sv-captcha-wrapper {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.sv-captcha-question {
  background: linear-gradient(135deg, #8B4513 0%, #D4AF37 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  min-width: max-content;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.sv-captcha-refresh-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
  flex-shrink: 0;
  padding: 0;
}

.sv-captcha-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: rotate(180deg);
}

.sv-captcha-refresh-btn:active {
  transform: rotate(180deg) scale(0.95);
}

.sv-captcha-input {
  flex: 1;
}

/* Submit Button */
.sv-contact-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #8B4513 0%, #D4AF37 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 300ms ease;
  text-transform: capitalize;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.sv-contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

.sv-contact-submit-btn:active {
  transform: translateY(0);
}

.sv-contact-submit-btn i {
  font-size: 16px;
}

/* Success Message */
.sv-success-message {
  display: none;
  background: #eafaf1;
  border: 2px solid #27ae60;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 20px;
  color: #27ae60;
  border-left: 5px solid #27ae60;
  animation: sv-slide-up 300ms ease;
}

.sv-success-message.show {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sv-success-message i {
  font-size: 24px;
  flex-shrink: 0;
}

.sv-success-message strong {
  display: block;
  font-size: 14px;
}

.sv-success-message p {
  font-size: 12px;
  margin: 5px 0 0 0;
}

/* ============================================================
   CONTACT INFO STYLES
   ============================================================ */

.sv-contact-info-wrapper {
  animation: sv-slide-up 600ms ease 100ms forwards;
  opacity: 0;
}

.sv-contact-info-header {
  margin-bottom: 40px;
}

.sv-contact-info-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.sv-contact-info-subtitle {
  font-size: 15px;
  color: #999999;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 1px;
}

/* Contact Info List */
.sv-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.sv-contact-info-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border-left: 5px solid #8B4513;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.08);
  transition: all 300ms ease;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sv-contact-info-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
  border-left-color: #D4AF37;
}

.sv-contact-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8B4513;
  font-size: 24px;
  flex-shrink: 0;
}

.sv-contact-info-content {
  flex: 1;
}

.sv-contact-info-label {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  text-transform: capitalize;
  letter-spacing: 1px;
}

.sv-contact-info-text {
  font-size: 15px;
  color: #666666;
  margin: 0;
  line-height: 1.8;
  letter-spacing: 1px;
}

.sv-contact-info-text a {
  color: #8B4513;
  text-decoration: none;
  font-weight: 600;
  transition: color 300ms ease;
}

.sv-contact-info-text a:hover {
  color: #D4AF37;
}

.sv-contact-info-text small {
  display: block;
  font-size: 12px;
  color: #999999;
  margin-top: 5px;
  letter-spacing: 1px;
}

/* Social Links */
.sv-contact-social {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #e0e0e0;
}

.sv-contact-social-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sv-contact-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.sv-social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  color: #8B4513;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 300ms ease;
  text-decoration: none;
}

.sv-social-link:hover {
  background: #8B4513;
  color: #ffffff;
  border-color: #8B4513;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
}

/* ============================================================
   MAP SECTION STYLES
   ============================================================ */

.sv-map-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.sv-map-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sv-map-header {
  text-align: center;
  margin-bottom: 50px;
  animation: sv-slide-up 600ms ease forwards;
  opacity: 0;
}

.sv-map-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}

.sv-map-subtitle {
  font-size: 17px;
  color: #999999;
  margin: 0;
  letter-spacing: 1px;
}

.sv-map-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(139, 69, 19, 0.15);
  animation: sv-slide-up 600ms ease 100ms forwards;
  opacity: 0;
}

.sv-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
  display: block;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes sv-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sv-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
  .sv-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sv-contact-form-wrapper {
    padding: 35px;
  }

  .sv-contact-form-title {
    font-size: 24px;
  }

  .sv-contact-info-title {
    font-size: 24px;
  }

  .sv-map-section {
    padding: 60px 0;
  }

  .sv-map-title {
    font-size: 28px;
  }

  .sv-map-wrapper {
    height: 450px;
  }
}

/* Tablet: 768px and below */
@media (max-width: 768px) {
  .sv-contact-section {
    padding: 60px 0;
  }

  .sv-contact-wrapper {
    gap: 30px;
  }

  .sv-contact-form-wrapper {
    padding: 30px;
  }

  .sv-contact-form-title {
    font-size: 22px;
  }

  .sv-contact-form-subtitle {
    font-size: 13px;
  }

  .sv-form-group {
    margin-bottom: 20px;
  }

  .sv-form-label {
    font-size: 13px;
  }

  .sv-form-input,
  .sv-form-textarea {
    font-size: 13px;
    padding: 11px 14px;
  }

  .sv-form-textarea {
    min-height: 100px;
  }

  .sv-captcha-question {
    font-size: 14px;
    padding: 10px 16px;
    gap: 6px;
  }

  .sv-captcha-refresh-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .sv-contact-submit-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .sv-contact-info-card {
    padding: 20px;
    gap: 15px;
  }

  .sv-contact-info-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .sv-contact-info-label {
    font-size: 13px;
  }

  .sv-contact-info-text {
    font-size: 12px;
  }

  .sv-social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .sv-map-section {
    padding: 50px 0;
  }

  .sv-map-title {
    font-size: 24px;
  }

  .sv-map-wrapper {
    height: 350px;
  }
}

/* Mobile: 640px and below */
@media (max-width: 640px) {
  .sv-contact-section {
    padding: 40px 0;
  }

  .sv-contact-form-wrapper {
    padding: 20px;
  }

  .sv-contact-form-title {
    font-size: 20px;
  }

  .sv-contact-form-subtitle {
    font-size: 12px;
  }

  .sv-form-group {
    margin-bottom: 18px;
  }

  .sv-form-label {
    font-size: 12px;
  }

  .sv-form-input,
  .sv-form-textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .sv-form-textarea {
    min-height: 90px;
  }

  .sv-captcha-wrapper {
    flex-direction: column;
  }

  .sv-captcha-question {
    width: 100%;
    text-align: center;
    gap: 5px;
  }

  .sv-captcha-refresh-btn {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .sv-contact-submit-btn {
    padding: 11px 18px;
    font-size: 13px;
    margin-top: 20px;
  }

  .sv-contact-info-card {
    padding: 16px;
    gap: 12px;
  }

  .sv-contact-info-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .sv-contact-info-title {
    font-size: 20px;
  }

  .sv-contact-info-label {
    font-size: 12px;
  }

  .sv-contact-info-text {
    font-size: 11px;
  }

  .sv-contact-social {
    padding: 20px;
  }

  .sv-social-link {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .sv-map-section {
    padding: 40px 0;
  }

  .sv-map-header {
    margin-bottom: 30px;
  }

  .sv-map-title {
    font-size: 20px;
  }

  .sv-map-subtitle {
    font-size: 13px;
  }

  .sv-map-wrapper {
    height: 300px;
  }
}
