/*
Theme Name: My Portfolio Theme
Author: You
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #111;
  line-height: 1.6;
}

.project-card {
    position: relative;
    display: block;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .project-thumb {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: background-color 0.3s ease, opacity 0.3s ease;
  }
  
  .project-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .project-overlay span {
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: white;
    color: black;
    border-radius: 8px;
    font-size: 0.9rem;
  }
  
  .project-card:hover .project-thumb {
    transform: scale(1.05);
  }
  
  .project-card:hover .project-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
  }


  .site-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-left {
    display: flex;
    align-items: center;
  }
  

  .site-logo {
    height: 100px;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
  }
  
  
  .logo-link {
    text-decoration: none;
  }
  
  .main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  .main-nav a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  .main-nav a:hover {
    color: #555;
  }
  

  .site-footer {
    background: #f5f5f5;
    padding: 2rem 1rem;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 2rem;
  }
  
  .footer-col {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;  /* centers horizontally */
    text-align: center;
  }
  
  /* Optional: Make contact form inputs narrower */
  .footer-col form {
    max-width: 400px;
    margin: auto;
  }
  
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column-reverse;
      align-items: center;
      text-align: center;
    }
  }

  .footer-col .wpcf7-form {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .footer-col .wpcf7-form p {
    margin: 0 0 1rem;
  }
  
  .footer-col .wpcf7-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #333;
    text-align: left;
  }
  
  .footer-col .wpcf7-form input[type="text"],
  .footer-col .wpcf7-form input[type="email"],
  .footer-col .wpcf7-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
    background: white;
    transition: 0.2s ease;
  }
  
  .footer-col .wpcf7-form input[type="text"]:focus,
  .footer-col .wpcf7-form input[type="email"]:focus,
  .footer-col .wpcf7-form textarea:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 1px #000;
  }
  
  .footer-col .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* Submit button */
  .footer-col .wpcf7-form input[type="submit"] {
    background-color: black;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: block;
    margin: 1rem auto 0; /* This centers the button */
  }
  
  .footer-col .wpcf7-form input[type="submit"]:hover {
    background-color: #333;
  }

  .share-inline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 2rem 0;
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .share-inline span {
    margin-right: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #000;
  }
  
  .share-inline a,
  .share-inline button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }
  
  .share-inline img {
    width: 22px;
    height: 22px;
    display: inline-block;
    filter: invert(0); /* make icons black */
  }