/* contactme.css */

:root {
    --primary-color: rgb(189, 29, 58);
    --secondary-color: rgb(215, 129, 145);
    --background-gradient: linear-gradient(to left, #FFF, #FFC0CB);
    --white-color: rgb(249, 235, 234);
    --shadow-color: rgba(218, 105, 105, 0.687);
  }
  
  /* Base & Layout */
  body {
    background: var(--background-gradient);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
  }
  
  /* Logo */
  .logo {
    width: 16vw;
    max-width: 180px;
    height: 16vw;
    max-height: 180px;
    margin-bottom: 1rem;
    border-radius: 50%;
    box-shadow: 0 8px 24px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInTop 1s ease-out forwards;
  }
  .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    transition: transform 0.5s 0.3s ease-in-out;
  }
  .logo:hover img {
    transform: scale(1.1);
  }
  .logo:hover {
    box-shadow: 0 12px 32px var(--shadow-color);
  }
  
  /* Heading */
  .text-container {
    text-align: center;
    color: var(--primary-color);
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 24px var(--shadow-color);
  }
  .text-container h1 {
    font-size: 1.8rem;
    margin: 0;
  }
  
  /* Social Links Grid */
  .main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 95%;
    max-width: 1400px;
    padding: 1.5rem;
    margin: 0 auto;
    background: transparent;        /* removed white background */
    box-shadow: none;               /* removed container shadow */
    border-radius: 0;               /* optional: remove rounding */
  }
  
  /* Card */
  .box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 8px 24px var(--shadow-color);
    transition: transform 0.3s ease;
  }
  
  /* Square Image Container */
  .image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
  }
  .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s 0.3s ease-in-out;
  }
  .image-container:hover img {
    transform: scale(1.1);
  }
  
  /* Caption Overlay */
  .description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(189, 29, 58, 0.38);
    color: var(--white-color);
    padding: 0.4rem 0.7rem;
    text-align: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1.05rem;
    font-weight: 500;
    backdrop-filter: blur(2px);
    pointer-events: none;
  }
  .description p {
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
  
  /* Footer/Disclaimer */
  .disclaimer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    color: var(--primary-color);
    box-shadow: 0 -4px 12px var(--shadow-color);
    backdrop-filter: blur(5px);
    z-index: 900;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 900px) {
    .main {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    body {
      height: auto;
      overflow: auto;
    }
    .main {
      grid-template-columns: 1fr;
      gap: 1rem;
      width: 100%;
      max-width: none;
      padding: 1.5rem 0 100px; /* extra bottom padding so last icon stays above footer */
      margin: 0;
    }
    .description {
      font-size: 0.98rem;
      padding: 0.3rem 0.4rem;
      max-height: 30%;
    }
    .logo {
      width: 35vw;
      height: 35vw;
    }
  }
  
  /* Animations */
  @keyframes slideInTop {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  