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

986 lines
17 KiB
CSS

/*
* JPM Security & Services - Style 3
* A modern, full-screen design with parallax effects
*/
: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;
}
/* 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-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;
}
.preloader .logo-container {
animation: pulse 1.5s infinite;
}
.preloader .logo-text {
font-size: 4rem;
font-weight: 800;
letter-spacing: 8px;
color: var(--primary-light);
}
@keyframes pulse {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.1);
opacity: 0.8;
}
100% {
transform: scale(1);
opacity: 1;
}
}
/* Navigation */
.navbar {
padding: 20px 0;
transition: all 0.4s ease;
background-color: transparent;
}
.navbar.scrolled {
background-color: var(--primary-dark);
padding: 15px 0;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
font-weight: 800;
font-size: 1.8rem;
}
.brand-text {
color: var(--primary-light);
letter-spacing: 3px;
}
.navbar-toggler {
border: none;
padding: 0;
}
.navbar-toggler:focus {
box-shadow: none;
}
.navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-nav .nav-link {
color: var(--primary-light);
font-weight: 500;
padding: 10px 15px;
position: relative;
}
/* Fix for active navigation link */
.navbar-nav .nav-link.active {
color: var(--primary-light);
background-color: rgba(10, 14, 23, 0.7);
}
.navbar-nav .nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 2px;
background-color: var(--primary-light);
transition: all 0.3s ease;
transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
width: 30px;
}
/* Hero Section */
.hero-section {
height: 100vh;
background-color: var(--primary-dark);
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.hero-section::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.2;
animation: scale 20s infinite alternate;
}
@keyframes scale {
0% {
transform: scale(1);
}
100% {
transform: scale(1.1);
}
}
.hero-content {
position: relative;
z-index: 1;
text-align: center;
color: var(--primary-light);
}
.hero-logo {
width: 120px;
height: 120px;
margin: 0 auto 30px;
background-image: url('ben-rosett-WdJkXFQ4VHY-unsplash.jpg');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
filter: brightness(0) invert(1);
}
.hero-title {
font-size: 5rem;
font-weight: 800;
letter-spacing: 10px;
margin-bottom: 0;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s forwards 0.5s;
}
.hero-subtitle {
font-size: 1.5rem;
letter-spacing: 5px;
margin-bottom: 30px;
font-weight: 400;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s forwards 0.7s;
}
.hero-text {
font-size: 1.2rem;
margin-bottom: 40px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s forwards 0.9s;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.scroll-down {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
}
.scroll-down a {
display: inline-block;
width: 30px;
height: 50px;
position: relative;
}
.scroll-down span {
position: absolute;
top: 0;
left: 50%;
width: 24px;
height: 24px;
margin-left: -12px;
border-left: 2px solid var(--primary-light);
border-bottom: 2px solid var(--primary-light);
transform: rotate(-45deg);
animation: scrollDown 2s infinite;
opacity: 0;
box-sizing: border-box;
}
.scroll-down span:nth-of-type(1) {
animation-delay: 0s;
}
.scroll-down span:nth-of-type(2) {
top: 16px;
animation-delay: 0.15s;
}
.scroll-down span:nth-of-type(3) {
top: 32px;
animation-delay: 0.3s;
}
@keyframes scrollDown {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
/* 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 {
background-color: var(--primary-light);
padding: 120px 0;
}
.services-container {
margin-top: 50px;
}
.service-box {
background-color: #f8f9fa;
padding: 40px 30px;
border-radius: 5px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
height: 100%;
position: relative;
z-index: 1;
overflow: hidden;
}
.service-box::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 0;
background-color: var(--primary-dark);
transition: all 0.5s ease;
z-index: -1;
}
.service-box:hover::before {
height: 100%;
}
.service-box:hover {
transform: translateY(-10px);
}
.service-box:hover h3,
.service-box:hover p,
.service-box:hover .service-link {
color: var(--primary-light);
}
.service-box:hover .service-icon {
background-color: var(--primary-light);
color: var(--primary-dark);
}
.service-icon {
width: 70px;
height: 70px;
background-color: rgba(10, 14, 23, 0.05);
color: var(--primary-dark);
font-size: 1.8rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-bottom: 25px;
transition: all 0.3s ease;
}
.service-box h3 {
font-size: 1.5rem;
margin-bottom: 15px;
transition: all 0.3s ease;
}
.service-box p {
margin-bottom: 20px;
transition: all 0.3s ease;
}
.service-link {
font-weight: 600;
display: inline-flex;
align-items: center;
transition: all 0.3s ease;
}
.service-link i {
margin-left: 5px;
transition: all 0.3s ease;
}
.service-link:hover i {
transform: translateX(5px);
}
/* About Section */
.about-section {
position: relative;
padding: 120px 0;
color: var(--primary-light);
}
.parallax-section {
overflow: hidden;
}
.parallax-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('cytonn-photography-n95VMLxqM2I-unsplash.jpg');
background-size: cover;
background-position: center;
background-attachment: fixed;
}
.parallax-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(10, 14, 23, 0.85);
}
.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 {
padding: 120px 0;
background-color: #f8f9fa;
}
.contact-info-box {
background-color: var(--primary-dark);
color: var(--primary-light);
padding: 50px 40px;
height: 100%;
border-radius: 5px;
}
.contact-info-header {
margin-bottom: 30px;
}
.contact-info-header h3 {
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 {
font-size: 1.2rem;
margin-bottom: 5px;
}
.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: 3.5rem;
}
.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: 3rem;
letter-spacing: 5px;
}
.hero-subtitle {
font-size: 1rem;
letter-spacing: 3px;
}
.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: 2.5rem;
}
.preloader .logo-text {
font-size: 3rem;
}
.back-to-top {
bottom: 20px;
right: 20px;
width: 40px;
height: 40px;
}
}