Files
Nicole/style3.css
2025-05-09 17:57:11 +02:00

990 lines
17 KiB
CSS

/*
* JPM Security & Services - Style 3
* A modern design with parallax effects and animations
*/
:root {
--primary-dark: #1a1f2c;
--primary-light: #ffffff;
--accent-color: #3498db;
--accent-hover: #2980b9;
--text-dark: #2c3e50;
--text-light: #f8f9fa;
--gradient-start: #2c3e50;
--gradient-end: #3498db;
}
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: var(--text-dark);
background-color: var(--primary-light);
overflow-x: hidden;
line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
margin-bottom: 1rem;
}
a {
text-decoration: none;
color: inherit;
transition: all 0.3s ease;
}
ul {
list-style: none;
}
section {
padding: 100px 0;
position: relative;
}
.btn-primary {
background-color: var(--primary-dark);
border: none;
color: var(--primary-light);
padding: 15px 35px;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
transition: all 0.3s ease;
border-radius: 0;
position: relative;
overflow: hidden;
z-index: 1;
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background-color: var(--accent-gray);
transition: all 0.4s ease;
z-index: -1;
}
.btn-primary:hover::before {
left: 0;
}
.btn-primary:hover {
color: var(--primary-light);
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* Preloader */
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.fade-out {
opacity: 0;
visibility: hidden;
}
.logo-container {
position: relative;
width: 150px;
height: 150px;
animation: pulse 2s infinite;
}
.logo-text {
font-size: 3rem;
font-weight: 800;
color: var(--primary-light);
text-align: center;
position: relative;
z-index: 1;
}
.logo-container::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
animation: ripple 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
@keyframes ripple {
0% {
width: 0;
height: 0;
opacity: 0.5;
}
100% {
width: 200%;
height: 200%;
opacity: 0;
}
}
/* Navigation */
.navbar {
background: rgba(26, 31, 44, 0.95);
backdrop-filter: blur(10px);
padding: 1rem 0;
transition: all 0.3s ease;
}
.navbar.scrolled {
padding: 0.5rem 0;
background: rgba(26, 31, 44, 0.98);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
font-size: 1.8rem;
font-weight: 800;
color: var(--primary-light);
letter-spacing: 2px;
}
.nav-link {
color: var(--primary-light) !important;
font-weight: 500;
padding: 0.5rem 1rem !important;
position: relative;
transition: all 0.3s ease;
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 2px;
background: var(--accent-color);
transition: all 0.3s ease;
transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after {
width: 30px;
}
/* Hero Section */
.hero-section {
height: 100vh;
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
position: relative;
overflow: hidden;
display: flex;
align-items: center;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('cytonn-photography-n95VMLxqM2I-unsplash.jpg') center/cover;
opacity: 0.2;
animation: zoom 20s infinite alternate;
}
@keyframes zoom {
0% {
transform: scale(1);
}
100% {
transform: scale(1.1);
}
}
.hero-content {
position: relative;
z-index: 1;
}
.hero-title {
font-size: 4rem;
font-weight: 800;
color: var(--primary-light);
margin-bottom: 1rem;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s ease forwards;
}
.hero-subtitle {
font-size: 1.5rem;
color: var(--primary-light);
opacity: 0.8;
margin-bottom: 2rem;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s ease 0.2s forwards;
}
.hero-text {
font-size: 1.2rem;
color: var(--primary-light);
margin-bottom: 2rem;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s ease 0.4s forwards;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
/* Scroll Down Animation */
.scroll-down {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
animation: bounce 2s infinite;
}
.scroll-down a {
display: block;
width: 30px;
height: 50px;
border: 2px solid var(--primary-light);
border-radius: 15px;
position: relative;
}
.scroll-down a span {
position: absolute;
top: 8px;
left: 50%;
width: 6px;
height: 6px;
margin-left: -3px;
background-color: var(--primary-light);
border-radius: 50%;
animation: scrollDown 2s infinite;
}
.scroll-down a span:nth-child(2) {
top: 20px;
animation-delay: 0.2s;
}
.scroll-down a span:nth-child(3) {
top: 32px;
animation-delay: 0.4s;
}
@keyframes scrollDown {
0% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(10px);
}
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-20px);
}
60% {
transform: translateY(-10px);
}
}
/* Section Title */
.section-title {
margin-bottom: 60px;
}
.section-title .subtitle {
display: inline-block;
font-size: 1rem;
font-weight: 500;
color: var(--accent-gray);
margin-bottom: 15px;
position: relative;
padding-left: 50px;
}
.section-title .subtitle::before {
content: '';
position: absolute;
left: 0;
top: 50%;
width: 40px;
height: 1px;
background-color: var(--accent-gray);
}
.section-title h2 {
font-size: 2.5rem;
margin-bottom: 20px;
position: relative;
display: inline-block;
}
.section-title h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 0;
width: 60px;
height: 3px;
background-color: var(--primary-dark);
}
.section-title.light {
color: var(--primary-light);
}
.section-title.light .subtitle {
color: var(--primary-light);
}
.section-title.light .subtitle::before {
background-color: var(--primary-light);
}
.section-title.light h2::after {
background-color: var(--primary-light);
}
.section-title.text-center h2::after {
left: 50%;
transform: translateX(-50%);
}
/* Services Section */
.services-section {
padding: 100px 0;
background-color: var(--primary-light);
}
.service-box {
background: var(--primary-light);
padding: 30px;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
height: 100%;
position: relative;
overflow: hidden;
}
.service-box::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
opacity: 0;
transition: all 0.3s ease;
z-index: 0;
}
.service-box:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.service-box:hover::before {
opacity: 0.05;
}
.service-icon {
width: 70px;
height: 70px;
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
position: relative;
z-index: 1;
}
.service-icon i {
font-size: 30px;
color: var(--primary-light);
}
.service-box h3 {
font-size: 1.5rem;
margin-bottom: 15px;
position: relative;
z-index: 1;
}
.service-box p {
color: var(--text-dark);
margin-bottom: 20px;
position: relative;
z-index: 1;
}
.service-link {
color: var(--accent-color);
font-weight: 600;
display: inline-flex;
align-items: center;
position: relative;
z-index: 1;
transition: all 0.3s ease;
}
.service-link i {
margin-left: 5px;
transition: transform 0.3s ease;
}
.service-link:hover {
color: var(--accent-hover);
}
.service-link:hover i {
transform: translateX(5px);
}
/* Parallax Section */
.parallax-section {
position: relative;
overflow: hidden;
}
.parallax-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('cytonn-photography-n95VMLxqM2I-unsplash.jpg') center/cover fixed;
opacity: 0.1;
transform: translateZ(0);
}
/* About Section */
.about-section {
position: relative;
padding: 120px 0;
color: var(--primary-light);
}
.about-content {
position: relative;
z-index: 1;
}
.about-content p {
margin-bottom: 20px;
line-height: 1.8;
}
.about-values {
margin-top: 40px;
}
.about-values h3 {
margin-bottom: 25px;
position: relative;
padding-bottom: 15px;
display: inline-block;
}
.about-values h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 2px;
background-color: var(--primary-light);
}
.values-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 25px;
}
.value-item {
display: flex;
align-items: flex-start;
}
.value-icon {
font-size: 1.5rem;
color: var(--primary-light);
margin-right: 15px;
min-width: 30px;
}
.value-text h4 {
font-size: 1.2rem;
margin-bottom: 5px;
}
.about-image {
position: relative;
z-index: 1;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.image-frame {
position: relative;
width: 80%;
padding-bottom: 100%;
border: 5px solid var(--primary-light);
}
.image-content {
position: absolute;
top: 30px;
left: 30px;
right: -30px;
bottom: -30px;
background-image: url('ben-rosett-WdJkXFQ4VHY-unsplash.jpg');
background-size: cover;
background-position: center;
}
/* Contact Section */
.contact-section {
background-color: var(--primary-light);
position: relative;
}
.contact-info-box {
background: var(--primary-light);
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
overflow: hidden;
}
.contact-info-header {
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
color: var(--primary-light);
padding: 20px;
text-align: center;
}
.contact-info-content {
padding: 30px;
}
.contact-info-item {
display: flex;
align-items: flex-start;
margin-bottom: 30px;
}
.contact-info-item:last-child {
margin-bottom: 0;
}
.contact-info-item .icon {
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
flex-shrink: 0;
}
.contact-info-item .icon i {
font-size: 20px;
color: var(--primary-light);
}
.contact-info-item .text h4 {
margin-bottom: 5px;
color: var(--text-dark);
}
.contact-info-item .text p {
color: var(--text-dark);
opacity: 0.8;
margin: 0;
}
.contact-social {
margin-top: 40px;
}
.contact-social h4 {
margin-bottom: 15px;
}
.social-icons {
display: flex;
}
.social-icon {
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-right: 10px;
transition: all 0.3s ease;
}
.social-icon:hover {
background-color: var(--primary-light);
color: var(--primary-dark);
}
.contact-form-box {
background-color: var(--primary-light);
padding: 50px 40px;
border-radius: 5px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
height: 100%;
}
.form-group {
margin-bottom: 25px;
}
.form-control {
height: 55px;
padding: 0 20px;
border: 1px solid #e1e1e1;
border-radius: 0;
transition: all 0.3s ease;
}
.form-control:focus {
border-color: var(--primary-dark);
box-shadow: none;
}
textarea.form-control {
height: auto;
padding: 20px;
}
.btn-block {
width: 100%;
}
/* Footer */
.footer {
background-color: var(--primary-dark);
color: var(--primary-light);
padding: 80px 0 0;
}
.footer-about {
margin-bottom: 30px;
}
.footer-logo {
margin-bottom: 20px;
}
.footer-logo .logo-text {
font-size: 2rem;
font-weight: 800;
letter-spacing: 3px;
}
.footer-logo .logo-subtext {
font-size: 0.8rem;
letter-spacing: 2px;
}
.footer h3 {
font-size: 1.3rem;
margin-bottom: 25px;
position: relative;
padding-bottom: 15px;
display: inline-block;
}
.footer h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 2px;
background-color: var(--primary-light);
}
.footer-links {
margin-bottom: 30px;
}
.footer-links ul li {
margin-bottom: 10px;
}
.footer-links ul li a {
opacity: 0.7;
transition: all 0.3s ease;
}
.footer-links ul li a:hover {
opacity: 1;
padding-left: 5px;
}
.footer-newsletter {
margin-bottom: 30px;
}
.footer-newsletter p {
margin-bottom: 20px;
opacity: 0.7;
}
.newsletter-form {
position: relative;
}
.newsletter-form input {
width: 100%;
height: 50px;
padding: 0 20px;
border: none;
background-color: rgba(255, 255, 255, 0.1);
color: var(--primary-light);
}
.newsletter-form input:focus {
outline: none;
}
.newsletter-form button {
position: absolute;
top: 0;
right: 0;
height: 50px;
width: 50px;
background-color: var(--primary-light);
color: var(--primary-dark);
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.newsletter-form button:hover {
background-color: var(--accent-silver);
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding: 20px 0;
margin-top: 50px;
}
.footer-bottom p {
margin-bottom: 0;
opacity: 0.7;
}
.footer-legal a {
margin-left: 20px;
opacity: 0.7;
transition: all 0.3s ease;
}
.footer-legal a:hover {
opacity: 1;
}
/* Back to Top Button */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background-color: var(--primary-dark);
color: var(--primary-light);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 99;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.back-to-top.active {
opacity: 1;
visibility: visible;
}
.back-to-top:hover {
background-color: var(--accent-gray);
color: var(--primary-light);
transform: translateY(-3px);
}
/* Responsive Styles */
@media (max-width: 1199.98px) {
.hero-title {
font-size: 4rem;
}
.values-container {
grid-template-columns: 1fr;
}
.image-frame {
width: 100%;
}
}
@media (max-width: 991.98px) {
section {
padding: 80px 0;
}
.hero-title {
font-size: 3rem;
}
.hero-subtitle {
font-size: 1.2rem;
}
.section-title h2 {
font-size: 2.2rem;
}
.about-image {
margin-top: 50px;
}
.contact-info-box,
.contact-form-box {
margin-bottom: 30px;
}
}
@media (max-width: 767.98px) {
section {
padding: 60px 0;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.2rem;
}
.section-title h2 {
font-size: 2rem;
}
.service-box {
margin-bottom: 30px;
}
.footer {
padding-top: 60px;
}
.footer-bottom {
text-align: center;
}
.footer-legal {
margin-top: 15px;
}
.footer-legal a {
margin: 0 10px;
}
}
@media (max-width: 575.98px) {
.hero-title {
font-size: 2rem;
}
.hero-subtitle {
font-size: 1rem;
}
.preloader .logo-text {
font-size: 3rem;
}
.back-to-top {
bottom: 20px;
right: 20px;
width: 40px;
height: 40px;
}
}