diff --git a/components/contact.html b/components/contact.html index e39b976..a1b852a 100644 --- a/components/contact.html +++ b/components/contact.html @@ -1,29 +1,129 @@
-
-
+
+
- - -

Contact Me

+ +

Get In Touch

+
-
-
+
+
+
-
- + +
+
+
+
+ +
+
+

Location

+

Damascus, Syria

+
+
+ +
+
+ +
+
+

Email

+

hello@company.com

+
+
+ +
+
+ +
+
+

Phone

+

010-020-0340

+
+
+ +
+
+ +
+
+

Name

+

Mohammed

+
+
+ +
+

Follow Me

+ +
+
-
- -
+ +
+
+

Send Me a Message

+
+
+
+
+ + +
+
-
- +
+
+ + +
+
- +
+
+ + +
+
+ +
+
+ + +
+
+ +
+ +
+
+ +
diff --git a/css/templatemo-first-portfolio-style.css b/css/templatemo-first-portfolio-style.css index d020ab6..cd69ddf 100644 --- a/css/templatemo-first-portfolio-style.css +++ b/css/templatemo-first-portfolio-style.css @@ -1001,115 +1001,275 @@ strong { -----------------------------------------*/ .contact { background: var(--section-bg-color); + position: relative; + overflow: hidden; + padding: 100px 0; } -.contact-info { - background: var(--white-color); - border-top-right-radius: var(--border-radius-small); - border-bottom-right-radius: var(--border-radius-small); - padding: 60px 30px 30px 30px; +.contact::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; height: 100%; - animation: fadeInUp 1s ease-out; + background: linear-gradient(135deg, rgba(83, 93, 161, 0.15), rgba(20, 183, 137, 0.15)); + z-index: 1; } -.contact-info-border-start { - border-right: 1px solid var(--border-color); - border-radius: var(--border-radius-small) 0 0 var(--border-radius-small); +.contact .container { + position: relative; + z-index: 2; +} + +.contact-wrapper { + background: var(--white-color); + border-radius: var(--border-radius-medium); + box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); + overflow: hidden; +} + +.contact-info-cards { + background: var(--primary-color); + padding: 40px; + height: 100%; + display: flex; + flex-direction: column; + gap: 25px; +} + +.contact-info-card { + display: flex; + align-items: flex-start; + gap: 20px; + padding: 20px; + background: rgba(255, 255, 255, 0.1); + border-radius: var(--border-radius-small); + transition: all 0.3s ease; +} + +.contact-info-card:hover { + transform: translateX(10px); + background: rgba(255, 255, 255, 0.15); +} + +.contact-info-icon { + width: 50px; + height: 50px; + background: var(--white-color); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + font-size: 24px; + color: var(--primary-color); + flex-shrink: 0; + transition: all 0.3s ease; +} + +.contact-info-card:hover .contact-info-icon { + background: var(--secondary-color); + color: var(--white-color); + transform: rotate(360deg); +} + +.contact-info-content { + flex-grow: 1; +} + +.contact-info-content h4 { + color: var(--white-color); + font-size: 18px; + margin-bottom: 8px; + font-weight: 600; +} + +.contact-info-content p { + color: rgba(255, 255, 255, 0.8); + margin: 0; + font-size: 16px; +} + +.contact-info-content a { + color: rgba(255, 255, 255, 0.8); + text-decoration: none; + transition: all 0.3s ease; +} + +.contact-info-content a:hover { + color: var(--white-color); +} + +.contact-social { + margin-top: auto; + padding: 20px; + background: rgba(255, 255, 255, 0.1); + border-radius: var(--border-radius-small); +} + +.contact-social h4 { + color: var(--white-color); + font-size: 18px; + margin-bottom: 15px; + font-weight: 600; } .contact-form { - margin-left: 10px; + padding: 50px; + background: var(--white-color); } -/*--------------------------------------- - CUSTOM FORM ------------------------------------------*/ -.custom-form .form-control { - background: var(--white-color); - box-shadow: none; - border: 2px solid var(--border-color); - color: var(--p-color); - margin-bottom: 24px; - padding-top: 13px; - padding-bottom: 13px; - outline: none; - transition: border-color 0.3s ease, box-shadow 0.3s ease; +.form-title { + color: var(--primary-color); + font-size: 28px; + margin-bottom: 30px; + font-weight: 600; +} + +.form-floating { + margin-bottom: 25px; +} + +.form-floating > .form-control { + height: calc(3.5rem + 2px); + padding: 1rem 1.25rem; + border: 2px solid rgba(83, 93, 161, 0.1); + border-radius: var(--border-radius-small); + transition: all 0.3s ease; + font-size: 16px; +} + +.form-floating > textarea.form-control { + height: 180px; + resize: none; } .form-floating > label { + padding: 1rem 1.25rem; color: var(--p-color); + font-size: 16px; } -.form-check-inline { - vertical-align: middle; - width: 100%; - position: relative; - margin-right: 0; - margin-top: 0; - margin-bottom: 24px; - padding: 0; -} - -.custom-form .form-check-label { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - text-align: center; -} - -.form-check-label-text { - color: var(--p-color); - display: block; - font-size: copyright-font-size; - margin-top: 5px; -} - -.form-check-input[type="checkbox"] { - background: var(--white-color); - border: 2px solid var(--border-color); - box-shadow: none; - outline: none; - width: 100%; - margin-top: 0; - margin-left: 0; - padding: 40px 50px; -} - -.form-check-input:checked[type="checkbox"] { - background-image: none; -} - -.form-check-input:hover, -.form-check-input:checked { - background-color: transparent; +.form-floating > .form-control:focus { border-color: var(--secondary-color); + box-shadow: 0 0 0 0.25rem rgba(20, 183, 137, 0.1); + background-color: rgba(20, 183, 137, 0.02); } -.custom-form .form-control:hover, -.custom-form .form-control:focus { +.form-floating > .form-control:focus + label, +.form-floating > .form-control:not(:placeholder-shown) + label { + color: var(--secondary-color); + transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); +} + +.custom-btn.custom-border-btn { + width: 100%; + padding: 18px 30px; + font-size: 16px; + text-transform: uppercase; + letter-spacing: 1px; + font-weight: 600; + transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); + border: 2px solid var(--secondary-color); + color: var(--secondary-color); background: transparent; - border-color: var(--secondary-color); + position: relative; + overflow: hidden; + z-index: 1; + display: flex; + align-items: center; + justify-content: center; + gap: 10px; } -.custom-form .form-floating textarea { - height: 150px; +.custom-btn.custom-border-btn i { + transition: transform 0.3s ease; } -.custom-form button[type="submit"] { +.custom-btn.custom-border-btn:hover i { + transform: translateX(5px); +} + +.custom-btn.custom-border-btn::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 0; + height: 100%; background: var(--secondary-color); - border: none; - border-radius: var(--border-radius-large); - color: var(--white-color); - font-weight: var(--font-weight-bold); - transition: all 0.3s; - margin-bottom: 0; + transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); + z-index: -1; } -.custom-form button[type="submit"]:hover, -.custom-form button[type="submit"]:focus { - background: var(--primary-color); - border-color: transparent; +.custom-btn.custom-border-btn:hover { + color: var(--white-color); + transform: translateY(-3px); + box-shadow: 0 10px 20px rgba(20, 183, 137, 0.2); +} + +.custom-btn.custom-border-btn:hover::before { + width: 100%; +} + +.social-icon { + display: flex; + gap: 10px; +} + +.social-icon-link { + width: 45px; + height: 45px; + line-height: 45px; + font-size: 18px; + border: 2px solid rgba(255, 255, 255, 0.2); + color: var(--white-color); + transition: all 0.3s ease; +} + +.social-icon-link:hover { + background: var(--white-color); + border-color: var(--white-color); + color: var(--primary-color); + transform: translateY(-5px) rotate(360deg); +} + +@media (max-width: 991px) { + .contact-info-cards { + padding: 30px; + } + + .contact-form { + padding: 40px; + } + + .contact-info-card { + padding: 15px; + } +} + +@media (max-width: 767px) { + .contact-info-cards, + .contact-form { + padding: 30px; + } + + .contact-info-card { + padding: 15px; + } + + .form-title { + font-size: 24px; + } + + .form-floating > .form-control { + font-size: 15px; + } + + .custom-btn.custom-border-btn { + padding: 15px 25px; + font-size: 15px; + } } /*--------------------------------------- @@ -1688,3 +1848,4 @@ img[src*="happy-bearded-young-man.jpg"]:hover { box-shadow: 0 0 30px rgba(255, 255, 255, 0.4); transform: scale(1.05); } +