/* Contact Page Styles - Minimal & Clean Design */

/* Contact Info Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: transparent;
  padding: 40px 24px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  text-align: center;
}

/* Dekoratif alt çizgi */
.contact-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--doga-yesil);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-card:hover::after {
  width: 80px;
}

.contact-card:hover {
  transform: translateY(-8px);
}

.contact-card-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-icon {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
  position: relative;
}

/* İkon arka plan efekti */
.contact-icon::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(124, 154, 109, 0.08);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  z-index: -1;
}

.contact-card:hover .contact-icon::before {
  opacity: 1;
  transform: scale(1);
}

.contact-icon img {
  width: 60px;
  height: 60px;
  filter: grayscale(0) opacity(0.75);
  transition: all 0.4s ease;
}

.contact-card:hover .contact-icon img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.15) rotate(5deg);
}

.contact-title {
  font-family: var(--font--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--derun-toprak);
  margin: 0 0 20px 0;
  transition: all 0.3s ease;
  position: relative;
}

.contact-card:hover .contact-title {
  color: var(--doga-yesil);
}

.contact-info {
  font-size: 17px;
  line-height: 1.8;
  color: var(--black);
  margin: 0 0 6px 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.contact-card:hover .contact-info {
  opacity: 1;
}

.contact-info:last-child {
  margin-bottom: 0;
}

/* Contact Form - Minimal & Floating Design */
.contact-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form-content {
  background: rgba(246, 244, 239, 0.4);
  backdrop-filter: blur(20px);
  padding: 70px 60px;
  position: relative;
  border-radius: 32px;
}

/* Subtle border effect */
.contact-form-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(124, 154, 109, 0.2) 0%,
    rgba(139, 106, 78, 0.1) 50%,
    rgba(124, 154, 109, 0.2) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.contact-form-content:hover::before {
  opacity: 1;
}

.form-title-wrap {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.form-title {
  font-family: var(--font--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--derun-toprak);
  margin: 0 0 16px 0;
  position: relative;
}

/* Dekoratif alt çizgi */
.form-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--doga-yesil);
  margin: 20px auto 0;
  opacity: 0.5;
}

.form-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--black);
  opacity: 0.75;
  margin: 0;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--derun-toprak);
  margin-bottom: 10px;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.form-group:focus-within .form-label {
  color: var(--doga-yesil);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-bottom: 2px solid rgba(139, 106, 78, 0.2);
  border-radius: 0;
  background: transparent;
  color: var(--black);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--doga-yesil);
  background: rgba(124, 154, 109, 0.03);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  border: 2px solid rgba(139, 106, 78, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
}

.form-textarea:focus {
  border-color: var(--doga-yesil);
  background: rgba(124, 154, 109, 0.03);
}

.form-submit {
  text-align: center;
  margin-top: 50px;
}

.submit-button {
  background: var(--doga-yesil);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 18px 48px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 8px 24px rgba(124, 154, 109, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.03em;
}

.submit-button:hover {
  background: var(--derun-toprak);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 106, 78, 0.3);
}

.submit-button:active {
  transform: translateY(-2px);
}

.button-icon {
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}

.submit-button:hover .button-icon {
  transform: translateX(4px);
}

/* Map Section */
.map-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.map-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.map-title {
  font-family: var(--font--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--derun-toprak);
  margin: 0 0 16px 0;
}

.map-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  opacity: 0.8;
  margin: 0;
}

.map-container {
  background: var(--nefes-beji);
  border: 2px solid var(--derun-toprak);
  border-radius: 28px 32px 30px 34px;
  overflow: hidden;
  width: 500px;
  position: relative;
  box-shadow: 4px 4px 0px rgba(139, 106, 78, 0.1),
    8px 8px 0px rgba(139, 106, 78, 0.05);
}

.map-placeholder {
  height: 400px;
  background: linear-gradient(
    135deg,
    var(--nefes-beji) 0%,
    var(--nefes-beji) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(124, 154, 109, 0.05) 20px,
    rgba(124, 154, 109, 0.05) 40px
  );
  opacity: 0.5;
}

.map-content {
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* Responsive iframe styling */
.map-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px 32px 30px 34px;
}

