.portfolio{background:#121212;color:#e0e0e0;padding:100px 20px;text-align:center}.portfolio h2{font-size:2.8rem;margin-bottom:50px;color:#f1f1f1}.portfolio-gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:250px;gap:20px;padding:0 20px}.portfolio-gallery img{width:100%;height:100%;object-fit:cover;border-radius:12px;transition:transform .3s ease,opacity .5s ease;display:block;aspect-ratio:1/1;opacity:1;transform:translateY(0);box-shadow:0 4px 10px rgba(0,0,0,.4)}.portfolio-gallery img:first-child,.portfolio-gallery img:nth-child(4){grid-row:span 2;aspect-ratio:1/2}.portfolio-gallery img:hover{transform:scale(1.05);box-shadow:0 6px 15px rgba(0,0,0,.6)}@media (max-width:1000px){.portfolio-gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:200px}.portfolio-gallery img{aspect-ratio:1/1}}@media (max-width:600px){.portfolio-gallery{grid-template-columns:1fr;grid-auto-rows:200px}.portfolio-gallery img{aspect-ratio:4/3}}