diff --git a/css/templatemo-first-portfolio-style.css b/css/templatemo-first-portfolio-style.css index 6b16e9b..bbd4e13 100644 --- a/css/templatemo-first-portfolio-style.css +++ b/css/templatemo-first-portfolio-style.css @@ -752,36 +752,23 @@ strong { box-shadow: 0 10px 20px rgba(0,0,0,0.2); } -.projects-thumb:hover .projects-image, -.projects-thumb:focus .projects-image { - transform: rotate(0) translateY(0); +.projects-info { + position: relative; + z-index: 2; + transition: all 0.3s ease; } -.projects-thumb .popup-image { - display: block; - width: 100%; - height: 100%; -} - -.projects-image { - border-radius: var(--border-radius-medium); - display: block; - width: 100%; - height: 170px; - transform: rotate(10deg) translateY(80px); - transition: all ease 0.5s; -} - -.projects-image { - transition: transform 0.3s ease; -} - -.projects-thumb:hover .projects-image { - transform: scale(1.05); +.projects-thumb:hover .projects-info { + transform: translateY(-10px); } .projects-title { margin-bottom: 20px; + transition: color 0.3s ease; +} + +.projects-thumb:hover .projects-title { + color: var(--secondary-color); } .projects-tag { @@ -790,6 +777,108 @@ strong { color: var(--secondary-color); text-transform: uppercase; margin-bottom: 5px; + display: inline-block; + padding: 4px 12px; + background: rgba(20, 183, 137, 0.1); + border-radius: var(--border-radius-small); +} + +.projects-description { + color: var(--p-color); + font-size: 14px; + margin-top: 15px; + opacity: 0; + transform: translateY(20px); + transition: all 0.3s ease; +} + +.projects-thumb:hover .projects-description { + opacity: 1; + transform: translateY(0); +} + +.projects-links { + margin-top: 15px; + opacity: 0; + transform: translateY(20px); + transition: all 0.3s ease; +} + +.projects-thumb:hover .projects-links { + opacity: 1; + transform: translateY(0); +} + +.projects-link { + display: inline-block; + margin-right: 10px; + color: var(--secondary-color); + font-size: 14px; + text-decoration: none; + transition: all 0.3s ease; +} + +.projects-link:hover { + color: var(--primary-color); + transform: translateY(-2px); +} + +.projects-image { + border-radius: var(--border-radius-medium); + display: block; + width: 100%; + height: 200px; + object-fit: cover; + transition: all 0.5s ease; + transform: scale(1); +} + +.projects-thumb:hover .projects-image { + transform: scale(1.05); +} + +/* Lightbox styles */ +.lightbox { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.9); + display: none; + justify-content: center; + align-items: center; + z-index: 1000; +} + +.lightbox.active { + display: flex; +} + +.lightbox-content { + max-width: 90%; + max-height: 90vh; + position: relative; +} + +.lightbox-image { + max-width: 100%; + max-height: 90vh; + border-radius: var(--border-radius-medium); +} + +.lightbox-close { + position: absolute; + top: -40px; + right: 0; + color: var(--white-color); + font-size: 30px; + cursor: pointer; + transition: all 0.3s ease; +} + +.lightbox-close:hover { + color: var(--secondary-color); } /*--------------------------------------- @@ -1065,7 +1154,7 @@ strong { .custom-btn, .navbar .custom-btn { - font-size: var(--copyright-text-font-size); + font-size: var(--copyright-font-size); padding: 8px 16px; } diff --git a/index.html b/index.html index f93c2d7..3669097 100644 --- a/index.html +++ b/index.html @@ -100,7 +100,7 @@
A secure login system for law office management with role-based access control and advanced security features.
+
+
A modern payment system login interface with secure authentication and user-friendly design.
+
+
A full-featured e-commerce platform for clothing with advanced filtering and shopping cart functionality.
+
+
+
I’m available for freelance projects
+I'm available for freelance projects
@@ -932,12 +910,12 @@Copyright © 2036 First Portfolio Company. All + >Copyright © 2025. All rights reserved. Design: - TemplateMoMohammed Al-Yaseen