.map-icon {
  color: var(--doga-yesil);
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.map-placeholder:hover .map-icon {
  transform: scale(1.1) rotate(5deg);
}

.map-placeholder-title {
  font-family: var(--font--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--derun-toprak);
  margin: 0 0 16px 0;
}

.map-placeholder-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  opacity: 0.8;
  margin: 0 0 32px 0;
}

.map-actions {
  margin-top: 24px;
}

.map-link {
  background: var(--doga-yesil);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 16px 20px 18px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 3px 3px 0px rgba(124, 154, 109, 0.3);
}

.map-link:hover {
  background: var(--derun-toprak);
  transform: translateY(-2px);
  box-shadow: 5px 5px 0px rgba(139, 106, 78, 0.4);
}

/* Animations */
@keyframes contactFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card {
  animation: contactFadeIn 0.7s ease forwards;
}

.contact-card:nth-child(1) {
  animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
  animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
  animation-delay: 0.3s;
}

.contact-card:nth-child(4) {
  animation-delay: 0.4s;
}

.contact-form-content {
  animation: contactFadeIn 0.8s ease forwards;
  animation-delay: 0.3s;
}

.map-container {
  animation: contactFadeIn 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* Footer Video Section */
.footer-video-section {
  position: relative;
  z-index: 1;
  margin-bottom: -1px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .contact-info-grid {
    gap: 40px;
  }

  .contact-form-content {
    padding: 60px 48px;
  }

  .map-placeholder {
    height: 400px;
  }
}

@media screen and (max-width: 991px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-card {
    padding: 36px 24px;
  }

  .contact-icon img {
    width: 56px;
    height: 56px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-content {
    padding: 50px 40px;
  }

  .form-title {
    font-size: 32px;
  }

  .map-placeholder {
    height: 380px;
  }
}

@media screen and (max-width: 767px) {
  .contact-info-wrapper {
    margin-top: 40px;
  }

  .contact-info-grid {
    gap: 28px;
  }

  .contact-card {
    padding: 32px 20px;
  }

  .contact-icon::before {
    width: 70px;
    height: 70px;
  }

  .contact-icon img {
    width: 50px;
    height: 50px;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact-info {
    font-size: 16px;
  }

  .contact-form-content {
    padding: 40px 28px;
  }

  .form-title {
    font-size: 28px;
  }

  .form-title::after {
    width: 50px;
    margin-top: 16px;
  }

  .form-description {
    font-size: 16px;
  }

  .form-group {
    margin-bottom: 24px;
  }

  .form-row {
    gap: 0;
    margin-bottom: 0;
  }

  .submit-button {
    padding: 16px 40px;
    font-size: 16px;
  }

  .map-title {
    font-size: 28px;
  }

  .map-placeholder {
    height: 340px;
  }

  .map-icon svg {
    width: 50px;
    height: 50px;
  }

  .map-placeholder-title {
    font-size: 22px;
  }

  .map-placeholder-text {
    font-size: 15px;
  }

  .map-link {
    padding: 11px 22px;
    font-size: 13px;
  }
}

@media screen and (max-width: 479px) {
  .contact-card {
    padding: 28px 16px;
  }

  .contact-icon::before {
    width: 60px;
    height: 60px;
  }

  .contact-icon img {
    width: 44px;
    height: 44px;
  }

  .contact-title {
    font-size: 18px;
  }

  .contact-info {
    font-size: 15px;
  }

  .contact-form-content {
    padding: 32px 20px;
  }

  .form-title {
    font-size: 24px;
  }

  .form-title::after {
    width: 40px;
  }

  .form-description {
    font-size: 15px;
  }

  .form-label {
    font-size: 14px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 15px;
    padding: 14px 18px;
  }

  .submit-button {
    padding: 14px 36px;
    font-size: 15px;
  }

  .map-placeholder {
    height: 300px;
    width: 350px;
  }

  .map-placeholder-title {
    font-size: 20px;
  }

  .map-placeholder-text {
    font-size: 14px;
  }

  .map-link {
    padding: 10px 20px;
    font-size: 13px;
  }
}
