@import "template.css";

/* Main Layout */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* width: 85%; */
  /* max-width: 1000px; */
  margin: auto;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 992px) {
  .contact-wrapper {
    flex-direction: row;
    align-items: center; /* Center horizontally in the flex container */
  }
}

/* Left Column: Profile Card */
.contact-left {
  width: 25vw;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f4f4f4 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.dark-mode .contact-left {
  background: linear-gradient(135deg, #1e2126 0%, #111418 100%);
  border: 1px solid rgba(0, 210, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.15), inset 0 0 15px rgba(0, 210, 255, 0.05);
}

.contact-profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}

body.dark-mode .contact-profile-img {
  border: 4px solid #111418;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.3);
}

.contact-left:hover .contact-profile-img {
  transform: scale(1.05);
}

.contact-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

body.dark-mode .contact-header h1 {
  color: #fff;
}

.contact-header p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

body.dark-mode .contact-header p {
  color: #b3b3b3;
}


/* Right Column: Contact Grid */
.contact-right {
  flex: 1.5;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid .span-2 {
    grid-column: span 2;
  }
}

/* Contact Interactive Cards */
.contact-card {
  width: 25vw;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 20px 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

body.dark-mode .contact-card {
  background: #111418;
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.05);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

body.dark-mode .contact-card:hover {
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.2), inset 0 0 10px rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.7);
  background: #111418;
}

.contact-icon {
  font-size: 2.2rem;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

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

/* Specific Icon Colors */
.icon-mail { color: #d44638; }
.icon-linkedin { color: #0077b5; }
.icon-github { color: #333; }
body.dark-mode .icon-github { color: #fff; }
.icon-whatsapp { color: #25D366; }
.icon-facebook { color: #1877F2; }
.icon-instagram { color: #E1306C; }
.icon-twitter { color: #1DA1F2; }

/* Contact Content Settings */
.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
  line-height: 1;
}

body.dark-mode .contact-info h3 {
  color: #fff;
}

.contact-info p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1;
}

body.dark-mode .contact-info p {
  color: #a0a0a0;
}

.span-2 {
  width: 51.2vw;
  justify-content: center;
}

/* Footer Adjustments override */
footer{
  margin-top: 40px;
}