/* css/mywork.css */

:root {
    --primary-color: rgb(189, 29, 58);
    --background-gradient: linear-gradient(to left, #FFF, #FFC0CB);
    --white-color: rgb(249, 235, 234);
    --shadow-color: rgba(218, 105, 105, 0.7);
  }
  
  /* 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;
    overflow-x: hidden;
  }
  
  /* 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);
    animation: slideInTop 1s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .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 {
    margin: 0;
    font-size: 1.8rem;
  }
  
  /* Grid Container */
  .main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    width: 95%;
    max-width: 1400px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: transparent;      /* removed white background */
    box-shadow: none;             /* removed container shadow */
    border-radius: 20px;
  }
  
  /* Card Box */
  .box {
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .box:hover {
    transform: translateY(-4px);
    box-shadow: none;
  }
  
  /* Square Video Container */
  .video-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
    cursor: pointer;
  }
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s 0.3s ease-in-out;
  }
  /* Hide native controls in WebKit browsers */
  .video-container video::-webkit-media-controls,
  .video-container video::-webkit-media-controls-enclosure,
  .video-container video::-webkit-media-controls-panel {
    display: none !important;
  }
  .video-container:hover video {
    transform: scale(1.05);
  }
  
  /* Play/Pause Button Overlay */
  .video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(249, 235, 234, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
  }
  .video-container .play-button:hover {
    background: rgba(249, 235, 234, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
  }
  /* default ▶ */
  .video-container .play-button::before {
    content: '▶';
  }
  /* when video is playing, parent gets `.playing` */
  .video-container.playing .play-button::before {
    content: '❚❚';
  }
  
  /* Footer */
  .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 */
  @media (max-width: 900px) {
    .main {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 600px) {
    body {
      overflow-y: auto;
    }
    .main {
      grid-template-columns: 1fr;
      padding: 1rem 0 100px;
      width: 100%;
      gap: 1rem;
    }
    .logo {
      width: 35vw;
      height: 35vw;
    }
  }
  
  /* Animations */
  @keyframes slideInTop {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  