/*
Theme Name: Aslam Portfolio
Theme URI: https://github.com/nic-dgl233-wi26/dlu1-project-1-aslam1999.git
Author: Aslam Shaik
Author URI: https://github.com/aslam1999
Description: A custom WordPress block theme portfolio built using Full Site Editing, reusable template parts, and responsive layouts. The theme includes structured sections such as a hero area, about, skills, experience, contact form, and a custom 404 page, with a focus on clean design, accessibility, performance, and modern UI/UX practices.
Version: 1.0
Requires at least: 6.1
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aslam-portfolio
Tags: block-theme, full-site-editing, portfolio, responsive, accessibility-ready
*/

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Contact Form 7 Styles */
.wpcf7 {
  max-width: 520px;
  margin-top: 32px;
}

/* Labels */
.wpcf7 label {
  display: block;
  margin-bottom: 14px;
  color: #e0e0e0;
  font-weight: 200;
}

/* Inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
}

/* Contact Form 7 – Submit button (matches site buttons) */
.wpcf7 input[type="submit"] {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--base);
  border: none;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.wpcf7 {
  max-width: 520px;
  margin: 32px auto;
}

/* Hide mobile experience on desktop */
.experience-mobile {
  display: none;
}

/* Show mobile version only on small screens */
@media (max-width: 768px) {
  .experience-desktop {
    display: none;
  }

  .experience-mobile {
    display: block;
  }
  /* Stack footer items vertically */
  footer .wp-block-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* Center social icons */
  footer .wp-block-social-links {
    justify-content: center;
  }

  /* Center text */
  footer p {
    text-align: center;
  }
}
