Files
Nicole/style5.css
2025-05-09 17:18:47 +02:00

1216 lines
21 KiB
CSS

/*
* JPM Security & Services - Style 5
* A creative and modern design with animations
*/
:root {
--primary-dark: #0a0e17; /* Dark navy/black from the card */
--primary-light: #ffffff; /* White/silver from the card */
--accent-gray: #3a3a3a; /* Gray from the card borders */
--accent-silver: #e0e0e0; /* Lighter silver for accents */
--text-dark: #333333;
--text-light: #f8f9fa;
--transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* 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);
line-height: 1.6;
overflow-x: hidden;
cursor: none; /* Hide default cursor for custom cursor */
}
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
margin-bottom: 1rem;
color: var(--primary-dark);
}
a {
text-decoration: none;
color: inherit;
transition: var(--transition);
cursor: none; /* Hide default cursor for custom cursor */
}
ul {
list-style: none;
}
section {
padding: 100px 0;
position: relative;
}
.btn {
display: inline-block;
padding: 15px 35px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
border-radius: 0;
transition: var(--transition);
position: relative;
overflow: hidden;
z-index: 1;
cursor: none; /* Hide default cursor for custom cursor */
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.1);
transition: var(--transition);
z-index: -1;
}
.btn:hover::before {
left: 0;
}
.btn-primary {
background-color: var(--primary-dark);
color: var(--primary-light);
border: none;
}
.btn-primary:hover {
background-color: var(--accent-gray);
color: var(--primary-light);
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-light {
background-color: var(--primary-light);
color: var(--primary-dark);
border: none;
}
.btn-light:hover {
background-color: var(--accent-silver);
color: var(--primary-dark);
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.section-subtitle {
display: inline-block;
font-size: 1rem;
font-weight: 600;
color: var(--accent-gray);
margin-bottom: 15px;
text-transform: uppercase;
letter-spacing: 2px;
position: relative;
}
.section-title {
font-size: 2.5rem;
margin-bottom: 20px;
position: relative;
}
.section-description {
font-size: 1.1rem;
color: var(--accent-gray);
max-width: 700px;
margin: 0 auto 50px;
}
.section-header {
text-align: center;
margin-bottom: 60px;
}
/* Custom Cursor */
.cursor {
position: fixed;
width: 10px;
height: 10px;
border-radius: 50%;
background-color: var(--primary-dark);
pointer-events: none;
z-index: 9999;
transform: translate(-50%, -50%);
transition: width 0.3s, height 0.3s, background-color 0.3s;
}
.cursor-follower {
position: fixed;
width: 40px;
height: 40px;
border: 1px solid var(--primary-dark);
border-radius: 50%;
pointer-events: none;
z-index: 9998;
transform: translate(-50%, -50%);
transition: all 0.2s ease-out;
}
.cursor.active {
width: 20px;
height: 20px;
background-color: var(--primary-dark);
}
.cursor-follower.active {
width: 50px;
height: 50px;
border-width: 2px;
}
/* Preloader */
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--primary-dark);
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;
}
.loader {
position: relative;
}
.logo-text {
font-size: 4rem;
font-weight: 800;
letter-spacing: 8px;
color: var(--primary-light);
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.1);
opacity: 0.8;
}
100% {
transform: scale(1);
opacity: 1;
}
}
/* Header */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 30px 0;
z-index: 100;
transition: var(--transition);
}
.header.scrolled {
background-color: var(--primary-light);
padding: 15px 0;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.header.scrolled .logo-text,
.header.scrolled .logo-tagline,
.header.scrolled .menu-toggle span {
color: var(--primary-dark);
}
.header.scrolled .hamburger span {
background-color: var(--primary-dark);
}
.logo {
display: inline-block;
}
.logo a {
display: flex;
flex-direction: column;
}
.logo-text {
font-size: 2rem;
font-weight: 800;
letter-spacing: 5px;
color: var(--primary-light);
line-height: 1;
}
.logo-tagline {
font-size: 0.7rem;
letter-spacing: 2px;
color: var(--primary-light);
opacity: 0.8;
}
.menu-toggle {
display: flex;
align-items: center;
cursor: pointer;
}
.menu-toggle span {
font-size: 1rem;
font-weight: 500;
color: var(--primary-light);
margin-right: 15px;
text-transform: uppercase;
letter-spacing: 2px;
}
.hamburger {
width: 30px;
height: 20px;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.hamburger span {
display: block;
width: 100%;
height: 2px;
background-color: var(--primary-light);
transition: var(--transition);
}
/* Fullscreen Menu */
.fullscreen-menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--primary-dark);
z-index: 999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: var(--transition);
}
.fullscreen-menu.active {
opacity: 1;
visibility: visible;
}
.menu-close {
position: absolute;
top: 30px;
right: 50px;
display: flex;
align-items: center;
cursor: pointer;
}
.menu-close span {
font-size: 1rem;
font-weight: 500;
color: var(--primary-light);
margin-right: 15px;
text-transform: uppercase;
letter-spacing: 2px;
}
.close-btn {
width: 30px;
height: 30px;
position: relative;
}
.close-btn span {
display: block;
width: 100%;
height: 2px;
background-color: var(--primary-light);
position: absolute;
top: 50%;
left: 0;
margin: 0;
}
.close-btn span:first-child {
transform: translateY(-50%) rotate(45deg);
}
.close-btn span:last-child {
transform: translateY(-50%) rotate(-45deg);
}
.menu-content {
width: 100%;
}
.menu-links ul li {
margin-bottom: 20px;
overflow: hidden;
}
.menu-link {
font-size: 3rem;
font-weight: 700;
color: var(--primary-light);
display: inline-block;
position: relative;
transition: var(--transition);
}
.menu-link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary-light);
transition: var(--transition);
}
.menu-link:hover {
color: var(--accent-silver);
}
.menu-link:hover::after {
width: 100%;
}
.menu-info {
color: var(--primary-light);
margin-top: 50px;
}
.menu-info h3 {
font-size: 1.5rem;
margin-bottom: 20px;
color: var(--primary-light);
}
.menu-info p {
margin-bottom: 15px;
opacity: 0.8;
}
.menu-info p i {
margin-right: 10px;
width: 20px;
}
.menu-social {
display: flex;
margin-top: 30px;
}
.menu-social a {
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
color: var(--primary-light);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-right: 15px;
transition: var(--transition);
}
.menu-social a:hover {
background-color: var(--primary-light);
color: var(--primary-dark);
transform: translateY(-5px);
}
/* Hero Section */
.hero-section {
height: 100vh;
padding: 0;
display: flex;
align-items: center;
position: relative;
}
.hero-content {
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 50px;
background-color: var(--primary-dark);
color: var(--primary-light);
}
.hero-title {
font-size: 5rem;
font-weight: 800;
letter-spacing: 10px;
color: var(--primary-light);
margin-bottom: 0;
line-height: 1;
}
.hero-subtitle {
font-size: 1.5rem;
letter-spacing: 5px;
color: var(--primary-light);
margin-bottom: 30px;
font-weight: 400;
}
.hero-text {
font-size: 1.2rem;
margin-bottom: 40px;
max-width: 500px;
}
.hero-btns .btn {
margin-right: 15px;
}
.hero-image {
height: 100%;
position: relative;
overflow: hidden;
}
.hero-img-inner {
width: 100%;
height: 100%;
background-image: url('cytonn-photography-n95VMLxqM2I-unsplash.jpg');
background-size: cover;
background-position: center;
transition: transform 10s ease;
}
.hero-section:hover .hero-img-inner {
transform: scale(1.1);
}
.scroll-down {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
}
.mouse {
width: 30px;
height: 50px;
border: 2px solid var(--primary-light);
border-radius: 20px;
position: relative;
margin-bottom: 10px;
}
.wheel {
width: 4px;
height: 8px;
background-color: var(--primary-light);
border-radius: 2px;
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
animation: scroll 2s infinite;
}
@keyframes scroll {
0% {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
100% {
opacity: 0;
transform: translateX(-50%) translateY(20px);
}
}
.arrow {
display: flex;
flex-direction: column;
align-items: center;
}
.arrow span {
display: block;
width: 10px;
height: 10px;
border-bottom: 2px solid var(--primary-light);
border-right: 2px solid var(--primary-light);
transform: rotate(45deg);
margin: -5px;
animation: arrow 2s infinite;
}
.arrow span:nth-child(2) {
animation-delay: 0.2s;
}
.arrow span:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes arrow {
0% {
opacity: 0;
transform: rotate(45deg) translate(-5px, -5px);
}
50% {
opacity: 1;
}
100% {
opacity: 0;
transform: rotate(45deg) translate(5px, 5px);
}
}
/* Services Section */
.services-section {
background-color: var(--primary-light);
padding: 120px 0;
}
.service-card {
background-color: #f8f9fa;
padding: 40px 30px;
border-radius: 5px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: var(--transition);
height: 100%;
position: relative;
z-index: 1;
overflow: hidden;
}
.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 0;
background-color: var(--primary-dark);
transition: var(--transition);
z-index: -1;
}
.service-card:hover::before {
height: 100%;
}
.service-card:hover {
transform: translateY(-20px);
}
.service-card:hover h3,
.service-card:hover p {
color: var(--primary-light);
}
.service-icon {
width: 80px;
height: 80px;
background-color: rgba(10, 14, 23, 0.05);
color: var(--primary-dark);
font-size: 2rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-bottom: 25px;
transition: var(--transition);
}
.service-card:hover .service-icon {
background-color: var(--primary-light);
color: var(--primary-dark);
}
.service-card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
transition: var(--transition);
}
.service-card p {
margin-bottom: 25px;
transition: var(--transition);
}
.service-link {
display: inline-flex;
align-items: center;
font-weight: 600;
color: var(--primary-dark);
transition: var(--transition);
}
.service-link span {
margin-right: 10px;
}
.service-link i {
transition: var(--transition);
}
.service-card:hover .service-link {
color: var(--primary-light);
}
.service-link:hover i {
transform: translateX(5px);
}
/* About Section */
.about-section {
padding: 120px 0;
background-color: #f8f9fa;
}
.about-image {
position: relative;
margin-bottom: 30px;
}
.about-img-inner {
width: 100%;
height: 500px;
background-image: url('ben-rosett-WdJkXFQ4VHY-unsplash.jpg');
background-size: cover;
background-position: center;
position: relative;
z-index: 1;
}
.about-pattern {
position: absolute;
top: 30px;
left: -30px;
width: 100%;
height: 100%;
border: 5px solid var(--primary-dark);
z-index: 0;
}
.about-content {
padding-left: 30px;
}
.about-content p {
margin-bottom: 20px;
color: var(--accent-gray);
}
.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-dark);
}
.values-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}
.value-item {
display: flex;
align-items: flex-start;
background-color: var(--primary-light);
padding: 25px;
border-radius: 5px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: var(--transition);
}
.value-item:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.value-icon {
font-size: 2rem;
color: var(--primary-dark);
margin-right: 20px;
min-width: 40px;
}
.value-item h4 {
font-size: 1.2rem;
margin-bottom: 10px;
}
.value-item p {
margin-bottom: 0;
font-size: 0.9rem;
}
/* CTA Section */
.cta-section {
padding: 80px 0;
background-color: var(--primary-light);
}
.cta-inner {
background-color: var(--primary-dark);
color: var(--primary-light);
padding: 60px;
border-radius: 5px;
position: relative;
overflow: hidden;
}
.cta-inner::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('cytonn-photography-n95VMLxqM2I-unsplash.jpg');
background-size: cover;
background-position: center;
opacity: 0.1;
z-index: 0;
}
.cta-content {
position: relative;
z-index: 1;
}
.cta-content h2 {
color: var(--primary-light);
font-size: 2rem;
margin-bottom: 15px;
}
.cta-content p {
opacity: 0.8;
margin-bottom: 0;
}
/* Contact Section */
.contact-section {
padding: 120px 0;
background-color: var(--primary-light);
}
.contact-info {
background-color: var(--primary-dark);
color: var(--primary-light);
padding: 50px;
height: 100%;
border-radius: 5px;
}
.contact-info-header {
margin-bottom: 30px;
}
.contact-info-header h3 {
color: var(--primary-light);
position: relative;
padding-bottom: 15px;
display: inline-block;
}
.contact-info-header h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 2px;
background-color: var(--primary-light);
}
.contact-info-item {
display: flex;
margin-bottom: 30px;
}
.contact-info-item .icon {
font-size: 1.5rem;
margin-right: 20px;
min-width: 30px;
}
.contact-info-item .text h4 {
color: var(--primary-light);
font-size: 1.2rem;
margin-bottom: 5px;
}
.contact-info-item .text p {
opacity: 0.8;
margin-bottom: 0;
}
.contact-social {
margin-top: 40px;
}
.contact-social h4 {
color: var(--primary-light);
margin-bottom: 20px;
}
.social-icons {
display: flex;
}
.social-icon {
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
color: var(--primary-light);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-right: 15px;
transition: var(--transition);
}
.social-icon:hover {
background-color: var(--primary-light);
color: var(--primary-dark);
transform: translateY(-5px);
}
.contact-form-box {
background-color: #f8f9fa;
padding: 50px;
border-radius: 5px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
height: 100%;
}
.form-group {
margin-bottom: 25px;
}
.form-group label {
display: block;
margin-bottom: 10px;
font-weight: 500;
}
.form-control {
width: 100%;
height: 55px;
padding: 0 20px;
border: 1px solid #e1e1e1;
border-radius: 0;
transition: var(--transition);
background-color: var(--primary-light);
}
.form-control:focus {
border-color: var(--primary-dark);
outline: none;
box-shadow: none;
}
textarea.form-control {
height: auto;
padding: 20px;
}
/* Footer */
.footer {
background-color: var(--primary-dark);
color: var(--primary-light);
padding: 80px 0 0;
}
.footer-widget {
margin-bottom: 40px;
}
.footer-logo {
margin-bottom: 20px;
}
.footer-logo .logo-text {
font-size: 2rem;
font-weight: 800;
letter-spacing: 3px;
}
.footer-logo .logo-tagline {
font-size: 0.7rem;
letter-spacing: 2px;
opacity: 0.8;
}
.about-widget p {
opacity: 0.7;
margin-bottom: 0;
}
.footer h3 {
color: var(--primary-light);
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 li {
margin-bottom: 15px;
}
.footer-links li a {
opacity: 0.7;
transition: var(--transition);
}
.footer-links li a:hover {
opacity: 1;
padding-left: 5px;
}
.footer-contact-info li {
display: flex;
align-items: flex-start;
margin-bottom: 15px;
opacity: 0.7;
}
.footer-contact-info li i {
margin-right: 10px;
margin-top: 5px;
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding: 20px 0;
margin-top: 40px;
}
.copyright {
margin-bottom: 0;
opacity: 0.7;
}
.footer-bottom-links a {
margin-left: 20px;
opacity: 0.7;
transition: var(--transition);
}
.footer-bottom-links a:hover {
opacity: 1;
}
/* Back to Top */
.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: var(--transition);
}
.back-to-top.active {
opacity: 1;
visibility: visible;
}
.back-to-top:hover {
background-color: var(--accent-gray);
color: var(--primary-light);
transform: translateY(-5px);
}
/* Responsive Styles */
@media (max-width: 1199.98px) {
.hero-title {
font-size: 4rem;
}
.menu-link {
font-size: 2.5rem;
}
}
@media (max-width: 991.98px) {
section {
padding: 80px 0;
}
.hero-title {
font-size: 3rem;
}
.hero-subtitle {
font-size: 1.2rem;
}
.hero-content {
padding: 0 30px;
}
.about-content {
padding-left: 0;
margin-top: 50px;
}
.values-grid {
grid-template-columns: 1fr;
}
.contact-info {
margin-bottom: 30px;
}
}
@media (max-width: 767.98px) {
.hero-section {
height: auto;
}
.hero-content {
padding: 100px 20px;
}
.hero-image {
height: 50vh;
}
.hero-title {
font-size: 2.5rem;
}
.menu-close {
top: 20px;
right: 20px;
}
.menu-link {
font-size: 2rem;
}
.cta-inner {
padding: 40px 20px;
}
.contact-form-box {
padding: 30px;
}
.footer h3::after {
left: 0;
}
}
@media (max-width: 575.98px) {
.hero-title {
font-size: 2rem;
letter-spacing: 5px;
}
.hero-subtitle {
font-size: 1rem;
letter-spacing: 3px;
}
.section-title {
font-size: 2rem;
}
.menu-link {
font-size: 1.5rem;
}
.about-pattern {
display: none;
}
.cursor, .cursor-follower {
display: none;
}
body {
cursor: auto;
}
a, .btn {
cursor: pointer;
}
}