/* ===== contact.css - Contact Page Only ===== */

body {
  background: url("contact/1.jpg") no-repeat center center/cover;
  background-attachment: fixed;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 10, 15, 0.85);
  z-index: -1;
}

/* Main Content Wrapper */
.content-wrapper {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 2rem auto 4rem;
  padding: 0 5vw;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  animation: fadeInUp 0.8s ease both;
}

/* Contact Grid Split Column */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
}

/* Contact Hero styling */
.contact-hero.premium-card {
  padding: 3rem;
  border-radius: 24px;
}

.contact-hero h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.contact-hero p {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 900px;
}

/* Contact Info Cards Layout */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.info-card.premium-card {
  padding: 2rem;
  border-radius: 20px;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
}

.info-card i {
  font-size: 2rem;
  color: var(--accent);
  background: rgba(185, 219, 107, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  border: 1px solid rgba(185, 219, 107, 0.15);
}

.info-card:hover i {
  background: var(--accent);
  color: #090a0f;
  transform: rotate(5deg) scale(1.05);
}

.info-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  word-break: break-all;
}

.info-card a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.info-card a:hover {
  color: var(--accent);
}

/* Connect Directly (Social links) Box */
.social-links-section.premium-card {
  padding: 3rem;
  border-radius: 24px;
}

.social-links-section h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.direct-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn i {
  font-size: 1.8rem;
  width: 30px;
  text-align: center;
}

/* Button Individual Hovers */
.btn-linkedin:hover {
  background: rgba(0, 119, 181, 0.12);
  border-color: #0077b5;
  color: #0077b5;
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.2);
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25d366;
  color: #25d366;
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-gmail:hover {
  background: rgba(234, 67, 53, 0.12);
  border-color: #ea4335;
  color: #ea4335;
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(234, 67, 53, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 0 1.5rem;
    margin: 1.5rem auto;
  }

  .contact-hero.premium-card,
  .social-links-section.premium-card {
    padding: 2rem;
  }

  .info-card.premium-card {
    padding: 1.5rem;
    gap: 1.25rem;
  }
  
  .info-card i {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }

  .social-btn {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
}