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

985 lines
17 KiB
CSS

/*
* JPM Security & Services - Style 4
* A corporate and professional design with clean lines
*/
: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;
--border-color: #e9e9e9;
--bg-light: #f8f9fa;
--transition: all 0.3s ease;
}
/* 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;
}
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);
}
ul {
list-style: none;
}
section {
padding: 80px 0;
position: relative;
}
.btn {
display: inline-block;
padding: 12px 30px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
border-radius: 0;
transition: var(--transition);
cursor: pointer;
}
.btn-primary {
background-color: var(--primary-dark);
color: var(--primary-light);
border: 2px solid var(--primary-dark);
}
.btn-primary:hover {
background-color: transparent;
color: var(--primary-dark);
}
.btn-outline {
background-color: transparent;
color: var(--primary-dark);
border: 2px solid var(--primary-dark);
}
.btn-outline:hover {
background-color: var(--primary-dark);
color: var(--primary-light);
}
.btn-light {
background-color: var(--primary-light);
color: var(--primary-dark);
border: 2px solid var(--primary-light);
}
.btn-light:hover {
background-color: transparent;
color: var(--primary-light);
}
.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;
padding-left: 50px;
}
.section-subtitle::before {
content: '';
position: absolute;
left: 0;
top: 50%;
width: 40px;
height: 2px;
background-color: var(--primary-dark);
transform: translateY(-50%);
}
.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;
}
/* Top Bar */
.top-bar {
background-color: var(--primary-dark);
color: var(--primary-light);
padding: 10px 0;
font-size: 0.9rem;
}
.top-contact span {
margin-right: 20px;
}
.top-contact i {
margin-right: 5px;
}
.top-social {
text-align: right;
}
.top-social a {
color: var(--primary-light);
margin-left: 15px;
opacity: 0.8;
}
.top-social a:hover {
opacity: 1;
}
/* Header */
.header {
background-color: var(--primary-light);
padding: 20px 0;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.logo {
display: flex;
align-items: center;
}
.logo a {
display: flex;
align-items: center;
}
.logo-img {
width: 50px;
height: 50px;
background-image: url('ben-rosett-WdJkXFQ4VHY-unsplash.jpg');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
margin-right: 10px;
filter: brightness(0);
}
.logo-text {
display: flex;
flex-direction: column;
}
.logo-main {
font-size: 1.8rem;
font-weight: 800;
letter-spacing: 3px;
color: var(--primary-dark);
line-height: 1;
}
.logo-sub {
font-size: 0.7rem;
letter-spacing: 1.5px;
color: var(--accent-gray);
}
.main-nav {
display: flex;
justify-content: flex-end;
}
.main-nav ul {
display: flex;
align-items: center;
margin: 0;
padding: 0;
}
.main-nav ul li {
margin-left: 30px;
}
.main-nav ul li a {
color: var(--text-dark);
font-weight: 500;
padding: 5px 0;
position: relative;
}
.main-nav ul li a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary-dark);
transition: var(--transition);
}
.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
width: 100%;
}
.nav-btn {
background-color: var(--primary-dark);
color: var(--primary-light) !important;
padding: 10px 20px !important;
border-radius: 0;
}
.nav-btn:hover {
background-color: var(--accent-gray);
}
.nav-btn::after {
display: none;
}
.mobile-menu-toggle {
display: none;
width: 30px;
height: 20px;
position: relative;
cursor: pointer;
}
.mobile-menu-toggle span {
display: block;
width: 100%;
height: 2px;
background-color: var(--primary-dark);
position: absolute;
left: 0;
transition: var(--transition);
}
.mobile-menu-toggle span:nth-child(1) {
top: 0;
}
.mobile-menu-toggle span:nth-child(2) {
top: 50%;
transform: translateY(-50%);
}
.mobile-menu-toggle span:nth-child(3) {
bottom: 0;
}
.mobile-menu-toggle.active span:nth-child(1) {
top: 50%;
transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
bottom: 50%;
transform: translateY(50%) rotate(-45deg);
}
.mobile-menu {
display: none;
position: fixed;
top: 90px;
left: 0;
width: 100%;
background-color: var(--primary-light);
padding: 20px 0;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
z-index: 99;
}
.mobile-menu.active {
display: block;
}
.mobile-menu ul li {
margin-bottom: 15px;
}
.mobile-menu ul li a {
display: block;
padding: 8px 0;
font-weight: 500;
}
.mobile-menu ul li a.nav-btn {
display: inline-block;
margin-top: 10px;
}
/* Hero Section */
.hero-section {
padding: 100px 0;
background-color: var(--bg-light);
overflow: hidden;
}
.hero-content {
padding-right: 30px;
}
.hero-content h1 {
font-size: 3rem;
margin-bottom: 20px;
line-height: 1.2;
}
.hero-content p {
font-size: 1.1rem;
margin-bottom: 30px;
color: var(--accent-gray);
}
.hero-btns .btn {
margin-right: 15px;
margin-bottom: 10px;
}
.hero-image {
position: relative;
}
.hero-img-container {
position: relative;
z-index: 1;
}
.hero-img {
width: 100%;
height: 400px;
background-image: url('cytonn-photography-n95VMLxqM2I-unsplash.jpg');
background-size: cover;
background-position: center;
border: 10px solid var(--primary-light);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.hero-shape {
position: absolute;
top: -30px;
right: -30px;
width: 80%;
height: 80%;
border: 5px solid var(--primary-dark);
z-index: 0;
}
/* Features Section */
.features-section {
padding: 60px 0;
background-color: var(--primary-light);
margin-top: -30px;
position: relative;
z-index: 2;
}
.feature-box {
text-align: center;
padding: 40px 30px;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
background-color: var(--primary-light);
transition: var(--transition);
height: 100%;
}
.feature-box:hover {
transform: translateY(-10px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.feature-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: 0 auto 25px;
transition: var(--transition);
}
.feature-box:hover .feature-icon {
background-color: var(--primary-dark);
color: var(--primary-light);
}
.feature-box h3 {
font-size: 1.5rem;
margin-bottom: 15px;
}
.feature-box p {
color: var(--accent-gray);
}
/* Services Section */
.services-section {
background-color: var(--bg-light);
padding: 100px 0;
}
.service-card {
background-color: var(--primary-light);
padding: 30px;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
transition: var(--transition);
height: 100%;
border-bottom: 3px solid transparent;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
border-bottom-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: var(--transition);
}
.service-card:hover .service-icon {
background-color: var(--primary-dark);
color: var(--primary-light);
}
.service-content h3 {
font-size: 1.5rem;
margin-bottom: 15px;
}
.service-content p {
color: var(--accent-gray);
margin-bottom: 20px;
}
.read-more {
font-weight: 600;
color: var(--primary-dark);
display: inline-flex;
align-items: center;
}
.read-more i {
margin-left: 5px;
transition: var(--transition);
}
.read-more:hover i {
transform: translateX(5px);
}
/* About Section */
.about-section {
padding: 100px 0;
background-color: var(--primary-light);
}
.about-image {
position: relative;
margin-bottom: 30px;
}
.about-img {
width: 100%;
height: 450px;
background-image: url('ben-rosett-WdJkXFQ4VHY-unsplash.jpg');
background-size: cover;
background-position: center;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.about-experience {
position: absolute;
bottom: -20px;
right: 30px;
background-color: var(--primary-dark);
color: var(--primary-light);
padding: 20px 30px;
text-align: center;
}
.about-experience .years {
font-size: 2.5rem;
font-weight: 700;
line-height: 1;
display: block;
}
.about-experience .text {
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.about-content {
padding-left: 30px;
}
.about-content p {
margin-bottom: 20px;
color: var(--accent-gray);
}
.about-features {
margin: 30px 0;
}
.about-feature-item {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.about-feature-item .icon {
width: 30px;
height: 30px;
background-color: rgba(10, 14, 23, 0.05);
color: var(--primary-dark);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-right: 15px;
}
.about-feature-item .text {
font-weight: 600;
}
/* CTA Section */
.cta-section {
background-color: var(--primary-dark);
color: var(--primary-light);
padding: 60px 0;
}
.cta-content h2 {
color: var(--primary-light);
font-size: 2rem;
margin-bottom: 10px;
}
.cta-content p {
opacity: 0.8;
}
/* Contact Section */
.contact-section {
padding: 100px 0;
background-color: var(--bg-light);
}
.contact-info {
margin-bottom: 30px;
}
.contact-info-item {
display: flex;
margin-bottom: 30px;
background-color: var(--primary-light);
padding: 25px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
transition: var(--transition);
}
.contact-info-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.contact-info-item .icon {
width: 60px;
height: 60px;
background-color: rgba(10, 14, 23, 0.05);
color: var(--primary-dark);
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-right: 20px;
}
.contact-info-item .content h4 {
font-size: 1.2rem;
margin-bottom: 5px;
}
.contact-form-wrapper {
background-color: var(--primary-light);
padding: 40px;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}
.form-group {
margin-bottom: 25px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
}
.form-control {
width: 100%;
height: 50px;
padding: 0 15px;
border: 1px solid var(--border-color);
transition: var(--transition);
}
.form-control:focus {
border-color: var(--primary-dark);
outline: none;
box-shadow: none;
}
textarea.form-control {
height: auto;
padding: 15px;
}
/* Footer */
.footer {
background-color: var(--primary-dark);
color: var(--primary-light);
}
.footer-top {
padding: 80px 0 50px;
}
.footer-widget {
margin-bottom: 30px;
}
.footer-logo {
margin-bottom: 20px;
}
.footer-logo .logo-text {
display: flex;
flex-direction: column;
}
.footer-logo .logo-main {
font-size: 2rem;
font-weight: 800;
letter-spacing: 3px;
color: var(--primary-light);
line-height: 1;
}
.footer-logo .logo-sub {
font-size: 0.7rem;
letter-spacing: 1.5px;
color: var(--accent-silver);
}
.about-widget p {
opacity: 0.7;
margin-bottom: 20px;
}
.footer-social {
display: flex;
}
.footer-social a {
width: 36px;
height: 36px;
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: 10px;
transition: var(--transition);
}
.footer-social a:hover {
background-color: var(--primary-light);
color: var(--primary-dark);
}
.footer-widget-title {
font-size: 1.3rem;
color: var(--primary-light);
margin-bottom: 25px;
position: relative;
padding-bottom: 15px;
}
.footer-widget-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 2px;
background-color: var(--primary-light);
}
.footer-links li {
margin-bottom: 10px;
}
.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 {
padding: 20px 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.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);
}
/* Responsive Styles */
@media (max-width: 1199.98px) {
.hero-content h1 {
font-size: 2.5rem;
}
.section-title {
font-size: 2.2rem;
}
}
@media (max-width: 991.98px) {
.main-nav {
display: none;
}
.mobile-menu-toggle {
display: block;
float: right;
}
.hero-content {
padding-right: 0;
margin-bottom: 50px;
text-align: center;
}
.hero-shape {
display: none;
}
.about-content {
padding-left: 0;
margin-top: 30px;
}
.cta-content {
text-align: center;
margin-bottom: 30px;
}
.cta-section .text-lg-end {
text-align: center !important;
}
}
@media (max-width: 767.98px) {
section {
padding: 60px 0;
}
.top-bar {
display: none;
}
.hero-section {
padding: 80px 0;
}
.hero-content h1 {
font-size: 2rem;
}
.section-title {
font-size: 1.8rem;
}
.feature-box,
.service-card {
margin-bottom: 30px;
}
.about-experience {
position: relative;
bottom: auto;
right: auto;
display: inline-block;
margin-top: -20px;
}
.footer-widget {
text-align: center;
}
.footer-widget-title::after {
left: 50%;
transform: translateX(-50%);
}
.footer-social {
justify-content: center;
}
.footer-contact-info li {
justify-content: center;
}
.footer-bottom {
text-align: center;
}
.footer-bottom-links {
margin-top: 15px;
}
.footer-bottom-links a {
margin: 0 10px;
}
}
@media (max-width: 575.98px) {
.hero-content h1 {
font-size: 1.8rem;
}
.section-subtitle {
padding-left: 30px;
}
.section-subtitle::before {
width: 20px;
}
.back-to-top {
bottom: 20px;
right: 20px;
width: 40px;
height: 40px;
}
}