/* ============================================
   CONTACT SECTION - MODERN REDESIGN
   ============================================ */

:root {
  --primary: #952c2d;
  --primary-dark: #7a2425;
  --dark: #212529;
  --gray-light: #f8f9fa;
  --gray-medium: #e9ecef;
  --gray-dark: #6c757d;
  --white: #ffffff;
  --success: #28a745;
}

/* ============================================
   CONTACT SECTION CONTAINER
   ============================================ */

.contact-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-container {
  padding: 0 1rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ============================================
   SECTION HEADER
   ============================================ */

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(149, 44, 45, 0.1),
    rgba(149, 44, 45, 0.05)
  );
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(149, 44, 45, 0.2);
}

.contact-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary), #7a2425);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--gray-dark);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   CONTACT WRAPPER - TWO COLUMN LAYOUT
   ============================================ */

.contact-wrapper {
  background: var(--white);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  min-height: 600px;
}

/* ============================================
   LEFT SIDE - CONTACT INFORMATION
   ============================================ */

.contact-info-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

.contact-info-content {
  position: relative;
  z-index: 1;
}

.info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.info-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ============================================
   CONTACT INFO CARDS
   ============================================ */

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
  border-color: rgba(255, 255, 255, 0.3);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.info-card:hover .info-card-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1) rotate(5deg);
}

.info-card-icon.location {
  background: rgba(255, 107, 107, 0.3);
  border-color: rgba(255, 107, 107, 0.5);
}

.info-card-icon.phone {
  background: rgba(107, 200, 255, 0.3);
  border-color: rgba(107, 200, 255, 0.5);
}

.info-card-icon.email {
  background: rgba(107, 255, 200, 0.3);
  border-color: rgba(107, 255, 200, 0.5);
}

.info-card-content {
  flex: 1;
}

.info-card-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.info-card-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.info-card-content small {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.info-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.info-card-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(4px);
  color: var(--white);
}

/* ============================================
   SOCIAL LINKS
   ============================================ */

.contact-social {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.social-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px) scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   RIGHT SIDE - CONTACT FORM
   ============================================ */

.contact-form-section {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-container {
  max-width: 100%;
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ============================================
   FORM STYLES
   ============================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group-half {
  grid-column: span 1;
}

.form-input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid var(--gray-medium);
  border-radius: 12px;
  background: var(--white);
  color: var(--dark);
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(149, 44, 45, 0.1);
}

.form-input::placeholder {
  color: var(--gray-dark);
  opacity: 0.7;
}

/* ============================================
   FORM ACTIONS
   ============================================ */

.form-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.submit-btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(149, 44, 45, 0.2);
  overflow: hidden;
  position: relative;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(149, 44, 45, 0.3);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.btn-content {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.btn-text {
  font-size: 0.95rem;
}

.btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(3px);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
  position: relative;
}

.form-notice {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-dark);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

.contact-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 6s ease-in-out infinite;
}

.decoration-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.decoration-2 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  bottom: -80px;
  left: 5%;
  animation-delay: 1s;
}

.decoration-3 {
  width: 250px;
  height: 250px;
  background: var(--primary);
  top: 50%;
  left: -100px;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 992px) {
  .contact-main-title {
    font-size: 2.75rem;
  }

  .contact-wrapper {
    min-height: auto;
    flex-direction: column;
  }

  .contact-info-section,
  .contact-form-section {
    padding: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .info-card {
    flex-direction: row;
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 0;
    min-height: auto;
  }

  .contact-header {
    margin-bottom: 2.5rem;
  }

  .contact-main-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 0.95rem;
  }

  .contact-wrapper {
    border-radius: 18px;
  }

  .contact-info-section {
    padding: 2rem;
  }

  .info-title {
    font-size: 1.5rem;
  }

  .info-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .contact-info-cards {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .info-card {
    padding: 1rem;
    gap: 1rem;
  }

  .info-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .contact-form-section {
    padding: 2rem;
  }

  .form-header h3 {
    font-size: 1.5rem;
  }

  .contact-form {
    gap: 1.25rem;
  }

  .form-input {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }

  .contact-social {
    padding-top: 1.5rem;
  }

  .social-links {
    gap: 0.75rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ============================================ */

@media (max-width: 576px) {
  .contact-section {
    padding: 1.5rem 0;
  }

  .contact-container {
    padding: 0 1rem;
  }

  .contact-header {
    margin-bottom: 2rem;
  }

  .contact-main-title {
    font-size: 1.6rem;
  }

  .contact-subtitle {
    font-size: 0.9rem;
  }

  .contact-wrapper {
    border-radius: 15px;
    min-height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }

  .contact-info-section {
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
  }

  .info-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .info-description {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .contact-info-cards {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .info-card {
    padding: 0.9rem;
    gap: 0.75rem;
    border-radius: 10px;
  }

  .info-card-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    font-size: 1.1rem;
  }

  .info-card-content h4 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }

  .info-card-content p {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
  }

  .info-card-content small {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .info-card-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    margin-top: 0.4rem;
  }

  .contact-form-section {
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
  }

  .form-header h3 {
    font-size: 1.25rem;
  }

  .form-header p {
    font-size: 0.85rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-input {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .form-textarea {
    min-height: 100px;
  }

  .form-actions {
    margin-top: 0.5rem;
  }

  .submit-btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .btn-text {
    font-size: 0.85rem;
  }

  .btn-icon {
    font-size: 1rem;
  }

  .form-notice {
    font-size: 0.8rem;
  }

  .contact-social {
    padding-top: 1.25rem;
    border-top-width: 1px;
  }

  .social-label {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .social-links {
    gap: 0.6rem;
  }

  .social-link {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .decoration {
    display: none;
  }
}

/* ============================================
   EXTRA SMALL MOBILE
   ============================================ */

@media (max-width: 400px) {
  .contact-main-title {
    font-size: 1.35rem;
  }

  .contact-subtitle {
    font-size: 0.8rem;
  }

  .contact-info-section,
  .contact-form-section {
    padding: 1.25rem;
  }

  .info-title {
    font-size: 1.15rem;
  }

  .form-header h3 {
    font-size: 1.1rem;
  }

  .submit-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
  }
}
